public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Interface eth0 does not exist - e1000e/e1000
@ 2011-08-27 23:47 Mark Knecht
  2011-08-27 23:54 ` covici
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Knecht @ 2011-08-27 23:47 UTC (permalink / raw
  To: Gentoo User

Hi,
   I've been helping a friend over the phone who's trying to fix a
networking problem. This machine was built a month ago running
something like 2.6.39-gentoo-r2. Networking worked great. I do not
know what driver it was using, but it worked great.

   Two weeks ago we updated the machine to 3.0-0-gentoo and I think
networking was working fine however I never logged in and never tested
the network interface. The owner believes it was working, at least for
a while, but it isn't now. When we boot now we get the message:

"Interface eth0 does not exist"

which typically happens when you don't have the correct driver
installed. The system is loading the e1000e driver but we're not able
to start net.eth0.

   lspci -k says the e1000e driver is in use, and e1000e is in memory.

   We then tested again with the original 2.6.39 kernel and found that
even with that kernel, which I absolutely know worked at one time
because I built the machine over the Internet for him, it no longer
works. That kernel is also loading e1000e.

   We then booted from the Gentoo LiveCD and found that the LiveCD is
also loading e1000e and that with the LiveCD everything is working
perfectly. I can ssh into the box, he can ping Google. Everything is
cool with the e1000e driver using the Live CD, but not using the
kernels we build.

   At this point I set up the chroot install environment, dropped in
to build a new kernel. I did a make clean && make && make
modules_install. Everything built fine. I copied it over to /boot,
rebooted and still have the same problem. e1000e is loaded but says
the the interface doesn't exist.

   The net.eth0 link exists in /etc/init.d, and trying to start
networking using .etc.init.d/net.eth0 yields the same error.

   What am I doing wrong here? How come it used to work, and still
works from the CD, but won't work from his old or new kernels?

Thanks,
Mark



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

* Re: [gentoo-user] Interface eth0 does not exist - e1000e/e1000
  2011-08-27 23:47 [gentoo-user] Interface eth0 does not exist - e1000e/e1000 Mark Knecht
@ 2011-08-27 23:54 ` covici
  2011-08-27 23:59   ` Mark Knecht
  2011-08-28  0:06   ` Dale
  0 siblings, 2 replies; 6+ messages in thread
