Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
interface eth0 exists but net.eth0 not able to detect it
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
aviobivon
n00b
n00b


Joined: 07 Nov 2011
Posts: 14

PostPosted: Mon Jul 07, 2014 6:06 am    Post subject: interface eth0 exists but net.eth0 not able to detect it Reply with quote

I upgraded my e1000 kernel modules and after upgrading e1000 the net.eth0 script stopped recogining the eth0 interface with the following error message:
ERROR: interface eth0 does not exist
Ensure that you have loaded the correct kernel module for you hardware
ERROR: net.eth0 failed to start


This is a bit odd since eth0 definitely exists. The output of ls /sys/class/net/ gives
eth0 eth1 eth2 eth3 lo sit0


Also I am able to bring up the eth0 interface manually by using ifconfig, and can see its properties using ethtool and "ip link".

Any ideas why net.eth0 is mis-behaving? I don't understand the net.eth0 script well enough to identify what it is using to detect the existence of the eth0 interface. This seems like a bug in the openrc scripts.


Thanks
Back to top
View user's profile Send private message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 452

PostPosted: Mon Jul 07, 2014 6:37 am    Post subject: Reply with quote

I had the same issue some time ago and i did a bugreport about it.

https://forums.gentoo.org/viewtopic-t-978516-highlight-.html

The problem was, that net.lo was not reemerged if it was somehow touched. Be it timestamp, checksum or anything other. Take a look at https://bugs.gentoo.org/show_bug.cgi?id=506966
Back to top
View user's profile Send private message
aviobivon
n00b
n00b


Joined: 07 Nov 2011
Posts: 14

PostPosted: Mon Jul 07, 2014 11:32 pm    Post subject: not an issue Reply with quote

Sorry for the pre-emptive post. Seems like the problem is not with openrc, but my installation. During the kernel upgrade I ended up blowing some files /lib which pretty broke whole of openRC. Re-did the installation and things are fine now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum