Help - Search - Members - Calendar
Full Version: Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61
Ruud
QUOTE(jalavoui @ Apr 24 2008, 09:07 PM) *
the system.log is very short - missing lines?



no before i rebooted to test the new kext i used yasu to clean all to have only new data in the logs, so this is all i got after boot and waiting for 2 minutes


o btw, i dont know if it makes any difference but im also using the chun can iopcifamily.kext, i read about this a couple pages back.
Wayfarer247
Woot, testing time. I lemme go back to Windows and start testing the 4965. Thanks Jalavoui!

Could someone post the 4965 Kexts? I can make my own, but some people may not be able too, and some people may juts want to make sure theirs are correct.

Edit: I can't build the 4965 Kext. Can someone post the Kext?
Ruud
QUOTE(jalavoui @ Apr 24 2008, 09:07 PM) *
the system.log is very short - missing lines?

ok is fine,
do you get SCAN_COMPLETE_NOTIFICATION in system.log? - try a search



sorry, thats not in the log sad.gif
jalavoui
iwi4965 rel 824
this is such a stupid bug - i'll hide this from iwi3945

iwi3945 rel 825
i only want to see good logs on this - yes this is for 3945 cards smile.gif
don't bother posting logs with errors
rulli
rel 824 from 4965Click to view attachment Hope it's fine
Ruud
here are mine

update withe new system.txt,, it looks like its in a loop atm
jalavoui
rulli,
this file is to small - where's the rest of lines?

nop it's all wrong

you need to update from svn first them build it

wait...
i've made a mistake for both drivers


ok - can get it from svn and test

iwi3945 rel 826
iwi4965 rel 827
rulli
This is all i got after i built the kext using xcode huh.gif
QUOTE
you need to update from svn first them build it

I updatet it first (If that concerned me...)
pere
825.
Manual load log.
Still stuck on frozen reboot issue. :X
Here is my kext.
Wayfarer247
Still can't build the 4965 kexts... I get 6 errors and 1 warning. Is there anyway I can see why it fails, and if I can do anything about it?

If not, posting the kext would be nice. tongue.gif Like Pere.

Edit: Found out what was the problem, I think I need to build using Sudo. I got many "Permission" errors. Let's see if I can figure out how to do that...
deek
I've been hiding in the shadows for awhile reading about how things are going with the iwi3945. Do you need any more testers giving feedback is everyone set?
Ruud
he jalavoui, these are the log of the new 4965 rel 827, it looks like what you did worked, i get less error at the begin of the log smile.gif

actually, i dont see any errors for the iwi driver in my log smile.gif

only thing i see now when looking in system.log is that its in a loop with this:

Apr 25 00:26:22 Mac-Pro kernel[0]: timer->expires 1000 timei 10000 deadline 0
Apr 25 00:26:32 Mac-Pro kernel[0]: test_timer @ /Users/Ruud/Desktop/iwi 4965/compatibility.cpp:849
Apr 25 00:26:32 Mac-Pro kernel[0]: sta_info_cleanup @ /Users/Ruud/Desktop/iwi 4965/compatibility.cpp:5398
Apr 25 00:26:32 Mac-Pro kernel[0]: add_timer @ /Users/Ruud/Desktop/iwi 4965/compatibility.cpp:875
Apr 25 00:26:32 Mac-Pro kernel[0]: IOPCCardAddTimer @ /Users/Ruud/Desktop/iwi 4965/compatibility.cpp:831
pere
Iwi 3945 Rel.827 (as said the checkout when downloaded)Manual load log.5 Reboots, 4 with the freeze issue, one faulty, the card booted but not with good mood... smile.gif

QUOTE(deek @ Apr 24 2008, 10:10 PM) *
I've been hiding in the shadows for awhile reading about how things are going with the iwi3945. Do you need any more testers giving feedback is everyone set?


Go out from the shadows and begin testing mannnnnn!!!! smile.gif Here i have attached the lastest kext...
joe momma
is the 3945 kext supposed to support wireless?
deek
QUOTE(pere @ Apr 24 2008, 04:26 PM) *
Go out from the shadows and begin testing mannnnnn!!!! smile.gif Here i have attached the lastest kext...


I'll do my best but I have run into some non iwi3945 issues upon an upgrade that I'm sorting though as well but I will post any successes I get.
jalavoui
thanks
i'll come back tomorrow
austinsnyc
4/24/08 6:45:18 PM kernel __ OUT iwl3945_alive_start __
Ruud
QUOTE(jalavoui @ Apr 24 2008, 10:52 PM) *
thanks
i'll come back tomorrow



yeah me too, ill call it a night smile.gif see you tomorrow
austinsnyc
SO I am getting complete scans and all just doesn't seem to do much more than that smile.gif Great job so far though guys I think We are super close to this!!


