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

2006-05-29 Thread Richard Fish

On 5/29/06, Kenneth Hopping <[EMAIL PROTECTED]> 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



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

2006-05-28 Thread Bo Ørsted Andresen
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


pgprGldAF9odm.pgp
Description: PGP signature


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

2006-05-28 Thread Iain Buchanan
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 

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

-- 
gentoo-user@gentoo.org mailing list



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

2006-05-28 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



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

2006-05-28 Thread Bo Ørsted Andresen
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


pgpsZSZtdQTsi.pgp
Description: PGP signature


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

2006-05-28 Thread Daniel da Veiga

On 5/28/06, Richard Fish <[EMAIL PROTECTED]> wrote:

On 5/28/06, Kenneth Hopping <[EMAIL PROTECTED]> 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



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

2006-05-28 Thread Richard Fish

On 5/28/06, Kenneth Hopping <[EMAIL PROTECTED]> 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



[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



Re: [gentoo-user] eth0 does not exist

2006-05-27 Thread Richard Fish

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?

-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] eth0 does not exist

2006-05-27 Thread Kenneth Hopping

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



RE: [gentoo-user] eth0 does not exist

2006-03-02 Thread Tom Haddon
Thanks, much appreciated. Turns out it was ne2k-pci. Added that to the
file you mentioned and it was all good.

Thanks, Tom

On Thu, 2006-03-02 at 11:56 -0500, sHadoW MaN wrote:
> Hi
> 
> This is certainly because you haven't loaded your network card driver at 
> boot time. Be sure you have entered your driver name ( I am not sure maybe 
> it's 8029too) at file /etc/modules.autoload.d/kernel-2.6. You can use nano 
> text editor to edit the file...
> 
> Cheers
> 
> 
> 
> cApTaiN_FaNtAsTiK
> 
> 
> 
> 
> 
> >From: Tom Haddon <[EMAIL PROTECTED]>
> >Reply-To: gentoo-user@lists.gentoo.org
> >To: gentoo-user@lists.gentoo.org
> >Subject: [gentoo-user] eth0 does not exist
> >Date: Thu, 02 Mar 2006 16:27:48 +
> >
> >Hi Folks,
> >
> >Very new to Gentoo, although not to Linux. I'm trying it out in QEMU,
> >and have just completed the installation. Only problem is I can't seem
> >to connect to the internet. QEMU is basically meant to provide an
> >emulated network card to the OS it's hosting. Works fine for the install
> >CD. Anyway, seeing as I was very new to the whole thing, I went with the
> >genkernel option. As I say, everything seems to boot fine, except that I
> >get this message:
> >
> >Starting eth0
> >   Bringing up eth0
> > dhcp
> >   eth0 does not exist
> >ERROR: problem starting needed services.
> > "netmount" was not started
> >
> >I've tried /etc/init.d/net.eth0 start and /etc/init.d/netmount start and
> >they both complain that eth0 doesn't exist. But if I do lspci I see my
> >emulated network card right there:
> >
> >00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> >RTL-8029(AS)
> >
> >Can anyone help out? Am I just missing a kernel module?
> >
> >Tom Haddon
> >mailto:[EMAIL PROTECTED]
> >
> >You are only young once, but you can stay immature indefinitely.
> >
> >
> >-
> >Random quotes courtesy of fortune.
> >
> >--
> >gentoo-user@gentoo.org mailing list
> >
> 
> _
> Envoyer des courriels créatifs est aussi amusant que d’en recevoir. Utilisez 
> de la papeterie, des polices et des couleurs spéciales 
> http://join.msn.com/?pgmarket=fr-ca&page=features/richmail Commencez dès 
> maintenant à profiter de tous les avantages de MSN Premium et obtenez les 
> deux premiers mois GRATUITS*.
> 

Tom Haddon
mailto:[EMAIL PROTECTED]

It is easy to find fault, if one has that disposition.  There was once a man
who, not being able to find any other fault with his coal, complained that
there were too many prehistoric toads in it.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"


-
Random quotes courtesy of fortune.

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] eth0 does not exist

2006-03-02 Thread sHadoW MaN

Hi

