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] losetup /dev/loop0 /xen/centos.img failed

To: "Sadique Puthen" <sputhenp@xxxxxxxxxx>
Subject: Re: [Xen-users] losetup /dev/loop0 /xen/centos.img failed
From: "lee hartley" <leeslist@xxxxxxxxx>
Date: Fri, 14 Dec 2007 08:02:28 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 14 Dec 2007 05:03:00 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=M4bHencKV4Qg3Qs4J6VjYXk3rctPx7+MP7Y9Fs1+rSY=; b=RQtmkp0xrAFTOSr6TC9cK1BLhw9kSMZj6ZYyBRLXNV+eeo0uUY/fETqCg24UZCTH/MkYh/jVseUjz0niT+XNXixVMffjXz8chgoJOT5iI+s+m7+qmXZnK4dBKfqN9KJ+MjNAnIEbVr5AbcTH/HLgKB6H7VSmMVsiJ4AxjTinCkY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VP1eZPL6oJoW2HtVWebVdYoUWHIaZrgfqTWVDmF5Ihzn88Tnw07K+60IkUvYeBXBtFiCHQ5vWOlC6lFDkIU3WQAhe+NSEOJR7lcYPLpQFfTZ+VPJVtwrEZhGDvJ0AYUOMG5jG1MwHhmlbyC+OH9yn8m0Q68zryzTqV5L8rhPH0w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47622E6E.1010106@xxxxxxxxxx>
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>
References: <dfa0f0b60712131313h4796eb8euecd26ceb64f6ffc8@xxxxxxxxxxxxxx> <47622E6E.1010106@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
yep, sorry...

kernel = "/boot/vmlinuz-2.6.18-53.el5xen"
ramdisk = "/boot/initrd-2.6.18-53.el5xen.img"
memory = 512
name = "centos.5-1"
vif = [ '' ]
dhcp = "dhcp"
disk = ['file:/home/xen/centos51/centos.5-1.img,sda1,w',
'file:/home/xen/centos51/centos.swap,sda2,w']
root = "/dev/sda1 ro"

I thought I read somewhere to try doing it as ide (not sure it applies
here)....i assume to try that i would have to change the config file
to hdax and add an option somewhere...i looked in the xend conf, but
did not look like the right place...

thanks a lot for taking the time to have a look!

lee

On Dec 14, 2007 2:19 AM, Sadique Puthen <sputhenp@xxxxxxxxxx> wrote:
>
> Your guest configuration file, please.
>
> --Sadique
>
>
> lee hartley wrote:
> > I am new to xen, and trying to get things up and going...this looks
> > like it might be an obvious thing for someone who has seen it...
> >
> > I have installed centos 5.1 w/virtulization
> > untarred a prebuilt image (I ran the same image on ubuntu without any
> > startup issues)
> > I have changed modprobe.conf (options loop max_loop=64) and if i ls
> > /dev/loop*, i see them all there
> > when I try to start it up, here is what i see
> >
> > xm create /home/xen/centos51/centos.5-1.xen3.cfg -c
> > Using config file "/home/xen/centos51/centos.5-1.xen3.cfg".
> > Error: Device 2049 (vbd) could not be connected. losetup /dev/loop0
> > /home/xen/centos51/centos.5-1.img failed
> >
> > I can run
> > # losetup /dev/loop0 /home/xen/centos51/centos.5-1.img
> > with out error
> > and see it
> > losetup -a
> > /dev/loop0: [fd00]:39190531 (/home/xen/centos51/centos.5-1.img)
> >
> > however, it does not like this
> > losetup /dev/loop0
> > loop: can't get info on device /dev/loop0: No such device or address
> >
> > which might be ok, not sure, but makes me think this is the kind of
> > response xm is getting to say it failed (maybe checks first and then
> > does the losetup?)
> >
> > I would be very grateful for someone to point me in a direction of
> > things to try or what package or conf I might be lacking....
> >
> > thanks a lot
> > lee
> >
> >
> >
>
>



-- 
Everything should be made as simple as possible, but not simpler. --
Albert Einstein

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

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