Jump to content
3411 posts in this topic

Recommended Posts

Wayfarer, the command for you...test if it points to the right place for download. (Attached).

 

For the iwi 3945 testers....

 

I have install a driver from Chun-nan, is supposed to get the correct bios data for cardbus/pcmcia, but this kexts give to osx the overall irq information in a better way... i give you the link, maybe this is one difference. USE REV 8 from Chun-nan driver.

http://forum.insanelymac.com/index.php?showtopic=81036

The other thing maybe i do different is just i turn off my laptop completely (I quit the battery and unplug power supply too) and wait 20 seconds, i have find the card goes buggy after trying the driver and need a full reset/shutdown to startup correctly.

 

Hope it helps.

 

If you continue having en1 errors, tell me and i will help you to hardcode the card into networkpreferences.plist

My kext build 810 is attached too.

 

 

Pere is dead on here. I HAD to have the Chun-nan kexts loaded for any of this to work...

Hello all!.

Log for 811...

 

Javalui is correct for this one, if the card is correclty initialized, then it get frozen.

I have been trying for 1 our all the ways to make this 811 work, the only way for my card to initialize correctly is still TURN OFF the laptop and unplug battery and power cord for at least 30 seconds, plug again and start as spected, loaded correctly and get frozen.

 

EDIT: I know the card is correctly initialized if i find this on the begining of the log:

 

iwi3945: Starting\

Someone called createOutputQueue()\

settCurController [OK]\

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/PERE/iwi3945/compatibility.cpp:5592\

sta_info_init @ /Users/PERE/iwi3945/compatibility.cpp:5424\

init_timer @ /Users/PERE/iwi3945/compatibility.cpp:886\

ieee80211_if_sdata_init @ /Users/PERE/iwi3945/compatibility.cpp:2088\

ieee80211_alloc_hw [OK]\

reboot_log.txt

iwi3945.kext.zip

:)

here's the bug:

 

Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_verify_inst_sparse ucode inst image size is 2668\

Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_verify_inst_sparse ucode inst image size is 80524\

Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_mac_open Wait START_ALIVE Condition: 0ms left\

Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_mac_open Wait for START_ALIVE timeout after 2000ms.\

Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_mac_open leave - failed\

Apr 24 14:44:44 Pere kernel[0]: Someone called createOutputQueue()\

Apr 24 14:44:44 Pere kernel[0]: darwin_iwi3945::configureInterface()\

Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_verify_ucode Runtime uCode is good in inst SRAM\

Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_alive_start RFKILL status: 0x1\

 

this line Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_mac_open Wait for START_ALIVE timeout after 2000ms.\

show that the ucode failed to start, etc

but after this

Apr 24 14:44:44 Pere kernel[0]: iwl3945: U iwl3945_mac_open leave - failed\

the ucode starts to work

weird...

 

my guess goes to

queue_delayed_work(priv->workqueue, pwork, msecs_to_jiffies(5));

if this takes to long to get called the driver startup fails

 

need logs for new release

 

iwi3945 rel 813

add more time for ucode to load - this remind me old iwi2200 bugs...

check if it starts ok this time - only need first log lines

need to test this using kextload

Hey jalavoui,

 

