From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-2022-JP?B?TWFydGlueCAtIBskQiU4JSchPCVgJTobKEI=?= Subject: Re: [Xen-users] Re: How does pvops create loop device for initrd to support Xen live image? Date: Thu, 17 Jun 2010 17:59:23 -0300 Message-ID: References: <4C19F2C6.5080909@goop.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0496619624==" Return-path: In-Reply-To: <4C19F2C6.5080909@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: "Wang, Shane" , "xen-devel@lists.xensource.com" , "xen-users@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0496619624== Content-Type: multipart/alternative; boundary=0016364c7eaf23944f0489401e70 --0016364c7eaf23944f0489401e70 Content-Type: text/plain; charset=ISO-8859-1 For sure, that's your problem, you must correct the kernel modules version... On 17 June 2010 07:02, Jeremy Fitzhardinge 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@lists.xensource.com > http://lists.xensource.com/xen-users > --0016364c7eaf23944f0489401e70 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable For sure, that's your problem, you must correct the kernel modules vers= ion...

On 17 June 2010 07:02, Jeremy Fitz= hardinge <jeremy@go= op.org> 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 scri= pt to mount it and switch root into it.
> But now I get the errors after booting up xen and pvops. (see log atta= ched)
> It complains pvops is not aware of any loop device. I compile pvops wi= th BLK_DEV_LOOP=3Dy.
>
> ...
> losetup: Could not find any loop device. Maybe this kernel does not kn= ow
> =A0 =A0 =A0 =A0about the loop device? (If so, recompile or `modprobe l= oop'.)
> loop: can't get info on device /osmin.img: Inappropriate ioctl for= device
> Usage: mount -V =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : print version
> =A0 =A0 =A0 =A0mount -h =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : print this h= elp
> =A0 =A0 =A0 =A0mount =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: list mou= nted filesystems
> =A0 =A0 =A0 =A0mount -l =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : idem, includ= ing volume labels
> So far the informational part. Next the mounting.
> The command is `mount [-t fstype] something somewhere'.
> ...
>

I think your problems are earlier:

[ =A0 =A04.866595] ehci_hcd: version magic '2.6.31.12 SMP mod_unload &#= 39; should be '2.
6.30-rc3-tip SMP mod_unload '
[ =A0 =A04.870773] ohci_hcd: version magic '2.6.31.12 SMP mod_unload &#= 39; should be '2.
6.30-rc3-tip SMP mod_unload '
[ =A0 =A04.875282] uhci_hcd: version magic '2.6.31.12 SMP mod_unload &#= 39; should be '2.
6.30-rc3-tip SMP mod_unload '
[ =A0 =A04.892417] scsi_mod: version magic '2.6.31.12 SMP mod_unload &#= 39; should be '2.
6.30-rc3-tip SMP mod_unload '
[ =A0 =A04.896594] sd_mod: version magic '2.6.31.12 SMP mod_unload '= ; should be '2.6.
30-rc3-tip SMP mod_unload '
[ =A0 =A04.902025] libata: version magic '2.6.31.12 SMP mod_unload '= ; should be '2.6.
30-rc3-tip SMP mod_unload '
[ =A0 =A04.907591] pata_acpi: version magic '2.6.31.12 SMP mod_unload &= #39; should be '2
.6.30-rc3-tip SMP mod_unload '
[ =A0 =A07.413066] ata_piix: version magic '2.6.31.12 SMP mod_unload &#= 39; should be '2.
6.30-rc3-tip SMP mod_unload '
[ =A0 =A09.919044] ata_generic: version magic '2.6.31.12 SMP mod_unload= ' should be
'2.6.30-rc3-tip SMP mod_unload '
[ =A0 =A09.924079] ahci: version magic '2.6.31.12 SMP mod_unload ' = should be '2.6.30
-rc3-tip SMP mod_unload '
[ =A0 12.430218] scsi_wait_scan: version magic '2.6.31.12 SMP mod_unloa= d ' should
be '2.6.30-rc3-tip SMP mod_unload '

It looks like you're trying to mix modules from a different kernel buil= d.

=A0 =A0 =A0 =A0J


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.= com
http://l= ists.xensource.com/xen-users

--0016364c7eaf23944f0489401e70-- --===============0496619624== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0496619624==--