View previous topic :: View next topic |
Author |
Message |
userxsquared n00b
Joined: 26 May 2004 Posts: 21
|
Posted: Wed May 26, 2004 11:52 pm Post subject: natsemi module |
|
|
Hello Everyone,
I am a linux newbie and I have been working with Gentoo for the last week. So far I like it. It has taught me a great deal. My problem now is that I can't get the natsemi module to work after booting into fresh install of Linux. Off the cd I was able to modprobe the module and it worked fine. So I presume that I can move some files off the cd to get the network card working again.
I have tried to move the natsemi.o file off the cd and modprobe it. I have also tried looking for other files to move and can not locate the other files needed (if there are any) ---- I guess this whole module thing confuses me a bit. Can someone give me some good instructions on how I can get the module loaded on the new Linux?
or maybe direct me to a link that will tell me how to manually load the module? I have tried recompiling the kernel with the appropriate support for the device, still no good.
(I hope I posted this in the right section)
uxs |
|
Back to top |
|
|
clar77 Apprentice
Joined: 02 Feb 2004 Posts: 210 Location: Charm City, MD
|
Posted: Thu May 27, 2004 2:25 am Post subject: Re: natsemi module |
|
|
userxsquared wrote: | I have tried recompiling the kernel with the appropriate support for the device, still no good.
|
did you compile the natsemi driver as a module or directly into the kernel ? if you did the latter, then there's no need to modprobe, just type:
to make sure your card was detected and then configure your connection. _________________ Pointless screenshots
My dogs :) |
|
Back to top |
|
|
secondshadow Guru
Joined: 23 Jun 2003 Posts: 362
|
Posted: Thu May 27, 2004 2:40 am Post subject: |
|
|
the Natsemi driver can be a little finicky, especially in the 2.4 kernel series in my experiance. And, to make things worse, there are some hardware configurations that certain natsemi based cards just don't play nicely with. |
|
Back to top |
|
|
userxsquared n00b
Joined: 26 May 2004 Posts: 21
|
Posted: Thu May 27, 2004 3:44 am Post subject: |
|
|
I guess I did it directly in the kernel. I used 'make menuconfig' and selected it in the section of 'Network Device Support'.
ifconfig just reveals loopback address. It doesn't pick up the card.
??????????
Any other configurations I should look at?
Do I have to do anything with the bios? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu May 27, 2004 7:59 am Post subject: |
|
|
Code: | roy@uberlaptop roy $ dmesg | grep natsemi
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002
http://www.scyld.com/network/natsemi.html |
Reveals that me laptop is using the natsemi module.
Mines compiled into the kernel (not a module)
If you've compiled yours into the kernel you should get a similar message.
FWIW I'm using Kernel 2.6.6 - but it's been working like a champ with kernel 2.5+ since I've been using Gentoo _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
|
userxsquared n00b
Joined: 26 May 2004 Posts: 21
|
Posted: Thu May 27, 2004 10:51 pm Post subject: |
|
|
Ok, well i typed in what you told me to type in:
dmesg | grep natsemi
It doesn't generate any output
I don't understand. I selected the option for it and compiled.
I noticed you said 2.5 and up. I am using kernel 2.4. Does this make a difference?
I just want to get this driver working. |
|
Back to top |
|
|
userxsquared n00b
Joined: 26 May 2004 Posts: 21
|
Posted: Thu May 27, 2004 11:13 pm Post subject: |
|
|
Got it. I went back and checked out the menu for the kernel configuration. I put an asterik in the field for National Semiconductor so that it is built in. I changed it to M for module. Recompiled and it works.
They should clarify the distinction in the manual from built in and module and that some things are module only.
Thanks everyone.
uxs |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|