View previous topic :: View next topic |
Author |
Message |
marvaneke n00b
Joined: 01 Aug 2007 Posts: 16
|
Posted: Tue Aug 07, 2007 3:34 pm Post subject: eth0 not installed [Closed] |
|
|
Hi,
I have with the command :
lspci :
Ethernet controller : Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet
I have with the command :
make menuconfig
Device Drivers --> Networh device support --> Ethernet (10 or 100 Mbit) -->
<*> SiS 900/7016 PCI Fast Ethernet Adapter Support
I have recompile the kernel with the command :
make && make modules_install
but it do not recognize the eth0
Where am I wrong ?
Regards.
Last edited by marvaneke on Wed Aug 08, 2007 9:28 am; edited 2 times in total |
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Tue Aug 07, 2007 3:45 pm Post subject: |
|
|
Code: | cd /usr/src/linux && make menuconfig |
Code: | make && make modules modules_install install |
_________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue Aug 07, 2007 4:14 pm Post subject: |
|
|
Moved from Installing Gentoo to Kernel & Hardware.
Kernel stuff, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
pezplaya n00b
Joined: 19 Feb 2004 Posts: 58
|
Posted: Tue Aug 07, 2007 4:17 pm Post subject: |
|
|
make sure you are using your newly compiled kernel, and also make sure the module is being loaded:
_________________ Gentoo
Kernel: 2.6.20 |
|
Back to top |
|
|
marvaneke n00b
Joined: 01 Aug 2007 Posts: 16
|
Posted: Tue Aug 07, 2007 4:21 pm Post subject: |
|
|
Hi,
I have coded :
cd /usr/src/linux
make menuconfig
make && make modules modules_install install
I have changed the file /boot/grub/grub.conf so it started with the kernel /boot/vmlinuz
but it is still :
ifconfig eth0
--> "Device not found"
Have an idea ?
PS : eth0 works fine with the boot installation CD.
Regards. |
|
Back to top |
|
|
marvaneke n00b
Joined: 01 Aug 2007 Posts: 16
|
Posted: Tue Aug 07, 2007 4:30 pm Post subject: |
|
|
I have tried :
lsmod
the answer is a empty list ?!?
perhaps it is normal because all the modules are compiled into the kernel.
when i try :
modprobe sis900
the answer is :
module not found
Have an idea ?
Regards. |
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Tue Aug 07, 2007 4:59 pm Post subject: |
|
|
do you have loadable module support built into your kernel?
Code: | [*] Enable loadable module support
[*] Module unloading
[*] Forced module unloading
[*] Module versioning support
[ ] Source checksum for all modules
[*] Automatic kernel module loading
|
_________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
|
marvaneke n00b
Joined: 01 Aug 2007 Posts: 16
|
Posted: Wed Aug 08, 2007 7:30 am Post subject: |
|
|
Hi,
I have recompiled the kernel with the options "loadable modules". The kernel-2.6.21* is bigger.
I have reboot the machine.
I have tried :
lsmod
the answer is still a empty list !
when i try :
modprobe sis900
the answer is :
module not found
Have an idea ?
Regards. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Aug 08, 2007 8:58 am Post subject: |
|
|
Also are you sure /usr/src/linux is the correct kernel and not some different version. Did you copy your kernel back to /boot? _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Aug 08, 2007 9:01 am Post subject: |
|
|
Quote: | lsmod
the answer is still a empty list ! |
You can not go any further until that is fixed. Did you mount boot? does ls -al /boot show your new kernel modified today at the right time? _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Wed Aug 08, 2007 9:05 am Post subject: |
|
|
Hi marvaneke,
Since you apparently built a monolithic kernel there are no modules.
So lsmod wil return nothing,no modules.
It might be better to compile your kernel with the ethernet as a module.
Then when you do modprobe <module-name> you will get output that might be
of use to troubleshoot.It might be necessary to put the module-name in
/etc/modules.autoload.d/<kernel>.
When the module is loaded this way it will probably activate udev to connect
to the hardware.
Building a monolithic kernel usually gives all kinds of problems,better use modules.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
marvaneke n00b
Joined: 01 Aug 2007 Posts: 16
|
Posted: Wed Aug 08, 2007 9:28 am Post subject: |
|
|
To drescherjm :
Q : Also are you sure /usr/src/linux is the correct kernel and not some different version. Did you copy your kernel back to /boot?
A : Since I use the wonderful command from Dan "make && make modules modules_install install" the copy of the new kernel to the /boot is automatic, and since the grub.conf contains the line /boot/vmlinuz.
To Gerard van Vuuren : (Gooie morgen )
For a reason that I don't understand the selection of :
Device Drivers --> Networh device support --> Ethernet (10 or 100 Mbit) -->
<*> SiS 900/7016 PCI Fast Ethernet Adapter Support
was not more selected.
I reselected it, to include it into the kernel, and it WORKS.
I have well noticed your remark with including not in the kernel but has a module. I will thing at it if I have a futur problem.
Thanks to all of you.
Regards. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Aug 08, 2007 5:29 pm Post subject: |
|
|
I see. You ended up building it into the kernel instead of a module. This usually gives the least grief but you loose the ability to restart or upgrade the driver as you would if it was a module. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
|