Apr 24 19:13:39 Austins-LapTop kernel[0]: iwl3945: U iwl3945_hw_nic_stop_master stop master

WOW I HAD SOME INTERESTING {censored} IN MY LOG THAT I COPY AND PASTED AND THE MODS DELETED IT LOL NICE WORK MODS KEEP UP THE GREAT WORK!! censored2.gif

I HAVE GOTTEN THE CARD TO DO A COMPLETE SCAN AND WILL POST SOME MORE LOGS TOMORROW....
f41qu3
I think it need a subtopic for 3945...having some users working in it now, and need share information to try some good info about this.
iceman24
QUOTE
iwi3945 rel 825
i only want to see good logs on this - yes this is for 3945 cards smile.gif
don't bother posting logs with errors


wrong pengin smile.gif
Lofn
iwi4965 r827, log and kext attached

@developers:
Is there any specific duration you want us to log for? I only take the first five minutes or so.
The latest revision results in a lower number of log events, for some reason.

edit: the kext is fine, but I just realized I didn't perform the testing procedures properly. "oops"
Anyhow, I'll try to get it right the on the next revision.
myself108
Hi,
I am new at this driver testing and developing, i downloaded xcode, and got a copy of the 4965 svn v827, and built it and installed the kext, but my logs do not seem right.
If someone could point me in the right direction that would be great.

Eric
Doctadre
Apr 24 23:02:23 doctadres-mac-pro kernel[0]: iwl3945: U iwl3945_bg_scan_completed SCAN complete scan
Apr 24 23:02:23 doctadres-mac-pro kernel[0]: ieee80211_scan_completed

sorry no notification in my log

@myself108...

Your log is asking you to do this:
Apr 24 20:51:04 erics-mac-pro kernel[0]: goto system preferences -> networks and press apply if you keep seeing this

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
Wayfarer247
QUOTE(devoid @ Apr 25 2008, 01:51 AM) *
iwi4965 r827, log and kext attached

@developers:
Is there any specific duration you want us to log for? I only take the first five minutes or so.
The latest revision results in a lower number of log events, for some reason.


Thank you for the kext! Testing is now possible for me biggrin.gif

Thank you!
pa28cr
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...

hypnotic
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.
myself108
QUOTE
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
Miguel Madrid
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.. smile.gif

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...
Miguel Madrid
QUOTE(pa28cr @ Apr 25 2008, 05:42 AM) *
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...
Hillin
My dev id is also 4222.
YeoYo
Ok Ive been watching for awhile, waiting for 4965 to get into play. Missed a few days of checking. Now your onto it. Can someone if possible PM me and explain to me how to test this? I will help out the whole way through.
jalavoui
QUOTE(pa28cr @ Apr 25 2008, 05:42 AM) *
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
Doctadre
Mine is 4222 as well

PCI\VEN_8086&DEV_4222&SUBSYS_135B103C&REV_02
PCI\VEN_8086&DEV_4222&SUBSYS_135B103C
PCI\VEN_8086&DEV_4222&CC_028000
PCI\VEN_8086&DEV_4222&CC_0280
kazzi
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.
Ruud
as you can see, the code is between /* and */ this means it is commented out en therefor doenst work

hypnotic
Thank you Miguel Madrid.
I will keep that good instruction in case someone asks here again.
jalavoui
iwi3945 rel 828
iwi4965 rel 829

ready for testing
Ruud
oke here are my logs for iwi 4965 rel 829
pere
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... sad.gif

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.
jalavoui
pere,
if i can figure out waht's wrong with your card i'll have the driver ready

i hope the cards like this:
iwi3945 rel 830
iwi4965 rel 831

check if you get first log lines in system.log
Miguel Madrid
QUOTE(kazzi @ Apr 25 2008, 12:10 PM) *
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... smile.gif

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).
myself108
4965 r829 logs

and r829 kext
Wayfarer247
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.
Doctadre
Im needed on the floor here is 828
jalavoui
...
i need logs for rel 830 and 831
Ruud
QUOTE(jalavoui @ Apr 25 2008, 02:59 PM) *
...
i need logs for rel 830 and 831



im working on it smile.gif

oke logs for 831 iwi 4965, think the logs are very the same

kext is iwi 4965 rel 832
Wayfarer247
QUOTE(jalavoui @ Apr 25 2008, 02:59 PM) *
...
i need logs for rel 830 and 831


IF someone can posts the kexts, I will test the version!
Ruud
QUOTE(Wayfarer247 @ Apr 25 2008, 03:06 PM) *
IF someone can posts the kexts, I will test the version!



i attached it to my previous post smile.gif
kazzi
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)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.