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

[Xen-devel] How does pvops create loop device for initrd to support Xen

To: "'xen-users@xxxxxxxxxxxxxxxxxxx'" <xen-users@xxxxxxxxxxxxxxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How does pvops create loop device for initrd to support Xen live image?
From: "Wang, Shane" <shane.wang@xxxxxxxxx>
Date: Thu, 17 Jun 2010 09:07:19 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Wed, 16 Jun 2010 18:08:43 -0700
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsNuW9OrWZ+ycfFTTuo+zyo3uUFmw==
Thread-topic: How does pvops create loop device for initrd to support Xen live image?
Hi,

I want to create a Xen live image based on fedora project 
(http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo).
Since the root fs is packed as a squashfs image, initrd will have script to 
mount it and switch root into it.
But now I get the errors after booting up xen and pvops. (see log attached)
It complains pvops is not aware of any loop device. I compile pvops with 
BLK_DEV_LOOP=y.

...
losetup: Could not find any loop device. Maybe this kernel does not know
       about the loop device? (If so, recompile or `modprobe loop'.)
loop: can't get info on device /osmin.img: Inappropriate ioctl for device
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
...

Thanks.
Shane

Attachment: loopdevice.txt
Description: loopdevice.txt

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>