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