[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Re: [Xen-devel] How does pvops create loop device for initrd to support Xen live image?
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |