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: lee hartley <leeslist@xxxxxxxxx>
Subject: Re: [Xen-users] losetup /dev/loop0 /xen/centos.img failed
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Fri, 14 Dec 2007 12:49:10 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 Dec 2007 23:19:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <dfa0f0b60712131313h4796eb8euecd26ceb64f6ffc8@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070926)

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




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

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