Re: [gentoo-user] eth0 does not exist - success

2006-05-29 Thread Kenneth Hopping

Richard Fish wrote:


Ok, when you go to configure your kernel, go under Device
Drivers-Network device support-Ethernet (10 or 100Mbit).  Select
the option 3COM cards, and then the 3c590/3c900 series... with an
'M'.

Assuming that you already configured and installed a kernel, so that
/usr/src/linux matches your running kernel, you should be able to just
do make  make modules_install to get the new driver.  You can then
try loading it with modprobe 3c59x.  If you get no errors from that
command, then you should get connected automatically within a few
seconds.  If all goes well, it should work fine even after a reboot.
If you get errors, well you may have some more work to do to configure
and install a new kernel.


This is my first attempt with gentoo and kernel compilation so I'm not
very knowledgable about modules. I just followed the steps in the x86
installation handbook. Except for the network, everything else (cdrom,
floppy) seems to work.



I've been somewhat terse about the steps required, assuming you have
some basic knowledge of how to configure and install a new kernel.
The gentoo handbook can help here, but if you still have questions or
something doesn't make sense, feel free to ask for some more help.

-Richard

Thanks for pointing me in the right direction. I finally got eth0 
working, but it was a struggle.


I selected the 3COM options like you suggested and recompiled the 
kernel. Unfortunately, during reboot I got invalid compressed format 
(err=1). I tried make clean to flush everything and compiled again 
but it still wouldn't boot. My drastic solution was to reinstall gentoo 
from scratch. Now the network initializes properly during startup. I 
also learned to always keep the last working kernel as a backup when you 
reconfigure.


K. Hopping
--
gentoo-user@gentoo.org mailing list



[gentoo-user] eth0 does not exist - followup

2006-05-28 Thread Kenneth Hopping

Richard Fish wrote:


On 5/27/06, Kenneth Hopping [EMAIL PROTECTED] wrote:


The problem appears to be that /sys/class/net/eth0 does not exist.
This is a pseudo-filesystem like proc that I cannot manipulate.

Is there some configuration file that needs initialization or a package
that I need to install?



No, you just need to load the driver for your NIC.

What do lspci and lsmod report?


# lspci
00:00.0 Host bridge: Intel Corporation 82810E DC-133 GMCH [Graphics 
Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corporation 82810E DC-133 CGC 
[Chipset Graphics Controller] (rev 03)

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801AA USB (rev 02)
00:1f.3 SMBus: Intel Corporation 82801AA SMBus (rev 02)
01:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 
[CrystalClear SoundFusion Audio Accelerator] (rev 01)
01:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] 
(rev 74)


# lsmod
Module  Size  Used by

/proc/modules is empty.

# find /lib/modules/2.6.16-gentoo-r7/kernel -type f -iname '*.ko'
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/base/firmware_class.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/net/dummy.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/net/s2io.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/scsi/dpt_i2o.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/scsi/ipr.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/scsi/sata_sis.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/scsi/sata_sx4.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/usb/input/touchkitusb.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/usb/misc/cytherm.ko
/lib/modules/2.6.16-gentoo-r7/kernel/drivers/usb/misc/phidgetservo.ko
/lib/modules/2.6.16-gentoo-r7/kernel/fs/ntfs/ntfs.ko
/lib/modules/2.6.16-gentoo-r7/kernel/lib/libcrc32c.ko

This is my first attempt with gentoo and kernel compilation so I'm not 
very knowledgable about modules. I just followed the steps in the x86 
installation handbook. Except for the network, everything else (cdrom, 
floppy) seems to work.


K.H.
--
gentoo-user@gentoo.org mailing list