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 at mylaptop tmp]? tree libguestfsj5tGtJ/
libguestfsj5tGtJ/
??? guestfsd.sock
0 directories, 1 file
[ebal at 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 at mylaptop ~]# uname -r
3.1.4-1-ARCH
any ideas ?
Evaggelos Balaskas
Unix System Engineer - http://ebalaskas.gr.
-------------- next part --------------
A.
libguestfs-test-tool:
[root at mylaptop ~]# time libguestfs-test-tool
===== Test starts here ====LIBGUESTFS_DEBUG=1
TMPDIR=(not set)
libguestfs: new guestfs handle 0x8114d68
library version: 1.14.7
guestfs_get_append: (null)
guestfs_get_attach_method: appliance
guestfs_get_autosync: 1
guestfs_get_direct: 0
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib/guestfs
guestfs_get_pgroup: 0
guestfs_get_qemu: /usr/bin/qemu-kvm
guestfs_get_recovery_proc: 1
guestfs_get_selinux: 0
guestfs_get_smp: 1
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: i686
Launching appliance, timeout set to 600 seconds.
libguestfs: [00012ms] febootstrap-supermin-helper --verbose -f checksum
'/usr/lib/guestfs/supermin.d' i686
supermin helper [00000ms] whitelist = (not specified), host_cpu = i686, kernel =
(null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.1.5-1-ARCH is a directory
picked vmlinuz-linux because modpath /lib/modules/3.1.5-1-ARCH exists
supermin helper [00010ms] finished creating kernel
supermin helper [00010ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00011ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00016ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00081ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [01528ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [01535ms] adding kernel modules
supermin helper [01727ms] finished creating appliance
libguestfs: [01803ms] begin testing qemu features
libguestfs: [01987ms] finished testing qemu features
libguestfs: accept_from_daemon: 0x8114d68 g->state = 1
[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
febootstrap: mounting /sys
febootstrap: internal insmod libcrc32c.ko.gz
insmod: init_module: libcrc32c.ko.gz: Unknown symbol in module
febootstrap: internal insmod crc-ccitt.ko.gz
febootstrap: internal insmod crc-itu-t.ko.gz
febootstrap: internal insmod crc8.ko.gz
febootstrap: internal insmod crc16.ko.gz
febootstrap: internal insmod crc-t10dif.ko.gz
febootstrap: internal insmod crc7.ko.gz
febootstrap: internal insmod crc32c-intel.ko.gz
insmod: init_module: crc32c-intel.ko.gz: No such device
febootstrap: internal insmod crc32c.ko.gz
febootstrap: internal insmod mbcache.ko.gz
febootstrap: internal insmod cdrom.ko.gz
febootstrap: internal insmod scsi_mod.ko.gz
febootstrap: internal insmod sr_mod.ko.gz
febootstrap: internal insmod libata.ko.gz
febootstrap: internal insmod ata_piix.ko.gz
febootstrap: internal insmod scsi_transport_spi.ko.gz
febootstrap: internal insmod sym53c8xx.ko.gz
febootstrap: internal insmod sd_mod.ko.gz
febootstrap: internal insmod rfkill.ko.gz
febootstrap: internal insmod sparse-keymap.ko.gz
febootstrap: internal insmod ideapad-laptop.ko.gz
insmod: init_module: ideapad-laptop.ko.gz: No such device
febootstrap: internal insmod virtio_blk.ko.gz
febootstrap: internal insmod virtio_balloon.ko.gz
febootstrap: internal insmod virtio_pci.ko.gz
[ 240.466811] INFO: task init:1 blocked for more than 120 seconds.
[ 240.470529] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 360.473576] INFO: task init:1 blocked for more than 120 seconds.
[ 360.476841] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 480.480131] INFO: task init:1 blocked for more than 120 seconds.
[ 480.485284] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
Alarm clock
real 10m0.350s
user 0m0.150s
sys 0m0.260s
B.
[root at mylaptop ~]# time virt-df -a archlinux.qcow2.20111026 -h -v
libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum
'/usr/lib/guestfs/supermin.d' i686
supermin helper [00000ms] whitelist = (not specified), host_cpu = i686, kernel =
(null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.1.5-1-ARCH is a directory
picked vmlinuz-linux because modpath /lib/modules/3.1.5-1-ARCH exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00001ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00004ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00004ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [00100ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [00101ms] adding kernel modules
supermin helper [00186ms] finished creating appliance
libguestfs: [00193ms] begin testing qemu features
libguestfs: [00225ms] finished testing qemu features
libguestfs: accept_from_daemon: 0x995fcc0 g->state = 1
[00228ms] /usr/bin/qemu-kvm \
-drive file=archlinux.qcow2.20111026,snapshot=on,if=virtio \
-nodefconfig \
-machine accel=kvm:tcg \
-nodefaults \
-nographic \
-m 500 \
-no-reboot \
-no-hpet \
-device virtio-serial \
-serial stdio \
-chardev socket,path=/tmp/libguestfsj5tGtJ/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-kernel /var/tmp/.guestfs-0/kernel.8096 \
-initrd /var/tmp/.guestfs-0/initrd.8096 \
-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.8096,snapshot=on,if=virtio,cache=unsafefebootstrap:
mounting /proc
febootstrap: uptime: 0.90 0.23
febootstrap: ext2 mini initrd starting up: 3.12 zlib
febootstrap: mounting /sys
febootstrap: internal insmod libcrc32c.ko.gz
insmod: init_module: libcrc32c.ko.gz: Unknown symbol in module
febootstrap: internal insmod crc-ccitt.ko.gz
febootstrap: internal insmod crc-itu-t.ko.gz
febootstrap: internal insmod crc8.ko.gz
febootstrap: internal insmod crc16.ko.gz
febootstrap: internal insmod crc-t10dif.ko.gz
febootstrap: internal insmod crc7.ko.gz
febootstrap: internal insmod crc32c-intel.ko.gz
insmod: init_module: crc32c-intel.ko.gz: No such device
febootstrap: internal insmod crc32c.ko.gz
febootstrap: internal insmod mbcache.ko.gz
febootstrap: internal insmod cdrom.ko.gz
febootstrap: internal insmod scsi_mod.ko.gz
febootstrap: internal insmod sr_mod.ko.gz
febootstrap: internal insmod libata.ko.gz
febootstrap: internal insmod ata_piix.ko.gz
febootstrap: internal insmod scsi_transport_spi.ko.gz
febootstrap: internal insmod sym53c8xx.ko.gz
febootstrap: internal insmod sd_mod.ko.gz
febootstrap: internal insmod rfkill.ko.gz
febootstrap: internal insmod sparse-keymap.ko.gz
febootstrap: internal insmod ideapad-laptop.ko.gz
insmod: init_module: ideapad-laptop.ko.gz: No such device
febootstrap: internal insmod virtio_blk.ko.gz
febootstrap: internal insmod virtio_balloon.ko.gz
febootstrap: internal insmod virtio_pci.ko.gz
d[ 240.447039] INFO: task init:1 blocked for more than 120 seconds.
[ 240.450298] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 360.453698] INFO: task init:1 blocked for more than 120 seconds.
[ 360.456970] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 480.460330] INFO: task init:1 blocked for more than 120 seconds.
[ 480.463581] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 600.466783] INFO: task init:1 blocked for more than 120 seconds.
[ 600.469937] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 720.473436] INFO: task init:1 blocked for more than 120 seconds.
[ 720.476569] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 840.480130] INFO: task init:1 blocked for more than 120 seconds.
[ 840.483326] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 960.486803] INFO: task init:1 blocked for more than 120 seconds.
[ 960.490049] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 1080.493462] INFO: task init:1 blocked for more than 120 seconds.
[ 1080.496654] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 1200.500173] INFO: task init:1 blocked for more than 120 seconds.
[ 1200.503425] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 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.
^C
real 47m41.479s
user 0m0.130s
sys 0m0.133s