Re: [Madwifi-devel] BSD port -- seems to work
Status: Beta
Brought to you by:
otaku
From: Ramon C. <cas...@in...> - 2003-10-24 07:37:05
|
On Thu, 23 Oct 2003, Mathieu Lacage wrote: > this should be fixed in release -6. gandalf net80211# diff -ur ieee80211-mod.c.old ieee80211-mod.c --- ieee80211-mod.c.old 2003-10-23 14:41:24.528910848 +0200 +++ ieee80211-mod.c 2003-10-23 14:42:05.748644496 +0200 @@ -46,12 +46,7 @@ module_exit(exit_wlan); #ifndef __MOD_INC_USE_COUNT -#define __MOD_INC_USE_COUNT(_m) \ - if (!try_module_get(_m)) { \ - printk(KERN_WARNING "%s: try_module_get failed\n", \ - ic->ic_dev.name); \ - return (ENODEV); \ - } +#define __MOD_INC_USE_COUNT(_m) try_module_get(_m) #define __MOD_DEC_USE_COUNT(_m) module_put(_m) #endif wlan: no version magic, tainting kernel. wlan: 0.7.1.1-mathieu-6 BETA (Sam Leffler <sa...@er...>) ath_hal: module license 'Proprietary' taints kernel. ath_hal: 0.9.5.11 BETA (Sam Leffler <sa...@er...>) ath_pci: 0.8.3.2-mathieu-6 BETA (Sam Leffler <sa...@er...>) ath_debug: 0 divert: allocating divert_blk for ath0 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 802.11 address: 00:05:4e:40:22:0a Still, it does not associate. for a couple of seconds, it stayed in a 2.5GHz Channel, it got the MAC address of the AP but the ESSID was just "" (please note that our ESSID may contain spaces). Later, it just keept on changing channels. ath0 IEEE 802.11 ESSID:"" Mode:Managed Frequency:5.18GHz Access Point: FF:FF:FF:FF:FF:FF Bit Rate:6Mb/s Tx-Power:off Sensitivity=3D0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0/92 Signal level:60/154 Noise level:0/154 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 * unloaded modules, reloaded wlan with=20 net80211# insmod ./wlan.ko ieee80211_debug=3D1 wait a couple of seconds ath0 IEEE 802.11 ESSID:"p-=A8o[o[=B8=CC=CCH (k" Mode:Managed Frequency:2.412GHz Access Point:=20 03:28:E8:9E:03:00 Bit Rate:0kb/s Tx-Power:off Sensitivity=3D0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0/92 Signal level:152/154 Noise level:0/154 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 echo 1 > /proc/net/wlan/debug=20 (I was not sure if this was the right command to issue :)) Unable to handle kernel paging request at virtual address 5539c000 printing eip: 021b0301 *pde =3D 00000000 Oops: 0000 [#1] PREEMPT CPU: 0 EIP: 0060:[<021b0301>] Tainted: PF VLI EFLAGS: 00010202 EIP is at vsscanf+0x24/0x3d6 eax: 439afd24 ebx: 00000000 ecx: 00000000 edx: 358fd0e0 esi: 5539c000 edi: 2da0ff54 ebp: 00000002 esp: 2da0ff18 ds: 007b es: 007b ss: 0068 Process bash (pid: 25928, threadinfo=3D2da0e000 task=3D316e2040) Stack: 5539c000 00000001 00000000 2d8e4b20 00000000 358fd0e0 358fd100=20 00000002 021b06c5 5539c000 439afd24 2da0ff54 439a8a9a 5539c000 439afd24=20 2da0ff64 ffffffea 2da0e000 2fbeca00 31f45360 02175222 358fd0e0 5539c000=20 00000002 Call Trace: [<021b06c5>] sscanf+0x12/0x19 [<439a8a9a>] ieee80211_stats_detach+0x81/0xa9 [wlan] [<02175222>] proc_file_write+0x2b/0x2f [<0214de15>] vfs_write+0x96/0xc0 [<0214dead>] sys_write+0x2b/0x43 Code: ff ff ff 83 c4 0c c3 55 57 56 53 83 ec 10 8b 44 24 28 c7 44 24 08 00= =20 00 00 00 8b 7c 24 2c 8b 74 24 24 80 38 00 0f 84 a6 03 00 00 <80> 3e 00 0f= =20 84 9d 03 00 00 8b 54 24 28 0f b6 02 f6 80 40 f8 2f Hope this helps,=20 and thanks for your work Regards, R. |