Christopher S. Aker
2006-Mar-27 23:39 UTC
[Xen-users] Randomly missing even-numbered vbd devices from domU
If I start a domain with a number of vbd devices, it''s a crap shoot if they''ll all show up in the domU''s /proc/partitions. I''ll eventually see all the devices if I keep rebooting the domU. The value of /local/domain/$DOMID/device/vbd/*/state are all 1 for the missing devices, and 4 for the ones that show up. When it works: domU:~# cat /proc/partitions major minor #blocks name 3 1 1024000 hda1 3 2 266240 hda2 3 3 102400 hda3 3 4 217088 hda4 [2006-03-27 16:19:40 xend] DEBUG (DevController:132) Waiting for devices vbd. [2006-03-27 16:19:40 xend] DEBUG (DevController:138) Waiting for 769. [2006-03-27 16:19:40 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/21/769/hotplug-status. [2006-03-27 16:19:40 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-03-27 16:19:40 xend] DEBUG (DevController:138) Waiting for 770. [2006-03-27 16:19:40 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/21/770/hotplug-status. [2006-03-27 16:19:41 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/21/770/hotplug-status. [2006-03-27 16:19:41 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-03-27 16:19:41 xend] DEBUG (DevController:138) Waiting for 771. [2006-03-27 16:19:41 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/21/771/hotplug-status. [2006-03-27 16:19:43 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/21/771/hotplug-status. [2006-03-27 16:19:43 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-03-27 16:19:43 xend] DEBUG (DevController:138) Waiting for 772. [2006-03-27 16:19:43 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/21/772/hotplug-status. [2006-03-27 16:19:43 xend] DEBUG (DevController:417) hotplugStatusCallback 1. When it doesn''t: domU:~# cat /proc/partitions major minor #blocks name 3 1 1024000 hda1 3 3 102400 hda3 [2006-03-27 16:20:40 xend] DEBUG (DevController:132) Waiting for devices vbd. [2006-03-27 16:20:40 xend] DEBUG (DevController:138) Waiting for 769. [2006-03-27 16:20:40 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/22/769/hotplug-status. [2006-03-27 16:20:42 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/22/769/hotplug-status. [2006-03-27 16:20:42 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-03-27 16:20:42 xend] DEBUG (DevController:138) Waiting for 770. [2006-03-27 16:20:42 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/22/770/hotplug-status. [2006-03-27 16:20:42 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-03-27 16:20:42 xend] DEBUG (DevController:138) Waiting for 771. [2006-03-27 16:20:42 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/22/771/hotplug-status. [2006-03-27 16:20:42 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-03-27 16:20:42 xend] DEBUG (DevController:138) Waiting for 772. [2006-03-27 16:20:42 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/22/772/hotplug-status. [2006-03-27 16:20:42 xend] DEBUG (DevController:417) hotplugStatusCallback 1. There are no other errors in xend''s debug output, and AFAICT the above output doesn''t display anything abnormal. Interestingly, it''s only the even numbered devices that will occasionally not show up (2nd device, 4th device, etc). Xen-unstable, changeset: Sun Mar 26 11:50:39 2006 +0100 9441:30ae67d6e5f0 Any thoughts or something else I should be hunting for? Thanks, -Chris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Reasonably Related Threads
- Bug#368417: xen-hypervisor-3.0-i386: cannot start NetBSD-HEAD
- [pakrat@private.neotoma.org: xen-hypervisor-3.0-i386: cannot start NetBSD-HEAD]
- Guest Domains drop from network
- Error: Device 768 (vbd) could not be connected. Backend device not found.
- DRBD VBD script not working in squeeze ?