frauhottelmann
May 16 2008, 04:39 PM
Same thing here, when I try to scan, I get a kernel panic. I'll test a little bit more tonight!
eric2112
May 16 2008, 06:59 PM
Ok, I'm going to try this again. I appologize for whining before. I would like to try and be helpful if I can. If someone could help get me up to speed I would appreciate it. I have been reading through the posts trying to get my bearings on all of this, but I think I need a little help.
I installed the latest iwi3945.dmg and rebooted. I did not see any new network devices in system prefs.
Is there anything special that I need to do to get the card to at least show up?
Also running networkSelector, I recieve an error: Could not get ID for kernel control. 2
Someone in a previous post said that this was due to permissions, but I don't know where to begin looking for this. Any advice? I've tried modifying file permissions in a few places, but that seemed to have no effect.
Is this occurring because the card is not being recognized?
I'm guessing that as soon as I can get the card at least recognized, then I can start capturing logs. Right?
Also I think I may have an Intel 3945abg card to donate to the cause. I'll see if I can track it down in my boxes of junk. If I can find it in time, I'll send it to whom ever I need to.
Lenovo Thinkpad T61 (7663-CTO)
Intel Core2 Duo ~ T8100 @ 2.10GHz - Both cores detected
2 GB DDR2-667 PC2-5300 - Console shows a memory error. Runs fine though
Intel 82566MM Gigabit Network Connection - Not working
Intel Pro/Wireless 3945ABG Network Connection - Not working
Nvidia Quadro NVS 140M - Not working
14.1" Display (1440x900) - No problems here
Analog Devices 1984 HD Audio - Not working
Lenovo Integrated Camera - Works fine with installation package on Kalyway 10.5.2 DVD
"...I'm trying to misunderstand a little less completely."
yeye
May 16 2008, 07:59 PM
He's right jala, why don't you want any intel 3945 cards or 4965? It may be very helpful for you
pmorcos
May 16 2008, 08:15 PM
you probably have seen this but I can't imagine it is a huge difference between ubuntu and mac... perhaps there is something here that is useful in terms of code... I found this article on the net..... regarding installation of drivers for intel 3945 in ubuntu on a Dell620: article follows.
while i’m using my dell d620 with an intel wireless 3945 card i have the
following problems with hardy and the new iwl3945: -throughput is limited 110kb/s rx
-the
wireless lan is very unstable
-sometimes the system freezes while scanning for networks
i tried some things to workaround:- installed the ubuntu-backports (so the driver 1.2.25 is install) = ok the wlan led works again
- add the file /etc/modprobe.d/iwl3945 (alias wlan0 iwl3945
options iwl3945 disable_hw_scan=1)
- to config the card i used wicd (
wicd.sourceforge.net)instead of the builtin network-admin
now i decided to backport to the old ipw3945 driver which has do everything fine in gutsy…
1. sudo vim /etc/modprobe.d/blacklist
added the lines
# blacklist new iwl3945
blacklist iwl3945
blacklist mac8021
so the new iwl3945 won’t load at system
startup2. Reboot
3. Download ipw3945 microcode (
http://ipw3945.sourceforge.net) and copy it into /lib/firmware/2.6.24-17-generic/
4. Download ipw3945 regulatory daemon from
here and copy it into /sbin/
(copy the file within folder x86 to /sbin/ too)
5. get the patch from
here thanks
6. get the ipw driver <!– @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } –>
http://ipw3945.sourceforge.net/#downloads7. patch -p1 < ipw3945-1.2.2.patch (target file = ipw3945.h)
8. make
9. sudo make install
10. sudo chmod 777 /sbin/ipw*
11. add a file /etc/modprobe.d/ipw3945
add lines:
install ipw3945 /sbin/modprobe -i ipw3945 ; sleep 0.5 ; /sbin/ipw3945d –quiet
remove ipw3945 /sbin/ipw3945d –kill ; /sbin/modprobe -r -i ipw3945
12. sudo modprobe ipw3945
13. reboot
14. set the correct interface (eth1) in the wicd
et voila
ITXW
May 16 2008, 09:08 PM
Jalavoui: Do you have any documentation on the code or card that I could read? Did you get all the information you have on the way it should run from linux logs? Is the code based on the iwl3945 driver or the ipw3945 driver and which version? Lastly, the driver is in C++ not Objective C, right?
nordix
May 16 2008, 09:15 PM
iwi3945 rel 1132 -> get timeouts or KP on reboot
I've figured out how to enable kernel debugger, and I was cretino assoluto before (now I have a little chance to be cured)
- by adding boot flag "-debug=0x100" (w/o quotes)
mrroboto
May 16 2008, 11:18 PM
QUOTE(nordix @ May 16 2008, 09:15 PM)

