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-devel

Re: [Xen-devel] udev

To: "Kurt Garloff" <garloff@xxxxxxx>
Subject: Re: [Xen-devel] udev
From: Stephan Böni <boeni@xxxxxx>
Date: Wed, 19 Oct 2005 19:26:47 +0200
Cc: Xen development list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 19 Oct 2005 17:24:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXUzceyxVMuX/sdRiq26ij+Hqe/vwAAoitw
Thread-topic: [Xen-devel] udev
Hi Kurt

> > > > Now i'm looking very puzzled, because on every restart of my 
> > > > domU there are other hda devices missing. Does anyone know 
> > > > how to solve this problem?
> > > 
> > > Somehow, hotplug events get lost somewhere.
> > > Most probably in dom0, otherwise the mknod+mount would work.
> > > 
> > > Look for syslog messages in dom0: You should find things like
> > > logger: /etc/xen/scripts/block: Writing 
> > > backend/vbd/1/769/physical-device
> > >   0x0700 backend/vbd/1/769/node /dev/loop0 to xenstore.
> > > there.
> > 
> > Yes, the "bind" was made for every device, but the "Writing
> > backend" only for some devices. If it has made, i can see the
> > devices in my domU.
> 
> OK, so the events get triggered, but the scripts to set things
> up hang or fail. Strange.
> 
> > > Use xenstore-read backend/vbd/DOM/DEVNO to check what the scripts
> > > have set up in dom0. (DEVNO = 256*major+minor)
> > 
> > It says nothing.
> 
> xenstore-list would have been the right command, sorry.


If it works:
| xenstore-list backend/vbd/11/782
domain
params
frontend-id
type
dev
frontend
physical-device
node
sectors
info
sector-size

else:
| xenstore-list backend/vbd/11/773
domain
params
frontend-id
type
dev
frontend


Stephan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>