Timo Juhani Lindfors
2011-Aug-17 08:11 UTC
[Pkg-xen-devel] Bug#638152: Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working.
Package: xen-utils-4.0 Version: 4.0.1-2 Severity: normal This issue is similar to http://lists.alioth.debian.org/pipermail/pkg-xen-devel/2011-March/003217.html but since I was not able to find a bug report I'm reporting this now. Steps to reproduce: 1) cat << EOF > config name = 'squeeze64' vcpus = '4' memory = '512' disk = [ 'file:/home/lindi-sudo/squeeze64/disk.img,xvda,w' ] EOF 2) xm create -c config Expected results: 2) the domain boots Actual results: 2) pygrub shows "Debian GNU/Linux, with Linux 2.6.32-5-amd64" correctly but after a long timeout it prints Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. and exits. More info: 1) the same configuration and image boot on a different amd64 squeeze system. 2) sudo udevadm monitor does not print anything on the failing system but prints KERNEL[1313565376.463324] add /devices/vbd-28-51712 (xen-backend) KERNEL[1313565376.483622] add /devices/vif-28-0 (xen-backend) KERNEL[1313565376.487913] add /devices/vif-28-0/net/vif28.0 (net) KERNEL[1313565376.489335] online /devices/vif-28-0 (xen-backend) UDEV [1313565376.489899] add /devices/vif-28-0 (xen-backend) UDEV [1313565376.492198] add /devices/vif-28-0/net/vif28.0 (net) KERNEL[1313565376.589608] change /devices/virtual/block/loop6 (block) UDEV [1313565376.613717] online /devices/vif-28-0 (xen-backend) UDEV [1313565376.613742] add /devices/vbd-28-51712 (xen-backend) KERNEL[1313565376.633018] add /devices/console-28-0 (xen-backend) UDEV [1313565376.633283] add /devices/console-28-0 (xen-backend) UDEV [1313565376.770923] change /devices/virtual/block/loop6 (block) on the working system (it had also vif line). 3) $ grep -vE "(^#|^$)" /etc/xen/xend-config.sxp (network-script network-bridge) (vif-script vif-bridge) (dom0-min-mem 512) (enable-dom0-ballooning yes) (total_available_memory 0) (dom0-cpus 0) (vncpasswd '') 4) $ cat /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.64 gateway 192.168.1.1 netmask 255.255.255.0 allow-hotplug neo iface neo inet static address 192.168.4.200 netmask 255.255.255.0 post-up iptables -A POSTROUTING -o net -t nat -j MASQUERADE -s 192.168.4.0/24 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -P FORWARD ACCEPT post-up iptables -t nat -A PREROUTING -i neo -p udp --dport 53 -d 192.168.4.200 -j DNAT --to 192.89.123.26:53 pre-down iptables -D POSTROUTING -o net -t nat -j MASQUERADE -s 192.168.4.200/24 || true allow-hotplug neo2 iface neo2 inet static address 192.168.5.200 netmask 255.255.255.0 post-up iptables -A POSTROUTING -o net -t nat -j MASQUERADE -s 192.168.5.0/24 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -P FORWARD ACCEPT post-up iptables -t nat -A PREROUTING -i neo2 -p udp --dport 53 -d 192.168.5.200 -j DNAT --to 192.89.123.26:53 pre-down iptables -D POSTROUTING -o net -t nat -j MASQUERADE -s 192.168.5.200/24 || true allow-hotplug usbetherblack iface usbetherblack inet static address 10.0.0.100 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 5) this is a desktop system so there's some "extra" stuff running but for reliability I've stopped network-manager however for now and switched to static configuration: $ ps axuf | grep -v ^lindi USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 2 0.0 0.0 0 0 ? S 01:38 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S 01:38 0:00 \_ [migration/0] root 4 0.0 0.0 0 0 ? S 01:38 0:02 \_ [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S 01:38 0:00 \_ [watchdog/0] root 6 0.0 0.0 0 0 ? S 01:38 0:00 \_ [migration/1] root 7 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ksoftirqd/1] root 8 0.0 0.0 0 0 ? S 01:38 0:00 \_ [watchdog/1] root 9 0.0 0.0 0 0 ? S 01:38 0:00 \_ [migration/2] root 10 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ksoftirqd/2] root 11 0.0 0.0 0 0 ? S 01:38 0:00 \_ [watchdog/2] root 12 0.0 0.0 0 0 ? S 01:38 0:00 \_ [migration/3] root 13 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ksoftirqd/3] root 14 0.0 0.0 0 0 ? S 01:38 0:00 \_ [watchdog/3] root 15 0.0 0.0 0 0 ? S 01:38 0:02 \_ [events/0] root 16 0.0 0.0 0 0 ? S 01:38 0:00 \_ [events/1] root 17 0.0 0.0 0 0 ? S 01:38 0:00 \_ [events/2] root 18 0.0 0.0 0 0 ? S 01:38 0:00 \_ [events/3] root 19 0.0 0.0 0 0 ? S 01:38 0:00 \_ [cpuset] root 20 0.0 0.0 0 0 ? S 01:38 0:00 \_ [khelper] root 21 0.0 0.0 0 0 ? S 01:38 0:00 \_ [netns] root 22 0.0 0.0 0 0 ? S 01:38 0:00 \_ [async/mgr] root 23 0.0 0.0 0 0 ? S 01:38 0:00 \_ [pm] root 24 0.0 0.0 0 0 ? S 01:38 0:00 \_ [xenwatch] root 25 0.0 0.0 0 0 ? S 01:38 0:00 \_ [xenbus] root 26 0.0 0.0 0 0 ? S 01:38 0:00 \_ [sync_supers] root 27 0.0 0.0 0 0 ? S 01:38 0:00 \_ [bdi-default] root 28 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kintegrityd/0] root 29 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kintegrityd/1] root 30 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kintegrityd/2] root 31 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kintegrityd/3] root 32 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kblockd/0] root 33 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kblockd/1] root 34 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kblockd/2] root 35 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kblockd/3] root 36 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kacpid] root 37 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kacpi_notify] root 38 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kacpi_hotplug] root 39 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kseriod] root 44 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kondemand/0] root 45 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kondemand/1] root 46 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kondemand/2] root 47 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kondemand/3] root 48 0.0 0.0 0 0 ? S 01:38 0:00 \_ [khungtaskd] root 49 0.0 0.0 0 0 ? S 01:38 0:02 \_ [kswapd0] root 50 0.0 0.0 0 0 ? SN 01:38 0:00 \_ [ksmd] root 51 0.0 0.0 0 0 ? S 01:38 0:00 \_ [aio/0] root 52 0.0 0.0 0 0 ? S 01:38 0:00 \_ [aio/1] root 53 0.0 0.0 0 0 ? S 01:38 0:00 \_ [aio/2] root 54 0.0 0.0 0 0 ? S 01:38 0:00 \_ [aio/3] root 55 0.0 0.0 0 0 ? S 01:38 0:00 \_ [crypto/0] root 56 0.0 0.0 0 0 ? S 01:38 0:00 \_ [crypto/1] root 57 0.0 0.0 0 0 ? S 01:38 0:00 \_ [crypto/2] root 58 0.0 0.0 0 0 ? S 01:38 0:00 \_ [crypto/3] root 61 0.0 0.0 0 0 ? S 01:38 0:00 \_ [pciback_workque] root 62 0.0 0.0 0 0 ? S 01:38 0:00 \_ [pciback_workque] root 63 0.0 0.0 0 0 ? S 01:38 0:00 \_ [pciback_workque] root 64 0.0 0.0 0 0 ? S 01:38 0:00 \_ [pciback_workque] root 65 0.0 0.0 0 0 ? S 01:38 0:00 \_ [khvcd] root 242 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ksuspend_usbd] root 243 0.0 0.0 0 0 ? S 01:38 0:00 \_ [khubd] root 245 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ata/0] root 246 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ata/1] root 247 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ata/2] root 248 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ata/3] root 249 0.0 0.0 0 0 ? S 01:38 0:00 \_ [ata_aux] root 250 0.0 0.0 0 0 ? S 01:38 0:00 \_ [scsi_eh_0] root 251 0.0 0.0 0 0 ? S 01:38 0:01 \_ [scsi_eh_1] root 252 0.0 0.0 0 0 ? S 01:38 0:00 \_ [scsi_eh_2] root 253 0.0 0.0 0 0 ? S 01:38 0:00 \_ [scsi_eh_3] root 254 0.0 0.0 0 0 ? S 01:38 0:00 \_ [scsi_eh_4] root 255 0.0 0.0 0 0 ? S 01:38 0:00 \_ [scsi_eh_5] root 283 0.0 0.0 0 0 ? S 01:38 0:00 \_ [scsi_eh_6] root 284 0.0 0.0 0 0 ? S 01:38 0:11 \_ [usb-storage] root 298 0.0 0.0 0 0 ? S 01:38 0:00 \_ [usbhid_resumer] root 323 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kstriped] root 333 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kjournald] root 431 0.0 0.0 0 0 ? S 01:38 0:02 \_ [flush-8:0] root 654 0.0 0.0 0 0 ? S 01:38 0:00 \_ [i915] root 731 0.0 0.0 0 0 ? S 01:38 0:00 \_ [hd-audio0] root 921 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kvm-irqfd-clean] root 959 0.0 0.0 0 0 ? S 01:38 0:02 \_ [kjournald] root 1163 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kconservative/0] root 1164 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kconservative/1] root 1165 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kconservative/2] root 1166 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kconservative/3] root 1876 0.0 0.0 0 0 ? S 01:38 0:00 \_ [bluetooth] root 1881 0.0 0.0 0 0 ? S< 01:38 0:00 \_ [krfcommd] root 2069 0.0 0.0 0 0 ? S 01:38 0:00 \_ [rpciod/0] root 2070 0.0 0.0 0 0 ? S 01:38 0:00 \_ [rpciod/1] root 2071 0.0 0.0 0 0 ? S 01:38 0:00 \_ [rpciod/2] root 2072 0.0 0.0 0 0 ? S 01:38 0:00 \_ [rpciod/3] root 2184 0.0 0.0 0 0 ? S 01:38 0:00 \_ [lockd] root 2186 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd4] root 2187 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd] root 2188 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd] root 2189 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd] root 2190 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd] root 2191 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd] root 2192 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd] root 2193 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd] root 2194 0.0 0.0 0 0 ? S 01:38 0:00 \_ [nfsd] root 2491 0.0 0.0 0 0 ? S 01:38 0:00 \_ [kauditd] root 5430 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfs_mru_cache] root 5431 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfslogd/0] root 5432 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfslogd/1] root 5433 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfslogd/2] root 5434 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfslogd/3] root 5435 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfsdatad/0] root 5436 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfsdatad/1] root 5437 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfsdatad/2] root 5438 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfsdatad/3] root 5439 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfsconvertd/0] root 5440 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfsconvertd/1] root 5441 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfsconvertd/2] root 5442 0.0 0.0 0 0 ? S 01:56 0:00 \_ [xfsconvertd/3] root 5445 0.0 0.0 0 0 ? S 01:56 0:00 \_ [jfsIO] root 5446 0.0 0.0 0 0 ? S 01:56 0:00 \_ [jfsCommit] root 5447 0.0 0.0 0 0 ? S 01:56 0:00 \_ [jfsCommit] root 5448 0.0 0.0 0 0 ? S 01:56 0:00 \_ [jfsCommit] root 5449 0.0 0.0 0 0 ? S 01:56 0:00 \_ [jfsCommit] root 5450 0.0 0.0 0 0 ? S 01:56 0:00 \_ [jfsSync] root 1 0.0 0.0 8352 800 ? Ss 01:38 0:00 init [2] root 432 0.0 0.0 17444 1468 ? S<s 01:38 0:00 udevd --daemon root 10879 0.0 0.0 17440 1336 ? S< 10:05 0:00 \_ udevd --daemon root 10881 0.0 0.0 17440 1272 ? S< 10:05 0:00 \_ udevd --daemon root 1205 0.0 0.0 120088 1964 ? Sl 01:38 0:00 /usr/sbin/rsyslogd -c4 103 1221 0.0 0.0 24124 1896 ? Ss 01:38 0:01 /usr/bin/dbus-daemon --system root 1254 0.0 0.0 37784 6808 ? S 01:38 0:00 ddclient - sleeping for 300 seconds 101 1514 0.0 0.0 48252 1072 ? Ss 01:38 0:00 /usr/sbin/exim4 -bd -q30m root 1527 0.0 0.0 8112 460 ? Ss 01:38 0:00 /usr/sbin/inetd root 1804 0.0 0.0 23024 3828 ? Ss 01:38 0:01 /usr/bin/perl -w /usr/sbin/xsakd --kbddevice /dev/input/by-path/platform-i8042-serio-0-event-kbd --spawncommand /usr/lib/sido/sido-sign-grab-xterm --daemon asterisk 1832 0.0 0.4 752432 32404 ? Ssl 01:38 0:17 /usr/sbin/asterisk -p -U asterisk asterisk 1833 0.0 0.0 13732 896 ? S 01:38 0:00 \_ astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 1832 ntp 1860 0.0 0.0 42572 2224 ? Ss 01:38 0:01 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 123:133 root 1953 0.0 0.0 72716 2888 ? Sl 01:38 0:00 /usr/sbin/gdm3 root 1960 0.0 0.0 98204 4228 ? Sl 01:38 0:00 \_ /usr/lib/gdm3/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1 root 1964 0.1 0.2 100124 17244 tty7 Ss+ 01:38 0:49 \_ /usr/bin/Xorg :0 -br -verbose -audit 0 -novtswitch -auth /var/run/gdm3/auth-for-Debian-gdm-CN2GWd/database -nolisten tcp vt7 root 2492 0.0 0.0 99872 3284 ? Sl 01:38 0:00 \_ /usr/lib/gdm3/gdm-session-worker daemon 1965 0.0 0.0 8092 540 ? Ss 01:38 0:00 /sbin/portmap root 1997 0.0 0.0 75680 3508 ? Ss 01:38 0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf root 2067 0.0 0.0 120456 3888 ? Sl 01:38 0:00 /usr/sbin/console-kit-daemon --no-daemon root 2228 0.0 0.0 14620 444 ? Ss 01:38 0:00 /usr/sbin/rpc.mountd --manage-gids root 2270 0.0 0.0 20900 968 ? Ss 01:38 0:00 /usr/sbin/cron root 2304 0.0 0.0 71320 2868 ? Ss 01:38 0:00 /usr/sbin/apache2 -k start www-data 2307 0.0 0.0 71052 1988 ? S 01:38 0:00 \_ /usr/sbin/apache2 -k start www-data 2309 0.0 0.0 294748 2632 ? Sl 01:38 0:00 \_ /usr/sbin/apache2 -k start www-data 2313 0.0 0.0 294748 2636 ? Sl 01:38 0:00 \_ /usr/sbin/apache2 -k start 112 2385 0.0 0.3 136176 22096 ? Ss 01:38 0:01 /usr/sbin/smokeping [FPing] root 2401 0.0 0.1 48908 7700 ? Sl 01:38 0:04 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock root 2418 0.0 0.0 70788 1824 tty3 Ss 01:38 0:00 /bin/login -- 1002 2991 0.0 0.0 21204 5492 tty3 S+ 01:42 0:00 \_ -bash 124 2429 0.0 0.1 141028 7712 ? S 01:38 0:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 root 2431 0.0 0.0 70448 3620 ? S 01:38 0:00 /usr/lib/upower/upowerd root 2434 0.0 0.0 60072 4604 ? S 01:38 0:01 /usr/lib/policykit-1/polkitd root 2621 0.0 0.0 55132 3388 ? Sl 01:39 0:00 /usr/lib/udisks/udisks-daemon root 2622 0.0 0.0 46532 1036 ? S 01:39 0:08 \_ udisks-daemon: polling /dev/sdd /dev/sdb /dev/sde /dev/sr0 /dev/sdc root 3185 0.0 0.0 5928 620 tty1 Ss+ 01:43 0:00 /sbin/getty 38400 tty1 root 3303 0.0 0.0 70892 1832 tty2 Ss 01:44 0:00 /bin/login -- 1002 5615 0.0 0.0 25472 3256 ? Ss 02:00 0:10 SCREEN 1002 5631 0.0 0.0 21212 5512 pts/6 Ss 02:00 0:00 \_ /bin/bash root 9535 0.0 0.0 20924 1160 pts/6 S 07:19 0:00 | \_ sudo bash root 9536 0.0 0.0 17876 2088 pts/6 S+ 07:19 0:00 | \_ bash 1002 6841 0.0 0.0 21208 5484 pts/9 Ss 02:13 0:00 \_ /bin/bash root 6971 0.0 0.0 20924 1160 pts/9 S 02:13 0:00 | \_ sudo bash root 6972 0.0 0.0 17804 2028 pts/9 S+ 02:13 0:00 | \_ bash 1002 7446 0.0 0.0 21168 5436 pts/10 Ss 02:16 0:00 \_ /bin/bash root 7752 0.0 0.0 20924 1160 pts/10 S 02:17 0:00 | \_ sudo bash root 7753 0.0 0.0 17872 2068 pts/10 S+ 02:17 0:00 | \_ bash 1002 10054 0.0 0.0 21176 5464 pts/12 Ss+ 09:18 0:00 \_ /bin/bash 1002 10321 0.0 0.0 21176 5452 pts/13 Ss+ 09:44 0:00 \_ /bin/bash 1002 11987 0.0 0.0 21124 5376 pts/11 Ss+ 10:27 0:00 \_ /bin/bash 1002 12043 0.0 0.0 21168 5424 pts/14 Ss+ 10:31 0:00 \_ /bin/bash 1002 12479 0.0 0.0 21124 5360 pts/15 Ss+ 10:38 0:00 \_ /bin/bash root 8265 0.0 0.0 49168 1144 ? Ss 02:19 0:00 /usr/sbin/sshd root 9938 0.0 0.0 90352 3636 ? Ss 09:10 0:00 \_ sshd: lindi-sudo [priv] 1002 9945 0.0 0.0 90352 1692 ? S 09:10 0:00 | \_ sshd: lindi-sudo at pts/0 1002 9946 0.0 0.0 21076 5292 pts/0 Ss 09:10 0:00 | \_ -bash 1002 9963 0.0 0.0 23532 1148 pts/0 S+ 09:10 0:00 | \_ screen -rd root 10081 0.0 0.0 90352 3624 ? Ss 09:20 0:00 \_ sshd: lindi [priv] root 11550 0.0 0.0 8376 1020 ? SL 10:18 0:00 /usr/lib/xen-4.0/bin/xenstored --pid-file=/var/run/xenstore.pid root 11554 0.0 0.0 31016 956 ? SLl 10:18 0:00 /usr/lib/xen-4.0/bin/xenconsoled --pid-file=/var/run/xenconsoled.pid root 12188 0.0 0.1 102236 10324 ? S 10:34 0:00 /usr/bin/python2.5 /usr/lib/xen-4.0/bin/xend start root 12189 0.1 0.3 242208 28696 ? SLl 10:34 0:03 \_ /usr/bin/python2.5 /usr/lib/xen-4.0/bin/xend start 6) $ sudo mount disk.img /mnt -oloop,ro $ scangzip 0 < /mnt/boot/vmlinuz-2.6.32-5-amd64 | strings | grep "^Linux " 0: found potential gzip header at offset 0x3a69 Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) (dannf at debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue Jun 14 09:42:28 UTC 2011 gzip: stdin: decompression OK, trailing garbage ignored Ok 7) various log files are attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: domain-builder-ng.log.gz Type: application/octet-stream Size: 1635 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110817/1513c8f1/attachment-0005.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: xend-debug.log.gz Type: application/octet-stream Size: 306 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110817/1513c8f1/attachment-0006.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: dmesg.txt.gz Type: application/octet-stream Size: 13914 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110817/1513c8f1/attachment-0007.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: xend.log.gz Type: application/octet-stream Size: 2597 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110817/1513c8f1/attachment-0008.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: xm-dmesg.txt.gz Type: application/octet-stream Size: 1550 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110817/1513c8f1/attachment-0009.obj> -------------- next part -------------- -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages xen-utils-4.0 depends on: ii e2fslibs 1.41.12-4stable1 ext2/ext3/ext4 file system librari ii iproute 20100519-3 networking and traffic control too ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libncurses5 5.7+20100313-5 shared libraries for terminal hand ii libxenstore3.0 4.0.1-2 Xenstore communications library fo ii python-support 1.0.10 automated rebuilding support for P ii python2.5 2.5.5-11 An interactive high-level object-o ii udev 164-3 /dev/ and hotplug management daemo ii xen-utils-common 4.0.0-1 XEN administrative tools - common ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages xen-utils-4.0 recommends: ii bridge-utils 1.4-5 Utilities for configuring the Linu ii xen-hypervisor-4.0-amd64 [xen 4.0.1-2 The Xen Hypervisor on AMD64 Versions of packages xen-utils-4.0 suggests: pn xen-docs-4.0 <none> (no description available) -- no debconf information
Ian Campbell
2011-Aug-17 09:24 UTC
[Pkg-xen-devel] Bug#638152: Bug#638152: Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working.
On Wed, 2011-08-17 at 11:11 +0300, Timo Juhani Lindfors wrote:> Package: xen-utils-4.0 > Version: 4.0.1-2 > Severity: normal > > This issue is similar to > http://lists.alioth.debian.org/pipermail/pkg-xen-devel/2011-March/003217.html > but since I was not able to find a bug report I'm reporting this now. > > Steps to reproduce: > 1) cat << EOF > config > name = 'squeeze64' > vcpus = '4' > memory = '512' > disk = [ 'file:/home/lindi-sudo/squeeze64/disk.img,xvda,w' ]Which dom0 kernel is this? Assuming 2.6.32 (squeeze) based do you have the xen-blkback/blktap modules (and any other backend modules) loaded? What udev rules do you have? What is present in /etc/xen/scripts? There's usually a logfile called xen-hotplug or something along those lines -- does that show anything? Does xenstore-ls show the backends under /local/domain/0/backend and the frontends under /local/domain/<domid>/device? Did this work previously on this machine (i.e. is this an new issue after an upgrade or a fresh install etc). [...]> 3) > > $ grep -vE "(^#|^$)" /etc/xen/xend-config.sxp > (network-script network-bridge)May or may not relate to this issue (probably not) but I'd normally recommend not using network-script at all and rather configuring your /etc/network/interfaces as per http://wiki.xen.org/xenwiki/HostConfiguration/Networking Ian. -- Ian Campbell You are always doing something marginal when the boss drops by your desk.
Timo Juhani Lindfors
2011-Aug-17 09:24 UTC
[Pkg-xen-devel] Bug#638152: Acknowledgement (Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working.)
Hi, inspired by http://www.2virt.com/blog/?category_name=xen I ran #!/bin/bash function dumpkey() { local param=${1} local key local result result=$(xenstore-list ${param}) if [ "${result}" != "" ] ; then for key in ${result} ; do dumpkey ${param}/${key} ; done else echo -n ${param}'=' xenstore-read ${param} fi } for key in /vm /local/domain /tool ; do dumpkey ${key} ; done and got /vm/00000000-0000-0000-0000-000000000000/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000/image/kernel/vm/00000000-0000-0000-0000-000000000000/image/cmdline/vm/00000000-0000-0000-0000-000000000000/image/ramdisk/vm/00000000-0000-0000-0000-000000000000/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000/bootloader_args/vm/00000000-0000-0000-0000-000000000000/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000/on_crash=restart /vm/00000000-0000-0000-0000-000000000000/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000/vcpus=4 /vm/00000000-0000-0000-0000-000000000000/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000/bootloader/vm/00000000-0000-0000-0000-000000000000/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-1/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-1/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-1/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-1/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-1/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-1/image/kernel/vm/00000000-0000-0000-0000-000000000000-1/image/cmdline/vm/00000000-0000-0000-0000-000000000000-1/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-1/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-1/bootloader_args/vm/00000000-0000-0000-0000-000000000000-1/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-1/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-1/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-1/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-1/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-1/bootloader/vm/00000000-0000-0000-0000-000000000000-1/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-2/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-2/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-2/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-2/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-2/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-2/image/kernel/vm/00000000-0000-0000-0000-000000000000-2/image/cmdline/vm/00000000-0000-0000-0000-000000000000-2/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-2/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-2/bootloader_args/vm/00000000-0000-0000-0000-000000000000-2/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-2/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-2/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-2/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-2/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-2/bootloader/vm/00000000-0000-0000-0000-000000000000-2/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-3/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-3/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-3/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-3/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-3/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-3/image/kernel/vm/00000000-0000-0000-0000-000000000000-3/image/cmdline/vm/00000000-0000-0000-0000-000000000000-3/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-3/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-3/bootloader_args/vm/00000000-0000-0000-0000-000000000000-3/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-3/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-3/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-3/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-3/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-3/bootloader/vm/00000000-0000-0000-0000-000000000000-3/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-4/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-4/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-4/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-4/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-4/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-4/image/kernel/vm/00000000-0000-0000-0000-000000000000-4/image/cmdline/vm/00000000-0000-0000-0000-000000000000-4/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-4/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-4/bootloader_args/vm/00000000-0000-0000-0000-000000000000-4/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-4/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-4/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-4/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-4/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-4/bootloader/vm/00000000-0000-0000-0000-000000000000-4/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-5/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-5/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-5/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-5/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-5/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-5/image/kernel/vm/00000000-0000-0000-0000-000000000000-5/image/cmdline/vm/00000000-0000-0000-0000-000000000000-5/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-5/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-5/bootloader_args/vm/00000000-0000-0000-0000-000000000000-5/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-5/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-5/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-5/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-5/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-5/bootloader/vm/00000000-0000-0000-0000-000000000000-5/name=Domain-0 /local/domain/0/vm=/vm/00000000-0000-0000-0000-000000000000-5 /local/domain/0/device/local/domain/0/control/platform-feature-multiprocessor-suspend=1 /local/domain/0/error/local/domain/0/memory/target=6553128 /local/domain/0/guest/local/domain/0/hvmpv/local/domain/0/data/local/domain/0/cpu/1/availability=online /local/domain/0/cpu/3/availability=online /local/domain/0/cpu/2/availability=online /local/domain/0/cpu/0/availability=online /local/domain/0/description/local/domain/0/console/limit=1048576 /local/domain/0/console/type=xenconsoled /local/domain/0/domid=0 /local/domain/0/name=Domain-0 /local/domain/0/backend/vbd/9/51712/domain=squeeze64 /local/domain/0/backend/vbd/9/51712/frontend=/local/domain/9/device/vbd/51712 /local/domain/0/backend/vbd/9/51712/uuid=17f3af59-b92c-21f5-b15b-901b46fd60ea /local/domain/0/backend/vbd/9/51712/bootable=1 /local/domain/0/backend/vbd/9/51712/dev=xvda /local/domain/0/backend/vbd/9/51712/state=5 /local/domain/0/backend/vbd/9/51712/params=/home/lindi-sudo/squeeze64/disk.img /local/domain/0/backend/vbd/9/51712/mode=w /local/domain/0/backend/vbd/9/51712/online=0 /local/domain/0/backend/vbd/9/51712/frontend-id=9 /local/domain/0/backend/vbd/9/51712/type=file /local/domain/0/backend/vbd/10/51712/domain=squeeze64 /local/domain/0/backend/vbd/10/51712/frontend=/local/domain/10/device/vbd/51712 /local/domain/0/backend/vbd/10/51712/uuid=9e9f7c10-856d-3bf0-c087-b95c16a6955d /local/domain/0/backend/vbd/10/51712/bootable=1 /local/domain/0/backend/vbd/10/51712/dev=xvda /local/domain/0/backend/vbd/10/51712/state=5 /local/domain/0/backend/vbd/10/51712/params=/home/lindi-sudo/squeeze64/disk.img /local/domain/0/backend/vbd/10/51712/mode=w /local/domain/0/backend/vbd/10/51712/online=0 /local/domain/0/backend/vbd/10/51712/frontend-id=10 /local/domain/0/backend/vbd/10/51712/type=file /local/domain/0/backend/console/9/local/domain/0/backend/console/10/tool/xenstored References to disk.img are interesting since the guest is not running anymore $ sudo xm list ID Mem VCPUs State Time(s) 0 6399 4 r----- 1911.6 The commands $ sudo xenstore-rm -t /local/domain/0/backend/vbd/9 $ sudo xenstore-rm -t /local/domain/0/backend/vbd/10 $ sudo xenstore-rm -t /local/domain/0/backend/console/9 $ sudo xenstore-rm -t /local/domain/0/backend/console/10 seem to remove these references. If I then try xm create again I see /vm/00000000-0000-0000-0000-000000000000/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000/image/kernel/vm/00000000-0000-0000-0000-000000000000/image/cmdline/vm/00000000-0000-0000-0000-000000000000/image/ramdisk/vm/00000000-0000-0000-0000-000000000000/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000/bootloader_args/vm/00000000-0000-0000-0000-000000000000/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000/on_crash=restart /vm/00000000-0000-0000-0000-000000000000/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000/vcpus=4 /vm/00000000-0000-0000-0000-000000000000/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000/bootloader/vm/00000000-0000-0000-0000-000000000000/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-1/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-1/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-1/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-1/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-1/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-1/image/kernel/vm/00000000-0000-0000-0000-000000000000-1/image/cmdline/vm/00000000-0000-0000-0000-000000000000-1/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-1/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-1/bootloader_args/vm/00000000-0000-0000-0000-000000000000-1/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-1/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-1/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-1/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-1/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-1/bootloader/vm/00000000-0000-0000-0000-000000000000-1/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-2/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-2/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-2/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-2/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-2/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-2/image/kernel/vm/00000000-0000-0000-0000-000000000000-2/image/cmdline/vm/00000000-0000-0000-0000-000000000000-2/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-2/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-2/bootloader_args/vm/00000000-0000-0000-0000-000000000000-2/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-2/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-2/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-2/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-2/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-2/bootloader/vm/00000000-0000-0000-0000-000000000000-2/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-3/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-3/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-3/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-3/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-3/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-3/image/kernel/vm/00000000-0000-0000-0000-000000000000-3/image/cmdline/vm/00000000-0000-0000-0000-000000000000-3/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-3/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-3/bootloader_args/vm/00000000-0000-0000-0000-000000000000-3/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-3/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-3/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-3/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-3/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-3/bootloader/vm/00000000-0000-0000-0000-000000000000-3/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-4/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-4/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-4/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-4/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-4/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-4/image/kernel/vm/00000000-0000-0000-0000-000000000000-4/image/cmdline/vm/00000000-0000-0000-0000-000000000000-4/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-4/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-4/bootloader_args/vm/00000000-0000-0000-0000-000000000000-4/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-4/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-4/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-4/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-4/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-4/bootloader/vm/00000000-0000-0000-0000-000000000000-4/name=Domain-0 /vm/00000000-0000-0000-0000-000000000000-5/on_xend_stop=ignore /vm/00000000-0000-0000-0000-000000000000-5/shadow_memory=0 /vm/00000000-0000-0000-0000-000000000000-5/uuid=00000000-0000-0000-0000-000000000000 /vm/00000000-0000-0000-0000-000000000000-5/on_reboot=restart /vm/00000000-0000-0000-0000-000000000000-5/image/ostype=linux /vm/00000000-0000-0000-0000-000000000000-5/image/kernel/vm/00000000-0000-0000-0000-000000000000-5/image/cmdline/vm/00000000-0000-0000-0000-000000000000-5/image/ramdisk/vm/00000000-0000-0000-0000-000000000000-5/on_poweroff=destroy /vm/00000000-0000-0000-0000-000000000000-5/bootloader_args/vm/00000000-0000-0000-0000-000000000000-5/on_xend_start=ignore /vm/00000000-0000-0000-0000-000000000000-5/on_crash=restart /vm/00000000-0000-0000-0000-000000000000-5/xend/restart_count=0 /vm/00000000-0000-0000-0000-000000000000-5/vcpus=4 /vm/00000000-0000-0000-0000-000000000000-5/vcpu_avail=15 /vm/00000000-0000-0000-0000-000000000000-5/bootloader/vm/00000000-0000-0000-0000-000000000000-5/name=Domain-0 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/image/ostype=linux /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/image/kernel=/var/run/xend/boot/boot_kernel.QKLdmt /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/image/cmdline=root=UUID=ee66b917-5151-4a4b-944a-99385b7d4d62 ro /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/image/ramdisk=/var/run/xend/boot/boot_ramdisk.sCy3dU /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/device/vbd/51712/frontend=/local/domain/12/device/vbd/51712 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/device/vbd/51712/frontend-id=12 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/device/vbd/51712/backend-id=0 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/device/vbd/51712/backend=/local/domain/0/backend/vbd/12/51712 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/device/console/0/frontend=/local/domain/12/device/console/0 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/device/console/0/frontend-id=12 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/device/console/0/backend-id=0 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/device/console/0/backend=/local/domain/0/backend/console/12/0 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/on_xend_stop=ignore /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/shadow_memory=0 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/uuid=b9c745f4-86c3-8ad6-8e07-611345b299c5 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/on_reboot=restart /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/start_time=1313571309.46 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/on_poweroff=destroy /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/bootloader_args/vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/on_xend_start=ignore /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/on_crash=restart /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/xend/restart_count=0 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/vcpus=4 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/vcpu_avail=15 /vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/bootloader/vm/b9c745f4-86c3-8ad6-8e07-611345b299c5/name=squeeze64 /local/domain/0/vm=/vm/00000000-0000-0000-0000-000000000000-5 /local/domain/0/device/local/domain/0/control/platform-feature-multiprocessor-suspend=1 /local/domain/0/error/local/domain/0/memory/target=6553128 /local/domain/0/guest/local/domain/0/hvmpv/local/domain/0/data/local/domain/0/cpu/1/availability=online /local/domain/0/cpu/3/availability=online /local/domain/0/cpu/2/availability=online /local/domain/0/cpu/0/availability=online /local/domain/0/description/local/domain/0/console/limit=1048576 /local/domain/0/console/type=xenconsoled /local/domain/0/domid=0 /local/domain/0/name=Domain-0 /local/domain/0/backend/vbd/12/51712/domain=squeeze64 /local/domain/0/backend/vbd/12/51712/frontend=/local/domain/12/device/vbd/51712 /local/domain/0/backend/vbd/12/51712/uuid=2d3ac5a5-d7c2-0186-93e1-e0515d5826ed /local/domain/0/backend/vbd/12/51712/bootable=1 /local/domain/0/backend/vbd/12/51712/dev=xvda /local/domain/0/backend/vbd/12/51712/state=1 /local/domain/0/backend/vbd/12/51712/params=/home/lindi-sudo/squeeze64/disk.img /local/domain/0/backend/vbd/12/51712/mode=w /local/domain/0/backend/vbd/12/51712/online=1 /local/domain/0/backend/vbd/12/51712/frontend-id=12 /local/domain/0/backend/vbd/12/51712/type=file /local/domain/0/backend/console/12/0/domain=squeeze64 /local/domain/0/backend/console/12/0/protocol=vt100 /local/domain/0/backend/console/12/0/uuid=7b534c75-b51d-28c5-9343-800058635657 /local/domain/0/backend/console/12/0/frontend=/local/domain/12/device/console/0 /local/domain/0/backend/console/12/0/state=1 /local/domain/0/backend/console/12/0/location=2 /local/domain/0/backend/console/12/0/online=1 /local/domain/0/backend/console/12/0/frontend-id=12 /local/domain/12/vm=/vm/b9c745f4-86c3-8ad6-8e07-611345b299c5 /local/domain/12/device/vbd/51712/virtual-device=51712 /local/domain/12/device/vbd/51712/device-type=disk /local/domain/12/device/vbd/51712/protocol=x86_64-abi /local/domain/12/device/vbd/51712/backend-id=0 /local/domain/12/device/vbd/51712/state=1 /local/domain/12/device/vbd/51712/backend=/local/domain/0/backend/vbd/12/51712 /local/domain/12/device/console/0/protocol=x86_64-abi /local/domain/12/device/console/0/state=1 /local/domain/12/device/console/0/backend-id=0 /local/domain/12/device/console/0/backend=/local/domain/0/backend/console/12/0 /local/domain/12/control/platform-feature-multiprocessor-suspend=1 /local/domain/12/error/local/domain/12/memory/target=524288 /local/domain/12/guest/local/domain/12/hvmpv/local/domain/12/data/local/domain/12/serial/0/tty=/dev/pts/19 /local/domain/12/console/ring-ref=2215246 /local/domain/12/console/port=2 /local/domain/12/console/limit=1048576 /local/domain/12/console/type=xenconsoled /local/domain/12/console/tty=/dev/pts/19 /local/domain/12/image/entry=18446744071584035328 /local/domain/12/image/loader=generic /local/domain/12/image/hv-start-low=18446603336221196288 /local/domain/12/image/guest-os=linux /local/domain/12/image/hypercall-page=18446744071578882048 /local/domain/12/image/guest-version=2.6 /local/domain/12/image/pae-mode=yes /local/domain/12/image/paddr-offset=0 /local/domain/12/image/virt-base=18446744071562067968 /local/domain/12/image/suspend-cancel=1 /local/domain/12/image/features/pae-pgdir-above-4gb=1 /local/domain/12/image/features/writable-page-tables=0 /local/domain/12/image/xen-version=xen-3.0 /local/domain/12/cpu/3/availability=online /local/domain/12/cpu/1/availability=online /local/domain/12/cpu/2/availability=online /local/domain/12/cpu/0/availability=online /local/domain/12/store/ring-ref=2215247 /local/domain/12/store/port=1 /local/domain/12/description/local/domain/12/name=squeeze64 /local/domain/12/domid=12 /local/domain/12/device-misc/console/nextDeviceID=1 /tool/xenstored for a while but then xm create timeouts like before. I also used $ sudo stap -e 'probe syscall.execve { printf("%s: %s %s\n", pexecname(), filename, args); }' to get a list of execve calls in both working and broken situation. The working one has: bash: /usr/bin/sudo "sudo" "xm" "create" "-c" "/local/xen/squeeze64/config" sudo: /usr/sbin/xm "xm" "create" "-c" "/local/xen/squeeze64/config" xm: /usr/bin/basename "basename" "/usr/sbin/xm" xm: /usr/lib/xen-common/bin/xen-version "/usr/lib/xen-common/bin/xen-version" "-v" xen-version: /bin/cat "cat" "/sys/hypervisor/type" xen-version: /bin/cat "cat" "/sys/hypervisor/version/extra" xen-version: /bin/cat "cat" "/sys/hypervisor/version/major" xen-version: /bin/cat "cat" "/sys/hypervisor/version/minor" sudo: /usr/lib/xen-4.0/bin/xm "/usr/lib/xen-4.0/bin/xm" "create" "-c" "/local/xen/squeeze64/config" xend: /usr/lib/xen-4.0/bin/pygrub "/usr/lib/xen-4.0/bin/pygrub" "--output=/var/run/xend/boot/xenbl.17141" "/local/xen/squeeze64/disk.img" pygrub: /bin/sh "sh" "-c" "uname -p 2> /dev/null" sh: /bin/uname "uname" "-p" sudo: /usr/lib/xen-4.0/bin/xenconsole "/usr/lib/xen-4.0/bin/xenconsole" "29" "--num" "0" udevd: /etc/xen/scripts/block "/etc/xen/scripts/block" "add" block: /usr/bin/dirname "dirname" "/etc/xen/scripts/block" block: /usr/bin/dirname "dirname" "/etc/xen/scripts/block" block: /usr/bin/dirname "dirname" "/etc/xen/scripts/block" block: /bin/grep "grep" "^LC_" block: /usr/bin/cut "cut" "-d=" "-f1" block: /usr/bin/logger "logger" "-p" "daemon.debug" "--" "/etc/xen/scripts/block:" "add" "XENBUS_PATH=backend/vbd/29/51712" block: /usr/bin/expr "expr" "index" "add" "=" block: /usr/sbin/xenstore-read "xenstore-read" "backend/vbd/29/51712/type" block: /usr/sbin/xenstore-read "xenstore-read" "backend/vbd/29/51712/physical-device" block: /usr/sbin/xenstore-read "xenstore-read" "backend/vbd/29/51712/params" udevd: /lib/udev/net.agent "/lib/udev/net.agent" net.agent: /bin/grep "grep" "-q" "^auto[[:space:]].*\\<vif29.0\\>" "/etc/network/interfaces" udevd: /etc/xen/scripts/vif-bridge "/etc/xen/scripts/vif-bridge" "online" block: /usr/sbin/xenstore-read "xenstore-read" "backend/vbd/29/51712/mode" net.agent: /bin/ps "ps" "-C" "ifup" "ho" "args" net.agent: /bin/grep "grep" "-q" "vif29.0" vif-bridge: /usr/bin/dirname "dirname" "/etc/xen/scripts/vif-bridge" block: /usr/sbin/xenstore-read "xenstore-read" "backend/vbd/29/51712/frontend-id" vif-bridge: /usr/bin/dirname "dirname" "/etc/xen/scripts/vif-bridge" vif-bridge: /usr/bin/dirname "dirname" "/etc/xen/scripts/vif-bridge" block: /usr/sbin/xenstore-read "xenstore-read" "/local/domain/29/vm" block: /bin/readlink "readlink" "-f" "/local/xen/squeeze64/disk.img" vif-bridge: /bin/grep "grep" "^LC_" vif-bridge: /usr/bin/cut "cut" "-d=" "-f1" net.agent: /bin/cat "cat" "/sys/class/net/lo/operstate" block: /usr/bin/expr "expr" "index" "w" "w" vif-bridge: /usr/bin/logger "logger" "-p" "daemon.debug" "--" "/etc/xen/scripts/vif-bridge:" "online" "XENBUS_PATH=backend/vif/29/0" init: /usr/local/sbin/ifup "ifup" "--allow=hotplug" "vif29.0" init: /usr/local/bin/ifup "ifup" "--allow=hotplug" "vif29.0" init: /sbin/ifup "ifup" "--allow=hotplug" "vif29.0" block: /usr/bin/expr "expr" "index" "w" "!" vif-bridge: /bin/which "which" "ifup" block: /bin/mkdir "mkdir" "-p" "/var/run/xen-hotplug" vif-bridge: /usr/bin/expr "expr" "index" "online" "=" vif-bridge: /usr/bin/expr "expr" "index" "online" "=" ">" "1" block: /bin/cat "cat" "/var/run/xen-hotplug/block/owner" vif-bridge: /usr/sbin/xenstore-read "xenstore-read" "backend/vif/29/0/ip" block: /bin/mkdir "mkdir" "/var/run/xen-hotplug/block" block: /usr/sbin/xenstore-read "xenstore-read" "backend/vbd/29/51712/state" vif-bridge: /usr/sbin/xenstore-read "xenstore-read" "backend/vif/29/0/vifname" block: /usr/bin/stat "stat" "/local/xen/squeeze64/disk.img" "-c" "%A" block: /bin/grep "grep" "-q" "w" vif-bridge: /usr/sbin/xenstore-read "xenstore-read" "backend/vif/29/0/bridge" vif-bridge: /usr/sbin/brctl "brctl" "show" vif-bridge: /usr/bin/cut "cut" "-d" "\n" "-f" "2" vif-bridge: /usr/bin/cut "cut" "-f" "1" vif-bridge: /sbin/ip "ip" "link" "show" "eth0" block: /usr/bin/stat "stat" "-c" "%i" "/local/xen/squeeze64/disk.img" vif-bridge: /sbin/ip "ip" "link" "set" "vif29.0" "down" vif-bridge: /sbin/ip "ip" "addr" "flush" "vif29.0" block: /usr/bin/stat "stat" "-c" "%D" "/local/xen/squeeze64/disk.img" vif-bridge: /usr/sbin/brctl "brctl" "addif" "eth0" "vif29.0" block: /sbin/losetup "losetup" "-a" block: /bin/grep "grep" " \\[0*901\\]:60776463" vif-bridge: /sbin/ip "ip" "link" "set" "vif29.0" "up" block: /usr/bin/cut "cut" "-d" ":" "-f" "1" block: /sbin/losetup "losetup" "-f" vif-bridge: /sbin/iptables "iptables" "-L" "-n" vif-bridge: /bin/mkdir "mkdir" "-p" "/var/run/xen-hotplug" block: /sbin/losetup "losetup" "-h" block: /bin/grep "grep" "read-only" block: /sbin/losetup "losetup" "/dev/loop6" "/local/xen/squeeze64/disk.img" vif-bridge: /bin/cat "cat" "/var/run/xen-hotplug/iptables/owner" block: /usr/bin/logger "logger" "-p" "daemon.debug" "--" "/etc/xen/scripts/block:" "Writing backend/vbd/29/51712/node" "/dev/loop6 to xenstore." udevd: /sbin/blkid "/sbin/blkid" "-o" "udev" "-p" "/dev/loop6" vif-bridge: /bin/mkdir "mkdir" "/var/run/xen-hotplug/iptables" vif-bridge: /sbin/iptables "iptables" "-I" "FORWARD" "-m" "physdev" "--physdev-in" "vif29.0" "-j" "ACCEPT" block: /usr/sbin/xenstore-write "xenstore-write" "backend/vbd/29/51712/node" "/dev/loop6" udevd: /lib/udev/fstab_import "/lib/udev/fstab_import" "loop6" "block/7:6" "disk/by-uuid/ee66b917-5151-4a4b-944a-99385b7d4d62" "mapper/" vif-bridge: /sbin/iptables "iptables" "-I" "FORWARD" "-m" "state" "--state" "RELATED,ESTABLISHED" "-m" "physdev" "--physdev-out" "vif29.0" "-j" "ACCEPT" block: /usr/bin/stat "stat" "-L" "-c" "%t:%T" "/dev/loop6" vif-bridge: /bin/rm "rm" "-rf" "/var/run/xen-hotplug/iptables" block: /usr/bin/logger "logger" "-p" "daemon.debug" "--" "/etc/xen/scripts/block:" "Writing backend/vbd/29/51712/physical-device" "7:6 to xenstore." vif-bridge: /usr/bin/logger "logger" "-p" "daemon.debug" "--" "/etc/xen/scripts/vif-bridge:" "Successful vif-bridge online for vif29.0, bridge eth0." block: /usr/sbin/xenstore-write "xenstore-write" "backend/vbd/29/51712/physical-device" "7:6" vif-bridge: /usr/bin/logger "logger" "-p" "daemon.debug" "--" "/etc/xen/scripts/vif-bridge:" "Writing backend/vif/29/0/hotplug-status" "connected to xenstore." block: /usr/bin/logger "logger" "-p" "daemon.debug" "--" "/etc/xen/scripts/block:" "Writing backend/vbd/29/51712/hotplug-status" "connected to xenstore." vif-bridge: /usr/sbin/xenstore-write "xenstore-write" "backend/vif/29/0/hotplug-status" "connected" block: /usr/sbin/xenstore-write "xenstore-write" "backend/vbd/29/51712/hotplug-status" "connected" block: /bin/rm "rm" "-rf" "/var/run/xen-hotplug/block" while the broken one has just bash: /usr/sbin/xm "xm" "create" "-c" "/home/lindi-sudo/squeeze64/config" xm: /usr/bin/basename "basename" "/usr/sbin/xm" xm: /usr/lib/xen-common/bin/xen-version "/usr/lib/xen-common/bin/xen-version" "-v" xen-version: /bin/cat "cat" "/sys/hypervisor/type" xen-version: /bin/cat "cat" "/sys/hypervisor/version/extra" xen-version: /bin/cat "cat" "/sys/hypervisor/version/major" xen-version: /bin/cat "cat" "/sys/hypervisor/version/minor" bash: /usr/lib/xen-4.0/bin/xm "/usr/lib/xen-4.0/bin/xm" "create" "-c" "/home/lindi-sudo/squeeze64/config" xend: /usr/lib/xen-4.0/bin/pygrub "/usr/lib/xen-4.0/bin/pygrub" "--output=/var/run/xend/boot/xenbl.5845" "/home/lindi-sudo/squeeze64/disk.img" pygrub: /bin/sh "sh" "-c" "uname -p 2> /dev/null" sh: /bin/uname "uname" "-p" bash: /usr/lib/xen-4.0/bin/xenconsole "/usr/lib/xen-4.0/bin/xenconsole" "13" "--num" "0" So, where's my udev event? ;-) -Timo
Debian Bug Tracking System
2011-Aug-17 13:12 UTC
[Pkg-xen-devel] Bug#638152: marked as done (Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working.)
Your message dated Wed, 17 Aug 2011 14:11:07 +0100 with message-id <1313586667.5010.216.camel at zakaz.uk.xensource.com> and subject line Re: [Pkg-xen-devel] Bug#638152: Acknowledgement (Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working.) has caused the Debian Bug report #638152, regarding Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 638152: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638152 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Timo Juhani Lindfors <timo.lindfors at iki.fi> Subject: Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. Date: Wed, 17 Aug 2011 11:11:18 +0300 Size: 50720 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110817/82422bbf/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Ian Campbell <ijc at hellion.org.uk> Subject: Re: [Pkg-xen-devel] Bug#638152: Acknowledgement (Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working.) Date: Wed, 17 Aug 2011 14:11:07 +0100 Size: 3131 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110817/82422bbf/attachment-0003.mht>