failed to bring up eth0 from Dom0 (SIOCSIFADDR: No such device)

Joris Dobbelsteen Joris at familiedobbelsteen.nl
Sun Jan 13 12:37:57 UTC 2008


The paravirtualized installation does not recognize the ethernet controller properly (for some reason).

I've a quite similar problem on my guest installations.

I have this problem on a Ubuntu Dapper that now again runs on vmWare. I also have this problem on a paravirtualized Debian Etch (2 new ones currently).

The problem seems to be closely related to the fact that the Linux kernel does not correctly detect your network card, for whather reason. Check out "dmesg" to see if it is actually loaded. You should see some lines that contain "eth0". So "dmesg | grep eth0" is a good starting point.

Another thing I discovered somewhere is that it might come up under a different name (for some very odd reason).
Do a "find /sys -iname *eth*" and see what that turns up. This might show the actual interface has a different name. I used udev to correct this problem for me.

Please check that 

- Joris

>-----Original Message-----
>From: ubuntu-users-bounces at lists.ubuntu.com 
>[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of 
>John LEJEUNE
>Sent: Saturday, 24 February 2007 1:28
>To: ubuntu-users at lists.ubuntu.com
>Subject: Xen:failed to bring up eth0 from Dom0 (SIOCSIFADDR: 
>No such device)
>
>Hello Ubunter[o|a]s,
>
>I'm running Xen on Edgy from a raw LVM partition, according to 
>the https://help.ubuntu.com/community/XenVirtualMachine/XenOnUbuntuEdgy
>howto.
>Everything goes well, but I'm unable to connect to the 
>internet from Dom0. 
>Here some informations on how the Dell inspiron 640m is configured:
>
>john at mobildev:~$ uname -r
>2.6.17-6-generic-xen0
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>john at mobildev:~$ more /etc/xen/
>[...]
>#(network-script network-dummy)
>(network-script network-bridge)
>[...]
>(vif-script vif-bridge)
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>john at mobildev:~$ more /etc/network/interfaces auto lo iface lo 
>inet loopback
>
>#auto eth0
>#iface eth0 inet dhcp
>
>#config Xen
>auto eth0
>iface  eth0 inet static
>       address 192.168.1.100
>       netmask 255.255.255.0
>       network 192.168.1.0
>       broadcast 192.168.1.255
>       gateway 192.168.1.1
>
>auto eth1
>iface eth1 inet dhcp
>
>auto eth2
>iface eth2 inet dhcp
>
>auto ath0
>iface ath0 inet dhcp
>
>auto wlan0
>iface wlan0 inet dhcp
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>john at mobildev:~$ more /etc/xen/edgy-guest.cfg kernel = 
>"/boot/xen0-linux-2.6.17-6-generic-xen0"
>ramdisk = "/boot/xen0-linux-2.6.17-6-generic-xen0.initrd.img"
>builder='linux'
>memory = 128
>name = "edgy-guest"
>vcpus = 1
>vif = [ 'bridge=xenbr0' ]
>disk = [ 'phy:/dev/vgGuest/lv1,hda1,w' ] root = "/dev/hda1 ro"
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>john at mobildev:~$ ifconfig
>Password:
>lo        Lien encap:Boucle locale  
>          inet adr:127.0.0.1  Masque:255.0.0.0
>          adr inet6: ::1/128 Scope:Hôte
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          Packets reçus:2 erreurs:0 :0 overruns:0 frame:0
>          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 lg file transmission:0 
>          Octets reçus:100 (100.0 b) Octets transmis:100 (100.0 b)
>
>vif1.0    Lien encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
>          adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
>          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 lg file transmission:0 
>          Octets reçus:0 (0.0 b) Octets transmis:0 (0.0 b)
>
>xenbr0    Lien encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
>          adr inet6: fe80::200:ff:fe00:0/64 Scope:Lien
>          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 lg file transmission:0 
>          Octets reçus:0 (0.0 b) Octets transmis:0 (0.0 b)
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>john at mobildev:~$ sudo ifup eth0
>Password:
>SIOCSIFADDR: No such device
>eth0: ERROR while getting interface flags: No such device
>SIOCSIFNETMASK: No such device
>SIOCSIFBRDADDR: No such device
>eth0: ERROR while getting interface flags: No such device
>eth0: ERROR while getting interface flags: No such device 
>Failed to bring up eth0.
>
>I have tried to modify iftab, without any success.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>john at mobildev:~$ more /etc/iftab
>#eth0 mac 00:15:c5:72:b8:69 arp 1
>eth1 mac 00:18:de:e2:b8:05 arp 1
>
>Finally, I've also tried to remove --purge the network-manager 
>(and his gnome orchestra). ;) But the problem still alive.
>Did I miss something ? Is it launchpad time ?
>
>Thanks for any help, advice or suggestion.
>
>Freely,
>John.
>
>
>
>--
>ubuntu-users mailing list
>ubuntu-users at lists.ubuntu.com
>Modify settings or unsubscribe at: 
>https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>





More information about the ubuntu-users mailing list