|
Fedora Core 2 madwifi 2.6.5 kernel: insmod segmentation fault
I recently installed Fedora Core 2 on my system. Everything is wonderful... "kudos to the Fedora Core Development Team!" However, the 2.6 kernel doesn't have any modules for a D-Link DWL-G520. No big deal... I located the madwifi project on Sourceforge and discovered that the only rpm's were for the 2.4 kernel. So I downloaded the source tar ball and followed the install instructions...
Btw, I had to install the sharutils package and apparently the default kernel source package for Fedora didn't have the vmlinux in the correct place so I rebuilt the kernel as well. After this, the madwifi compiled error free... but with a couple warnings... so I did a insmod for the required modules in the prescribed order and got a segmentation fault... opps! So I tried make install and it executed with no errors.
So I rebooted and the kernel only partially recognizes the card. As a mater of fact, dmesg | ^ath displays the loaded modules. However, upon closer inspection, the modules fail to load correctly. The error message is something like trying to derefrence a null pointer... a dump is provided along with some other details. I'm at work now so I can't include those details yet. So if somebody has a fix based on what I have described here please let me know. Otherwise, after work I will post the actual error from dmesg.
Ok back from work... here is the error...
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.5.3 BETA (Sam Leffler <sam@errno.com>)
wlan: 0.7.1.1 BETA (Sam Leffler <sam@errno.com>)
ath_pci: 0.8.3.2 BETA (Sam Leffler <sam@errno.com>)
Unable to handle kernel NULL pointer dereference at virtual address 0000003f
printing eip:
021a18f6
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<021a18f6>] Tainted: P
EFLAGS: 00010246 (2.6.5-1.358custom)
EIP is at pci_register_driver+0xc/0x66
eax: 00000037 ebx: 00000037 ecx: 00000003 edx: 00002bff
esi: 00000000 edi: 022d897c ebp: 21413000 esp: 21413f84
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 1640, threadinfo=21413000 task=2138cd30)
Stack: 022d8994 229e5500 022d897c 22847025 229e5420 229e2f96 229e38d8 229e5500
022d8994 229e5500 022d897c 02127eac 21413fc4 08a31298 08057260 ffff3200
f6fa0008 00071abe 08a31298 08a31298 08057260 feec4768 00000080 0000007b
Call Trace:
[<22847025>] init_ath_pci+0x25/0x5d [ath_pci]
[<02127eac>] sys_init_module+0xe7/0x1bd
Code: 8b 40 08 c7 43 28 40 08 2e 02 8d 93 8c 00 00 00 89 d7 89 43
Thanks
Last edited by kenemike; 05-21-2004 at 01:59 PM.
|