Jump to content
3411 posts in this topic

Recommended Posts

Jalavoui,

i was going over iwi3945.cpp, it and found this:

{

const char * model = "3945 ABG";

/*if ((fPCIDevice->configRead16(kIOPCIConfigDeviceID) == 0x4223) ||

(fPCIDevice->configRead16(kIOPCIConfigDeviceID) == 0x4224))

{

model = "2915 ABG";

};*/

That got me thinking about my device ids, so I went to check them in windows

and this is what I found:

 

PCI\VEN_8086&DEV_4222&SUBSYS_10008086&REV_02

PCI\VEN_8086&DEV_4222&SUBSYS_10008086

PCI\VEN_8086&DEV_4222&CC_028000

PCI\VEN_8086&DEV_4222&CC_0280

 

I know its a multiline comment, but shouldn't 0x4222 be included as well?

If not, sorry to bother with my comments...

jalavoui

could you please edit you first message and post all we need and instructions about building source files and may also about loading kext files.

or just could you add 'how to' section on iwidarwin page ?

so maybe new comers could find instructions needed easily.

and find out where do they make mistake when taking logs.

thanks.

When you see that pop up do just like it asks go to your system preferences, then networks and then whatever connection is there and hit apply in order for the logging to continue, you are on the right track

 

I tried that and have also tried rebooting after pressing apply, after i build the kext in xcode how should i be going about installing it and obtaining the logs, so know that i am doing that correctly.

 

That did the trick, sorry for the stupid question... here is my new 4965 r827 log

system.txt

You all should understand that the drivers (3945 and 4965) are still in develop phase, so DON'T EXPECT TO HAVE A NETWORK CONNECTION YET.

 

YOU ARE GOING TO GET FREEZES OR KERNEL PANNICS.... so be sure you know what are you doing

 

Basic steps to create and test your new driver are:

 

- Get Xcode... It's on the Leopard DVD o you can download from Apple

- Get the driver code.. from snv... (google it or search the thread)

- Build it.

- Copy the fresh new kext to a folder (never to /library/extension)

- Chage permision (chmod and chown bla bla bla)

- Start log capture (more info on the iwi proyect page)

- Load the kext manualy (sudo kextload )

- See what happend...

- Reboot

- Start caputre

- Load the kext

- See what happendReview the log... and if you find something new/important post the logs and the info you get.

 

There is a good post from pere with a bit more of information and snv script http://forum.insanelymac.com/index.php?s=&...t&p=721057)

 

If you don't know what I'm talking about in any of the steps..... you are not going to help.

 

Keep waiting for the driver to be finish...something between 10 days and 10 years.. ^_^

 

Currently the develop people is trying to get the card init without errors...

 

We are all excited to se a working driver, but belive me... this post is not for newbies...

I know its a multiline comment, but shouldn't 0x4222 be included as well?

If not, sorry to bother with my comments...

 

Pa28cr,

 

I have review my card and it's

 

PCI\VEN_8086&DEV_4227&SUBSYS_10118086&REV_02

PCI\VEN_8086&DEV_4227&SUBSYS_10118086

PCI\VEN_8086&DEV_4227&CC_028000

PCI\VEN_8086&DEV_4227&CC_0280

 

so 4277

 

 

Pere, Mlazy, Doctadre, righteye....May you post your Dev ID so you can get to know if this can be the problem on the init ?

 

Jalavoi... this could be the root of the init problem...

Jalavoui,

i was going over iwi3945.cpp, it and found this:

{

const char * model = "3945 ABG";

/*if ((fPCIDevice->configRead16(kIOPCIConfigDeviceID) == 0x4223) ||

(fPCIDevice->configRead16(kIOPCIConfigDeviceID) == 0x4224))

{

model = "2915 ABG";

};*/

 

I know its a multiline comment, but shouldn't 0x4222 be included as well?

If not, sorry to bother with my comments...

 

this is just to id the card to mac os x.

the driver detects the card with the ids of info.plist file

iwi3945 rel 828

Still stuck on restart (fail to init correctly 20% then got wrong logs), The 80% inits correctly, but get frozen, the more far line i have seen is talking about GEOX... :(

 

Manual load log and kext

 

EDIT: I have been thinking why my card is different from others for a while... i have read about on linux the card fail to wake up cause its on deep sleep sometimes, and maybe you have add a code to make it awake, could be intel has solve that problem on my revision and that code make it freeze?. Just a thinking.

manual_load.rtf

fail_init_reboot.rtf

iwi3945.kext.zip

To be clear, 4223 and 4224 is the ID for 2195 cards, according to the commented code.

 

If you guys don't know how to code, don't waste your time looking at it.

 

Kazzi.... we know is commented, but as far as we know, there are two ID for the 3945 card...

 

4222 and 4227.... and that could be one of the reasons the card is not initializated correctly....

 

Sorry for not knowing more about coding... we are trying to make our best to help... B)

 

By the way....

 

Apr 25 15:58:35 Miguel kernel[0]: iwl3945: U iwl3945_rx_handle r = 203, i = 201, STATISTICS_NOTIFICATION, 0x9d

Apr 25 15:58:35 Miguel kernel[0]: iwl3945: U iwl3945_hw_rx_statistics Statistics notification received (240 vs 244).

Apr 25 15:58:35 Miguel kernel[0]: iwl3945: U iwl3945_rx_handle r = 203, i = 202, SCAN_START_NOTIFICATION, 0x82

Apr 25 15:58:35 Miguel kernel[0]: iwl3945: U iwl3945_rx_scan_start_notif Scan start: 38 [802.11a] (TSF: 0x00000000:0008BD6C) - 1 (beacon timer 83927700)

 

I don't get any error loading the kext if I shutdown and power on the laptop instead of just reboot it... (as pere is doing from the beging).

My logs from 4965- rev 827. Can't post more up to date ones because I can't build the Kext, Xcode gives me errors. I did this with my network cable unplugged, but with a reboot. During one of the reboots I got a Kernel Panic after logging in, hasn't happened again though.

System_Log_4965_r827.txt

Log for 3945, rev 831, hang on restart: (I can only write down the last lines)

 

iwl3945_mac_open Start Up work

queue_te : 6531

ieee80211_tx_pending : 5517

test_function : 6520

ieee80211_tasklet_handler : 1798

test_function : 6520

iwl3945_rx_handler r=1, i=0, REPLY_ALIVE, 0x01

iwl3945_rx_reply_alive Alive uCode status 0x00000001 rev 0x1 0x9

iwl3945_rx_reply_alive initialization alive received

queue_te : 6531

timei 10 timei2 -1317038852

test_function : 6520

iwl3945_bg_init_alive_start __ IN iwl3945 __

iwl3945_verify_inst_sparse ucode inst image size is 900

iwl3945_verify_inst_sparse ucode inst image size is 2668

iwl3945_verify_ucode initialize ucode is good in inst SRAM

iwl3945_init_alive_start initialization alive received

iwl3945_set_ucode_ptrs Runtime ucode pointers are set

queue_te : 6531

(hangs here)

 

(please tell me if it helps or not)

Guest
This topic is now closed to further replies.
×
×
  • Create New...