[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Unable to create VM with nic device on Arndale
On Fri, Jan 17, 2014 at 5:46 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote: > On Fri, 2014-01-17 at 17:33 +0800, Dennis Lan (dlan) wrote: >> I'm also hit this problem, using xen-4.4.0-rc2 release, on x86_64 machine. >> but I've tested with xen-4.3.1 the same settings, and have no problem > > Do you have a bridge configured? What is the output of "brctl show" and > "ifconfig -a" while the guest is running? > >> libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x62acd8 >> wpath=/local/domain/0/backend/vif/5/0/state token=3/1: register slotnum=3 >> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x62acd8 >> wpath=/local/domain/0/backend/vif/5/0/state token=3/1: event >> epath=/local/domain/0/backend/vif/5/0/state >> libxl: debug: libxl_event.c:646:devstate_watch_callback: backend >> /local/domain/0/backend/vif/5/0/state wanted state 2 still waiting state 1 >> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x62acd8 >> wpath=/local/domain/0/backend/vif/5/0/state token=3/1: event >> epath=/local/domain/0/backend/vif/5/0/state >> libxl: debug: libxl_event.c:642:devstate_watch_callback: backend >> /local/domain/0/backend/vif/5/0/state wanted state 2 ok >> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch >> w=0x62acd8 wpath=/local/domain/0/backend/vif/5/0/state token=3/1: deregister >> slotnum=3 >> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch >> w=0x62acd8: deregister unregistered >> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch >> w=0x62ad60: deregister unregistered >> libxl: error: libxl_create.c:1206:domcreate_attach_vtpms: unable to add nic >> devices > > It seems to have waited for the backend to hit state 2, which happens, > and then it has failed for some reason, which I can't see here. It might > be worth adding some debug to the vif hotplug script to see if it is > running at all. > > Are you using the vif script's from Xen 4.4? Perhaps you have got some > stale 4.3.1 scripts sitting around? > > Ian. > I think there is no problem with bridge and script(exactly same as 4.4) btw, If I install xen-4.3.1, then everyting works fine. ofire xen-4.4.0-rc2 # ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 379790 bytes 215154226 (205.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 379790 bytes 215154226 (205.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 net0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::221:9bff:fe74:2cd1 prefixlen 64 scopeid 0x20<link> ether 00:21:9b:74:2c:d1 txqueuelen 1000 (Ethernet) RX packets 1017893 bytes 174572838 (166.4 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 577828 bytes 627464455 (598.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 21 memory 0xf7ae0000-f7b00000 xenbr0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500 inet 192.168.90.122 netmask 255.255.254.0 broadcast 192.168.90.255 inet6 fe80::221:9bff:fe74:2cd1 prefixlen 64 scopeid 0x20<link> ether 00:21:9b:74:2c:d1 txqueuelen 0 (Ethernet) RX packets 1015312 bytes 156011479 (148.7 MiB) RX errors 0 dropped 10 overruns 0 frame 0 TX packets 216345 bytes 600980890 (573.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ofire xen-4.4.0-rc2 # br brctl break bridge brushtopbm ofire xen-4.4.0-rc2 # brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.00219b742cd1 no net0 ofire xen-4.4.0-rc2 # find . -name "vif-*" -and -type f | sort -u | xargs md5sum f144e27878d656226202a2ec3f797167 ./tools/hotplug/Linux/vif-bridge 6dbe122d5bb8cc82cea01c3928f6361d ./tools/hotplug/Linux/vif-common.sh 02a2614f1451b4207c82305a93bfa060 ./tools/hotplug/Linux/vif-nat 478061920ef927f570d6f8970be34926 ./tools/hotplug/Linux/vif-openvswitch b8417ff8aa76ea6aef8fdd57fffe7677 ./tools/hotplug/Linux/vif-route 96d12dbf85c3823b2a644e58bf3fbc73 ./tools/hotplug/Linux/vif-setup 295971747eb386c8cc42b9f6907a6e8e ./tools/hotplug/NetBSD/vif-bridge b9ea5011dc0f72a69c8fa572de997954 ./tools/hotplug/NetBSD/vif-ip ofire xen-4.4.0-rc2 # ls /etc/xen/scripts/vif-* |sort -u |xargs md5sum f144e27878d656226202a2ec3f797167 /etc/xen/scripts/vif-bridge 6dbe122d5bb8cc82cea01c3928f6361d /etc/xen/scripts/vif-common.sh 02a2614f1451b4207c82305a93bfa060 /etc/xen/scripts/vif-nat 478061920ef927f570d6f8970be34926 /etc/xen/scripts/vif-openvswitch b8417ff8aa76ea6aef8fdd57fffe7677 /etc/xen/scripts/vif-route 96d12dbf85c3823b2a644e58bf3fbc73 /etc/xen/scripts/vif-setup _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |