Richard W.M. Jones
2014-Jan-19 12:58 UTC
Re: [Libguestfs] libguestfs hanging on CentOS 6.2
On Sun, Jan 19, 2014 at 09:22:55AM -0300, Christopher Pereira wrote:> Just in case, here is also the output after exiting the > libguestfs-test-tool: > > ... > febootstrap: internal insmod ext2.ko > [ 0.965626] input: ImExPS/2 Generic Explorer Mouse as > /devices/platform/i8042/serio1/input/input2The next line here should be: febootstrap: picked /sys/block/vdb/dev as root device So for whatever reason febootstrap cannot find the appliance disk. It is added correctly on the qemu command line. Versions installed (from IRC chat) were: libguestfs-1.20.11-2.el6.x86_64 libguestfs-winsupport-1.0-7.el6.x86_64 (ie. from RHEL 6.5) My suggestion is that you're going to have to upgrade the kernel and qemu (at least) to the same as from RHEL 6.5, since we don't test mixed old/new packages. Given that 18 months passed between 6.2 & 6.5 it could be a bug in just about anything. Note that libguestfs will use the newest kernel in /boot, so you can install the newer kernel even if there's some (eg hardware) problem keeping you on the old host kernel. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Richard W.M. Jones
2014-Jan-19 13:03 UTC
Re: [Libguestfs] libguestfs hanging on CentOS 6.2
On Sun, Jan 19, 2014 at 12:58:38PM +0000, Richard W.M. Jones wrote:> febootstrap: cmdline: panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xtermActually, looking more closely, I think the problem is that this (newer) version of libguestfs is assuming virtio-scsi support (/dev/sdb). But probably the old kernel didn't have virtio-scsi, only virtio-blk. So updating the kernel is the way to go. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org