This is certainly because you haven't loaded your network card driver at 
boot time. Be sure you have entered your driver name ( I am not sure maybe 
it's 8029too) at file /etc/modules.autoload.d/kernel-2.6. You can use nano 
text editor to edit the file...


Cheers



cApTaiN_FaNtAsTiK






From: Tom Haddon <[EMAIL PROTECTED]>
Reply-To: gentoo-user@lists.gentoo.org
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] eth0 does not exist
Date: Thu, 02 Mar 2006 16:27:48 +

Hi Folks,

Very new to Gentoo, although not to Linux. I'm trying it out in QEMU,
and have just completed the installation. Only problem is I can't seem
to connect to the internet. QEMU is basically meant to provide an
emulated network card to the OS it's hosting. Works fine for the install
CD. Anyway, seeing as I was very new to the whole thing, I went with the
genkernel option. As I say, everything seems to boot fine, except that I
get this message:

Starting eth0
  Bringing up eth0
dhcp
  eth0 does not exist
ERROR: problem starting needed services.
"netmount" was not started

I've tried /etc/init.d/net.eth0 start and /etc/init.d/netmount start and
they both complain that eth0 doesn't exist. But if I do lspci I see my
emulated network card right there:

00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8029(AS)

Can anyone help out? Am I just missing a kernel module?

Tom Haddon
mailto:[EMAIL PROTECTED]

You are only young once, but you can stay immature indefinitely.


-
Random quotes courtesy of fortune.

--
gentoo-user@gentoo.org mailing list



_
Envoyer des courriels créatifs est aussi amusant que d’en recevoir. Utilisez 
de la papeterie, des polices et des couleurs spéciales 
http://join.msn.com/?pgmarket=fr-ca&page=features/richmail Commencez dès 
maintenant à profiter de tous les avantages de MSN Premium et obtenez les 
deux premiers mois GRATUITS*.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eth0 does not exist

2006-03-02 Thread Daniel da Veiga
On 3/2/06, Tom Haddon <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> Very new to Gentoo, although not to Linux. I'm trying it out in QEMU,
> and have just completed the installation. Only problem is I can't seem
> to connect to the internet. QEMU is basically meant to provide an
> emulated network card to the OS it's hosting. Works fine for the install
> CD. Anyway, seeing as I was very new to the whole thing, I went with the
> genkernel option. As I say, everything seems to boot fine, except that I
> get this message:
>
> Starting eth0
>   Bringing up eth0
> dhcp
>   eth0 does not exist
> ERROR: problem starting needed services.
> "netmount" was not started
>
> I've tried /etc/init.d/net.eth0 start and /etc/init.d/netmount start and
> they both complain that eth0 doesn't exist. But if I do lspci I see my
> emulated network card right there:
>
> 00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8029(AS)
>
> Can anyone help out? Am I just missing a kernel module?

Probably, yes.

>
> Tom Haddon
> mailto:[EMAIL PROTECTED]
>
> You are only young once, but you can stay immature indefinitely.
>
>
> -
> Random quotes courtesy of fortune.
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
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



[gentoo-user] eth0 does not exist

2006-03-02 Thread Tom Haddon
Hi Folks,

Very new to Gentoo, although not to Linux. I'm trying it out in QEMU,
and have just completed the installation. Only problem is I can't seem
to connect to the internet. QEMU is basically meant to provide an
emulated network card to the OS it's hosting. Works fine for the install
CD. Anyway, seeing as I was very new to the whole thing, I went with the
genkernel option. As I say, everything seems to boot fine, except that I
get this message:

Starting eth0
  Bringing up eth0
dhcp
  eth0 does not exist
ERROR: problem starting needed services.
"netmount" was not started

I've tried /etc/init.d/net.eth0 start and /etc/init.d/netmount start and
they both complain that eth0 doesn't exist. But if I do lspci I see my
emulated network card right there:

00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8029(AS)

Can anyone help out? Am I just missing a kernel module?

Tom Haddon
mailto:[EMAIL PROTECTED]

You are only young once, but you can stay immature indefinitely.


-
Random quotes courtesy of fortune.

-- 
gentoo-user@gentoo.org mailing list