Evaggelos Balaskas
2011-Dec-06 16:44 UTC
[Libguestfs] guestmount - unable to get device geometry
Hi, i am trying to use libguestfs (libvirt/kvm etc) into archlinux. But it seems that i am keep getting this error warning: Unable to get device geometry for /var/tmp/guestfs.NwkQVJ/root In the attached file, i've written some debug info. If someone can give me some pointer, i would appreciate it Evaggelos Balaskas Unix System Engineer - http://ebalaskas.gr. -------------- next part -------------- febootstrap-3.12 libguestfs-1.14.5 augeas-0.10.0 + - - - - - - - - - - - - - - - - - - - $ qemu-img info archlinux.qcow2 image: archlinux.qcow2 file format: qcow2 virtual size: 5.0G (5368709120 bytes) disk size: 788M cluster_size: 65536 + - - - - - - - - - - - - - - - - - - - $ guestmount -a archlinux.qcow2 -i /mnt/ libguestfs: new guestfs handle 0xa00cdc0 libguestfs: trace: set_recovery_proc false libguestfs: trace: set_recovery_proc = 0 libguestfs: trace: add_drive_opts "archlinux.qcow2" libguestfs: trace: add_drive_opts = 0 libguestfs: trace: launch libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/local/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/local/lib/guestfs/supermin.d checking modpath /lib/modules/3.1.4-1-ARCH is a directory picked vmlinuz-linux because modpath /lib/modules/3.1.4-1-ARCH exists supermin helper [00000ms] finished creating kernel supermin helper [00000ms] visiting /usr/local/lib/guestfs/supermin.d supermin helper [00000ms] visiting /usr/local/lib/guestfs/supermin.d/base.img supermin helper [00002ms] visiting /usr/local/lib/guestfs/supermin.d/daemon.img supermin helper [00002ms] visiting /usr/local/lib/guestfs/supermin.d/hostfiles supermin helper [00096ms] visiting /usr/local/lib/guestfs/supermin.d/init.img supermin helper [00096ms] adding kernel modules supermin helper [00182ms] finished creating appliance libguestfs: [00189ms] begin testing qemu features libguestfs: [00223ms] finished testing qemu features libguestfs: accept_from_daemon: 0xa00cdc0 g->state = 1 [00225ms] /usr/bin/qemu-kvm \ -drive file=archlinux.qcow2,cache=off,if=virtio \ -nodefconfig \ -machine pc,accel=kvm:tcg \ -nodefaults \ -nographic \ -m 500 \ -no-reboot \ -no-hpet \ -device virtio-serial \ -serial stdio \ -chardev socket,path=/tmp/libguestfsPAHO89/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-374/kernel.31320 \ -initrd /var/tmp/.guestfs-374/initrd.31320 \ -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-374/root.31320,snapshot=on,if=virtio,cache=unsafeCould not open option rom 'sgabios.bin': No such file or directory febootstrap: mounting /proc febootstrap: uptime: 0.83 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 febootstrap: internal insmod virtio_net.ko.gz febootstrap: internal insmod virtio-rng.ko.gz febootstrap: internal insmod jbd2.ko.gz febootstrap: internal insmod ext4.ko.gz febootstrap: internal insmod ext2.ko.gz febootstrap: picked /sys/block/vdb/dev as root device febootstrap: creating /dev/root as block special 254:16 febootstrap: mounting new root on /root febootstrap: chroot /proc/uptime: No such file or directory Starting /init script ... rm: cannot remove `/proc': Is a directory mkdir: cannot create directory `/proc': File exists rm: cannot remove `/sys': Is a directory mkdir: cannot create directory `/sys': File exists cannot open /dev/null FATAL: Module pci:v00008086d00001237sv00001AF4sd00001100bc06sc00i00 not found. FATAL: Module pci:v00008086d00007000sv00001AF4sd00001100bc06sc01i00 not found. insmod /lib/modules/3.1.4-1-ARCH/kernel/drivers/i2c/i2c-core.ko.gz insmod /lib/modules/3.1.4-1-ARCH/kernel/drivers/i2c/busses/i2c-piix4.ko.gz insmod /lib/modules/3.1.4-1-ARCH/kernel/drivers/input/evdev.ko.gz insmod /lib/modules/3.1.4-1-ARCH/kernel/drivers/input/misc/pcspkr.ko.gz FATAL: Module dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr: not found. insmod /lib/modules/3.1.4-1-ARCH/kernel/drivers/input/mouse/psmouse.ko.gz insmod /lib/modules/3.1.4-1-ARCH/kernel/drivers/input/serio/serio_raw.ko.gz SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device SIOCADDRT: No such process Reading all physical volumes. This may take a while... No volume groups found No volume groups found /dev: total 36 crw------T 1 root root 10, 235 Dec 6 15:32 autofs drwxr-xr-x 2 root root 4096 Dec 6 15:32 block crw------T 1 root root 10, 234 Dec 6 15:32 btrfs-control drwxr-xr-x 2 root root 4096 Dec 6 15:32 char crw------- 1 root root 5, 1 Dec 6 15:32 console lrwxrwxrwx 1 root root 11 Dec 6 15:32 core -> /proc/kcore drwxr-xr-x 2 root root 4096 Dec 6 15:32 cpu crw------- 1 root root 10, 62 Dec 6 15:32 cpu_dma_latency drwxr-xr-x 5 root root 4096 Dec 6 15:32 disk lrwxrwxrwx 1 root root 13 Dec 6 15:32 fd -> /proc/self/fd crw-rw-rw- 1 root root 1, 7 Dec 6 15:32 full crw-rw-rwT 1 root root 10, 229 Dec 6 15:32 fuse drwxr-xr-x 3 root root 4096 Dec 6 15:32 input crw------- 1 root root 1, 11 Dec 6 15:32 kmsg crw------T 1 root root 10, 237 Dec 6 15:32 loop-control drwxr-xr-x 2 root root 4096 Dec 6 15:32 mapper crw------- 1 root root 10, 227 Dec 6 15:32 mcelog crw-r----- 1 root kmem 1, 1 Dec 6 15:32 mem drwxr-xr-x 2 root root 4096 Dec 6 15:32 net crw------- 1 root root 10, 61 Dec 6 15:32 network_latency crw------- 1 root root 10, 60 Dec 6 15:32 network_throughput crw-rw-rw- 1 root root 1, 3 Dec 6 15:32 null crw-r----- 1 root kmem 1, 4 Dec 6 15:32 port crw------T 1 root root 108, 0 Dec 6 15:32 ppp crw------- 1 root root 10, 1 Dec 6 15:32 psaux crw-rw-rw- 1 root tty 5, 2 Dec 6 15:32 ptmx crw-rw-rw- 1 root root 1, 8 Dec 6 15:32 random crw-r--r-- 1 root root 10, 59 Dec 6 15:32 rfkill lrwxrwxrwx 1 root root 4 Dec 6 15:32 rtc -> rtc0 crw------- 1 root root 254, 0 Dec 6 15:32 rtc0 crw------- 1 root root 10, 231 Dec 6 15:32 snapshot drwxr-xr-x 2 root root 4096 Dec 6 15:32 snd lrwxrwxrwx 1 root root 15 Dec 6 15:32 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root root 15 Dec 6 15:32 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root root 15 Dec 6 15:32 stdout -> /proc/self/fd/1 crw-rw-rw- 1 root tty 5, 0 Dec 6 15:32 tty crw--w---- 1 root tty 4, 0 Dec 6 15:32 tty0 crw--w---- 1 root tty 4, 1 Dec 6 15:32 tty1 crw--w---- 1 root tty 4, 10 Dec 6 15:32 tty10 crw--w---- 1 root tty 4, 11 Dec 6 15:32 tty11 crw--w---- 1 root tty 4, 12 Dec 6 15:32 tty12 crw--w---- 1 root tty 4, 13 Dec 6 15:32 tty13 crw--w---- 1 root tty 4, 14 Dec 6 15:32 tty14 crw--w---- 1 root tty 4, 15 Dec 6 15:32 tty15 crw--w---- 1 root tty 4, 16 Dec 6 15:32 tty16 crw--w---- 1 root tty 4, 17 Dec 6 15:32 tty17 crw--w---- 1 root tty 4, 18 Dec 6 15:32 tty18 crw--w---- 1 root tty 4, 19 Dec 6 15:32 tty19 crw--w---- 1 root tty 4, 2 Dec 6 15:32 tty2 crw--w---- 1 root tty 4, 20 Dec 6 15:32 tty20 crw--w---- 1 root tty 4, 21 Dec 6 15:32 tty21 crw--w---- 1 root tty 4, 22 Dec 6 15:32 tty22 crw--w---- 1 root tty 4, 23 Dec 6 15:32 tty23 crw--w---- 1 root tty 4, 24 Dec 6 15:32 tty24 crw--w---- 1 root tty 4, 25 Dec 6 15:32 tty25 crw--w---- 1 root tty 4, 26 Dec 6 15:32 tty26 crw--w---- 1 root tty 4, 27 Dec 6 15:32 tty27 crw--w---- 1 root tty 4, 28 Dec 6 15:32 tty28 crw--w---- 1 root tty 4, 29 Dec 6 15:32 tty29 crw--w---- 1 root tty 4, 3 Dec 6 15:32 tty3 crw--w---- 1 root tty 4, 30 Dec 6 15:32 tty30 crw--w---- 1 root tty 4, 31 Dec 6 15:32 tty31 crw--w---- 1 root tty 4, 32 Dec 6 15:32 tty32 crw--w---- 1 root tty 4, 33 Dec 6 15:32 tty33 crw--w---- 1 root tty 4, 34 Dec 6 15:32 tty34 crw--w---- 1 root tty 4, 35 Dec 6 15:32 tty35 crw--w---- 1 root tty 4, 36 Dec 6 15:32 tty36 crw--w---- 1 root tty 4, 37 Dec 6 15:32 tty37 crw--w---- 1 root tty 4, 38 Dec 6 15:32 tty38 crw--w---- 1 root tty 4, 39 Dec 6 15:32 tty39 crw--w---- 1 root tty 4, 4 Dec 6 15:32 tty4 crw--w---- 1 root tty 4, 40 Dec 6 15:32 tty40 crw--w---- 1 root tty 4, 41 Dec 6 15:32 tty41 crw--w---- 1 root tty 4, 42 Dec 6 15:32 tty42 crw--w---- 1 root tty 4, 43 Dec 6 15:32 tty43 crw--w---- 1 root tty 4, 44 Dec 6 15:32 tty44 crw--w---- 1 root tty 4, 45 Dec 6 15:32 tty45 crw--w---- 1 root tty 4, 46 Dec 6 15:32 tty46 crw--w---- 1 root tty 4, 47 Dec 6 15:32 tty47 crw--w---- 1 root tty 4, 48 Dec 6 15:32 tty48 crw--w---- 1 root tty 4, 49 Dec 6 15:32 tty49 crw--w---- 1 root tty 4, 5 Dec 6 15:32 tty5 crw--w---- 1 root tty 4, 50 Dec 6 15:32 tty50 crw--w---- 1 root tty 4, 51 Dec 6 15:32 tty51 crw--w---- 1 root tty 4, 52 Dec 6 15:32 tty52 crw--w---- 1 root tty 4, 53 Dec 6 15:32 tty53 crw--w---- 1 root tty 4, 54 Dec 6 15:32 tty54 crw--w---- 1 root tty 4, 55 Dec 6 15:32 tty55 crw--w---- 1 root tty 4, 56 Dec 6 15:32 tty56 crw--w---- 1 root tty 4, 57 Dec 6 15:32 tty57 crw--w---- 1 root tty 4, 58 Dec 6 15:32 tty58 crw--w---- 1 root tty 4, 59 Dec 6 15:32 tty59 crw--w---- 1 root tty 4, 6 Dec 6 15:32 tty6 crw--w---- 1 root tty 4, 60 Dec 6 15:32 tty60 crw--w---- 1 root tty 4, 61 Dec 6 15:32 tty61 crw--w---- 1 root tty 4, 62 Dec 6 15:32 tty62 crw--w---- 1 root tty 4, 63 Dec 6 15:32 tty63 crw--w---- 1 root tty 4, 7 Dec 6 15:32 tty7 crw--w---- 1 root tty 4, 8 Dec 6 15:32 tty8 crw--w---- 1 root tty 4, 9 Dec 6 15:32 tty9 crw-rw---- 1 root uucp 4, 64 Dec 6 15:32 ttyS0 crw-rw---- 1 root uucp 4, 65 Dec 6 15:32 ttyS1 crw-rw---- 1 root uucp 4, 66 Dec 6 15:32 ttyS2 crw-rw---- 1 root uucp 4, 67 Dec 6 15:32 ttyS3 crw------T 1 root root 10, 223 Dec 6 15:32 uinput crw-rw-rw- 1 root root 1, 9 Dec 6 15:32 urandom crw-rw---- 1 root tty 7, 0 Dec 6 15:32 vcs crw-rw---- 1 root tty 7, 1 Dec 6 15:32 vcs1 crw-rw---- 1 root tty 7, 128 Dec 6 15:32 vcsa crw-rw---- 1 root tty 7, 129 Dec 6 15:32 vcsa1 brw-rw---- 1 root disk 254, 0 Dec 6 15:32 vda brw-rw---- 1 root disk 254, 1 Dec 6 15:32 vda1 brw-rw---- 1 root disk 254, 2 Dec 6 15:32 vda2 brw-rw---- 1 root disk 254, 16 Dec 6 15:32 vdb crw------- 1 root root 10, 63 Dec 6 15:32 vga_arbiter drwxr-xr-x 2 root root 4096 Dec 6 15:32 virtio-ports crw------- 1 root root 252, 1 Dec 6 15:32 vport0p1 crw-rw-rw- 1 root root 1, 5 Dec 6 15:32 zero /dev/block: total 0 lrwxrwxrwx 1 root root 6 Dec 6 15:32 254:0 -> ../vda lrwxrwxrwx 1 root root 7 Dec 6 15:32 254:1 -> ../vda1 lrwxrwxrwx 1 root root 6 Dec 6 15:32 254:16 -> ../vdb lrwxrwxrwx 1 root root 7 Dec 6 15:32 254:2 -> ../vda2 /dev/char: total 0 lrwxrwxrwx 1 root root 8 Dec 6 15:32 10:1 -> ../psaux lrwxrwxrwx 1 root root 9 Dec 6 15:32 10:227 -> ../mcelog lrwxrwxrwx 1 root root 11 Dec 6 15:32 10:231 -> ../snapshot lrwxrwxrwx 1 root root 17 Dec 6 15:32 10:236 -> ../mapper/control lrwxrwxrwx 1 root root 9 Dec 6 15:32 10:59 -> ../rfkill lrwxrwxrwx 1 root root 21 Dec 6 15:32 10:60 -> ../network_throughput lrwxrwxrwx 1 root root 18 Dec 6 15:32 10:61 -> ../network_latency lrwxrwxrwx 1 root root 18 Dec 6 15:32 10:62 -> ../cpu_dma_latency lrwxrwxrwx 1 root root 14 Dec 6 15:32 10:63 -> ../vga_arbiter lrwxrwxrwx 1 root root 15 Dec 6 15:32 13:32 -> ../input/mouse0 lrwxrwxrwx 1 root root 13 Dec 6 15:32 13:63 -> ../input/mice lrwxrwxrwx 1 root root 15 Dec 6 15:32 13:64 -> ../input/event0 lrwxrwxrwx 1 root root 15 Dec 6 15:32 13:65 -> ../input/event1 lrwxrwxrwx 1 root root 15 Dec 6 15:32 13:66 -> ../input/event2 lrwxrwxrwx 1 root root 6 Dec 6 15:32 1:1 -> ../mem lrwxrwxrwx 1 root root 7 Dec 6 15:32 1:11 -> ../kmsg lrwxrwxrwx 1 root root 7 Dec 6 15:32 1:3 -> ../null lrwxrwxrwx 1 root root 7 Dec 6 15:32 1:4 -> ../port lrwxrwxrwx 1 root root 7 Dec 6 15:32 1:5 -> ../zero lrwxrwxrwx 1 root root 7 Dec 6 15:32 1:7 -> ../full lrwxrwxrwx 1 root root 9 Dec 6 15:32 1:8 -> ../random lrwxrwxrwx 1 root root 10 Dec 6 15:32 1:9 -> ../urandom lrwxrwxrwx 1 root root 11 Dec 6 15:32 252:1 -> ../vport0p1 lrwxrwxrwx 1 root root 7 Dec 6 15:32 254:0 -> ../rtc0 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:0 -> ../tty0 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:1 -> ../tty1 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:10 -> ../tty10 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:11 -> ../tty11 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:12 -> ../tty12 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:13 -> ../tty13 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:14 -> ../tty14 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:15 -> ../tty15 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:16 -> ../tty16 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:17 -> ../tty17 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:18 -> ../tty18 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:19 -> ../tty19 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:2 -> ../tty2 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:20 -> ../tty20 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:21 -> ../tty21 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:22 -> ../tty22 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:23 -> ../tty23 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:24 -> ../tty24 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:25 -> ../tty25 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:26 -> ../tty26 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:27 -> ../tty27 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:28 -> ../tty28 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:29 -> ../tty29 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:3 -> ../tty3 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:30 -> ../tty30 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:31 -> ../tty31 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:32 -> ../tty32 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:33 -> ../tty33 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:34 -> ../tty34 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:35 -> ../tty35 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:36 -> ../tty36 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:37 -> ../tty37 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:38 -> ../tty38 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:39 -> ../tty39 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:4 -> ../tty4 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:40 -> ../tty40 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:41 -> ../tty41 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:42 -> ../tty42 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:43 -> ../tty43 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:44 -> ../tty44 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:45 -> ../tty45 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:46 -> ../tty46 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:47 -> ../tty47 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:48 -> ../tty48 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:49 -> ../tty49 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:5 -> ../tty5 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:50 -> ../tty50 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:51 -> ../tty51 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:52 -> ../tty52 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:53 -> ../tty53 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:54 -> ../tty54 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:55 -> ../tty55 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:56 -> ../tty56 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:57 -> ../tty57 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:58 -> ../tty58 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:59 -> ../tty59 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:6 -> ../tty6 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:60 -> ../tty60 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:61 -> ../tty61 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:62 -> ../tty62 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:63 -> ../tty63 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:64 -> ../ttyS0 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:65 -> ../ttyS1 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:66 -> ../ttyS2 lrwxrwxrwx 1 root root 8 Dec 6 15:32 4:67 -> ../ttyS3 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:7 -> ../tty7 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:8 -> ../tty8 lrwxrwxrwx 1 root root 7 Dec 6 15:32 4:9 -> ../tty9 lrwxrwxrwx 1 root root 6 Dec 6 15:32 5:0 -> ../tty lrwxrwxrwx 1 root root 10 Dec 6 15:32 5:1 -> ../console lrwxrwxrwx 1 root root 7 Dec 6 15:32 5:2 -> ../ptmx lrwxrwxrwx 1 root root 6 Dec 6 15:32 7:0 -> ../vcs lrwxrwxrwx 1 root root 7 Dec 6 15:32 7:1 -> ../vcs1 lrwxrwxrwx 1 root root 7 Dec 6 15:32 7:128 -> ../vcsa lrwxrwxrwx 1 root root 8 Dec 6 15:32 7:129 -> ../vcsa1 /dev/cpu: total 0 crw------T 1 root root 10, 184 Dec 6 15:32 microcode /dev/disk: total 12 drwxr-xr-x 2 root root 4096 Dec 6 15:32 by-label drwxr-xr-x 2 root root 4096 Dec 6 15:32 by-path drwxr-xr-x 2 root root 4096 Dec 6 15:32 by-uuid /dev/disk/by-label: total 0 lrwxrwxrwx 1 root root 10 Dec 6 15:32 root -> ../../vda1 lrwxrwxrwx 1 root root 10 Dec 6 15:32 swap -> ../../vda2 /dev/disk/by-path: total 0 lrwxrwxrwx 1 root root 9 Dec 6 15:32 pci-0000:00:03.0-virtio-pci-virtio1 -> ../../vda lrwxrwxrwx 1 root root 10 Dec 6 15:32 pci-0000:00:03.0-virtio-pci-virtio1-part1 -> ../../vda1 lrwxrwxrwx 1 root root 10 Dec 6 15:32 pci-0000:00:03.0-virtio-pci-virtio1-part2 -> ../../vda2 lrwxrwxrwx 1 root root 9 Dec 6 15:32 pci-0000:00:04.0-virtio-pci-virtio2 -> ../../vdb /dev/disk/by-uuid: total 0 lrwxrwxrwx 1 root root 9 Dec 6 15:32 2160db60-0026-4cfb-bd4c-9a64a5bb9556 -> ../../vdb lrwxrwxrwx 1 root root 10 Dec 6 15:32 2c01652a-2b78-4f98-9def-31a9099c5e21 -> ../../vda1 lrwxrwxrwx 1 root root 10 Dec 6 15:32 3439a28b-cefd-4eba-8ae6-83bde273ed87 -> ../../vda2 /dev/input: total 4 drwxr-xr-x 2 root root 4096 Dec 6 15:32 by-path crw-r----- 1 root root 13, 64 Dec 6 15:32 event0 crw-r----- 1 root root 13, 65 Dec 6 15:32 event1 crw-r----- 1 root root 13, 66 Dec 6 15:32 event2 crw-r----- 1 root root 13, 63 Dec 6 15:32 mice crw-r----- 1 root root 13, 32 Dec 6 15:32 mouse0 /dev/input/by-path: total 0 lrwxrwxrwx 1 root root 9 Dec 6 15:32 platform-i8042-serio-0-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 Dec 6 15:32 platform-i8042-serio-1-event-mouse -> ../event2 lrwxrwxrwx 1 root root 9 Dec 6 15:32 platform-i8042-serio-1-mouse -> ../mouse0 lrwxrwxrwx 1 root root 9 Dec 6 15:32 platform-pcspkr-event-spkr -> ../event1 /dev/mapper: total 0 crw------T 1 root root 10, 236 Dec 6 15:32 control /dev/net: total 0 crw-rw-rwT 1 root root 10, 200 Dec 6 15:32 tun /dev/snd: total 0 crw-rw---T 1 root audio 116, 1 Dec 6 15:32 seq crw-rw---T 1 root audio 116, 33 Dec 6 15:32 timer /dev/virtio-ports: total 0 lrwxrwxrwx 1 root root 11 Dec 6 15:32 org.libguestfs.channel.0 -> ../vport0p1 rootfs / rootfs rw 0 0 proc /proc proc rw,relatime 0 0 /dev/root / ext2 rw,noatime,errors=continue 0 0 /proc /proc proc rw,relatime 0 0 /sys /sys sysfs rw,relatime 0 0 No volume groups found No volume groups found lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface Module Size Used by dm_mod 58857 0 serio_raw 3390 0 psmouse 56772 0 pcspkr 1375 0 evdev 7278 0 i2c_piix4 7084 0 i2c_core 16816 1 i2c_piix4 ext2 54796 1 ext4 341292 0 jbd2 59569 1 ext4 virtio_rng 1414 0 virtio_net 10262 0 virtio_pci 5299 0 virtio_balloon 3256 0 virtio_blk 4890 1 sparse_keymap 2660 0 rfkill 12470 0 sd_mod 26147 0 sym53c8xx 64195 0 scsi_transport_spi 16768 1 sym53c8xx ata_piix 18529 0 libata 146596 1 ata_piix sr_mod 13244 0 scsi_mod 112409 5 sd_mod,sym53c8xx,scsi_transport_spi,libata,sr_mod cdrom 31405 1 sr_mod mbcache 4281 2 ext2,ext4 crc32c 2428 0 crc7 781 0 crc_t10dif 1064 0 crc16 1091 1 ext4 crc8 870 0 crc_itu_t 1095 0 crc_ccitt 1095 0 Tue Dec 6 15:32:25 UTC 2011 uptime: 3.52 0.68 guestfsd: error while loading shared libraries: libaugeas.so.0: cannot open shared object file: No such file or directory /init: line 132: /sbin/reboot: No such file or directory [ 3.571545] Kernel panic - not syncing: Attempted to kill init! [ 3.574462] Pid: 1, comm: init Not tainted 3.1.4-1-ARCH #1 [ 3.578370] Call Trace: [ 3.579579] [<c045a0fd>] ? printk+0x1d/0x1f [ 3.581708] [<c0459fd8>] panic+0x66/0x16e [ 3.583915] [<c014afdd>] do_exit+0x72d/0x780 [ 3.586024] [<c014b2c8>] do_group_exit+0x38/0xa0 [ 3.588423] [<c014b348>] sys_exit_group+0x18/0x20 [ 3.590798] [<c0462088>] syscall_call+0x7/0xb [ 3.593284] Rebooting in 1 seconds..libguestfs: child_cleanup: 0xa00cdc0: child process died libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0xa00cdc0 (state 0) + - - - - - - - - - - - - - - - - - - - $ virt-filesystems -a archlinux.qcow2 --all --long -h (similar output above) + - - - - - - - - - - - - - - - - - - - $ ldd guestfsd linux-gate.so.1 => (0xb773a000) libaugeas.so.0 => /usr/local/lib/libaugeas.so.0 (0xb76f6000) libfa.so.1 => /usr/local/lib/libfa.so.1 (0xb76e5000) librt.so.1 => /lib/librt.so.1 (0xb76c1000) libc.so.6 => /lib/libc.so.6 (0xb7545000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb741d000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7400000) libpthread.so.0 => /lib/libpthread.so.0 (0xb73e5000) /lib/ld-linux.so.2 (0xb773b000) libdl.so.2 => /lib/libdl.so.2 (0xb73e0000) libz.so.1 => /usr/lib/libz.so.1 (0xb73c8000) libm.so.6 => /lib/libm.so.6 (0xb739d000) $ file /usr/local/lib/libaugeas.so.0 /usr/local/lib/libaugeas.so.0: symbolic link to `libaugeas.so.0.15.0' $ ldd /usr/local/lib/libaugeas.so.0.15.0 linux-gate.so.1 => (0xb7865000) libfa.so.1 => /usr/local/lib/libfa.so.1 (0xb7810000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb76ce000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76b1000) libc.so.6 => /lib/libc.so.6 (0xb7535000) libdl.so.2 => /lib/libdl.so.2 (0xb752f000) libz.so.1 => /usr/lib/libz.so.1 (0xb7517000) libm.so.6 => /lib/libm.so.6 (0xb74ed000) /lib/ld-linux.so.2 (0xb7866000)
Richard W.M. Jones
2011-Dec-06 17:39 UTC
[Libguestfs] guestmount - unable to get device geometry
On Tue, Dec 06, 2011 at 06:44:51PM +0200, Evaggelos Balaskas wrote:> Hi, > > i am trying to use libguestfs (libvirt/kvm etc) into archlinux.I think there is a warning and possible two different errors here.> But it seems that i am keep getting this error > > warning: Unable to get device geometry for /var/tmp/guestfs.NwkQVJ/rootThis seems to be a warning, but it's unexpected. What version of qemu is this?> In the attached file, i've written some debug info. > If someone can give me some pointer, i would appreciate it[...]> guestfsd: error while loading shared libraries: libaugeas.so.0: cannot open shared object file: No such file or directoryWe're not copying libaugeas.* into the appliance for some reason. Could be a bug in febootstrap. What does this say? grep augeas appliance/supermin.d/hostfiles If the supermin appliance was built correctly, it should list all the files and symbolic links required to have libaugeas.* in the appliance. (ref: http://libguestfs.org/febootstrap.8.html#supermin_appliances )> $ ldd guestfsd > linux-gate.so.1 => (0xb773a000) > libaugeas.so.0 => /usr/local/lib/libaugeas.so.0 (0xb76f6000) > libfa.so.1 => /usr/local/lib/libfa.so.1 (0xb76e5000) > librt.so.1 => /lib/librt.so.1 (0xb76c1000) > libc.so.6 => /lib/libc.so.6 (0xb7545000) > libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb741d000) > libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7400000) > libpthread.so.0 => /lib/libpthread.so.0 (0xb73e5000) > /lib/ld-linux.so.2 (0xb773b000) > libdl.so.2 => /lib/libdl.so.2 (0xb73e0000) > libz.so.1 => /usr/lib/libz.so.1 (0xb73c8000) > libm.so.6 => /lib/libm.so.6 (0xb739d000) > > $ file /usr/local/lib/libaugeas.so.0 > /usr/local/lib/libaugeas.so.0: symbolic link to `libaugeas.so.0.15.0' > > $ ldd /usr/local/lib/libaugeas.so.0.15.0 > linux-gate.so.1 => (0xb7865000) > libfa.so.1 => /usr/local/lib/libfa.so.1 (0xb7810000) > libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb76ce000) > libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76b1000) > libc.so.6 => /lib/libc.so.6 (0xb7535000) > libdl.so.2 => /lib/libdl.so.2 (0xb752f000) > libz.so.1 => /usr/lib/libz.so.1 (0xb7517000) > libm.so.6 => /lib/libm.so.6 (0xb74ed000) > /lib/ld-linux.so.2 (0xb7866000)The error below may also indicate a problem, but I'd concentrate on getting the above working first.> /init: line 132: /sbin/reboot: No such file or directoryRich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
Apparently Analagous Threads
- guestfsd: error while loading shared libraries in SUSE12
- Re: Can't create any KVM template due to the error with libguestfs
- guestmount error
- [Error] guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)
- Re: [Error] guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)