FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 08-27-2011, 11:47 PM
Mark Knecht
 
Default Interface eth0 does not exist - e1000e/e1000

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
 
Old 08-27-2011, 11:54 PM
 
Default Interface eth0 does not exist - e1000e/e1000

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
 
Old 08-27-2011, 11:59 PM
Mark Knecht
 
Default Interface eth0 does not exist - e1000e/e1000

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
 
Old 08-28-2011, 12:06 AM
Dale
 
Default Interface eth0 does not exist - e1000e/e1000

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

:-) :-)
 
Old 08-28-2011, 01:24 AM
 
Default Interface eth0 does not exist - e1000e/e1000

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
 

Thread Tools




All times are GMT. The time now is 10:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org