Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development* |
![]() |
Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development* |
|
TNW
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 09:35 AM Post #261
|
![]()
|
will it ever be possible for the 2200 to be detected as an airport?? Or will we always have to use it as nsGUI?? Yes that's possible , but I can't do that because I don't have an 2200 card and at this moment we don't know how to show the scan result. But maybe when the 3945 will be finshed , I going to start this. |
|
Masoud
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 09:47 AM Post #262
|
|
I got kernel panic when using iwi3945.kext IOEthernetController Version.
The following link is the panic log screenshot. http://link.imgshare.us/2sj4L2 |
|
arob92
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 11:45 AM Post #263
|
|
|
|
TNW
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 01:44 PM Post #264
|
![]()
|
Hi ,
This new version has no more KP , and seems to be fine . Now the card is waiting for scan , associating ,... I will start this now. The Powersave seems to work ( that fine ). I need your help : I have a problem with IOMallocContiguous (DMAallocMemory doesn't work too), so the driver is working 50% of the time . It's a surprise , surprise XD. For instance (Bad lauch): CODE error iwl3945: U iwl3945_enqueue_hcmd Sending command POWER_TABLE_CMD (#77), seq: 0x0400, 36 bytes at 0[0]:4 Wait POWER_TABLE_CMD Condition: 0ms left error iwl3945: Error sending POWER_TABLE_CMD: time out after 50ms. Can you post your log of the new driver ? Thank's and Bye !
Attached File(s)
|
|
NecronoiD
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 02:08 PM Post #265
|
![]()
|
Test under 10.4.11
Greyjuice:/ root# kextload iwi3945-loadable.kext/ kextload: cannot resolve dependencies for kernel extension iwi3945-loadable.kext/ Greyjuice:/ root# uname -a Darwin Greyjuice.local 8.10.1 Darwin Kernel Version 8.10.1: Thu Nov 1 16:59:12 SCT 2007; Made by ToH:xnu-792.22.5/BUILD/obj/RELEASE_I386 i386 i386 Greyjuice:/ root# It looks like Tiger users will have to migrate to 10.5... |
|
blackentangled
InsanelyMac Sage
|
![]() |
Feb 29 2008, 02:59 PM Post #266
|
![]() ![]() ![]() ![]() ![]()
|
log from new iwi3945 -- test system: leopard 10.5.2
CODE U iwl3945_irq_tasklet TASKLET : inta 0x80000008, enabled 0x00000000, fh 0x00010000
error iwl3945: U iwl3945_rx_reply_alive Alive ucode status 0x00000001 revision 0x1 0x0 error iwl3945: U iwl3945_rx_reply_alive Runtime Alive received. error iwl3945: U iwl3945_irq_tasklet TASKLET : inta 0x00000001, enabled 0x00000000, fh 0x00000000 error iwl3945: U iwl3945_irq_tasklet Alive interrupt __ IN iwl3945_alive_start __ error iwl3945: U iwl3945_alive_start Runtime Alive received. error iwl3945: U iwl3945_verify_inst_sparse ucode inst image size is 900 error iwl3945: U iwl3945_verify_inst_sparse ucode inst image size is 2668 error iwl3945: U iwl3945_verify_inst_sparse ucode inst image size is 80524 error iwl3945: U iwl3945_verify_ucode Runtime uCode is good in inst SRAM error iwl3945: U iwl3945_alive_start RFKILL status: 0x1 error iwl3945: U iwl3945_init_channel_map Initializing regulatory info from EEPROM error iwl3945: U iwl3945_init_channel_map Parsing data for 56 channels. IOPCCard info: iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels error iwl3945: U iwl3945_update_power_cmd Flags value = 0x00000008 error iwl3945: U iwl3945_update_power_cmd Tx timeout = 0 error iwl3945: U iwl3945_update_power_cmd Rx timeout = 0 error iwl3945: U iwl3945_update_power_cmd Sleep interval vector = { 0 , 0 , 0 , 0 , 0 } error iwl3945: U iwl3945_enqueue_hcmd Sending command POWER_TABLE_CMD (#77), seq: 0x0400, 36 bytes at 0[0]:4 error iwl3945: U iwl3945_irq_tasklet TASKLET : inta 0x82000008, enabled 0x00000000, fh 0x00010000 error iwl3945: Microcode SW error detected. Restarting 0x82000008. error iwl3945: Start IWL Error Log Dump: error iwl3945: Status: 0x00010132, Config: 00000000 count: 1 error iwl3945: Desc Time asrtPC blink2 ilink1 nmiPC Line error iwl3945: SYSASSERT (#5) 0000013316 0x0089A 0x00FE0 0x00304 0x00000 57 error iwl3945: Start IWL Event Log Dump: display count 8, wraps 0 error iwl3945: 0000000000 0x000000d5 0117 error iwl3945: 0000000000 0x000000be 0118 error iwl3945: 0000002108 0x00000000 0651 error iwl3945: 0000002129 0xffffff23 0454 error iwl3945: 0000002130 0x00000000 0472 error iwl3945: 0000002151 0x000000c5 0104 error iwl3945: 0000013315 0x00003ffd 0401 error iwl3945: 0000013318 0x00000100 0125 error iwl3945: U iwl3945_print_rx_config_cmd RX CONFIG: error iwl3945: U iwl3945_print_rx_config_cmd u16 channel: 0x0 error iwl3945: U iwl3945_print_rx_config_cmd u32 flags: 0x00000000 error iwl3945: U iwl3945_print_rx_config_cmd u32 filter_flags: 0x00000000 error iwl3945: U iwl3945_print_rx_config_cmd u8 dev_type: 0x0 error iwl3945: U iwl3945_print_rx_config_cmd u8 ofdm_basic_rates: 0x00 error iwl3945: U iwl3945_print_rx_config_cmd u8 cck_basic_rates: 0x00 error iwl3945: U iwl3945_print_rx_config_cmd u8[6] node_addr: 00:00:00:00:00:00 error iwl3945: U iwl3945_print_rx_config_cmd u8[6] bssid_addr: 00:00:00:00:00:00 error iwl3945: U iwl3945_print_rx_config_cmd u16 assoc_id: 0x0 error iwl3945: U iwl3945_irq_handle_error Restarting adapter due to uCode error. error iwl3945: Error Reply type 0xerror iwl3945: 00000000 cmd UNKNOWN (0xFD) seq 0x0000 ser 0x000000FD U __iwl3945_down iwl3945 is going down Wait POWER_TABLE_CMD Condition: 49ms left error iwl3945: U iwl3945_send_cmd_sync Command POWER_TABLE_CMD failed: FW Error error iwl3945: U iwl3945_enqueue_hcmd Sending command REPLY_BT_CONFIG (#9b), seq: 0x0401, 16 bytes at 1[1]:4 Wait REPLY_BT_CONFIG Condition: 0ms left error iwl3945: Error sending REPLY_BT_CONFIG: time out after 50ms. error iwl3945: U iwl3945_alive_start ALIVE processing complete. __ OUT iwl3945_alive_start __ Wait START_ALIVE Condition: 118ms left error iwl3945: U iwl3945_mac_open leave error iwl3945: U iwl3945_mac_add_interface enter: id 3, type 2 error iwl3945: U iwl3945_mac_add_interface Set: 31:32:31:32:31:32 error iwl3945: U iwl3945_mac_add_interface leave IOPCCard debug: : Does not support passive scan, disabled error iwl3945: Can't stop Rx DMA. error iwl3945: U iwl3945_clear_free_frames 0 frames on pre-allocated heap on clear. error iwl3945: Failed to get channel info for channel 0 [3] |
|
TNW
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 03:23 PM Post #267
|
![]()
|
It's an error about IOMallocContiguous , and I think therre is no hope to use this (IOMallocContiguous)...
We need two 2 segments of memory contiguous with a page-size of 16K but OSX have trouble to alloc a page-size over 4k. |
|
JasMac
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 03:57 PM Post #268
|
|
Hello guys!
I have installed the iwi2200 and now the wireless seems to be detected, but when i "set the power on" on the nsGUY the OS hangs and it's not responding....yuo have experienced this problem? I have an Acer 5504WXMi laptop. Thnx!! |
|
dong
InsanelyMac Sage
|
![]() |
Feb 29 2008, 05:35 PM Post #269
|
![]() ![]() ![]() ![]()
|
It's an error about IOMallocContiguous , and I think therre is no hope to use this (IOMallocContiguous)... We need two 2 segments of memory contiguous with a page-size of 16K but OSX have trouble to alloc a page-size over 4k. I assume you already read the source for IOMallocContiguous and it may not help much. But it seems page-size is a pre-defined const, what do you mean 16k and 4k here for page-size? Sorry if it's a newbie question. |
|
jalavoui
InsanelyMac Legend
|
![]() |
Feb 29 2008, 06:58 PM Post #270
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
It's an error about IOMallocContiguous , and I think therre is no hope to use this (IOMallocContiguous)... We need two 2 segments of memory contiguous with a page-size of 16K but OSX have trouble to alloc a page-size over 4k. i don't know if you changed pci_alloc_consistent() but you should changed it to: void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size, int pagesize, dma_addr_t *dma_handle) { return IOMallocContiguous(size, pagesize, dma_handle); } and need to change all calls to this function with the right pagesize value otherwise it will never work in iwi2200 i use MemoryDmaAlloc() for firmware memory allocations and IOMallocContiguous() for tx init take a look and try it in iwi3945 maybe this work fine in 10.5 - you need to test it: //gOSMallocTag = OSMalloc_Tagalloc("insanelymac.iwidarwin.control", OSMT_DEFAULT);// OSMT_PAGEABLE if the iwl3945_send_power_mode() is giving fw errors - remove it. i was unable to use this in iwi2200 About posting logs please use this http://iwidarwin.googlecode.com/files/getlogs3.command.zip to post logs we need logs for iwi2200 and iwi3945 i'd like to help more writing code but my imac just won't let me |
|
TNW
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 09:30 PM Post #271
|
![]()
|
I assume you already read the source for IOMallocContiguous and it may not help much. But it seems page-size is a pre-defined const, what do you mean 16k and 4k here for page-size? Sorry if it's a newbie question. In the source , look at the parameter "aligment" , it isn't pre-defined. MemoryDmaAlloc uses kIOMemoryPhysicallyContiguous and the method member inTaskWithOptions of IOBufferMemoryDescriptor uses IOMallocContiguous. I'll take a look at OSMalloc_Tagalloc. The question is how can I have 16k of memory with contiguous physical adresse ? Maybe with DART? Many thank's !!! Herre the log of the new driver when it loads
Attached File(s)
|
|
abidin
InsanelyMac Protégé
|
![]() |
Feb 29 2008, 10:07 PM Post #272
|
|
This is my log, iwi3945 on 10.5.2:
CODE error detected. Restarting 0x82000008. error iwl3945: Start IWL Error Log Dump: error iwl3945: Status: 0x00010132, Config: 00000000 count: 1 error iwl3945: Desc Time asrtPC blink2 ilink1 nmiPC Line error iwl3945: SYSASSERT (#5) 0000013230 0x0089A 0x00FE0 0x00304 0x00000 57 error iwl3945: Start IWL Event Log Dump: display count 8, wraps 0 error iwl3945: 0000000000 0x000000d5 0117 error iwl3945: 0000000000 0x000000be 0118 error iwl3945: 0000002107 0x00000000 0651 error iwl3945: 0000002128 0xffffff5a 0454 error iwl3945: 0000002129 0x00000000 0472 error iwl3945: 0000002150 0x000000c5 0104 error iwl3945: 0000013228 0x00000000 0401 error iwl3945: 0000013231 0x00000100 0125 error iwl3945: U iwl3945_print_rx_config_cmd RX CONFIG: error iwl3945: U iwl3945_print_rx_config_cmd u16 channel: 0x0 error iwl3945: U iwl3945_print_rx_config_cmd u32 flags: 0x00000000 error iwl3945: U iwl3945_print_rx_config_cmd u32 filter_flags: 0x00000000 error iwl3945: U iwl3945_print_rx_config_cmd u8 dev_type: 0x0 error iwl3945: U iwl3945_print_rx_config_cmd u8 ofdm_basic_rates: 0x00 error iwl3945: U iwl3945_print_rx_config_cmd u8 cck_basic_rates: 0x00 error iwl3945: U iwl3945_print_rx_config_cmd u8[6] node_addr: 00:00:00:00:00:00 error iwl3945: U iwl3945_print_rx_config_cmd u8[6] bssid_addr: 00:00:00:00:00:00 error iwl3945: U iwl3945_print_rx_config_cmd u16 assoc_id: 0x0 error iwl3945: U iwl3945_irq_handle_error Restarting adapter due to uCode error. error iwl3945: Error Reply teyrror iwl3945: pe 0U x_0000000_iwl3940 cm5_dd owUn NKiwNOWl394N (0x500 is) goseq 0xin0g down 000 ser 0x00000000 Wait POWER_TABLE_CMD Condition: 49ms left error iwl3945: U iwl3945_send_cmd_sync Command POWER_TABLE_CMD failed: FW Error error iwl3945: No space for Tx error iwl3945: Error sending REPLY_BT_CONFIG: iwl3945_enqueue_hcmd failed: -28 error iwl3945: U iwl3945_alive_start ALIVE processing complete. __ OUT iwl3945_alive_start __ Wait START_ALIVE Condition: 170ms left error iwl3945: U iwl3945_mac_open leave error iwl3945: U iwl3945_mac_add_interface enter: id 3, type 2 error iwl3945: U iwl3945_mac_add_interface Set: 31:32:31:32:31:32 error iwl3945: U iwl3945_mac_add_interface leave hope can be useful |
|
English Haze
InsanelyMac Protégé
|
![]() |
Mar 1 2008, 12:52 AM Post #273
|
|
My logs from a Samsung Q45 laptop. Hope I've done this right. I'm a complete newcomer to OS X.
Thanks for all the hard work Incidentally, my hangs on the first occurrence of the line containing mDNSResponder in the console log unless I boot with the -x safe mode flag. Is this because of the network drivers or some other reason?
Attached File(s)
dmesg.txt ( 4K )
Number of downloads: 17
ioreg.txt ( 28.04K )
Number of downloads: 9
system.txt ( 19.04K )
Number of downloads: 12 |
|
arob92
InsanelyMac Protégé
|
![]() |
Mar 1 2008, 07:53 AM Post #274
|
|
i Have never made logs before... after i do this:
open Terminal % sudo -s % cd ~/Desktop % dmesg > dmesg.txt % cat /var/log/system.log > system.txt % ioreg -w 0 > ioreg.txt Now you have 3 log files; dmesg.txt, system.txt and ioreg.txt you can find them on the desktop and i have the 3 log files on my desktop, do i just post them or do i have to do something else?? |
|
hypnotic
InsanelyMac Protégé
|
![]() |
Mar 1 2008, 09:49 AM Post #275
|
|
please post them here like others.
|
|
arob92
InsanelyMac Protégé
|
![]() |
Mar 1 2008, 09:54 AM Post #276
|
|
|
|
Symuc
InsanelyMac Protégé
|
![]() |
Mar 1 2008, 10:26 AM Post #277
|
|
TNW wanted me to share with everyone some rather big news. He has been hard at work, delving into the innards of the Darwin kernel, finding strange and obscure misfeatures involving, among other things, non-aligned IOMallocContiguous() calls.
In addition to fixing the initialization problems, the card now properly starts up, initializes, receives data, and enters ieee80211_rx_irqsafe(). Ladies and gentlemen, I present to you the first packet received by this driver: CODE A80000001B026B87000006000000000001002300000 A830080000000FFFFFFFFFFFF001E4C427849001E4C 427849C04F8691AC642700000064001104000C4C69 7665626F782D44454430010882848B962430486C030 1010504010300002A01002F010032040C121860DD16 0050F20101000050F20201000050F20201000050F20 2DD180050F2020101800003A4000027A4000042435E 0062322F00 Which looks an awful lot like an ESSID broadcast. Specifically, of the AP named "Livebox", which I'm told belongs to TNW himself. There is much more work to do, but now the hardware is at least starting to behave. |
|
arob92
InsanelyMac Protégé
|
![]() |
Mar 1 2008, 10:56 AM Post #278
|
|
TNW wanted me to share with everyone some rather big news. He has been hard at work, delving into the innards of the Darwin kernel, finding strange and obscure misfeatures involving, among other things, non-aligned IOMallocContiguous() calls. In addition to fixing the initialization problems, the card now properly starts up, initializes, receives data, and enters ieee80211_rx_irqsafe(). Ladies and gentlemen, I present to you the first packet received by this driver: CODE A80000001B026B87000006000000000001002300000 A830080000000FFFFFFFFFFFF001E4C427849001E4C 427849C04F8691AC642700000064001104000C4C69 7665626F782D44454430010882848B962430486C030 1010504010300002A01002F010032040C121860DD16 0050F20101000050F20201000050F20201000050F20 2DD180050F2020101800003A4000027A4000042435E 0062322F00 Which looks an awful lot like an ESSID broadcast. Specifically, of the AP named "Livebox", which I'm told belongs to TNW himself. There is much more work to do, but now the hardware is at least starting to behave. can u explain to me what this is?? and what card it is for?? And also i uploaded to logs bu when i try to upload system.txt it tells me that it is too large to upload. What should i do?? or are those 2 enough?? |
|
cabalccb
InsanelyMac Protégé
|
![]() |
Mar 1 2008, 11:12 AM Post #279
|
|
Frankie
I have a p1610 with iAtkos, Everything works less audio, touchscreen and wifi. I tried to install tabletmagic, iwi3945 and don't work. Please help |
|
jalavoui
InsanelyMac Legend
|
![]() |
Mar 1 2008, 12:07 PM Post #280
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
the utility for making logs was wrong
please download getlogs4.command.zip from http://code.google.com/p/iwidarwin/ and post logs again if system.log is large just zip it need logs for iwi3945, iwi2200 TNW, Symuc have you tried the getPhysicalSegmentsWithCoalesce() for the memory problem? mac os as strange behaviors when dealing with memory allocation... just remebered that the driver is using mac80211 code - can be hard to make it work the ieee80211 code from iwi2200 is stable but it will probably fail for "a" and "g" mode at this time i guess the driver need to do this: 1) handle beacons, probe responses,etc (ieeerx_mgmt) 2) rx data (ieee_rx) 3) tx data (outputpacket and ieee_xmit) if you're using the mac80211 code try to follow this order - it will help to make things work |
![]() |
|
Lo-Fi Version | Time is now: 22nd November 2009 - 03:12 AM |