Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ieee80211 kernel module fails to load
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shimage
n00b
n00b


Joined: 18 Jul 2003
Posts: 48

PostPosted: Thu Mar 09, 2006 10:31 pm    Post subject: ieee80211 kernel module fails to load Reply with quote

It works on my old kernel (2.6.13), but not on anything newer. The kernel is compiled without (to my knowledge) ieee80211, and the only wireless stuff I have enabled is
Code:
Device Drivers -->
    Network device support --->
        Wireless LAN (non-hamradio) --->
            [*] Wireless LAN drivers (non-hamradio) & Wireless Extensions


I have emerged ieee80211, ipw2200, and ipw2200-firmware. When I "modprobe ieee80211" (after rebooting into the new kernel), I get
Code:
FATAL: Error inserting ieee80211 (/lib/modules/2.6.15-gentoo-r1/net/ieee80211/ieee80211.ko): Unknown symbol in module, or unknown parameter (see dmesg)


"dmesg|tail" yields
Code:
ieee80211: disagrees about version of symbol per_cpu__softnet_data
ieee80211: Unknown symbol per_cpu__softnet_data
ieee80211: disagrees about version of symbol free_netdev
ieee80211: Unknown symbol free_netdev
ieee80211: Unknown symbol wireless_spy_update
ieee80211: disagrees about version of symbol netif_rx
ieee80211: Unknown symbol netif_rx


If anyone has any ideas about how to fix this, I would greatly appreciate it.
Back to top
View user's profile Send private message
unclecharlie
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 186
Location: Colorado, USA

PostPosted: Sat Mar 11, 2006 6:18 am    Post subject: check kernel wireless support Reply with quote

shimage,
It looks like you don't have wireless extensions enabled in your kernel. Look in /usr/src/linux/.config for the line CONFIG_NET_RADIO=y. Or from make menuconfig/xconfig it's under Device Drivers->Network Device Support->Wireless LAN (non-hamradio)->Wireless LAN Drivers (non-hamradio) & Wireless Extensions Check it and if it's disabled you'll need to enable it and rebuild/install the kernel.

hope this helps,
Charlie
p.s.- I didn't ignore your post. But that is the error you get when you load a wireless module into a kernel without wireless extensions... Is /boot a separate partition on your system? [edit] I'm thinking- What if the new kernel was put into the /boot directory but the boot partition was not mounted. The new kernel would not boot, the old one would. (I'm thinking this because I have done this, not because I think you did :wink: .) [/edit]
Back to top
View user's profile Send private message
mtylerb
n00b
n00b


Joined: 09 Mar 2006
Posts: 24

PostPosted: Sat Mar 11, 2006 7:58 am    Post subject: Reply with quote

I'm having a similar problem. I followed all the instructions in the manual(s) for setting up wireless adapters, the thread I started is at:

https://forums.gentoo.org/viewtopic-t-442017.html

I'll save reposting all of it and just post the link. If you can offer any ideas it would be greatly appreciated,

Thanks,

Tyler
Back to top
View user's profile Send private message
unclecharlie
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 186
Location: Colorado, USA

PostPosted: Sat Mar 11, 2006 2:40 pm    Post subject: mtylerb- check your kernel... Reply with quote

mtylerb,

I read your post and it appears that you also are not running a kernel with wireless extensions enabled.
From /usr/src/linux do make menuconfig and make sure that Device Drivers->Network Device Support->Wireless LAN (non-hamradio)->Wireless LAN Drivers (non-hamradio) & Wireless Extensions is enabled.
If you've already built the kernel with wireless extensions, then check your install. (i.e.- make sure that your new kernel is on the boot partition and that your grub.conf points to the new kernel.)

hope this helps,
Charlie
Back to top
View user's profile Send private message
shimage
n00b
n00b


Joined: 18 Jul 2003
Posts: 48

PostPosted: Sat Mar 11, 2006 7:14 pm    Post subject: Re: check kernel wireless support Reply with quote

unclecharlie wrote:
shimage,
It looks like you don't have wireless extensions enabled in your kernel. Look in /usr/src/linux/.config for the line CONFIG_NET_RADIO=y. Or from make menuconfig/xconfig it's under Device Drivers->Network Device Support->Wireless LAN (non-hamradio)->Wireless LAN Drivers (non-hamradio) & Wireless Extensions Check it and if it's disabled you'll need to enable it and rebuild/install the kernel.

hope this helps,
Charlie
p.s.- I didn't ignore your post. But that is the error you get when you load a wireless module into a kernel without wireless extensions... Is /boot a separate partition on your system? [edit] I'm thinking- What if the new kernel was put into the /boot directory but the boot partition was not mounted. The new kernel would not boot, the old one would. (I'm thinking this because I have done this, not because I think you did :wink: .) [/edit]

First off, thanks for the response! So I checked the kernel config, and it was, in fact, set. I copy the .config files over before I compile a new kernel, so this wasn't surprising to me.

Now, I was sure that I had copied over the new bzImage over to /boot, but I figured I'd try it out anyway (I'm not saying that I don't forget on occasion ;), only that I thought I remembered doing it). In my eagerness, however, I forgot to recompile ieee80211 and ipw2200 before booting into the new kernel. This time, though, it worked!

I'm not sure why it worked, since the ieee80211 and ipw2200 modules were compiled against the 2.6.13-r5 kernel. Perhaps someone with more knowledge can elucidate the situation for me?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum