LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-21-2004, 12:53 PM   #1
kenemike
LQ Newbie
 
Registered: Jul 2003
Location: Grand Rapids MI
Distribution: Fedora Core 2
Posts: 17

Rep: Reputation: 0
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.
 
Old 05-22-2004, 07:23 AM   #2
kenemike
LQ Newbie
 
Registered: Jul 2003
Location: Grand Rapids MI
Distribution: Fedora Core 2
Posts: 17

Original Poster
Rep: Reputation: 0
Fedora Core 2 and madwifi follow-up

I have played with it a bit and discovered that if you rebuild
your kernel using the default .config provided by Fedora you
get a sym link to vmlinux in the /lib/modules/build directory.
However, when you make the driver, you get a host of "xxxxx
undefined" errors in the build! If you get the undefined errors
forget trying to make install or insmod 'cause you are wasting
your time.

I created a symlink in the /lib/modules/{version}/build
directory to the /boot/vmlinuz-{version} and it corrected the
warnings in the build! However you still can't get a clean
build!

I am confident this can be resolved because the people at
SuSE got it! I downloaded the SuSE 9.1 Live eval and if you
boot and then run YaST you can configure the card and it
works! The only difference I see is they are running kernel
version 2.6.4-{something}.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation fault (core dumped) eytan *BSD 3 04-27-2005 08:38 PM
Segmentation Fault (core dumped) newuser455 Linux - Software 3 08-28-2004 02:39 PM
Apt-get segmentation fault on Fedora Core 2 sufianmunir Linux - Software 1 07-03-2004 03:34 PM
Segmentation fault (core dumped) plisken Linux - General 8 09-17-2003 03:32 AM
Segmentation fault (core dumped) hasanaydin Linux - General 0 03-27-2002 07:47 AM


All times are GMT -5. The time now is 01:54 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration