Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WTF!? "lo: unknown interface: No such device"
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
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Tue Sep 12, 2006 3:26 pm    Post subject: WTF!? "lo: unknown interface: No such device" Reply with quote

In trying to upgrade udev on a system, I seem to have left things in a bit of a confused state. The system iteslf is a 2x Opteron SunFire v20z, with two Broadcom BCM5704 (tg3) Gbit NICs. When I compile the tg3 module into the kernel, it boots up with lo and eth1. Trying to bring up eth0 gets an "unknown interface" error.

When I compile tg3 as a module, eth0 and eth1 come up like they should, but lo is missing! How the hell does that happen? /etc/init.d/net.lo start gets me:
Code:
 * Starting lo
 * Bringing up lo
 *    127.0.0.1/8
 *     network interface lo does not exist
 *     Please verify hardware or kernel module (driver)

ifconfig lo up gets me:
Code:
lo: unknown interface: No such device


I suspect that the error lies somewhere in udev (087-r1) or baselayout (1.12.4-r7), because both of those have been messed with in the last day. Does anyone have any suggestions for getting "lo" back?

Please?
_________________
My glaucoma just got worse!
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Sep 14, 2006 4:26 am    Post subject: Reply with quote

did you run etc-update after updating baselayout? I broke my net.lo by neglecting to run etc-update after the update.
Back to top
View user's profile Send private message
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Thu Sep 14, 2006 4:14 pm    Post subject: Reply with quote

Yup. etc-update, env-update, source /etc/profile . . . you name it. None of it helped.

Since posting this, I have "tricked" the server into working. I combined the working elements for eth0 and eth1 (compiled tg3 in as a module) and the working elements for lo (compile network driver in as module) and compiled the dummy and tun/tap drivers into the kernel. Now lo, eth0, and eth1 all come up at boot time like they should.

That is a retarded workaround.
_________________
My glaucoma just got worse!
Back to top
View user's profile Send private message
isomer
n00b
n00b


Joined: 27 May 2003
Posts: 19
Location: Canada, eh?

PostPosted: Sat Sep 16, 2006 2:51 am    Post subject: Reply with quote

Same problem. I accidentally upgraded to an ~x86 udev, and then downgraded back to the stable one. The ~arch install left a bunch of rules in /etc/udev/rules.d that don't work. I replaced them with the ones that were there before (yay backups!) and everything started working again on the next boot. Phew.

Hope this helps....
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