public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problem with kernel and net-wireless/linux-wlan-ng
@ 2008-02-26 21:43 Fei Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Fei Liu @ 2008-02-26 21:43 UTC (permalink / raw
  To: gentoo-user

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

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] problem with kernel and net-wireless/linux-wlan-ng
       [not found] <a1fQH-352-33@gated-at.bofh.it>
@ 2008-02-28 19:03 ` Fei Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Fei Liu @ 2008-02-28 19:03 UTC (permalink / raw
  To: gentoo-user

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
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-28 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <a1fQH-352-33@gated-at.bofh.it>
2008-02-28 19:03 ` [gentoo-user] problem with kernel and net-wireless/linux-wlan-ng Fei Liu
2008-02-26 21:43 Fei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox