Fei Liu wrote: > Hello, Group, > > I am trying to install and use NetGear MA111 usb wireless network. I > followed the instructions here: > http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo > <http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo> > > But I get errors when I try to install the kernel module. > linux-wlan-ng-0.2.8 # modprobe prism2_usb prism2_doreset=1 > WARNING: Error inserting p80211 (/lib/modules/2.6.19-gentoo-r5/linux- > wlan-ng/p80211.ko): Invalid module format > FATAL: Error inserting prism2_usb (/lib/modules/2.6.19-gentoo-r5/linux- > wlan-ng/prism2_usb.ko): Invalid module format > > My system is built with gentoo 2007.0 livecd for i386 system. Here > is uname -a > Linux map 2.6.19-gentoo-r5 #1 SMP Wed Apr 4 05:44:43 UTC 2007 i686 > Celeron (Mendocino) GenuineIntel GNU/Linux > > Initially, my /usr/src/linux -> linux-2.6.19-gentoo-r5, and it's not > configured or compiled, so I don't have .config or include/linux/ > version.h files that linux-wlan-ng-0.2.8 looks for. > > I created a simple config (has wireless support, usb support), > compiled it but never installed it. So I have .config and include/ > linux/version.h files. linux-wlan-ng could compile but the result > kernel modules cannot be installed unless forced: > > modprobe -f prism2_usb prism2_doreset=1 > Segmentation fault > map # lsmod > Module Size Used by > prism2_usb 60755 1 > p80211 24844 1 prism2_usb > > This causes the kernel to panic when I do 'reboot' but everything else > seems fine. > > How could I go about solving this problem. I had no problem installing > this card and the softwares on a Fedora core 8 release. In this case, > it seems like some wierd kernel config problem causing errors when I > insert modules. Is there a way to get the config file used to create > the stock kernel in 2007.0 gentoo livecd? > > Thanks, > Fei > Ah it tends out the kernel vermagic must match. I copied /proc/config.gz and applied it to kernel source. problem solved.
Fei -- [email protected] mailing list