was going to post long comment about how 808 was the best release for me so far because the card almost fully initialized, then scanned through the channels. Then, the 809-811 releases weren't loading the card as far. Well, 813 is back to seeing a lot more init strings on kextload. cool! The first errors after a bunch of load info are:

 

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: Microcode SW error detected. Restarting 0x82000008.

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: Start IWL Error Log Dump:

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: Status: 0x00010132, Config: 00000000 count: 1

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: Desc Time asrtPC blink2 ilink1 nmiPC Line

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: SYSASSERT (#5) 0000014300 0x0089A 0x00FE0 0x00300 0x00000 57

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: Start IWL Event Log Dump: display count 9, wraps 0

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000000000 0x000000d5 0117

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000000000 0x000000be 0118

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000002107 0x00000000 0651

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000002128 0xffffff2e 0454

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000002129 0x00000000 0472

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000002150 0x000000c5 0104

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000014296 0x00000003 0401

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000014298 0x004422d0 0401

Apr 24 09:48:03 Sony kernel[0]: error iwl3945: 0000014301 0x00000100 0125

Apr 24 09:48:03 Sony kernel[0]: iwl3945: U iwl3945_print_rx_config_cmd RX CONFIG:

 

 

813xbooted.txt

 

To others: I have to boot with -x, then manually kextload to get results like this. Otherwise, it just throws a bunch of errors..

Manual load log and restart log for 813...

On restart always give error on ucode sw... no matter what i do...

 

 

 

I have find this on the svn download:

 

wi3945/iwl-3945-hw.h

A iwi3945/iwl-3945-rs.c

A iwi3945/iwl-4965-hw.h

A iwi3945/iwi3945.h

A iwi3945/iwl-4965-rs.c

A iwi3945/iwl-3945-rs.h

A iwi3945/iwl-3945-debug.h

A iwi3945/iwl-4965-rs.h

A iwi3945/iwl3945-base.c

A iwi3945/firmware

A iwi3945/firmware/main.c

A iwi3945/firmware/ipw3945.ucode.h

A iwi3945/firmware/ipw4965.ucode.h

A iwi3945/firmware/hex2string

A iwi3945/iwl4965-base.c

U iwi3945

 

Is this ok?

manual_load.txt

reboot_log.txt

Logs from 814....

 

I think the card start to work at 3rd reboot....

 

Apr 24 17:01:53 kernel[0]: iwl3945: U iwl3945_mac_open Start UP work.

 

Apr 24 17:01:53 kernel[0]: iwl3945: U iwl3945_rx_handle r = 1, i = 0, REPLY_ALIVE, 0x01

 

But we still have problems with the ucode

 

Apr 24 17:01:53 kernel[0]: error iwl3945: Microcode SW error detected. Restarting 0x82000008.

Apr 24 17:01:53 kernel[0]: error iwl3945: Start IWL Error Log Dump:

Apr 24 17:01:53 kernel[0]: error iwl3945: Status: 0x00010132, Config: 00000000 count: 1

Apr 24 17:01:53 kernel[0]: error iwl3945: Desc Time asrtPC blink2 ilink1 nmiPC Line

Apr 24 17:01:53 kernel[0]: error iwl3945: SYSASSERT (#5) 0000014168 0x0089A 0x00FE0 0x00304 0x00000 57

Apr 24 17:01:53 kernel[0]: error iwl3945: Start IWL Event Log Dump: display count 8, wraps 0

Apr 24 17:01:53 kernel[0]: error iwl3945: 0000000000 0x000000d5 0117

Apr 24 17:01:53 kernel[0]: error iwl3945: 0000000000 0x000000be 0118

Apr 24 17:01:53 kernel[0]: error iwl3945: 0000002107 0x00000000 0651

Apr 24 17:01:53 kernel[0]: error iwl3945: 0000002128 0xffffff32 0454

Apr 24 17:01:53 kernel[0]: error iwl3945: 0000002129 0x00000000 0472

Apr 24 17:01:53 kernel[0]: error iwl3945: 0000002150 0x000000c5 0104

Apr 24 17:01:53 kernel[0]: error iwl3945: 0000014166 0x00000000 0401

Apr 24 17:01:53 kernel[0]: error iwl3945: 0000014169 0x00000100 0125

Apr 24 17:01:53 kernel[0]: iwl3945: U iwl3945_print_rx_config_cmd RX CONFIG:

Apr 24 17:01:53 kernel[0]: IOPCCard debug: iwl data: 0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Apr 24 17:01:53 kernel[0]: IOPCCard debug: iwl data: 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Apr 24 17:01:53 kernel[0]: IOPCCard debug: iwl data: 20: 00 00 00 00 00 00 00 00 00 00 00 00 ............

Apr 24 17:01:53 kernel[0]: iwl3945: U iwl3945_print_rx_config_cmd u16 channel: 0x0

 

Pere, is ok to have the other card souce code... it doesn't matter...

systemlog_814.txt

Log for rev 814

 

No KP but some loop

 

http://pastebin.ca/995827

 

Second log with Wireless Router turned on

 

http://pastebin.ca/995847

 

this links don't work for me

just upload system.log

 

iwi3945 rel 815

this was a very old bug in iwi2200 -> iwl3945_send_power_mode. this {censored} just don't work on mac os x

hope this is it - should start without ucode errors now

 

Miguel Madrid,

very nice log :P

 

iwi4965,

i'd to test a few things - anyone to post logs?

while compiling the new 815..

 

Having a look between my log and Kazzi ones....

 

 

Apr 24 17:01:52 kernel[0]: ifconfig going up

Apr 24 17:01:52 kernel[0]: outputPacket called by someone

Apr 24 17:01:52 kernel[0]: outputPaccket2 called

Apr 24 17:01:52 kernel[0]: tx pkt with net down

 

Apr 24 17:01:53 kernel[0]: check_firstup

Apr 24 17:01:53 kernel[0]: ieee80211_open cpp:7787

Apr 24 17:01:53 kernel[0]: ieee80211_start_soft_monitor cpp:7772

Apr 24 17:01:53 kernel[0]: iwl3945: U iwl3945_mac_add_interface enter: id 592814112, type 2

Apr 24 17:01:53 kernel[0]: iwl3945: U iwl3945_mac_add_interface Set: 00:1c:bf:02:15:16

Apr 24 17:01:53 kernel[0]: iwl3945: U iwl3945_mac_add_interface failed to set mode

Apr 24 17:01:53 kernel[0]: iwl3945: U iwl3945_mac_add_interface leave

 

Apr 24 22:07:45 slumpbook kernel[0]: ifconfig going up

Apr 24 22:07:45 slumpbook kernel[0]: outputPacket called by someone

Apr 24 22:07:45 slumpbook kernel[0]: outputPaccket2 called

Apr 24 22:07:45 slumpbook kernel[0]: tx pkt with net down

 

Apr 24 22:07:47 slumpbook kernel[0]: p/iwi/compatibility.cpp:6531Apr 24 22:07:47 slumpbook kernel[0]: test_function @ /Users/slump/Desktop/iwi/compatibility.cpp:6520Apr 24 22:07:47 slumpbook kernel[0]: iwl3945: U iwl3945_rx_handle r = 47, i = 45, STATISTICS_NOTIFICATION, 0x9d

 

could be the first_chekup()

Logs for 814, manual load and restart log..

on restart log tried so many times till i get the card initialited correctly, got fronzen, i took another horrible picture, but seems the same as 813.

Im going to rob my neightbours camera and come back! XD

manual_load.txt

815 logs. Jalavoui, this is very similar to my 808 logs which is great. I'm skipping ahead in my logs a bit, but does this mean a scan completed?

 

Apr 24 11:45:23 Sony kernel[0]: U iwl3945_get_channels_for_scan Scanning 1 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 2 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 3 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 4 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 5 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 6 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 7 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 8 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 9 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 10 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan Scanning 11 [ACTIVE 20]

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_get_channels_for_scan total channels to scan 11

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_enqueue_hcmd Sending command REPLY_SCAN_CMD (#80), seq: 0x4404, 350 bytes at 4[32]:4

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_send_cmd_sync Wait REPLY_SCAN_CMD Condition: 0ms left

Apr 24 11:45:23 Sony kernel[0]: error iwl3945: Error sending REPLY_SCAN_CMD: time out after 500ms.

Apr 24 11:45:23 Sony kernel[0]: queue_te @ /Users/super/Desktop/iwi3945/815/compatibility.cpp:6531

Apr 24 11:45:23 Sony kernel[0]: test_function @ /Users/super/Desktop/iwi3945/815/compatibility.cpp:6520

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_bg_scan_completed SCAN complete scan

Apr 24 11:45:23 Sony kernel[0]: ieee80211_scan_completed

 

815syslog.txt

 

kext:

 

iwi3945r815.kext.zip

nop,

you have

Apr 24 11:45:23 Sony kernel[0]: error iwl3945: Error sending REPLY_SCAN_CMD: time out after 500ms.

this means the commands aren't sent

 

iwi3945 rel 816

from last logs this looks the best starttup configuration

Thanks Jalavoui,

 

So what are theses telling you?

 

Apr 24 11:45:23 Sony kernel[0]: iwl3945: U iwl3945_bg_scan_completed SCAN complete scan

Apr 24 11:45:23 Sony kernel[0]: ieee80211_scan_completed

 

 

Oh, and you also worked on Sheepshaver? I loved that project.

815 logs.....

 

Apr 24 17:54:42 kernel[0]: ifconfig going up

Apr 24 17:54:42 kernel[0]: outputPacket called by someone

Apr 24 17:54:42 kernel[0]: outputPaccket2 called

Apr 24 17:54:42 kernel[0]: tx pkt with net down

Apr 24 17:54:43 kernel[0]: : 47

Apr 24 17:54:43 kernel[0]: iwl3945: U is_temp_calib_needed Same temp,

Apr 24 17:54:43 kernel[0]: iwl3945: U is_temp_calib_needed Timed thermal calib not needed

 

what the hell : 47 means ????? ;)

 

and here it comes the BT_error againg

 

Apr 24 17:54:45 kernel[0]: ieee80211_start_queues

Apr 24 17:54:45 kernel[0]: iwl3945: U iwl3945_enqueue_hcmd Sending command REPLY_BT_CONFIG (#9b), seq: 0x0400, 16 bytes at 0[0]:4

Apr 24 17:54:45 kernel[0]: iwl3945: U iwl3945_send_cmd_sync Wait REPLY_BT_CONFIG Condition: 0ms left

Apr 24 17:54:45 kernel[0]: error iwl3945: Error sending REPLY_BT_CONFIG: time out after 500ms.

 

 

 

Apr 24 17:54:43 kernel[0]: 1st scan

Apr 24 17:54:43 kernel[0]: not ready for 1st scan

Apr 24 17:54:45 kernel[0]: 984965414

 

I love 98496514 error .... makes me feel happy...

 

We are getting close to it...

 

Jalavou, I can also test the 4965 ... just need to setup 10.5.2 on it removing Windows Vista...

systemlog_815.txt

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