...I was cretino assoluto
hahah do u say that in Russia?
jalavoui
May 17 2008, 11:57 AM
post kp pictures
iwi3945 rel 1134
iwi4965 rel 1135
NoSTaBoNN
May 17 2008, 03:10 PM
Latest dmg freezes at:
ieee80211_tx_h_rate_ctrl @ (...)/compatibility:8498
jalavoui
May 18 2008, 01:49 PM
post kp pictures
anyone to help?
you can add some iologs to check where is the kp
nordix
May 18 2008, 05:38 PM
jalavoui - in what funcs KP is expected? I get only freezes, w/o KP pics, so I'm going to insert iologs, but where?
Even "-debug=0x100" doesn't help me...
And maybe you tell us, what places of code are preferred to add iologs? (for example, before if statements, or in the beginning of concrete function's body, etc.). I think testers will be glad to take a little lesson from you
nordix
May 18 2008, 09:46 PM
Guys! DL this iwi3945.dmg, install it and post here your KP pics! It's that simple
nordix
May 19 2008, 04:36 PM
BOOM!!! © Steve
62 downloads! And no KP shots! Guys, all your cams are out of service?!
This is NOT a GM of iwi3945, this is very unstable release, and KPs are highly expected!
And we expect you post your KP shots from this release.
Don't be so lazy, help us at least in testing! It's really simple!
If you don't know how to make KP shots:
1. Reboot with -v -f flags;
2. When you'll see kernel debugger log - make a shot of the screen and post it here (good examples of KP shots are in some previous posts);
3. If you don't see any KP, or your system only freezes without any mark of KP (blue or dark screen w/o logs) - try to reboot several times.
If you still have any questions - PM me or devoid, please.
thomaske
May 19 2008, 04:58 PM
these are my KP's
hope they are usefull
saul1d
May 19 2008, 05:14 PM
i have some knowledge in C++ and would love to help but i dont have the slightest clue in where to start, if someone could walk me through the basic principals then i would be more than happy to help. also if i do install the newest driver, will i be able to use my system or will i have to reinstall after it finds the errors?? (i have a 3945 chipset and would love to get it working)
spacesee
May 19 2008, 05:54 PM
Hi guys. When I install iwi3945.dmg, may PC does not distinguish that the new device is connected...
I have Acer Aspire 5675WLHi laptop
Intel T2600 processor
ATI Mobility Radeon x1600
Broadcom NetLink ™ Gigabit Ethernet 5789 - Don't working
Intel Pro/Wireless 3945 ABG - here all from you depends :-)
OS Kalyway Leopard 10.5.2 itel/amd
Click to view attachmentClick to view attachment
nordix
May 19 2008, 06:03 PM
thomaske - thank you very much, nice shots! (esp. 1st one)
saul1d - you can use your system as before, but if unstable rel causes KP - it's better to remove it after making KP shots and logs
I think, jalavoui will answer your question concerning dev participation.
spacesee - you should add a new ethernet profile in the Network Prefs (click "+" in the left pane, then select Ethernet type from the list and click OK, then OK in the Netw Prefs). В русской версии Леопарда - Настройки сети.
eric2112
May 19 2008, 06:23 PM
Hello all, I have a 3945 card in my T61 and would like to try to contribute. however, I have tried to install the drivers and can't get the card to be recognized by OS X. I am running Kalyway 10.5.2.
When I install the driver package, I recieve the following error in the console:
cannot resolve dependencies for kernel extension /Syetem/Library/Extensions/iwi3945.kext
@nordix...I tried adding the ethernet type in the network prefs window, but it is not in the list. I am guessing that this is because OS X can't see the card based on my install console results.
Can someone please help me understand why the card won't recognize?
The attached txt file is from my console during the install of the package. Any info would be helpful.
Thanks.
nordix
May 19 2008, 06:54 PM
eric2112 - open terminal and do this:
CODE
sudo -s
your root password
chmod -R 755 /System/Library/Extensions/iwi3945.kext
chown -R root:wheel /System/Library/Extensions/iwi3945.kext
kextload /System/Library/Extensions/iwi3945.kext
then open Netw Prefs and add new eth profile
eric2112
May 19 2008, 07:05 PM
@nordix, thanks for the info....however, when executing the last line, 'kextload /System/Library/Extensions/iwi3945.kext', I recieve the following error:
kextload: cannot resolve dependencies for kernel extension /System/Library/Extensions/iwi3945.kext
error loading extension /System/Library/Extensions/iwi3945.kext
Maybe I missed a step somewhere? I tried reading up as much as possible on all of this, but I am sure I am doing something wrong somewhere. I would really like to help if I can.
Anything else I can try? I even reloaded OS X as I thought maybe something was corrupt. Still no luck.
HeXaN
May 19 2008, 07:21 PM
hi..i had installed the last driver for the 4965agn....after some reboots i get tih errors:
5/19/08 11:25:46 AM kernel iwl4965: U iwl4965_rx_reply_rx Bad CRC or FIFO: 0x80000002.
When I try to use the networkselector it happens nothing....I can type in "2" there is nothing shown or when I typein "1" the LED is still on...
here are my log's:
Click to view attachment
nordix
May 19 2008, 07:35 PM
eric2112 - try this:
kextload -t /System/Library/Extensions/iwi3945.kext
and look at details of error
HeXaN - there is timeout in your log:
May 19 21:03:17 hexan-myrises-macpro31 kernel[0]: error iwl4965: Error sending REPLY_RXON: time out after 500ms
if you get timeouts - reboot until they gone
eric2112
May 19 2008, 07:42 PM
nordix: I ran 'kextload -t /System/Library/Extensions/iwi3945.kext'
kernel extension /System/Library/Extensions/iwi3945.kext has problems:
Missing dependencies:
{
"com.apple.iokit.IO80211Family" =
"A valid compatible version of this dependency cannot be found"
}
spacesee
May 19 2008, 08:04 PM
Nordix, I don't have Ethernet in Netw Prefs. Look this screenshot
Click to view attachmentВ русской версии Леопарда - Настройки сети.
nordix
May 19 2008, 08:16 PM
eric2112 - try to install vanilla IO80211Family.kext, and use google, your error is common
spacesee - do you have root password? it seems, that you don't have any. You must use non-zero root password for operations under sudo
guys, I'm sorry, but I'm falling asleep..... So see you later, and I hope jalavoui will be back soon.
Keep on posting your logs and KP pics - the more the better
spacesee
May 19 2008, 09:48 PM
Nordix, I still have it at loading......
IOPCCard info: iwl3945: Intel® PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23d
IOPCCard info: iwl3945: Copyright© 2003-2007 Intel Corporation
ieee80211_alloc_hw @ /Users/mr/svn/trunk/iwi3945_new-osx10.5/compatibility.cpp:9306
sta_info_init @ /Users/mr/svn/trunk/iwi3945_new-osx10.5/compatibility.cpp:5807
ieee80211_if_sdata_init @ /Users/mr/svn/trunk/iwi3945_new-osx10.5/compatibility.cpp:2465
ieee80211_alloc_hw [OK]
error iwl3945: Unable to initialize PCI module
Memorial
May 19 2008, 10:51 PM
Half the time this boots fine. Gives me KP when I try to use NetworkSelector.
EDIT: Found the boot log in Console. Here are two of them attached. The earlier one looked like it froze, the latter booted fine.
Click to view attachmentClick to view attachment
leftlane7
May 20 2008, 04:43 AM
Im unable to get the ethernet profile loaded as well, I have the same options as spacesee screenshot.
Dell XPS M1710
Centrino Duo 1.8ghz
4GB Ram
Intel 3495BG
Broadcom 57XX
Kalyway 10.5.2
nordix
May 20 2008, 04:00 PM
spacesee - post here your full system log (system.txt) after 2 or 3 reboots
Memorial - post your KP shots. And try several reboots, there are uCode errors in your log.
leftlane7 - chmod & chown the kext, then make kextload -t (see my explanation above)
ALL - post full logs, please, don't cut them. If you see uCode errors or timeouts - try to reboot one more time.
How to make correct full system logs (this is how I make my logs, another method is in the guide):
1. Open terminal and do this:
CODE
sudo -s
your root password
cat /var/log/system.log > system.txt
exit
2. Close terminal and open your /Users/<Username> folder, and you'll see a system.txt file there.
3. Open system.txt and find a place from where your kext loaded first time after installation or after first reboot (if you made series of consecutive reboots). Remove all preceding strings. Then look for timeouts, and if you see none - save the file. If there is a timeout - you should remove entire log of that concrete reboot.
4. Ultimately, if your system.txt is little enough (less than 500 KB) - post it directly to this thread. If it's larger than 500 KB - compess it in zip file and post it here.
spacesee
May 20 2008, 04:32 PM
nordix
May 20 2008, 05:57 PM
spacesee - have you added a new eth profile in netw prefs?
Я тебе в личку вопросы скинул, ты получил?
Behemoth Kat
May 20 2008, 07:30 PM
Enclosed plz find my log, looks like three parts inside. Three parts = three attempts.
The first part - first time boot after i've installed iwi3945.
The second one - first reboot.
The third ones - the second reboot.
All three part looks so different.
No KP, no timeouts at all, but all times when i tried to press 'apply' in network setting the system results with freeze.
PS: beginning the first boot with iwi3945 eth1 interface already presents in "network settings", so nothing was added by me.
nordix
May 20 2008, 08:10 PM
Behemoth Kat - if your system freezes - try to reboot with -x flag (safe mode), then load the kext manually (kextload -t, you can read how to do this a few posts above), then try to add eth profile one more time. Possibly, this release is not a good one for creating network profiles, as it causes KP or freezes on loading
Behemoth Kat
May 20 2008, 08:46 PM
QUOTE(nordix @ May 20 2008, 11:10 PM)

Behemoth Kat - if your system freezes - try to reboot with -x flag (safe mode), then load the kext manually (kextload -t, you can read how to do this a few posts above), then try to add eth profile one more time. Possibly, this release is not a good one for creating network profiles, as it causes KP or freezes on loading
sorry, seems my message was not sound and clear. System boots without any problem and i'm using wire ethernet without freezes etc. When i open my 'network settings' i receive the message 'new network interface detected. To run please check settings and press apply' or something like that. I can go through the settings, check MAC address (it's exacly MAC of my 3945 card), even can set manual IP, gateway and bla-bla-bla. But pressing 'apply' causes freeze. No another deal

PS. greetings from Kiev

))
leftlane7
May 20 2008, 09:10 PM
Sorry for being a noob here but Id like to help as much as possible. I tried the above statements and im getting this message....
This is a fresh install of OSX Kalyway 10.5.2 on my laptop so im not sure if I missed installing something or not.
See attached.
thomaske
May 20 2008, 09:18 PM
finaly found my logs, hope they are good!
nordix
May 20 2008, 10:05 PM
leftlane7 - you should find original (vanilla) IO80211Family.kext and install it in your /System/Library/Extensions folder. Read this thread a few posts above, there is a discussion of similar situation
thomaske - good log, and I glad that you made it in proper way, but it: 1st - too long, there is no need in posting full daily log; and 2nd - last reboot has timeouts, and too many errors in other reboots. Don't forget to make KP shots.
Behemoth Kat - don't add manual IP's, all this stuff is not working now. Simply add a new eth profile and close netw prefs. Then check your logs for iwi's strings.
Привет, Киев!
Jalavoui is resting (I think so

) but I hope he'll return this week, look at our logs and make some changes in the code.
And - developers - where - you - are ?
Memorial
May 21 2008, 12:50 AM
Alright. So I've got booting in most cases. Sometimes it freezes on a blue screen but no KP. I only get KP when I try to do network scan (option 2) in the network selector, and then again not always, but most of the time. Here are two logs from two different boots. Also, here is a KP image.
For all those just getting "you need to restart your computer" messages, boot with the option "debug=0x100" and you will get KP printer on the screen. (Apple hardware has NVRAM which is used to store panic.log, but most x86 machines do not, so you will probably not have a panic.log file)
привет москвичам!
Click to view attachmentClick to view attachmentClick to view attachment
asstastic
May 21 2008, 04:16 AM
QUOTE(nordix @ May 20 2008, 12:57 PM)

spacesee - have you added a new eth profile in netw prefs?
Я тебе в личку вопросы скинул, ты получил?
Reading through spacesee's earlier posts I think the issue is bad PCI express bus detection. The 10.5.2 Beta2 installer from this post should fix the problem:
http://forum.insanelymac.com/index.php?sho...036&st=500#. When helping troubleshoot you should make sure people have this installed as the errors caused by it often look like other kinds of problems. I first thought the hardware switch for my wireless was permanently off under OSX but as soon as I installed the package the card was added under networking prefrences.
I would recomend anyone who has a networking component that isn't working on their laptop to test it out.
p_noch
May 21 2008, 05:16 AM
here's mine (it freeze there)
i don't think it's a KP, but i can't get KP at all on my 4965
hope this help..
Click to view attachment
Behemoth Kat
May 21 2008, 04:04 PM
okay.. so, I did it (delete the old eth profile, add the new one, apply, reboot) and had attached the log.
austinsnyc
May 21 2008, 06:11 PM
Just so we are all clear, is J still working on this project? The last i read a few posts back was he had stopped working untill he could find someone to help him with the driver code. I think we all need to be emailing places like
http://www.engadget.com and
http://www.tuaw.com and see if we can get some coverage about are issue! This is really the most comment thing people have that still does not work yet!! I mean TONS of people have 3495abg cards
nordix
May 21 2008, 06:40 PM
austinsnyc - you are right 100%! But this thread exists a half of a year already - and jalavoui is still alone! I think the situation should be changed, but we all (who really wants to have working iwi in our mobos) we all have to talk about this project not only in forums but in the real life too (university friends, co-workers and so on - those who know I/O Kit, C/C++ and so on)
jalavoui
May 22 2008, 01:00 AM
i'm trying to fix my computer
get back once it's done
keep helping the project
we need more developers to join
QUOTE(asstastic @ May 21 2008, 04:16 AM)

