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-users] Re: [Xen-devel] How does pvops create loop device for initrd

To: "Wang, Shane" <shane.wang@xxxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] How does pvops create loop device for initrd to support Xen live image?
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 17 Jun 2010 11:02:46 +0100
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "'xen-users@xxxxxxxxxxxxxxxxxxx'" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Jun 2010 03:04:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D5AB6E638E5A3E4B8F4406B113A5A19A1F372B96@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <D5AB6E638E5A3E4B8F4406B113A5A19A1F372B96@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b2pre Thunderbird/3.0.4
On 06/17/2010 02:07 AM, Wang, Shane wrote:
> 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'.
> ...
>   

I think your problems are earlier:

[    4.866595] ehci_hcd: version magic '2.6.31.12 SMP mod_unload ' should be '2.
6.30-rc3-tip SMP mod_unload '
[    4.870773] ohci_hcd: version magic '2.6.31.12 SMP mod_unload ' should be '2.
6.30-rc3-tip SMP mod_unload '
[    4.875282] uhci_hcd: version magic '2.6.31.12 SMP mod_unload ' should be '2.
6.30-rc3-tip SMP mod_unload '
[    4.892417] scsi_mod: version magic '2.6.31.12 SMP mod_unload ' should be '2.
6.30-rc3-tip SMP mod_unload '
[    4.896594] sd_mod: version magic '2.6.31.12 SMP mod_unload ' should be '2.6.
30-rc3-tip SMP mod_unload '
[    4.902025] libata: version magic '2.6.31.12 SMP mod_unload ' should be '2.6.
30-rc3-tip SMP mod_unload '
[    4.907591] pata_acpi: version magic '2.6.31.12 SMP mod_unload ' should be '2
.6.30-rc3-tip SMP mod_unload '
[    7.413066] ata_piix: version magic '2.6.31.12 SMP mod_unload ' should be '2.
6.30-rc3-tip SMP mod_unload '
[    9.919044] ata_generic: version magic '2.6.31.12 SMP mod_unload ' should be
'2.6.30-rc3-tip SMP mod_unload '
[    9.924079] ahci: version magic '2.6.31.12 SMP mod_unload ' should be '2.6.30
-rc3-tip SMP mod_unload '
[   12.430218] scsi_wait_scan: version magic '2.6.31.12 SMP mod_unload ' should
be '2.6.30-rc3-tip SMP mod_unload '

It looks like you're trying to mix modules from a different kernel build.

        J


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

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