[Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

Ulli Horlacher framstag at rus.uni-stuttgart.de
Wed Jun 1 08:45:30 UTC 2011


On Wed 2011-06-01 (10:30), Daniel Lezcano wrote:
> On 06/01/2011 10:25 AM, Ulli Horlacher wrote:
> 
> >
> > On Wed 2011-06-01 (10:18), Daniel Lezcano wrote:
> >
> >>> root at vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty
> >>>         lxc-start 1306913218.901 ERROR    lxc_namespace - failed to clone(0x6c020000): Invalid argument
> >>
> >> Can you show the content of the /cgroup root directory please ?
> >
> 
> Any message in /var/log/messages ?

2011-06-01 10:34:53 [ 5228.816214] device vetheBqcj5 entered promiscuous mode
2011-06-01 10:34:53 [ 5228.817240] ADDRCONF(NETDEV_UP): vetheBqcj5: link is not ready

This is strange, because I have not configured vetheBqcj5.

I use:

root at vms2:/var/log# grep network /lxc/bunny.cfg
lxc.network.type = veth
lxc.network.link = br8
lxc.network.name = eth0

With:

root at vms2:/var/log# cat /etc/network/interfaces
auto lo
        iface lo inet loopback

auto eth0
        iface eth0 inet manual
        up ifconfig eth0 up

auto br0
        iface br0 inet static
        address 129.69.1.68
        netmask 255.255.255.0
        gateway 129.69.1.254
        bridge_ports eth0
        bridge_stp off
        bridge_maxwait 5
        post-up /usr/sbin/brctl setfd br0 0

# VLAN8
auto eth2
        iface eth2 inet manual
        up ifconfig eth2 up

auto vlan8
        iface vlan8 inet manual
        vlan_raw_device eth2
        up ifconfig vlan8 up

auto br8
        iface br8 inet manual
        bridge_ports vlan8
        bridge_maxwait 5
        bridge_stp off
        post-up /usr/sbin/brctl setfd br8 0


root at vms2:/var/log# ifconfig
br0       Link encap:Ethernet  HWaddr 00:23:ae:6c:4f:cd  
          inet addr:129.69.1.68  Bcast:129.69.1.255  Mask:255.255.255.0
          inet6 addr: fe80::223:aeff:fe6c:4fcd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:140360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4288 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:10991449 (10.9 MB)  TX bytes:631122 (631.1 KB)

br8       Link encap:Ethernet  HWaddr 00:e0:52:b7:37:fe  
          inet6 addr: fe80::2e0:52ff:feb7:37fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:54832 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2654293 (2.6 MB)  TX bytes:468 (468.0 B)

eth0      Link encap:Ethernet  HWaddr 00:23:ae:6c:4f:cd  
          inet6 addr: fe80::223:aeff:fe6c:4fcd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:154863 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4300 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:30994037 (30.9 MB)  TX bytes:632223 (632.2 KB)
          Memory:fe9e0000-fea00000 

eth2      Link encap:Ethernet  HWaddr 00:e0:52:b7:37:fe  
          inet6 addr: fe80::2e0:52ff:feb7:37fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:55625 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3513414 (3.5 MB)  TX bytes:936 (936.0 B)
          Interrupt:18 Base address:0x8f00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:152 errors:0 dropped:0 overruns:0 frame:0
          TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12394 (12.3 KB)  TX bytes:12394 (12.3 KB)

veth80Eh90 Link encap:Ethernet  HWaddr 3a:ce:cf:67:68:55  
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

veth9NBAU3 Link encap:Ethernet  HWaddr 2a:00:8d:c1:1f:98  
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vethO3dr66 Link encap:Ethernet  HWaddr 62:05:7b:53:4d:07  
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vethORKGHz Link encap:Ethernet  HWaddr 0e:b6:91:af:d2:9d  
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vethYbMIgW Link encap:Ethernet  HWaddr 9a:33:74:5b:20:0b  
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vetheBqcj5 Link encap:Ethernet  HWaddr 0e:b3:04:34:84:db  
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vethvTi48j Link encap:Ethernet  HWaddr 7e:82:23:d5:cd:58  
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vethvzGJjM Link encap:Ethernet  HWaddr 3e:6f:5e:26:e3:60  
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

virbr0    Link encap:Ethernet  HWaddr 4e:12:e5:02:2a:87  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          inet6 addr: fe80::4c12:e5ff:fe02:2a87/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:468 (468.0 B)

vlan8     Link encap:Ethernet  HWaddr 00:e0:52:b7:37:fe  
          inet6 addr: fe80::2e0:52ff:feb7:37fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:54962 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2671078 (2.6 MB)  TX bytes:468 (468.0 B)



-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/




More information about the lxc-users mailing list