Reading through spacesee's earlier posts I think the issue is bad PCI express bus detection. The 10.5.2 Beta2 installer from this post should fix the problem:
http://forum.insanelymac.com/index.php?sho...036&st=500#. When helping troubleshoot you should make sure people have this installed as the errors caused by it often look like other kinds of problems. I first thought the hardware switch for my wireless was permanently off under OSX but as soon as I installed the package the card was added under networking prefrences.I would recomend anyone who has a networking component that isn't working on their laptop to test it out.
this should be in 1st post or on the howto
this was a very hard bug for a long time
iwi3945/4965
need someone to add
IOLog("1\n"); etc
to the last function seem in panic log
this is the only way i have to fix it
bond6
May 23 2008, 09:01 PM
I had a look at some other network drivers on
http://developer.apple.com/opensource/index.html.
It seems that interrupteventsource is never disabled. And the comment is:
QUOTE
// This is important. If the interrupt line is shared with other devices,
// then the interrupt vector will be enabled only if all corresponding
// interrupt event sources are enabled. To avoid masking interrupts for
// other devices that are sharing the interrupt line, the event source
// is enabled immediately.
And using IOWorkloop pretty much forces driver to be singlethreaded. No mutexes and locks. Only lock used is debuggerlock.
jalavoui
May 24 2008, 11:59 AM
iwi3945 rel 1136
add iolog to catch kp. i've add it to ieee80211_tx_h_rate_ctrl(). add some more if you don't see 1,2 in kp screen. or add it to the last function before kp
post pictures
download from iwidarwin
nordix
May 24 2008, 06:31 PM
1st time get KP after ieee80211_sta_tx string, then added iologs before each line in this func, but w/o success - neither yours, not mine appeared in logs.
It's like to look for a black cat in a dark room. Especially if it is not there.
jalavoui
May 24 2008, 11:24 PM
we need to wait for someone to fix the code
good luck
jalavoui
May 25 2008, 12:24 PM
sta_tx fix
iwi3945 rel 1137
jalavoui
May 25 2008, 02:40 PM
so many people like to help developing this driver
you can start by helping find out where the driver is getting a kernel panic
i tested iwi2200 behavior in os x 10.5.2
it works this way:
after 1st install os x detect a new interface and ask the user to goto sys prefs - networks
them you only need to press apply
them pressing the wireless switch turns the card on
the driver associates to the 1st available network and a valid ip address shows up in sys prefs - networks
you're connected to internet

after rebooting nsgui auto-loads and show up on the main menu bar
that's all
if the driver is already installed all you need to do is reboot
some cards don't have a wireless switch - need to reboot and use nsgui to turn the card on
i expect iwi3945/4965 to work the same way
i'm not shure about the wireless switch
once the kp is fixed can someone test this?
iwi2200 rel 1138
updated in iwidarwin
i haven't update the dmg for iwi4965 - get the source and test it
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.