View previous topic :: View next topic |
Author |
Message |
sgtsgt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Apr 2004 Posts: 11
|
Posted: Wed Apr 21, 2004 9:16 pm Post subject: Ethernet Card |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
vxspiritxv n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Apr 2003 Posts: 60
|
Posted: Wed Apr 21, 2004 9:19 pm Post subject: |
|
|
Shot in the dark here, but did you run your boot manager after changing files in /boot? (ie lilo) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54851 Location: 56N 3W
|
Posted: Wed Apr 21, 2004 9:23 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sgtsgt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Apr 2004 Posts: 11
|
Posted: Wed Apr 21, 2004 10:20 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54851 Location: 56N 3W
|
Posted: Thu Apr 22, 2004 7:31 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|