> > Sure, I'm using the attached test script. I used your script to test, but I don't see errors as you posted, attached the output. The only difference is that I put libguestfs in different directory with you and I'm using a linux guest image instead of windows xp. Do I need to get a windows image to reproduce?
-- Fam
libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: trace: set_tmpdir "/home/fam/3rd/libguestfs/tmp" libguestfs: trace: set_tmpdir = 0 libguestfs: trace: set_cachedir "/home/fam/3rd/libguestfs/tmp" libguestfs: trace: set_cachedir = 0 libguestfs: trace: set_path "/home/fam/3rd/libguestfs/appliance" libguestfs: trace: set_path = 0 libguestfs: trace: set_qemu "/home/fam/bin/qemu.wrapper" libguestfs: trace: set_qemu = 0 libguestfs: trace: set_backend "direct" libguestfs: trace: set_backend = 0 libguestfs: create: flags = 0, handle = 0x1154ca0, program = guestfish libguestfs: trace: add_drive "/vm/arch.raw" "readonly:true" "format:raw" "protocol:http" "server:tcp:localhost" libguestfs: trace: add_drive = 0 libguestfs: trace: is_config libguestfs: trace: is_config = 1 libguestfs: trace: launch libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/home/fam/3rd/libguestfs/tmp" libguestfs: launch: backend=direct libguestfs: launch: tmpdir=/home/fam/3rd/libguestfs/tmp/libguestfsryyxc3 libguestfs: launch: umask=0022 libguestfs: launch: euid=1000 libguestfs: command: run: supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -f checksum libguestfs: command: run: \ /home/fam/3rd/libguestfs/appliance/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /home/fam/3rd/libguestfs/appliance/supermin.d checking modpath /lib/modules/3.9.2-1-ARCH is a directory picked vmlinuz-linux because modpath /lib/modules/3.9.2-1-ARCH exists supermin helper [00000ms] finished creating kernel supermin helper [00000ms] visiting /home/fam/3rd/libguestfs/appliance/supermin.d supermin helper [00000ms] visiting /home/fam/3rd/libguestfs/appliance/supermin.d/base.img supermin helper [00000ms] visiting /home/fam/3rd/libguestfs/appliance/supermin.d/daemon.img supermin helper [00000ms] visiting /home/fam/3rd/libguestfs/appliance/supermin.d/hostfiles supermin helper [00060ms] visiting /home/fam/3rd/libguestfs/appliance/supermin.d/init.img supermin helper [00060ms] visiting /home/fam/3rd/libguestfs/appliance/supermin.d/udev-rules.img supermin helper [00060ms] adding kernel modules supermin helper [00105ms] finished creating appliance libguestfs: checksum of existing appliance: 7b304f39af320c53e919d598226561b4cfd1b96cc5dedb04a5eecd72191c246c libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/home/fam/3rd/libguestfs/tmp" libguestfs: [00107ms] begin testing qemu features libguestfs: command: run: /home/fam/bin/qemu.wrapper libguestfs: command: run: \ -nographic libguestfs: command: run: \ -help /home/fam/qemu/x86_64-softmmu/qemu-system-x86_64: /home/fam/3rd/curl/lib/.libs/libcurl.so.4: no version information available (required by /home/fam/qemu/x86_64-softmmu/qemu-system-x86_64) libguestfs: command: run: /home/fam/bin/qemu.wrapper libguestfs: command: run: \ -nographic libguestfs: command: run: \ -version /home/fam/qemu/x86_64-softmmu/qemu-system-x86_64: /home/fam/3rd/curl/lib/.libs/libcurl.so.4: no version information available (required by /home/fam/qemu/x86_64-softmmu/qemu-system-x86_64) libguestfs: qemu version 1.4 libguestfs: command: run: /home/fam/bin/qemu.wrapper libguestfs: command: run: \ -nographic libguestfs: command: run: \ -machine accel=kvm:tcg libguestfs: command: run: \ -device ? libguestfs: [00147ms] finished testing qemu features [00147ms] /home/fam/bin/qemu.wrapper \ -global virtio-blk-pci.scsi=off \ -nodefconfig \ -nodefaults \ -nographic \ -device virtio-scsi-pci,id=scsi \ -drive file=http://localhost/vm/arch.raw,snapshot=on,format=raw,id=hd0,if=none \ -device scsi-hd,drive=hd0 \ -drive file=/home/fam/3rd/libguestfs/tmp/.guestfs-1000/root.10296,snapshot=on,id=appliance,if=none,cache=unsafe \ -device scsi-hd,drive=appliance \ -machine accel=kvm:tcg \ -m 500 \ -no-reboot \ -no-hpet \ -device virtio-serial \ -serial stdio \ -device sga \ -chardev socket,path=/home/fam/3rd/libguestfs/tmp/libguestfsryyxc3/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /home/fam/3rd/libguestfs/tmp/.guestfs-1000/kernel.10296 \ -initrd /home/fam/3rd/libguestfs/tmp/.guestfs-1000/initrd.10296 \ -append '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=xterm-256color'/home/fam/qemu/x86_64-softmmu/qemu-system-x86_64: /home/fam/3rd/curl/lib/.libs/libcurl.so.4: no version information available (required by /home/fam/qemu/x86_64-softmmu/qemu-system-x86_64) failed to initialize KVM: Device or resource busy Back to tcg accelerator. \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 11/03/11 SGABIOS $Id$ (pbonz...@yakj.usersys.redhat.com) Thu Nov 3 13:33:51 UTC 2011 Term: 80x24 4 0 \x1b[2J SeaBIOS (version rel-1.7.2.1-0-g88cb66e-20130228_091731-rincewind.home.kraxel.org) Booting from ROM... Probing EDD (edd=off to disable)... ok \x1b[2J[ 0.651774] Failed to access perfctr msr (MSR c0010004 is 0) supermin: mounting /proc supermin: uptime: 1.71 0.53 supermin: ext2 mini initrd starting up: 4.1.1 zlib supermin: 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=xterm-256color supermin: mounting /sys supermin: internal insmod libcrc32c.ko.gz insmod: init_module: libcrc32c.ko.gz: Unknown symbol in module supermin: internal insmod crc32c-intel.ko.gz insmod: init_module: crc32c-intel.ko.gz: No such device supermin: internal insmod crc32-pclmul.ko.gz insmod: init_module: crc32-pclmul.ko.gz: No such device supermin: internal insmod crc16.ko.gz supermin: internal insmod crc-itu-t.ko.gz supermin: internal insmod crc32c.ko.gz supermin: internal insmod crc32.ko.gz supermin: internal insmod crc-ccitt.ko.gz supermin: internal insmod crc-t10dif.ko.gz supermin: internal insmod crc7.ko.gz supermin: internal insmod crc8.ko.gz supermin: internal insmod mbcache.ko.gz supermin: internal insmod scsi_mod.ko.gz supermin: internal insmod cdrom.ko.gz supermin: internal insmod sr_mod.ko.gz supermin: internal insmod libata.ko.gz supermin: internal insmod ata_piix.ko.gz supermin: internal insmod scsi_transport_spi.ko.gz supermin: internal insmod sym53c8xx.ko.gz supermin: internal insmod sd_mod.ko.gz supermin: internal insmod rfkill.ko.gz supermin: internal insmod sparse-keymap.ko.gz supermin: internal insmod ideapad-laptop.ko.gz insmod: init_module: ideapad-laptop.ko.gz: No such device supermin: internal insmod virtio.ko.gz supermin: internal insmod virtio_ring.ko.gz supermin: internal insmod virtio-rng.ko.gz supermin: internal insmod virtio_console.ko.gz supermin: internal insmod virtio_blk.ko.gz supermin: internal insmod virtio_net.ko.gz supermin: internal insmod virtio_mmio.ko.gz supermin: internal insmod virtio_pci.ko.gz supermin: internal insmod virtio_balloon.ko.gz supermin: internal insmod virtio_scsi.ko.gz supermin: internal insmod jbd2.ko.gz supermin: internal insmod ext4.ko.gz supermin: picked /sys/block/sdb/dev as root device supermin: creating /dev/root as block special 8:16 supermin: mounting new root on /root supermin: chroot Starting /init script ... Cannot find device "eth0" Cannot find device "eth0" RTNETLINK answers: Network is unreachable /init: line 99: mdadm: command not found WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning. Reading all physical volumes. This may take a while... No volume groups found WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning. No volume groups found /init: line 109: ldmtool: command not found /init: line 112: /sys/block/vd*/queue/rotational: No such file or directory /dev: total 0 crw------- 1 root root 10, 235 May 28 07:22 autofs drwxr-xr-x 2 root root 120 May 28 07:22 block drwxr-xr-x 2 root root 80 May 28 07:22 bsg crw------- 1 root root 10, 234 May 28 07:22 btrfs-control drwxr-xr-x 2 root root 2100 May 28 07:22 char crw------- 1 root root 5, 1 May 28 07:22 console lrwxrwxrwx 1 root root 11 May 28 07:22 core -> /proc/kcore drwxr-xr-x 2 root root 60 May 28 07:22 cpu crw------- 1 root root 10, 62 May 28 07:22 cpu_dma_latency drwxr-xr-x 6 root root 120 May 28 07:22 disk lrwxrwxrwx 1 root root 13 May 28 07:22 fd -> /proc/self/fd crw-rw-rw- 1 root root 1, 7 May 28 07:22 full crw-rw-rw- 1 root root 10, 229 May 28 07:22 fuse drwxr-xr-x 3 root root 160 May 28 07:22 input crw-r--r-- 1 root root 1, 11 May 28 07:22 kmsg crw------- 1 root root 10, 232 May 28 07:22 kvm crw------- 1 root root 10, 237 May 28 07:22 loop-control drwxr-xr-x 2 root root 60 May 28 07:22 mapper crw------- 1 root root 10, 227 May 28 07:22 mcelog crw------- 1 root root 1, 1 May 28 07:22 mem drwxr-xr-x 2 root root 60 May 28 07:22 net crw------- 1 root root 10, 61 May 28 07:22 network_latency crw------- 1 root root 10, 60 May 28 07:22 network_throughput crw-rw-rw- 1 root root 1, 3 May 28 07:22 null crw------- 1 root root 1, 4 May 28 07:22 port crw------- 1 root root 108, 0 May 28 07:22 ppp crw------- 1 root root 10, 1 May 28 07:22 psaux crw-rw-rw- 1 root root 5, 2 May 28 07:22 ptmx crw-rw-rw- 1 root root 1, 8 May 28 07:22 random crw------- 1 root root 10, 59 May 28 07:22 rfkill lrwxrwxrwx 1 root root 4 May 28 07:22 rtc -> rtc0 crw------- 1 root root 254, 0 May 28 07:22 rtc0 brw------- 1 root root 8, 0 May 28 07:22 sda brw------- 1 root root 8, 1 May 28 07:22 sda1 brw------- 1 root root 8, 2 May 28 07:22 sda2 brw------- 1 root root 8, 16 May 28 07:22 sdb crw------- 1 root root 10, 231 May 28 07:22 snapshot drwxr-xr-x 2 root root 80 May 28 07:22 snd lrwxrwxrwx 1 root root 15 May 28 07:22 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root root 15 May 28 07:22 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root root 15 May 28 07:22 stdout -> /proc/self/fd/1 crw-rw-rw- 1 root root 5, 0 May 28 07:22 tty crw------- 1 root root 4, 0 May 28 07:22 tty0 crw------- 1 root root 4, 1 May 28 07:22 tty1 crw------- 1 root root 4, 10 May 28 07:22 tty10 crw------- 1 root root 4, 11 May 28 07:22 tty11 crw------- 1 root root 4, 12 May 28 07:22 tty12 crw------- 1 root root 4, 13 May 28 07:22 tty13 crw------- 1 root root 4, 14 May 28 07:22 tty14 crw------- 1 root root 4, 15 May 28 07:22 tty15 crw------- 1 root root 4, 16 May 28 07:22 tty16 crw------- 1 root root 4, 17 May 28 07:22 tty17 crw------- 1 root root 4, 18 May 28 07:22 tty18 crw------- 1 root root 4, 19 May 28 07:22 tty19 crw------- 1 root root 4, 2 May 28 07:22 tty2 crw------- 1 root root 4, 20 May 28 07:22 tty20 crw------- 1 root root 4, 21 May 28 07:22 tty21 crw------- 1 root root 4, 22 May 28 07:22 tty22 crw------- 1 root root 4, 23 May 28 07:22 tty23 crw------- 1 root root 4, 24 May 28 07:22 tty24 crw------- 1 root root 4, 25 May 28 07:22 tty25 crw------- 1 root root 4, 26 May 28 07:22 tty26 crw------- 1 root root 4, 27 May 28 07:22 tty27 crw------- 1 root root 4, 28 May 28 07:22 tty28 crw------- 1 root root 4, 29 May 28 07:22 tty29 crw------- 1 root root 4, 3 May 28 07:22 tty3 crw------- 1 root root 4, 30 May 28 07:22 tty30 crw------- 1 root root 4, 31 May 28 07:22 tty31 crw------- 1 root root 4, 32 May 28 07:22 tty32 crw------- 1 root root 4, 33 May 28 07:22 tty33 crw------- 1 root root 4, 34 May 28 07:22 tty34 crw------- 1 root root 4, 35 May 28 07:22 tty35 crw------- 1 root root 4, 36 May 28 07:22 tty36 crw------- 1 root root 4, 37 May 28 07:22 tty37 crw------- 1 root root 4, 38 May 28 07:22 tty38 crw------- 1 root root 4, 39 May 28 07:22 tty39 crw------- 1 root root 4, 4 May 28 07:22 tty4 crw------- 1 root root 4, 40 May 28 07:22 tty40 crw------- 1 root root 4, 41 May 28 07:22 tty41 crw------- 1 root root 4, 42 May 28 07:22 tty42 crw------- 1 root root 4, 43 May 28 07:22 tty43 crw------- 1 root root 4, 44 May 28 07:22 tty44 crw------- 1 root root 4, 45 May 28 07:22 tty45 crw------- 1 root root 4, 46 May 28 07:22 tty46 crw------- 1 root root 4, 47 May 28 07:22 tty47 crw------- 1 root root 4, 48 May 28 07:22 tty48 crw------- 1 root root 4, 49 May 28 07:22 tty49 crw------- 1 root root 4, 5 May 28 07:22 tty5 crw------- 1 root root 4, 50 May 28 07:22 tty50 crw------- 1 root root 4, 51 May 28 07:22 tty51 crw------- 1 root root 4, 52 May 28 07:22 tty52 crw------- 1 root root 4, 53 May 28 07:22 tty53 crw------- 1 root root 4, 54 May 28 07:22 tty54 crw------- 1 root root 4, 55 May 28 07:22 tty55 crw------- 1 root root 4, 56 May 28 07:22 tty56 crw------- 1 root root 4, 57 May 28 07:22 tty57 crw------- 1 root root 4, 58 May 28 07:22 tty58 crw------- 1 root root 4, 59 May 28 07:22 tty59 crw------- 1 root root 4, 6 May 28 07:22 tty6 crw------- 1 root root 4, 60 May 28 07:22 tty60 crw------- 1 root root 4, 61 May 28 07:22 tty61 crw------- 1 root root 4, 62 May 28 07:22 tty62 crw------- 1 root root 4, 63 May 28 07:22 tty63 crw------- 1 root root 4, 7 May 28 07:22 tty7 crw------- 1 root root 4, 8 May 28 07:22 tty8 crw------- 1 root root 4, 9 May 28 07:22 tty9 crw------- 1 root root 4, 64 May 28 07:22 ttyS0 crw------- 1 root root 4, 65 May 28 07:22 ttyS1 crw------- 1 root root 4, 66 May 28 07:22 ttyS2 crw------- 1 root root 4, 67 May 28 07:22 ttyS3 crw------- 1 root root 10, 223 May 28 07:22 uinput crw-rw-rw- 1 root root 1, 9 May 28 07:22 urandom crw------- 1 root root 7, 0 May 28 07:22 vcs crw------- 1 root root 7, 1 May 28 07:22 vcs1 crw------- 1 root root 7, 128 May 28 07:22 vcsa crw------- 1 root root 7, 129 May 28 07:22 vcsa1 crw------- 1 root root 10, 63 May 28 07:22 vga_arbiter crw------- 1 root root 10, 238 May 28 07:22 vhost-net drwxr-xr-x 2 root root 60 May 28 07:22 virtio-ports crw------- 1 root root 251, 1 May 28 07:22 vport1p1 crw-rw-rw- 1 root root 1, 5 May 28 07:22 zero /dev/block: total 0 lrwxrwxrwx 1 root root 6 May 28 07:22 8:0 -> ../sda lrwxrwxrwx 1 root root 7 May 28 07:22 8:1 -> ../sda1 lrwxrwxrwx 1 root root 6 May 28 07:22 8:16 -> ../sdb lrwxrwxrwx 1 root root 7 May 28 07:22 8:2 -> ../sda2 /dev/bsg: total 0 crw------- 1 root root 252, 0 May 28 07:22 2:0:0:0 crw------- 1 root root 252, 1 May 28 07:22 2:0:1:0 /dev/char: total 0 lrwxrwxrwx 1 root root 8 May 28 07:22 10:1 -> ../psaux lrwxrwxrwx 1 root root 9 May 28 07:22 10:227 -> ../mcelog lrwxrwxrwx 1 root root 11 May 28 07:22 10:231 -> ../snapshot lrwxrwxrwx 1 root root 6 May 28 07:22 10:232 -> ../kvm lrwxrwxrwx 1 root root 9 May 28 07:22 10:235 -> ../autofs lrwxrwxrwx 1 root root 17 May 28 07:22 10:236 -> ../mapper/control lrwxrwxrwx 1 root root 9 May 28 07:22 10:59 -> ../rfkill lrwxrwxrwx 1 root root 21 May 28 07:22 10:60 -> ../network_throughput lrwxrwxrwx 1 root root 18 May 28 07:22 10:61 -> ../network_latency lrwxrwxrwx 1 root root 18 May 28 07:22 10:62 -> ../cpu_dma_latency lrwxrwxrwx 1 root root 14 May 28 07:22 10:63 -> ../vga_arbiter lrwxrwxrwx 1 root root 15 May 28 07:22 13:32 -> ../input/mouse0 lrwxrwxrwx 1 root root 13 May 28 07:22 13:63 -> ../input/mice lrwxrwxrwx 1 root root 15 May 28 07:22 13:64 -> ../input/event0 lrwxrwxrwx 1 root root 15 May 28 07:22 13:65 -> ../input/event1 lrwxrwxrwx 1 root root 15 May 28 07:22 13:66 -> ../input/event2 lrwxrwxrwx 1 root root 6 May 28 07:22 1:1 -> ../mem lrwxrwxrwx 1 root root 7 May 28 07:22 1:11 -> ../kmsg lrwxrwxrwx 1 root root 7 May 28 07:22 1:3 -> ../null lrwxrwxrwx 1 root root 7 May 28 07:22 1:4 -> ../port lrwxrwxrwx 1 root root 7 May 28 07:22 1:5 -> ../zero lrwxrwxrwx 1 root root 7 May 28 07:22 1:7 -> ../full lrwxrwxrwx 1 root root 9 May 28 07:22 1:8 -> ../random lrwxrwxrwx 1 root root 10 May 28 07:22 1:9 -> ../urandom lrwxrwxrwx 1 root root 11 May 28 07:22 251:1 -> ../vport1p1 lrwxrwxrwx 1 root root 14 May 28 07:22 252:0 -> ../bsg/2:0:0:0 lrwxrwxrwx 1 root root 14 May 28 07:22 252:1 -> ../bsg/2:0:1:0 lrwxrwxrwx 1 root root 7 May 28 07:22 254:0 -> ../rtc0 lrwxrwxrwx 1 root root 7 May 28 07:22 4:0 -> ../tty0 lrwxrwxrwx 1 root root 7 May 28 07:22 4:1 -> ../tty1 lrwxrwxrwx 1 root root 8 May 28 07:22 4:10 -> ../tty10 lrwxrwxrwx 1 root root 8 May 28 07:22 4:11 -> ../tty11 lrwxrwxrwx 1 root root 8 May 28 07:22 4:12 -> ../tty12 lrwxrwxrwx 1 root root 8 May 28 07:22 4:13 -> ../tty13 lrwxrwxrwx 1 root root 8 May 28 07:22 4:14 -> ../tty14 lrwxrwxrwx 1 root root 8 May 28 07:22 4:15 -> ../tty15 lrwxrwxrwx 1 root root 8 May 28 07:22 4:16 -> ../tty16 lrwxrwxrwx 1 root root 8 May 28 07:22 4:17 -> ../tty17 lrwxrwxrwx 1 root root 8 May 28 07:22 4:18 -> ../tty18 lrwxrwxrwx 1 root root 8 May 28 07:22 4:19 -> ../tty19 lrwxrwxrwx 1 root root 7 May 28 07:22 4:2 -> ../tty2 lrwxrwxrwx 1 root root 8 May 28 07:22 4:20 -> ../tty20 lrwxrwxrwx 1 root root 8 May 28 07:22 4:21 -> ../tty21 lrwxrwxrwx 1 root root 8 May 28 07:22 4:22 -> ../tty22 lrwxrwxrwx 1 root root 8 May 28 07:22 4:23 -> ../tty23 lrwxrwxrwx 1 root root 8 May 28 07:22 4:24 -> ../tty24 lrwxrwxrwx 1 root root 8 May 28 07:22 4:25 -> ../tty25 lrwxrwxrwx 1 root root 8 May 28 07:22 4:26 -> ../tty26 lrwxrwxrwx 1 root root 8 May 28 07:22 4:27 -> ../tty27 lrwxrwxrwx 1 root root 8 May 28 07:22 4:28 -> ../tty28 lrwxrwxrwx 1 root root 8 May 28 07:22 4:29 -> ../tty29 lrwxrwxrwx 1 root root 7 May 28 07:22 4:3 -> ../tty3 lrwxrwxrwx 1 root root 8 May 28 07:22 4:30 -> ../tty30 lrwxrwxrwx 1 root root 8 May 28 07:22 4:31 -> ../tty31 lrwxrwxrwx 1 root root 8 May 28 07:22 4:32 -> ../tty32 lrwxrwxrwx 1 root root 8 May 28 07:22 4:33 -> ../tty33 lrwxrwxrwx 1 root root 8 May 28 07:22 4:34 -> ../tty34 lrwxrwxrwx 1 root root 8 May 28 07:22 4:35 -> ../tty35 lrwxrwxrwx 1 root root 8 May 28 07:22 4:36 -> ../tty36 lrwxrwxrwx 1 root root 8 May 28 07:22 4:37 -> ../tty37 lrwxrwxrwx 1 root root 8 May 28 07:22 4:38 -> ../tty38 lrwxrwxrwx 1 root root 8 May 28 07:22 4:39 -> ../tty39 lrwxrwxrwx 1 root root 7 May 28 07:22 4:4 -> ../tty4 lrwxrwxrwx 1 root root 8 May 28 07:22 4:40 -> ../tty40 lrwxrwxrwx 1 root root 8 May 28 07:22 4:41 -> ../tty41 lrwxrwxrwx 1 root root 8 May 28 07:22 4:42 -> ../tty42 lrwxrwxrwx 1 root root 8 May 28 07:22 4:43 -> ../tty43 lrwxrwxrwx 1 root root 8 May 28 07:22 4:44 -> ../tty44 lrwxrwxrwx 1 root root 8 May 28 07:22 4:45 -> ../tty45 lrwxrwxrwx 1 root root 8 May 28 07:22 4:46 -> ../tty46 lrwxrwxrwx 1 root root 8 May 28 07:22 4:47 -> ../tty47 lrwxrwxrwx 1 root root 8 May 28 07:22 4:48 -> ../tty48 lrwxrwxrwx 1 root root 8 May 28 07:22 4:49 -> ../tty49 lrwxrwxrwx 1 root root 7 May 28 07:22 4:5 -> ../tty5 lrwxrwxrwx 1 root root 8 May 28 07:22 4:50 -> ../tty50 lrwxrwxrwx 1 root root 8 May 28 07:22 4:51 -> ../tty51 lrwxrwxrwx 1 root root 8 May 28 07:22 4:52 -> ../tty52 lrwxrwxrwx 1 root root 8 May 28 07:22 4:53 -> ../tty53 lrwxrwxrwx 1 root root 8 May 28 07:22 4:54 -> ../tty54 lrwxrwxrwx 1 root root 8 May 28 07:22 4:55 -> ../tty55 lrwxrwxrwx 1 root root 8 May 28 07:22 4:56 -> ../tty56 lrwxrwxrwx 1 root root 8 May 28 07:22 4:57 -> ../tty57 lrwxrwxrwx 1 root root 8 May 28 07:22 4:58 -> ../tty58 lrwxrwxrwx 1 root root 8 May 28 07:22 4:59 -> ../tty59 lrwxrwxrwx 1 root root 7 May 28 07:22 4:6 -> ../tty6 lrwxrwxrwx 1 root root 8 May 28 07:22 4:60 -> ../tty60 lrwxrwxrwx 1 root root 8 May 28 07:22 4:61 -> ../tty61 lrwxrwxrwx 1 root root 8 May 28 07:22 4:62 -> ../tty62 lrwxrwxrwx 1 root root 8 May 28 07:22 4:63 -> ../tty63 lrwxrwxrwx 1 root root 8 May 28 07:22 4:64 -> ../ttyS0 lrwxrwxrwx 1 root root 8 May 28 07:22 4:65 -> ../ttyS1 lrwxrwxrwx 1 root root 8 May 28 07:22 4:66 -> ../ttyS2 lrwxrwxrwx 1 root root 8 May 28 07:22 4:67 -> ../ttyS3 lrwxrwxrwx 1 root root 7 May 28 07:22 4:7 -> ../tty7 lrwxrwxrwx 1 root root 7 May 28 07:22 4:8 -> ../tty8 lrwxrwxrwx 1 root root 7 May 28 07:22 4:9 -> ../tty9 lrwxrwxrwx 1 root root 6 May 28 07:22 5:0 -> ../tty lrwxrwxrwx 1 root root 10 May 28 07:22 5:1 -> ../console lrwxrwxrwx 1 root root 7 May 28 07:22 5:2 -> ../ptmx lrwxrwxrwx 1 root root 6 May 28 07:22 7:0 -> ../vcs lrwxrwxrwx 1 root root 7 May 28 07:22 7:1 -> ../vcs1 lrwxrwxrwx 1 root root 7 May 28 07:22 7:128 -> ../vcsa lrwxrwxrwx 1 root root 8 May 28 07:22 7:129 -> ../vcsa1 /dev/cpu: total 0 crw------- 1 root root 10, 184 May 28 07:22 microcode /dev/disk: total 0 drwxr-xr-x 2 root root 120 May 28 07:22 by-id drwxr-xr-x 2 root root 60 May 28 07:22 by-label drwxr-xr-x 2 root root 120 May 28 07:22 by-path drwxr-xr-x 2 root root 100 May 28 07:22 by-uuid /dev/disk/by-id: total 0 lrwxrwxrwx 1 root root 9 May 28 07:22 scsi-0QEMU_QEMU_HARDDISK_appliance -> ../../sdb lrwxrwxrwx 1 root root 9 May 28 07:22 scsi-0QEMU_QEMU_HARDDISK_hd0 -> ../../sda lrwxrwxrwx 1 root root 10 May 28 07:22 scsi-0QEMU_QEMU_HARDDISK_hd0-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 28 07:22 scsi-0QEMU_QEMU_HARDDISK_hd0-part2 -> ../../sda2 /dev/disk/by-label: total 0 lrwxrwxrwx 1 root root 10 May 28 07:22 ARCH -> ../../sda2 /dev/disk/by-path: total 0 lrwxrwxrwx 1 root root 9 May 28 07:22 pci-0000:00:02.0-virtio-pci-virtio0-scsi-0:0:0:0 -> ../../sda lrwxrwxrwx 1 root root 10 May 28 07:22 pci-0000:00:02.0-virtio-pci-virtio0-scsi-0:0:0:0-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 28 07:22 pci-0000:00:02.0-virtio-pci-virtio0-scsi-0:0:0:0-part2 -> ../../sda2 lrwxrwxrwx 1 root root 9 May 28 07:22 pci-0000:00:02.0-virtio-pci-virtio0-scsi-0:0:1:0 -> ../../sdb /dev/disk/by-uuid: total 0 lrwxrwxrwx 1 root root 10 May 28 07:22 1119b020-92cf-4d80-acdc-c1b0183b9762 -> ../../sda2 lrwxrwxrwx 1 root root 9 May 28 07:22 7efd61b3-c836-4023-bdc7-ac883031201b -> ../../sdb lrwxrwxrwx 1 root root 10 May 28 07:22 95dfda42-7e7b-453e-afa5-d40c07d91867 -> ../../sda1 /dev/input: total 0 drwxr-xr-x 2 root root 120 May 28 07:22 by-path crw-r----- 1 root root 13, 64 May 28 07:22 event0 crw-r----- 1 root root 13, 65 May 28 07:22 event1 crw-r----- 1 root root 13, 66 May 28 07:22 event2 crw------- 1 root root 13, 63 May 28 07:22 mice crw-r----- 1 root root 13, 32 May 28 07:22 mouse0 /dev/input/by-path: total 0 lrwxrwxrwx 1 root root 9 May 28 07:22 platform-i8042-serio-0-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 May 28 07:22 platform-i8042-serio-1-event-mouse -> ../event2 lrwxrwxrwx 1 root root 9 May 28 07:22 platform-i8042-serio-1-mouse -> ../mouse0 lrwxrwxrwx 1 root root 9 May 28 07:22 platform-pcspkr-event-spkr -> ../event1 /dev/mapper: total 0 crw------- 1 root root 10, 236 May 28 07:22 control /dev/net: total 0 crw-rw-rw- 1 root root 10, 200 May 28 07:22 tun /dev/snd: total 0 crw-rw---- 1 root audio 116, 1 May 28 07:22 seq crw-rw---- 1 root audio 116, 33 May 28 07:22 timer /dev/virtio-ports: total 0 lrwxrwxrwx 1 root root 11 May 28 07:22 org.libguestfs.channel.0 -> ../vport1p1 rootfs / rootfs rw 0 0 proc /proc proc rw,relatime 0 0 /dev/root / ext2 rw,noatime 0 0 /proc /proc proc rw,relatime 0 0 /sys /sys sysfs rw,relatime 0 0 tmpfs /run tmpfs rw,nosuid,relatime,size=98836k,mode=755 0 0 /dev /dev devtmpfs rw,relatime,size=244984k,nr_inodes=61246,mode=755 0 0 WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning. WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning. No volume groups found WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning. No volume groups found 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever Module Size Used by dm_mod 72559 0 kvm_amd 52122 0 kvm 389784 1 kvm_amd psmouse 84588 0 evdev 9912 0 serio_raw 5041 0 pcspkr 2027 0 i2c_piix4 10311 0 intel_agp 10936 0 i2c_core 22479 1 i2c_piix4 intel_gtt 12664 1 intel_agp ext4 486052 1 jbd2 85240 1 ext4 virtio_scsi 8629 1 virtio_balloon 5405 0 virtio_pci 7269 0 virtio_mmio 6401 0 virtio_net 18917 0 virtio_blk 9914 0 virtio_console 18576 0 virtio_rng 2322 0 virtio_ring 5386 8 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_console,virtio_mmio,virtio_scsi virtio 3858 8 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_console,virtio_mmio,virtio_scsi sparse_keymap 3114 0 rfkill 15626 0 sd_mod 30826 1 sym53c8xx 71063 0 scsi_transport_spi 20386 1 sym53c8xx ata_piix 24760 0 libata 170065 1 ata_piix sr_mod 14930 0 cdrom 35104 1 sr_mod scsi_mod 129660 6 scsi_transport_spi,libata,sym53c8xx,sd_mod,sr_mod,virtio_scsi mbcache 5930 1 ext4 crc8 1154 0 crc7 1102 0 crc_t10dif 1332 0 crc_ccitt 1363 0 crc32 1728 0 crc32c 1736 0 crc_itu_t 1363 0 crc16 1359 1 ext4 Tue May 28 07:22:29 UTC 2013 uptime: 12.59 1.49 verbose daemon enabled linux commmand line: 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=xterm-256color udevadm settle libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG libguestfs: [15697ms] appliance is up libguestfs: trace: launch = 0 libguestfs: trace: list_partitions guestfsd: main_loop: new request, len 0x28 libguestfs: trace: list_partitions = ["/dev/sda1", "/dev/sda2"] libguestfs: trace: vfs_type "/dev/sda1" guestfsd: main_loop: proc 8 (list_partitions) took 0.02 seconds guestfsd: main_loop: new request, len 0x38 blkid -c /dev/null -o value -s TYPE /dev/sda1 libguestfs: trace: vfs_type = "swap" libguestfs: trace: vfs_type "/dev/sda2" guestfsd: main_loop: proc 198 (vfs_type) took 0.20 seconds guestfsd: main_loop: new request, len 0x38 blkid -c /dev/null -o value -s TYPE /dev/sda2 libguestfs: trace: vfs_type = "ext3" libguestfs: trace: inspect_os libguestfs: trace: umount_all guestfsd: main_loop: proc 198 (vfs_type) took 0.20 seconds guestfsd: main_loop: new request, len 0x28 libguestfs: trace: umount_all = 0 libguestfs: trace: list_filesystems libguestfs: trace: list_devices guestfsd: main_loop: proc 47 (umount_all) took 0.01 seconds guestfsd: main_loop: new request, len 0x28 libguestfs: trace: list_devices = ["/dev/sda"] libguestfs: trace: list_partitions guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds guestfsd: main_loop: new request, len 0x28 libguestfs: trace: list_partitions = ["/dev/sda1", "/dev/sda2"] libguestfs: trace: list_md_devices guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds guestfsd: main_loop: new request, len 0x28 libguestfs: trace: list_md_devices = [] libguestfs: trace: part_to_dev "/dev/sda1" guestfsd: main_loop: proc 300 (list_md_devices) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: part_to_dev = "/dev/sda" libguestfs: trace: part_to_dev "/dev/sda2" guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: part_to_dev = "/dev/sda" libguestfs: trace: part_to_partnum "/dev/sda1" guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: part_to_partnum = 1 libguestfs: trace: part_to_dev "/dev/sda1" guestfsd: main_loop: proc 293 (part_to_partnum) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: part_to_dev = "/dev/sda" libguestfs: trace: part_get_mbr_id "/dev/sda" 1 guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 udevadm settle sfdisk --print-id /dev/sda 1 udevadm settle libguestfs: trace: part_get_mbr_id = 130 libguestfs: trace: vfs_type "/dev/sda1" guestfsd: main_loop: proc 235 (part_get_mbr_id) took 0.63 seconds guestfsd: main_loop: new request, len 0x38 blkid -c /dev/null -o value -s TYPE /dev/sda1 libguestfs: trace: vfs_type = "swap" libguestfs: trace: part_to_partnum "/dev/sda2" guestfsd: main_loop: proc 198 (vfs_type) took 0.21 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: part_to_partnum = 2 libguestfs: trace: part_to_dev "/dev/sda2" guestfsd: main_loop: proc 293 (part_to_partnum) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: part_to_dev = "/dev/sda" libguestfs: trace: part_get_mbr_id "/dev/sda" 2 guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 udevadm settle sfdisk --print-id /dev/sda 2 udevadm settle libguestfs: trace: part_get_mbr_id = 131 libguestfs: trace: vfs_type "/dev/sda2" guestfsd: main_loop: proc 235 (part_get_mbr_id) took 0.55 seconds guestfsd: main_loop: new request, len 0x38 blkid -c /dev/null -o value -s TYPE /dev/sda2 libguestfs: trace: vfs_type = "ext3" libguestfs: trace: feature_available "lvm2" guestfsd: main_loop: proc 198 (vfs_type) took 0.19 seconds guestfsd: main_loop: new request, len 0x34 libguestfs: trace: feature_available = 1 libguestfs: trace: lvs guestfsd: main_loop: proc 398 (feature_available) took 0.00 seconds guestfsd: main_loop: new request, len 0x28 lvm lvs -o vg_name,lv_name --noheadings --separator / WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning. No volume groups found libguestfs: trace: lvs = [] libguestfs: trace: feature_available "ldm" guestfsd: main_loop: proc 11 (lvs) took 0.27 seconds guestfsd: main_loop: new request, len 0x34 guestfsd: main_loop: proc 398 (feature_available) took 0.00 seconds libguestfs: trace: feature_available = 0 libguestfs: trace: list_filesystems = ["/dev/sda1", "swap", "/dev/sda2", "ext3"] libguestfs: trace: vfs_type "/dev/sda1" guestfsd: main_loop: new request, len 0x38 blkid -c /dev/null -o value -s TYPE /dev/sda1 libguestfs: trace: vfs_type = "swap" libguestfs: check_for_filesystem_on: /dev/sda1 (swap) libguestfs: trace: vfs_type "/dev/sda2" guestfsd: main_loop: proc 198 (vfs_type) took 0.22 seconds guestfsd: main_loop: new request, len 0x38 blkid -c /dev/null -o value -s TYPE /dev/sda2 libguestfs: trace: vfs_type = "ext3" libguestfs: check_for_filesystem_on: /dev/sda2 (ext3) libguestfs: trace: internal_parse_mountable "/dev/sda2" guestfsd: main_loop: proc 198 (vfs_type) took 0.19 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda2" guestfsd: main_loop: proc 396 (internal_parse_mountable) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda2" "/" guestfsd: main_loop: proc 395 (is_whole_device) took 0.00 seconds guestfsd: main_loop: new request, len 0x40 mount -o ro /dev/sda2 /sysroot/ libguestfs: trace: mount_ro = 0 libguestfs: trace: part_to_partnum "/dev/sda2" guestfsd: main_loop: proc 73 (mount_ro) took 0.26 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: part_to_partnum = 2 libguestfs: trace: is_dir "/etc" guestfsd: main_loop: proc 293 (part_to_partnum) took 0.00 seconds guestfsd: main_loop: new request, len 0x30 libguestfs: trace: is_dir = 1 libguestfs: trace: is_dir "/bin" guestfsd: main_loop: proc 38 (is_dir) took 0.02 seconds guestfsd: main_loop: new request, len 0x30 libguestfs: trace: is_dir = 1 libguestfs: trace: is_dir "/share" guestfsd: main_loop: proc 38 (is_dir) took 0.03 seconds guestfsd: main_loop: new request, len 0x34 libguestfs: trace: is_dir = 0 libguestfs: trace: is_file "/grub/menu.lst" guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds guestfsd: main_loop: new request, len 0x3c libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/grub/grub.conf" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x3c libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/grub2/grub.cfg" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x3c libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/etc/freebsd-update.conf" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x44 libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/etc/fstab" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: is_file = 1 libguestfs: trace: is_file "/etc/release" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/hurd/console" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x3c libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/etc/fstab" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: is_file = 1 libguestfs: trace: exists "/etc/lsb-release" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x3c libguestfs: trace: exists = 0 libguestfs: trace: exists "/etc/redhat-release" guestfsd: main_loop: proc 36 (exists) took 0.00 seconds guestfsd: main_loop: new request, len 0x40 libguestfs: trace: exists = 0 libguestfs: trace: exists "/etc/debian_version" guestfsd: main_loop: proc 36 (exists) took 0.00 seconds guestfsd: main_loop: new request, len 0x40 libguestfs: trace: exists = 0 libguestfs: trace: exists "/etc/pardus-release" guestfsd: main_loop: proc 36 (exists) took 0.00 seconds guestfsd: main_loop: new request, len 0x40 libguestfs: trace: exists = 0 libguestfs: trace: exists "/etc/arch-release" guestfsd: main_loop: proc 36 (exists) took 0.00 seconds guestfsd: main_loop: new request, len 0x40 libguestfs: trace: exists = 1 libguestfs: trace: is_file "/bin/bash" guestfsd: main_loop: proc 36 (exists) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/bin/ls" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x34 libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/bin/echo" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/bin/rm" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x34 libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/bin/sh" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x34 libguestfs: trace: is_file = 0 libguestfs: trace: exists "/etc/fstab" guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: exists = 1 libguestfs: trace: filesize "/etc/fstab" guestfsd: main_loop: proc 36 (exists) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 libguestfs: trace: filesize = 231 libguestfs: trace: exists "/etc/mdadm.conf" guestfsd: main_loop: proc 218 (filesize) took 0.00 seconds guestfsd: main_loop: new request, len 0x3c libguestfs: trace: exists = 1 libguestfs: trace: filesize "/etc/mdadm.conf" guestfsd: main_loop: proc 36 (exists) took 0.00 seconds guestfsd: main_loop: new request, len 0x3c libguestfs: trace: filesize = 2366 libguestfs: trace: aug_init "/" 48 guestfsd: main_loop: proc 218 (filesize) took 0.00 seconds guestfsd: main_loop: new request, len 0x34 guestfsd: error: feature 'augeas' is not available in this build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for how to check for the availability of features. libguestfs: trace: aug_init = -1 (error) libguestfs: error: aug_init: feature 'augeas' is not available in this build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for how to check for the availability of features. libguestfs: trace: umount_all guestfsd: main_loop: proc 16 (aug_init) took 0.00 seconds guestfsd: main_loop: new request, len 0x28 umount /sysroot libguestfs: trace: umount_all = 0 libguestfs: trace: inspect_os = NULL (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x1154ca0 (state 2) libguestfs: trace: internal_autosync guestfsd: main_loop: proc 47 (umount_all) took 0.18 seconds guestfsd: main_loop: new request, len 0x28 fsync /dev/sda libguestfs: trace: internal_autosync = 0 libguestfs: sending SIGTERM to process 10361 libguestfs: command: run: rm libguestfs: command: run: \ -rf /home/fam/3rd/libguestfs/tmp/libguestfsryyxc3
test.sh
Description: Bourne shell script