Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ethernet Card
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
sgtsgt
n00b
n00b


Joined: 20 Apr 2004
Posts: 11

PostPosted: Wed Apr 21, 2004 9:16 pm    Post subject: Ethernet Card Reply with quote

I just recently finished installing gentoo on one harddrive. When I reboot, my kernel will not initialize the ethernet card. (the card works with no problems when I boot from the liveCd).

So I did a bit of research. I have a D-Link 528 which is NE2000 compatible. So I went back in and added ne2000 support in my kernel. I recompiled and copied the kernel to the /boot sections and rebooted.

I still get the same error eth0 not initialized. I tried looking at the files on the liveCd to see what was different and why the card works with that boot but now with my kernel.

Any suggestions? as my error is not all that descriptive.

If I try ifconfig eth0 up I get a message saying there's no device eth0

Thanks in advance
Back to top
View user's profile Send private message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Wed Apr 21, 2004 9:19 pm    Post subject: Reply with quote

Shot in the dark here, but did you run your boot manager after changing files in /boot? (ie lilo)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54851
Location: 56N 3W

PostPosted: Wed Apr 21, 2004 9:23 pm    Post subject: Reply with quote

sgtsgt,

Did you build the ne2000 driver as a module or into the kernel.
I suspect you have it as a module but not loaded it.
Try lsmod to see if its loaded.
If not, do modprobe ne2000 to attempt to load the module.
You should now have eth0.
Try ifconfig to see.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
sgtsgt
n00b
n00b


Joined: 20 Apr 2004
Posts: 11

PostPosted: Wed Apr 21, 2004 10:20 pm    Post subject: Reply with quote

I am using grub. No I did not rerun it. I have copied the new kernel and System.map to the boot partition and verified that only the new kernel exists there.

I did not make any modules for the kernel everything I chose I built into the kernel.

lspci gives me this:

02:0b.0 Ethernet controller:Realtek Semiconductor Co., Ltd. RTL-8029(AS)

dmesg gives me this:

Net4: Linux TCP/IP 1.0 for Net 4.0

Failed to bring Eth0 up

ERROR: Problem starting needed services. "NetMount" was not started.


I do not see anything in my startup for ethernet until is says it failed to bring it up.

I am kind of lost here as to why my settings do not work but it works fine with booting from the LiveCD so I know it's a setting I have wrong somewhere.

Thanks again for the help
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54851
Location: 56N 3W

PostPosted: Thu Apr 22, 2004 7:31 pm    Post subject: Reply with quote

sgtsgt,

Boot with the liveCD and post the output of lsmod. You should find a module called ne2k_pci, which is your network card.

For debug purposes, modules are preferred because you can load, unload and build them without a reboot. Also you can pass parameters when they are loaded to tweak the performance.

Can you also post the network device section of /usr/src/linux/.config, or all of it if you must. That will let your readers see how your kernel is configured.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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