From: covici @ 2011-08-27 23:54 UTC (permalink / raw
  To: gentoo-user

Mark Knecht <markknecht@gmail.com> wrote:

> Hi,
>    I've been helping a friend over the phone who's trying to fix a
> networking problem. This machine was built a month ago running
> something like 2.6.39-gentoo-r2. Networking worked great. I do not
> know what driver it was using, but it worked great.
> 
>    Two weeks ago we updated the machine to 3.0-0-gentoo and I think
> networking was working fine however I never logged in and never tested
> the network interface. The owner believes it was working, at least for
> a while, but it isn't now. When we boot now we get the message:
> 
> "Interface eth0 does not exist"
> 
> which typically happens when you don't have the correct driver
> installed. The system is loading the e1000e driver but we're not able
> to start net.eth0.
> 
>    lspci -k says the e1000e driver is in use, and e1000e is in memory.
> 
>    We then tested again with the original 2.6.39 kernel and found that
> even with that kernel, which I absolutely know worked at one time
> because I built the machine over the Internet for him, it no longer
> works. That kernel is also loading e1000e.
> 
>    We then booted from the Gentoo LiveCD and found that the LiveCD is
> also loading e1000e and that with the LiveCD everything is working
> perfectly. I can ssh into the box, he can ping Google. Everything is
> cool with the e1000e driver using the Live CD, but not using the
> kernels we build.
> 
>    At this point I set up the chroot install environment, dropped in
> to build a new kernel. I did a make clean && make && make
> modules_install. Everything built fine. I copied it over to /boot,
> rebooted and still have the same problem. e1000e is loaded but says
> the the interface doesn't exist.
> 
>    The net.eth0 link exists in /etc/init.d, and trying to start
> networking using .etc.init.d/net.eth0 yields the same error.
> 
>    What am I doing wrong here? How come it used to work, and still
> works from the CD, but won't work from his old or new kernels?

I bet udev renamed the device -- check and see if you have eth
anything.  Udev does things like that.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



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

* Re: [gentoo-user] Interface eth0 does not exist - e1000e/e1000
  2011-08-27 23:54 ` covici
@ 2011-08-27 23:59   ` Mark Knecht
  2011-08-28  1:24     ` covici
  2011-08-28  0:06   ` Dale
  1 sibling, 1 reply; 6+ messages in thread
From: Mark Knecht @ 2011-08-27 23:59 UTC (permalink / raw
  To: gentoo-user

On Sat, Aug 27, 2011 at 4:54 PM,  <covici@ccs.covici.com> wrote:
> Mark Knecht <markknecht@gmail.com> wrote:
>
>> Hi,
>>    I've been helping a friend over the phone who's trying to fix a
>> networking problem. This machine was built a month ago running
>> something like 2.6.39-gentoo-r2. Networking worked great. I do not
>> know what driver it was using, but it worked great.
>>
>>    Two weeks ago we updated the machine to 3.0-0-gentoo and I think
>> networking was working fine however I never logged in and never tested
>> the network interface. The owner believes it was working, at least for
>> a while, but it isn't now. When we boot now we get the message:
>>
>> "Interface eth0 does not exist"
>>
>> which typically happens when you don't have the correct driver
>> installed. The system is loading the e1000e driver but we're not able
>> to start net.eth0.
>>
>>    lspci -k says the e1000e driver is in use, and e1000e is in memory.
>>
>>    We then tested again with the original 2.6.39 kernel and found that
>> even with that kernel, which I absolutely know worked at one time
>> because I built the machine over the Internet for him, it no longer
>> works. That kernel is also loading e1000e.
>>
>>    We then booted from the Gentoo LiveCD and found that the LiveCD is
>> also loading e1000e and that with the LiveCD everything is working
>> perfectly. I can ssh into the box, he can ping Google. Everything is
>> cool with the e1000e driver using the Live CD, but not using the
>> kernels we build.
>>
>>    At this point I set up the chroot install environment, dropped in
>> to build a new kernel. I did a make clean && make && make
>> modules_install. Everything built fine. I copied it over to /boot,
>> rebooted and still have the same problem. e1000e is loaded but says
>> the the interface doesn't exist.
>>
>>    The net.eth0 link exists in /etc/init.d, and trying to start
>> networking using .etc.init.d/net.eth0 yields the same error.
>>
>>    What am I doing wrong here? How come it used to work, and still
>> works from the CD, but won't work from his old or new kernels?
>
> I bet udev renamed the device -- check and see if you have eth
> anything.  Udev does things like that.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>         John Covici
>         covici@ccs.covici.com
>
>
Sounds likely. Since I cannot shell in I need to give him
instructions. Are we talking about the contents of
/etc/udev/rules.d/70persist-net.rules?

Thanks,
Mark



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

* Re: [gentoo-user] Interface eth0 does not exist - e1000e/e1000
  2011-08-27 23:54 ` covici
  2011-08-27 23:59   ` Mark Knecht
@ 2011-08-28  0:06   ` Dale
  1 sibling, 0 replies; 6+ messages in thread
From: Dale @ 2011-08-28  0:06 UTC (permalink / raw
  To: gentoo-user

covici@ccs.covici.com wrote:
>
> I bet udev renamed the device -- check and see if you have eth
> anything.  Udev does things like that.
>
>    

I would suspect the same thing.  If that is what it is doing, delete 
this file, unless you really need it for some custom settings, and reboot.

/etc/udev/rules.d/70-persistent-net.rules

Mine starts with a 70, yours may vary.  The key thing is the net part.  
Once you reboot, it should reset itself.  I have also ran into this once 
before.

Dale

:-)  :-)



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

* Re: [gentoo-user] Interface eth0 does not exist - e1000e/e1000
  2011-08-27 23:59   ` Mark Knecht
@ 2011-08-28  1:24     ` covici
  2011-08-28 15:07       ` Mark Knecht
  0 siblings, 1 reply; 6+ messages in thread
From: covici @ 2011-08-28  1:24 UTC (permalink / raw
  To: gentoo-user

Mark Knecht <markknecht@gmail.com> wrote:

I meant to do ifconfig -a or just ifconfig eth1 or eth2 and see if you
get anything and change your link in /etc/init.d to that.  You could use
the persistent-net-rules and rename it to eth0 as well.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



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

* Re: [gentoo-user] Interface eth0 does not exist - e1000e/e1000
  2011-08-28  1:24     ` covici
@ 2011-08-28 15:07       ` Mark Knecht
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Knecht @ 2011-08-28 15:07 UTC (permalink / raw
  To: gentoo-user

Thanks John and Dale. udev was the culprit and everything is now fixed.

Cheers,
Mark

On Sat, Aug 27, 2011 at 6:24 PM,  <covici@ccs.covici.com> wrote:
> Mark Knecht <markknecht@gmail.com> wrote:
>
> I meant to do ifconfig -a or just ifconfig eth1 or eth2 and see if you
> get anything and change your link in /etc/init.d to that.  You could use
> the persistent-net-rules and rename it to eth0 as well.
>
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>         John Covici
>         covici@ccs.covici.com
>
>



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

end of thread, other threads:[~2011-08-28 15:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-27 23:47 [gentoo-user] Interface eth0 does not exist - e1000e/e1000 Mark Knecht
2011-08-27 23:54 ` covici
2011-08-27 23:59   ` Mark Knecht
2011-08-28  1:24     ` covici
2011-08-28 15:07       ` Mark Knecht
2011-08-28  0:06   ` Dale

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