febootstrap error ?
hi, i am not quite sure about the below error: [ 1320.506848] INFO: task init:1 blocked for more than 120 seconds. [ 1320.510069] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. The below commands guestmount, virt-* either hangs or taking a gazillion time to finish (not correctly). I've attached a file with two cases In both cases, in tmp folder there are: [ebal@mylaptop tmp]€ tree libguestfsj5tGtJ/ libguestfsj5tGtJ/ └── guestfsd.sock 0 directories, 1 file [ebal@mylaptop tmp]€ tree libguestfsMRArh2 libguestfsMRArh2 └── guestfsd.sock 0 directories, 1 file after the processes are hanged libguestfs 1.14.7 febootstrap 3.12 qemu-kvm 1.0 augeas 0.10.0 hivex 1.3.3 libvirt 0.9.8 [root@mylaptop ~]# uname -r 3.1.4-1-ARCH any ideas ? Evaggelos Balaskas Unix System Engineer - http://ebalaskas.gr.
On Tue, Dec 13, 2011 at 10:16:31PM +0200, Evaggelos Balaskas wrote:
[root@mylaptop ~]# time libguestfs-test-tool [...] [01990ms] /usr/bin/qemu-kvm \ -drive file=/tmp/libguestfs-test-tool-sda-CDyryJ,format=raw,if=virtio \ -nodefconfig \ -machine accel=kvm:tcg \ -nodefaults \ -nographic \ -m 500 \ -no-reboot \ -no-hpet \ -device virtio-serial \ -serial stdio \ -chardev socket,path=/tmp/libguestfsMRArh2/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-0/kernel.19350 \ -initrd /var/tmp/.guestfs-0/initrd.19350 \ -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ -drive file=/var/tmp/.guestfs-0/root.19350,snapshot=on,if=virtio,cache=unsafefebootstrap: mounting /proc febootstrap: uptime: 0.95 0.25 febootstrap: ext2 mini initrd starting up: 3.12 zlib
Is there not any kernel output before the febootstrap line? That's what I'd expect to see there, but maybe your kernel disables printk boot messages or something like that. Can you boot any other kernel instead? In the latest febootstrap you should be able to pick a kernel by setting the $FEBOOTSTRAP_KERNEL and possibly $FEBOOTSTRAP_MODULES environment variables (see febootstrap-supermin-helper(8) manual page). You could try downloading a standard Fedora or Debian kernel >= 2.6.36 to just see if one of those kernels works instead. (Or compile a kernel from upstream sources). 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
On Tue, Dec 13, 2011 at 10:16:31PM +0200, Evaggelos Balaskas wrote:
hi,
i am not quite sure about the below error:
[ 1320.506848] INFO: task init:1 blocked for more than 120 seconds. [ 1320.510069] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
FYI, this bug is being tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=768508 Comment 10 contains a fix. 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 Xen guests. http://et.redhat.com/~rjones/virt-p2v
I've just rebuilt qemu-kvm with bios.bin from git version of seabios and everything is perfect. Thanks dude Evaggelos Balaskas Unix System Engineer - http://ebalaskas.gr.
participants (2)
-
Evaggelos Balaskas -
Richard W.M. Jones