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

RE: [Xen-users] Error creating domain: vbd: Segment not found

To: "Gisbert Amm" <gia@xxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Error creating domain: vbd: Segment not found
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 7 Apr 2005 17:33:59 +0100
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Thu, 07 Apr 2005 16:33:53 +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
Thread-index: AcU7fJS6PbZbbkLyTmaqQBkU2nMBdAAErOMg
Thread-topic: [Xen-users] Error creating domain: vbd: Segment not found
 > After rebooting the host machine I'm getting "Error creating domain: 
> vbd: Segment not found" on a formerly working domain:
> 
> #> xm create configfile -c
> Using config file "configfile".
> Error: Error creating domain: vbd: Segment not found: 
> uname=file:/root/xeninstanzen/lxgia/lxgia.img
> 
> My configfile looks like this:
> 
> #> cat configfile
> kernel = "/boot/vmlinuz-2.6.10-xenU"
> memory = 64
> name = "lxgia"
> #nics = 1
> #ip = "1.2.3.4"
> disk = ['file:/root/xeninstanzen/lxgia/lxgia.img,hda6,w']
> root = "/dev/hda6 rw"
> dhcp="dhcp"
> 
> And the image is still at the right place and could be booted:
> 
> #> file /root/xeninstanzen/lxgia/lxgia.img
> /root/xeninstanzen/lxgia/lxgia.img: Linux rev 1.0 ext2 filesystem data
> 
> As I said, I was able to create this domain before. Since I'm 
> fairly new to XEN I don't really know what to do now. Am I 
> doing something wrong? 
> How can I get some more helpful information? How to debug 
> such problems?

As an experiment, please try to use losetup to setup the loop device
manually then use a vbd of 'phy:loopX,hda6,w'.

Adding some debugging to the vbd-file script would be useful too. I
suspect there's a problem allocating a loop device.

Thanks,
Ian

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

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