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

Re: [Xen-users] Re: [Xen-devel] How does pvops create loop device for in

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] How does pvops create loop device for initrd to support Xen live image?
From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Date: Thu, 17 Jun 2010 17:59:23 -0300
Cc: "Wang, Shane" <shane.wang@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Jun 2010 14:01:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=c1SU8zlHvcD4jG06pQ6QuJlYMSLcEW9I52wrtInr9XA=; b=NmBtPStt1K7UaaqQSzJi5T0GutkvFP6fleHO5yljfarkwFRvb1rwu6Pda+4RVxpq9l 2TY8zULuwAlxywdrR2aILd7MJ04BwDgxIAFjJRM3xn9LZfWBl+BQ81zT0+PERUieTcQA GhDZ6alGUQKWvwjgDyCTZlDqVjw6DSb9qUi+Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=myUycqnoxEBPwgCnOpQRHEENym7srY1mCnzLyViK77E4/03J+8Ctf5Hsph7A41QADY S9CsDqY4uyz49osghpv4a511eFCBhRpKQEjeLaXa5Q5qv9uBvCoqJxpy/7Wfxa8mwr1t L1pP/GOdqlYTXEoth+/7ZNSG4+5LMI6sfa7oQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C19F2C6.5080909@xxxxxxxx>
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>
References: <D5AB6E638E5A3E4B8F4406B113A5A19A1F372B96@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4C19F2C6.5080909@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
For sure, that's your problem, you must correct the kernel modules version...

On 17 June 2010 07:02, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
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

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