Gentoo Archives: gentoo-user

From: Fei Liu <feiliu4@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] problem with kernel and net-wireless/linux-wlan-ng
Date: Tue, 26 Feb 2008 21:44:05
Message-Id: 47C4881B.5060701@gmail.com
1 Hello, Group,
2
3 I am trying to install and use NetGear MA111 usb wireless network. I
4 followed the instructions here:
5 http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo
6 <http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo>
7
8 But I get errors when I try to install the kernel module.
9 linux-wlan-ng-0.2.8 # modprobe prism2_usb prism2_doreset=1
10 WARNING: Error inserting p80211 (/lib/modules/2.6.19-gentoo-r5/linux-
11 wlan-ng/p80211.ko): Invalid module format
12 FATAL: Error inserting prism2_usb (/lib/modules/2.6.19-gentoo-r5/linux-
13 wlan-ng/prism2_usb.ko): Invalid module format
14
15 My system is built with gentoo 2007.0 livecd for i386 system. Here
16 is uname -a
17 Linux map 2.6.19-gentoo-r5 #1 SMP Wed Apr 4 05:44:43 UTC 2007 i686
18 Celeron (Mendocino) GenuineIntel GNU/Linux
19
20 Initially, my /usr/src/linux -> linux-2.6.19-gentoo-r5, and it's not
21 configured or compiled, so I don't have .config or include/linux/
22 version.h files that linux-wlan-ng-0.2.8 looks for.
23
24 I created a simple config (has wireless support, usb support),
25 compiled it but never installed it. So I have .config and include/
26 linux/version.h files. linux-wlan-ng could compile but the result
27 kernel modules cannot be installed unless forced:
28
29 modprobe -f prism2_usb prism2_doreset=1
30 Segmentation fault
31 map # lsmod
32 Module Size Used by
33 prism2_usb 60755 1
34 p80211 24844 1 prism2_usb
35
36 This causes the kernel to panic when I do 'reboot' but everything else
37 seems fine.
38
39 How could I go about solving this problem. I had no problem installing
40 this card and the softwares on a Fedora core 8 release. In this case,
41 it seems like some wierd kernel config problem causing errors when I
42 insert modules. Is there a way to get the config file used to create
43 the stock kernel in 2007.0 gentoo livecd?
44
45 Thanks,
46 Fei
47
48 --
49 gentoo-user@l.g.o mailing list