Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > Network card driver help

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-01-2005   #1 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 3
Network card driver help

I installed gentoo on a new Dell Optiplex, and had everything up and running nicely. I noticed in the ifconfig eth0 state that the onboard NIC card was reporting RX Errors. I blamed it on the nic card so went and got an asante friendlynet pci nic card.

It shows up under lspci as:
Lite-On Communications Inc LNE100TX

but ever since i put the card in, both my old nic and the new one stopped working, and don't even show up in ifconfig anymore

a relevant part of dmesg:
ds: no socket drivers loaded!

the only module I seem to have compiled is dummy.o

when I try to modprobe tulip it says it con not locate it. I found a folder in
/usr/src/linux2.4.28-gentoo-rc5/drivers/net/tulip
with files like tulip.h tulip_core.c Makefile
and a few more, but I tried to compile it using make and got:
Makefile:17: /Rules.make: No such file or directory
make: *** No Rule to make target `/Rules.make'. Stop.

Any ideas?

Thanks!
wgknowles is offline  



Reply With Quote
Old 04-06-2005   #2 (permalink)
Linux Engineer
 
spencerf's Avatar
 
Join Date: Jan 2005
Location: Syracuse, NY
Posts: 1,144
you probably have to add support for your new card through the kernel.

cd /usr/src/linux
# make menuconfig
find network stuff look for your card enable it.
# make && make modules_install

cp arch/i386/boot/bzimage /boot/kernel (whatever you have saved it as)
cp System.map /boot/System.map

reboot and see if it works.

if it doesn't seem to want to copy you probably have to mount /boot.

try: # mount /boot
__________________
All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL
spencerf is offline   Reply With Quote
Old 04-14-2005   #3 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 3
Still Having Problems...

I followed the ssteps listed above, and it ran be into a bootloader kernel size overflow problem

I found a fix for that by running /sbin/lilo after the above commands, and just before rebooting.

eitherway,

I still see no compiled modules, expect for dummy.o

Considering the Gentoo Live CD wasn't recognizing this card anywya I assumed I wouldn't have much luck getting it to work so i switched to a 3com card.

The Gentoo Live CD reconized this card just fine, and lsmod shows it is using the 3c59x module to drive the card.

now, I am still at a loss as how to get the 3c59x module compiled into a usable object for modprobe to work it's magic.

Why isn't make menuconfig working? should i compile this module manually?

Thanks.
wgknowles is offline   Reply With Quote
Old 04-15-2005   #4 (permalink)
Just Joined!
 
Join Date: Apr 2005
Location: Michigan
Posts: 5
Re: Still Having Problems...

Quote:
Originally Posted by wgknowles
I followed the ssteps listed above, and it ran be into a bootloader kernel size overflow problem

I found a fix for that by running /sbin/lilo after the above commands, and just before rebooting.

eitherway,

I still see no compiled modules, expect for dummy.o

Considering the Gentoo Live CD wasn't recognizing this card anywya I assumed I wouldn't have much luck getting it to work so i switched to a 3com card.

The Gentoo Live CD reconized this card just fine, and lsmod shows it is using the 3c59x module to drive the card.

now, I am still at a loss as how to get the 3c59x module compiled into a usable object for modprobe to work it's magic.

Why isn't make menuconfig working? should i compile this module manually?

Thanks.

I am the man
The gentoo docs need updating I'll get to that later tonight.
You need to emerge coldplug. Watch the livecd boot (f2) you'll see it does coldplug then the network.
The docs say emerge coldplug later boot with livecd mount your drives
chroot in whatever I am so new at linux then emerge -k coldplug
dws400 is offline   Reply With Quote
Old 04-15-2005   #5 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 3
not coldplug...

Sorry, I tried emerging coldplug, I'm pretty sure I had that done alrady anyway, but!

I noticed something at the end of compiling the kernel and modules after adding the NIC cards in make menuconfig

# make && make modules_install
...
...

Entering Directory '/usr/src/linux-2.4.28-gentoo-r5/drivers/net
cp 3c59x.o dummy.o /lib/modules/2.4.28-gentoo-r5/kernel/drivers/net
cp: cannot stat '3c59x.o' : No Such file or directory
make[2]: *** [_modinst_] Error 1

So, It looks like the compilation of the driver is failing to create a .o file.
there is a 3c59x.c file in 2 places on my HD,

/lib/modules/2.4.28-gentoo-r5/net/3c59x.c
/usr/scr/linux-2.4.28-gentoo-r5/drivers/net/3c59x.c

But there are no .h files anywhere

I need a make guru!!!

Thanks for your help guys,
-Greg
wgknowles is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:27 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1