Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
natsemi module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
userxsquared
n00b
n00b


Joined: 26 May 2004
Posts: 21

PostPosted: Wed May 26, 2004 11:52 pm    Post subject: natsemi module Reply with quote

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
View user's profile Send private message
clar77
Apprentice
Apprentice


Joined: 02 Feb 2004
Posts: 210
Location: Charm City, MD

PostPosted: Thu May 27, 2004 2:25 am    Post subject: Re: natsemi module Reply with quote

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:
Code:

/sbin/ifconfig


to make sure your card was detected and then configure your connection.
_________________
Pointless screenshots
My dogs :)
Back to top
View user's profile Send private message
secondshadow
Guru
Guru


Joined: 23 Jun 2003
Posts: 362

PostPosted: Thu May 27, 2004 2:40 am    Post subject: Reply with quote

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
View user's profile Send private message
userxsquared
n00b
n00b


Joined: 26 May 2004
Posts: 21

PostPosted: Thu May 27, 2004 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu May 27, 2004 7:59 am    Post subject: Reply with quote

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
View user's profile Send private message
userxsquared
n00b
n00b


Joined: 26 May 2004
Posts: 21

PostPosted: Thu May 27, 2004 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
userxsquared
n00b
n00b


Joined: 26 May 2004
Posts: 21

PostPosted: Thu May 27, 2004 11:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri May 28, 2004 7:51 am    Post subject: Reply with quote

userxsquared wrote:
They should clarify the distinction in the manual from built in and module and that some things are module only.


AFAIK all kernel modules can be compiled into the kernel whereas some selections cannot be compiled as modules.

And it's upto the user whether they want modules or one big kernel.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum