WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Randomly missing even-numbered vbd devices from domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Randomly missing even-numbered vbd devices from domU
From: "Christopher S. Aker" <caker@xxxxxxxxxxxx>
Date: Mon, 27 Mar 2006 17:39:32 -0600
Delivery-date: Mon, 27 Mar 2006 23:41:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Randomly missing even-numbered vbd devices from domU, Christopher S. Aker <=