public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] eth0 does not exist
  2006-05-28  4:14 [gentoo-user] eth0 does not exist Kenneth Hopping
@ 2006-05-28  3:23 ` Richard Fish
  2006-05-28  8:07   ` [gentoo-user] eth0 does not exist - followup Kenneth Hopping
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Fish @ 2006-05-28  3:23 UTC (permalink / raw
  To: gentoo-user

On 5/27/06, Kenneth Hopping <mrhiker@speakeasy.org> 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?

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] eth0 does not exist
@ 2006-05-28  4:14 Kenneth Hopping
  2006-05-28  3:23 ` Richard Fish
  0 siblings, 1 reply; 10+ messages in thread
From: Kenneth Hopping @ 2006-05-28  4:14 UTC (permalink / raw
  To: gentoo-user

I'm installing linux-2.6.16-gentoo-r7.

Network initialization fails during startup:

 * Starting eth0
 *   Loading networking modules for eth0
 *     modules: iptunnel ifconfig dhcpcd apipa
 *       ifconfig provides interface
 *       dhcpcd provides dhcp
 *   Bringing up eth0
 *     dhcp
 *       eth0 does not exist
 *     Trying fallback configuration
 *     192.168.0.4
 *     eth0 does not exist

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?

The documentation states: "DHCP is used by default and does not require 
any further configuration."

K. Hopping


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] eth0 does not exist - followup
  2006-05-28  3:23 ` Richard Fish
@ 2006-05-28  8:07   ` Kenneth Hopping
  2006-05-28  8:53     ` Richard Fish
  0 siblings, 1 reply; 10+ messages in thread
From: Kenneth Hopping @ 2006-05-28  8:07 UTC (permalink / raw
  To: gentoo-user

Richard Fish wrote:

> On 5/27/06, Kenneth Hopping <mrhiker@speakeasy.org> 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] eth0 does not exist - followup
  2006-05-28  8:07   ` [gentoo-user] eth0 does not exist - followup Kenneth Hopping
@ 2006-05-28  8:53     ` Richard Fish
  2006-05-28 18:28       ` Daniel da Veiga
  2006-05-29  7:19       ` [gentoo-user] eth0 does not exist - success Kenneth Hopping
  0 siblings, 2 replies; 10+ messages in thread
From: Richard Fish @ 2006-05-28  8:53 UTC (permalink / raw
  To: gentoo-user

On 5/28/06, Kenneth Hopping <mrhiker@speakeasy.org> wrote:
> Richard Fish wrote:
> >
> > What do lspci and lsmod report?
>
> 01:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado]
> (rev 74)

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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] eth0 does not exist - followup
  2006-05-28  8:53     ` Richard Fish
@ 2006-05-28 18:28       ` Daniel da Veiga
  2006-05-28 18:40         ` Bo Ørsted Andresen
  2006-05-29  7:19       ` [gentoo-user] eth0 does not exist - success Kenneth Hopping
  1 sibling, 1 reply; 10+ messages in thread
From: Daniel da Veiga @ 2006-05-28 18:28 UTC (permalink / raw
  To: gentoo-user

On 5/28/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 5/28/06, Kenneth Hopping <mrhiker@speakeasy.org> wrote:
> > Richard Fish wrote:
> > >
> > > What do lspci and lsmod report?
> >
> > 01:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado]
> > (rev 74)
>
> 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
>
> --
> gentoo-user@gentoo.org mailing list
>
>

Maybe he already have the driver compiled as a module but its not
loading it?! Just a guess, try:

modprobe 3c59x

And take a look at the last lines of "dmesg" output.

-- 
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] eth0 does not exist - followup
  2006-05-28 18:28       ` Daniel da Veiga
@ 2006-05-28 18:40         ` Bo Ørsted Andresen
  0 siblings, 0 replies; 10+ messages in thread
From: Bo Ørsted Andresen @ 2006-05-28 18:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Sunday 28 May 2006 20:28 skrev Daniel da Veiga:
> Maybe he already have the driver compiled as a module but its not
> loading it?!

If that was the case it would have shown up when he ran:

# find /lib/modules/2.6.16-gentoo-r7/kernel -type f -iname '*.ko'

Look in his previous mail. It didn't. This of course assumes that his running 
kernel is 2.6.16-gentoo-r7. To the OP. Run

# uname -r

to verify that.

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] eth0 does not exist - success
  2006-05-29  7:19       ` [gentoo-user] eth0 does not exist - success Kenneth Hopping
@ 2006-05-29  6:40         ` Iain Buchanan
  2006-05-29  6:41         ` Bo Ørsted Andresen
  2006-05-29  7:31         ` Richard Fish
  2 siblings, 0 replies; 10+ messages in thread
From: Iain Buchanan @ 2006-05-29  6:40 UTC (permalink / raw
  To: gentoo-user

On Mon, 2006-05-29 at 00:19 -0700, Kenneth Hopping wrote:

>  I 
> also learned to always keep the last working kernel as a backup when you 
> reconfigure.

And you can add another piece of self-taught knowledge to your
toolkit :)  This is one that I do without thinking now.
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

You must be the change you wish to see in the world.
     --Mahatma Gandhi

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] eth0 does not exist - success
  2006-05-29  7:19       ` [gentoo-user] eth0 does not exist - success Kenneth Hopping
  2006-05-29  6:40         ` Iain Buchanan
@ 2006-05-29  6:41         ` Bo Ørsted Andresen
  2006-05-29  7:31         ` Richard Fish
  2 siblings, 0 replies; 10+ messages in thread
From: Bo Ørsted Andresen @ 2006-05-29  6:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

Monday 29 May 2006 09:19 skrev Kenneth Hopping:
> 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.

*shrug*

Probably all you had to do after enabling the module in the config was:

# make && make modules_install && make install

You would need to make sure that /boot was mounted during the 'make install' 
(which probably was the only step you missed) and then it would have worked. 
You almost *never* need to reinstall from scratch..

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] eth0 does not exist - success
  2006-05-28  8:53     ` Richard Fish
  2006-05-28 18:28       ` Daniel da Veiga
@ 2006-05-29  7:19       ` Kenneth Hopping
  2006-05-29  6:40         ` Iain Buchanan
                           ` (2 more replies)
  1 sibling, 3 replies; 10+ messages in thread
From: Kenneth Hopping @ 2006-05-29  7:19 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] eth0 does not exist - success
  2006-05-29  7:19       ` [gentoo-user] eth0 does not exist - success Kenneth Hopping
  2006-05-29  6:40         ` Iain Buchanan
  2006-05-29  6:41         ` Bo Ørsted Andresen
@ 2006-05-29  7:31         ` Richard Fish
  2 siblings, 0 replies; 10+ messages in thread
From: Richard Fish @ 2006-05-29  7:31 UTC (permalink / raw
  To: gentoo-user

On 5/29/06, Kenneth Hopping <mrhiker@speakeasy.org> wrote:
> Thanks for pointing me in the right direction. I finally got eth0
> working, but it was a struggle.

Glad you got it working.

>
> I selected the 3COM options like you suggested and recompiled the
> kernel. Unfortunately, during reboot I got "invalid compressed format
> (err=1)".

Hmm, do you use lilo or grub for your boot loader?  'Cause I think
this is only possible when using lilo, if you forget to re-run lilo
after installing the new kernel.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-05-29  7:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-28  4:14 [gentoo-user] eth0 does not exist Kenneth Hopping
2006-05-28  3:23 ` Richard Fish
2006-05-28  8:07   ` [gentoo-user] eth0 does not exist - followup Kenneth Hopping
2006-05-28  8:53     ` Richard Fish
2006-05-28 18:28       ` Daniel da Veiga
2006-05-28 18:40         ` Bo Ørsted Andresen
2006-05-29  7:19       ` [gentoo-user] eth0 does not exist - success Kenneth Hopping
2006-05-29  6:40         ` Iain Buchanan
2006-05-29  6:41         ` Bo Ørsted Andresen
2006-05-29  7:31         ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox