Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 not installed [Closed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
marvaneke
n00b
n00b


Joined: 01 Aug 2007
Posts: 16

PostPosted: Tue Aug 07, 2007 3:34 pm    Post subject: eth0 not installed [Closed] Reply with quote

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


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Tue Aug 07, 2007 3:45 pm    Post subject: Reply with quote

Code:
mount /boot
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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Aug 07, 2007 4:14 pm    Post subject: Reply with quote

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


Joined: 19 Feb 2004
Posts: 58

PostPosted: Tue Aug 07, 2007 4:17 pm    Post subject: Reply with quote

make sure you are using your newly compiled kernel, and also make sure the module is being loaded:

Code:
lsmod

_________________
Gentoo
Kernel: 2.6.20
Back to top
View user's profile Send private message
marvaneke
n00b
n00b


Joined: 01 Aug 2007
Posts: 16

PostPosted: Tue Aug 07, 2007 4:21 pm    Post subject: Reply with quote

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


Joined: 01 Aug 2007
Posts: 16

PostPosted: Tue Aug 07, 2007 4:30 pm    Post subject: Reply with quote

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


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Tue Aug 07, 2007 4:59 pm    Post subject: Reply with quote

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


Joined: 01 Aug 2007
Posts: 16

PostPosted: Wed Aug 08, 2007 7:30 am    Post subject: Reply with quote

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


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Aug 08, 2007 8:58 am    Post subject: Reply with quote

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


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Aug 08, 2007 9:01 am    Post subject: Reply with quote

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


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Wed Aug 08, 2007 9:05 am    Post subject: Reply with quote

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


Joined: 01 Aug 2007
Posts: 16

PostPosted: Wed Aug 08, 2007 9:28 am    Post subject: Reply with quote

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


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Aug 08, 2007 5:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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