[Libguestfs] Libguestfs & ubuntu 11.10 problems

KoDer koder.mail at gmail.com
Sat Oct 15 13:06:15 UTC 2011


HI, All.

I face problems when try to use libguestfs in new ubuntu 11.10.

1) My current version of libguest (1.12.0, binaries taken from
libguestfs site) can't boot vm with new kernel.
   You can find log of libguest-test-tool in attachment. I try force
it to boot 2.6.38-11 kernel instead of
   3.0.0-12 (which is default), but get the same result (error)
2) I can't compile libguestfs from sources:
    make libguestfs-1.12.7 leads to:
.........
CC     libguestfs_la-virt.lo
In file included from virt.c:38:0:
guestfs.h:1737:51: error: unknown type name 'virDomainPtr'
make[3]: *** [libguestfs_la-virt.lo] Error 1
make[3]: Leaving directory `/home/koder/tmp/libguestfs-1.12.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/koder/tmp/libguestfs-1.12.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/koder/tmp/libguestfs-1.12.7'
make: *** [all] Error 2

    make libguestfs-1.13.21 leads to:

....
CCLD   create_disk
../src/.libs/libguestfs.so: undefined reference to
`guestfs___case_sensitive_path_silently'
../src/.libs/libguestfs.so: undefined reference to `guestfs___search_for_root'
../src/.libs/libguestfs.so: undefined reference to `guestfs___download_to_tmp'
collect2: ld returned 1 exit status
make[2]: *** [create_disk] Error 1
make[2]: Leaving directory `/home/koder/tmp/libguestfs-1.13.21/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/koder/tmp/libguestfs-1.13.21'
make: *** [all] Error 2


System info:
koder at koder-laptop:~/tmp/libguestfs-1.13.21$ virsh --version
0.9.2

koder at koder-laptop:~/tmp/libguestfs-1.13.21$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.1-9ubuntu3'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)

koder at koder-laptop:~/tmp/libguestfs-1.13.21$ uname -a
Linux koder-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Both versions of libguestfs configured with:

./configure --disable-ocaml --disable-perl --disable-ruby
--disable-haskell --disable-php  --with-java-home=no


Thanks

-- 
K.Danilov aka koder
ICQ:214286120
Skype:koder.ua
Tel:+38-050-4030512
-------------- next part --------------
===== Test starts here =====
LIBGUESTFS_DEBUG=1
libguestfs: new guestfs handle 0xb60e70
library version: 1.12.0
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_qemu: /usr/bin/kvm
guestfs_get_recovery_proc: 1
guestfs_get_selinux: 0
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 120 seconds.
libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib/guestfs/supermin.d' x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.0.0-12-generic is a directory
picked vmlinuz-3.0.0-12-generic because modpath /lib/modules/3.0.0-12-generic exists
checking modpath /lib/modules/2.6.38-11-generic is a directory
picked vmlinuz-2.6.38-11-generic because modpath /lib/modules/2.6.38-11-generic exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [00021ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [00100ms] finished creating appliance
libguestfs: [00101ms] begin building supermin appliance
libguestfs: [00101ms] run febootstrap-supermin-helper
libguestfs: [00102ms] febootstrap-supermin-helper \
    --verbose \
    -f ext2 /usr/lib/guestfs/supermin.d x86_64 /var/tmp/guestfs.AnZ9zQ/kernel /var/tmp/guestfs.AnZ9zQ/initrd /var/tmp/guestfs.AnZ9zQ/root
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.AnZ9zQ/kernel, initrd = /var/tmp/guestfs.AnZ9zQ/initrd, appliance = /var/tmp/guestfs.AnZ9zQ/root
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.0.0-12-generic is a directory
picked vmlinuz-3.0.0-12-generic because modpath /lib/modules/3.0.0-12-generic exists
checking modpath /lib/modules/2.6.38-11-generic is a directory
picked vmlinuz-2.6.38-11-generic because modpath /lib/modules/2.6.38-11-generic exists
supermin helper [00000ms] finished creating kernel
supermin helper [01460ms] finished mke2fs
supermin helper [01460ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [01460ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [01498ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [01500ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [02484ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [08154ms] finished creating appliance
libguestfs: [08258ms] finished building supermin appliance
libguestfs: [08303ms] begin testing qemu features
libguestfs: [08313ms] finished testing qemu features
libguestfs: accept_from_daemon: 0xb60e70 g->state = 1
libguestfs: [08313ms] /usr/bin/kvm \
    -drive file=/tmp/libguestfs-test-tool-sda-YdQBz5,cache=off,format=raw,if=virtio \
    -nodefconfig \
    -enable-kvm \
    -nodefaults \
    -nographic \
    -m 500 \
    -no-reboot \
    -no-hpet \
    -device virtio-serial \
    -serial stdio \
    -chardev socket,path=/tmp/libguestfsUvc0XX/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -kernel /var/tmp/.guestfs-0/kernel.15282 \
    -initrd /var/tmp/.guestfs-0/initrd.15282 \
    -append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
    -drive file=/var/tmp/.guestfs-0/root.15282,snapshot=on,if=virtio,cache=unsafe
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.0.0-12-generic (buildd at crested) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 (Ubuntu 3.0.0-12.20-generic 3.0.4)
[    0.000000] Command line: panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm 
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009bc00 (usable)
[    0.000000]  BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000001f3fd000 (usable)
[    0.000000]  BIOS-e820: 000000001f3fd000 - 000000001f400000 (reserved)
[    0.000000]  BIOS-e820: 00000000feffc000 - 00000000ff000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x1f3fd max_arch_pfn = 0x400000000
[    0.000000] PAT not supported by CPU.
[    0.000000] found SMP MP-table at [ffff8800000fdaf0] fdaf0
[    0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000
[    0.000000] RAMDISK: 1f2d8000 - 1f3f0000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-000000001f3fd000
[    0.000000] Initmem setup node 0 0000000000000000-000000001f3fd000
[    0.000000]   NODE_DATA [000000001f3f5000 - 000000001f3f9fff]
[    0.000000] kvm-clock: Using msrs 12 and 11
[    0.000000] kvm-clock: cpu 0, msr 0:1ace9c1, boot clock
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009b
[    0.000000]     0: 0x00000100 -> 0x0001f3fd
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] Intel MultiProcessor Specification v1.4
[    0.000000] MPTABLE: OEM ID: BOCHSCPU
[    0.000000] MPTABLE: Product ID: 0.1         
[    0.000000] MPTABLE: APIC at: 0xFEE00000
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[    0.000000] Processors: 1
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: 000000000009b000 - 000000000009c000
[    0.000000] PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[    0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 1f400000 (gap: 1f400000:dfbfc000)
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 27 pages/cpu @ffff88001f000000 s79616 r8192 d22784 u2097152
[    0.000000] kvm-clock: cpu 0, msr 0:1f0129c1, primary cpu clock
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 126125
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm 
[    0.000000] Disabling memory control group subsystem
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 488644k/511988k available (6104k kernel code, 468k absent, 22876k reserved, 4880k data, 984k init)
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:16640 nr_irqs:256 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Detected 1995.467 MHz processor.
[    0.008000] Calibrating delay loop (skipped) preset value.. 3990.93 BogoMIPS (lpj=7981868)
[    0.008000] pid_max: default: 32768 minimum: 301
[    0.008000] Security Framework initialized
[    0.008000] AppArmor: AppArmor initialized
[    0.008000] Yama: becoming mindful.
[    0.008096] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.009152] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.010085] Mount-cache hash table entries: 256
[    0.010810] Initializing cgroup subsys cpuacct
[    0.011442] Initializing cgroup subsys memory
[    0.012013] Initializing cgroup subsys devices
[    0.012677] Initializing cgroup subsys freezer
[    0.013245] Initializing cgroup subsys net_cls
[    0.013892] Initializing cgroup subsys blkio
[    0.014458] Initializing cgroup subsys perf_event
[    0.015154] mce: CPU supports 10 MCE banks
[    0.016157] SMP alternatives: switching to UP code
[    0.035821] Freeing SMP alternatives: 24k freed
[    0.036017] ftrace: allocating 25651 entries in 101 pages
[    0.044200] CPU0: Intel QEMU Virtual CPU version 0.14.1 stepping 03
[    0.152008] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[    0.152008] Brought up 1 CPUs
[    0.152008] Total of 1 processors activated (3990.93 BogoMIPS).
[    0.152008] devtmpfs: initialized
[    0.152928] print_constraints: dummy: 
[    0.153479] Time: 11:31:11  Date: 10/15/11
[    0.154063] NET: Registered protocol family 16
[    0.154797] PCI: Using configuration type 1 for base access
[    0.155965] bio: create slab <bio-0> at 0
[    0.156077] ACPI: Interpreter disabled.
[    0.156686] vgaarb: loaded
[    0.157184] SCSI subsystem initialized
[    0.157720] usbcore: registered new interface driver usbfs
[    0.158452] usbcore: registered new interface driver hub
[    0.159158] usbcore: registered new device driver usb
[    0.160071] PCI: Probing PCI hardware
[    0.162266] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.163163] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.166353] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.167366] NetLabel: Initializing
[    0.168012] NetLabel:  domain hash size = 128
[    0.168613] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.169313] NetLabel:  unlabeled traffic allowed by default
[    0.170074] Switching to clocksource kvm-clock
[    0.170647] Switched to NOHz mode on CPU #0
[    0.175022] AppArmor: AppArmor Filesystem Enabled
[    0.175665] pnp: PnP ACPI: disabled
[    0.177193] NET: Registered protocol family 2
[    0.177878] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.178952] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[    0.179923] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.180858] TCP: Hash tables configured (established 16384 bind 16384)
[    0.181725] TCP reno registered
[    0.182200] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.182988] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.183869] NET: Registered protocol family 1
[    0.184462] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.185243] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.186043] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.186899] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.188087] audit: initializing netlink socket (disabled)
[    0.188838] type=2000 audit(1318678273.188:1): initialized
[    0.205819] Trying to unpack rootfs image as initramfs...
[    0.208194] Freeing initrd memory: 1120k freed
[    0.210351] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.212743] VFS: Disk quotas dquot_6.5.2
[    0.213363] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.214799] fuse init (API version 7.16)
[    0.215409] msgmni has been set to 956
[    0.216287] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.217267] io scheduler noop registered
[    0.217858] io scheduler deadline registered
[    0.218512] io scheduler cfq registered (default)
[    0.219245] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.220051] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.221041] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.245193] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.247142] Linux agpgart interface v0.103
[    0.248716] brd: module loaded
[    0.249481] loop: module loaded
[    0.250396] scsi0 : ata_piix
[    0.250927] scsi1 : ata_piix
[    0.251370] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
[    0.252271] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
[    0.253606] Fixed MDIO Bus: probed
[    0.254135] PPP generic driver version 2.4.2
[    0.254791] tun: Universal TUN/TAP device driver, 1.6
[    0.255434] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[    0.256574] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.257438] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.258336] uhci_hcd: USB Universal Host Controller Interface driver
[    0.259202] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.260645] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.261270] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.262074] mousedev: PS/2 mouse device common for all mice
[    0.263026] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.264620] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.265485] rtc0: alarms up to one day, 114 bytes nvram
[    0.266318] device-mapper: uevent: version 1.0.3
[    0.266995] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel at redhat.com
[    0.268121] cpuidle: using governor ladder
[    0.268677] cpuidle: using governor menu
[    0.269190] EFI Variables Facility v0.08 2004-May-17
[    0.270043] TCP cubic registered
[    0.270576] NET: Registered protocol family 10
[    0.271478] NET: Registered protocol family 17
[    0.272109] Registering the dns_resolver key type
[    0.272785] registered taskstats version 1
[    0.274207]   Magic number: 15:793:529
[    0.274775] rtc_cmos rtc_cmos: setting system clock to 2011-10-15 11:31:12 UTC (1318678272)
[    0.275848] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.276644] EDD information not available.
[    0.413504] Freeing unused kernel memory: 984k freed
[    0.414395] Write protecting the kernel read-only data: 10240k
[    0.415283] Freeing unused kernel memory: 20k freed
[    0.419048] Freeing unused kernel memory: 1400k freed
febootstrap: mounting /proc
febootstrap: uptime: 0.42 0.18
febootstrap: ext2 mini initrd starting up
febootstrap: mounting /sys
febootstrap: internal insmod libcrc32c.ko
febootstrap: internal insmod crc-itu-t.ko
febootstrap: internal insmod crc-ccitt.ko
febootstrap: internal insmod crc7.ko
febootstrap: internal insmod scsi_transport_spi.ko
febootstrap: internal insmod sym53c8xx.ko
febootstrap: internal insmod sparse-keymap.ko
febootstrap: internal insmod ideapad-laptop.ko
insmod: init_module: ideapad-laptop.ko: No such device
febootstrap: internal insmod virtio_ring.ko
febootstrap: internal insmod virtio.ko
febootstrap: internal insmod virtio-rng.ko
febootstrap: internal insmod virtio_console.ko
febootstrap: internal insmod virtio_blk.ko
febootstrap: internal insmod virtio_net.ko
febootstrap: internal insmod virtio_pci.ko
[    0.431446] virtio-pci 0000:00:02.0: found PCI INT A -> IRQ 10
[    0.436096] virtio-pci 0000:00:03.0: found PCI INT A -> IRQ 11
[    0.440999]  vda: unknown partition table
[    0.441701] virtio-pci 0000:00:04.0: found PCI INT A -> IRQ 11
[    0.444822]  vdb: unknown partition table
febootstrap: internal insmod virtio_balloon.ko
febootstrap: picked /sys/block/vdb/dev as root device
febootstrap: creating /dev/root as block special 252:16
febootstrap: mounting new root on /root
febootstrap: chroot
/proc/uptime: No such file or directory
execl: /init: No such file or directory
febootstrap: debug: listing directory /
    2 d .                040755 4096 0:0
    2 d ..               040755 4096 0:0
   11 d lost+found       040700 16384 0:0
   12 d bin              040755 4096 1000:1000
   13 d boot             040755 4096 1000:1000
   14 d dev              040755 4096 1000:1000
   15 d etc              040755 4096 1000:1000
  299 d home             040755 4096 1000:1000
  300 d lib              040755 4096 1000:1000
  350 d mnt              040755 4096 1000:1000
  351 d proc             040755 4096 1000:1000
  352 d root             040700 4096 1000:1000
  353 d sbin             040755 4096 1000:1000
  354 d selinux          040755 4096 1000:1000
  355 d sys              040755 4096 1000:1000
  356 d tmp              040755 4096 1000:1000
  357 d usr              040755 4096 1000:1000
 1050 d var              040755 4096 1000:1000
 1494 d lib64            040755 4096 0:0
 5188 - init             100755 3264 1000:1000
febootstrap: debug: listing directory /bin
   12 d .                040755 4096 1000:1000
    2 d ..               040755 4096 0:0
 1088 - bash             100755 950896 0:0
 1089 - cat              100755 47696 0:0
 1090 - chacl            100755 14600 0:0
 1091 - chgrp            100755 55864 0:0
 1092 - chmod            100755 51704 0:0
 1093 - chown            100755 55880 0:0
 1094 - cp               100755 117808 0:0
 1095 - cpio             100755 137232 0:0
 1096 - dash             100755 109768 0:0
 1097 - date             100755 55832 0:0
 1098 - dd               100755 51840 0:0
 1099 - df               100755 64208 0:0
 1100 - dir              100755 105776 0:0
 1101 - dmesg            100755 10440 0:0
 1102 - echo             100755 26968 0:0
 1103 - egrep            100755 151024 0:0
 1104 - false            100755 22856 0:0
 1105 - fgrep            100755 105680 0:0
 1106 - fuser            100755 36088 0:0
 1107 - fusermount       104755 31320 0:0
 1108 - getfacl          100755 23600 0:0
 1109 - grep             100755 151056 0:0
 1110 - gunzip           100755 63 0:0
 1111 - gzexe            100755 5874 0:0
 1112 - gzip             100755 64168 0:0
 1113 - init-checkconf   100755 5935 0:0
 1114 - initctl2dot      100755 16005 0:0
 1115 - ip               100755 238928 0:0
 1116 - kill             100755 18816 0:0
 1117 - ln               100755 47680 0:0
 1118 - lowntfs-3g       100755 56776 0:0
 1119 - ls               100755 105776 0:0
 1120 - lsmod            100755 6272 0:0
 1121 - mkdir            100755 47624 0:0
 1122 - mknod            100755 31112 0:0
 1123 - mktemp           100755 35352 0:0
 1124 - more             100755 35456 0:0
 1125 - mount            104755 90640 0:0
 1126 - mountpoint       100755 10376 0:0
 1127 - mt-gnu           100755 68712 0:0
 1128 - mv               100755 109584 0:0
 1129 - netstat          100755 120184 0:0
 1130 - ntfs-3g          100755 52552 0:0
 1131 - ntfs-3g.probe    100755 10368 0:0
 1132 - ntfs-3g.secaudit 100755 60008 0:0
 1133 - ntfs-3g.usermap  100755 18704 0:0
 1134 l pidof            120777 14 0:0 -> /sbin/killall5
 1135 - ps               100755 101240 0:0
 1136 - pwd              100755 31200 0:0
 1137 l rbash            120777 4 0:0 -> bash
 1138 - readlink         100755 35272 0:0
 1139 - rm               100755 55872 0:0
 1140 - rmdir            100755 39320 0:0
 1141 - run-parts        100755 15048 0:0
 1142 - sed              100755 64928 0:0
 1143 - setfacl          100755 32048 0:0
 1144 l sh               120777 4 0:0 -> dash
 1145 - sleep            100755 26984 0:0
 1146 - stty             100755 63992 0:0
 1147 - sync             100755 22872 0:0
 1148 - tailf            100755 10488 0:0
 1149 - tar              100755 311888 0:0
 1150 - tempfile         100755 10304 0:0
 1151 - touch            100755 47640 0:0
 1152 - true             100755 22856 0:0
 1153 - ulockmgr_server  100755 14648 0:0
 1154 - umount           104755 64968 0:0
 1155 - uname            100755 27016 0:0
 1156 - uncompress       100755 63 0:0
 1157 - vdir             100755 105776 0:0
 1158 - which            100755 946 0:0
 1159 - zcat             100755 64 0:0
 1160 - zcmp             100755 69 0:0
 1161 - zdiff            100755 4424 0:0
 1162 - zegrep           100755 64 0:0
 1163 - zfgrep           100755 64 0:0
 1164 - zforce           100755 2015 0:0
 1165 - zgrep            100755 5597 0:0
 1166 - zless            100755 1733 0:0
 1167 - zmore            100755 2416 0:0
 1168 - znew             100755 4952 0:0
febootstrap: debug: listing directory /lib
  300 d .                040755 4096 1000:1000
    2 d ..               040755 4096 0:0
  301 d cryptsetup       040755 4096 1000:1000
  304 d firmware         040755 4096 1000:1000
  337 d init             040755 4096 1000:1000
  338 d lsb              040755 4096 1000:1000
  339 d modules          040755 4096 1000:1000
  340 d udev             040755 4096 1000:1000
  348 d x86_64-linux-gnu 040755 4096 1000:1000
 1203 l libaio.so.1      120777 15 0:0 -> libaio.so.1.0.1
 1204 - libaio.so.1.0.1  100644 6064 0:0
 1205 l libbsd.so.0      120777 15 0:0 -> libbsd.so.0.3.0
 1206 - libbsd.so.0.3.0  100644 47624 0:0
 1207 l libbz2.so.1      120777 15 0:0 -> libbz2.so.1.0.4
 1208 l libbz2.so.1.0    120777 15 0:0 -> libbz2.so.1.0.4
 1209 - libbz2.so.1.0.4  100644 66784 0:0
 1210 - libcrypto.so.0.9.8 100644 1612544 0:0
 1211 - libdevmapper-event.so.1.02.1 100644 18704 0:0
 1212 - libdevmapper.so.1.02.1 100644 143296 0:0
 1213 l libfuse.so.2     120777 16 0:0 -> libfuse.so.2.8.4
 1214 - libfuse.so.2.8.4 100644 217544 0:0
 1215 l libhistory.so.6  120777 17 0:0 -> libhistory.so.6.2
 1216 - libhistory.so.6.2 100644 34976 0:0
 1217 l libncurses.so.5  120777 17 0:0 -> libncurses.so.5.9
 1218 - libncurses.so.5.9 100644 133808 0:0
 1219 l libncursesw.so.5 120777 18 0:0 -> libncursesw.so.5.9
 1220 - libncursesw.so.5.9 100644 183072 0:0
 1221 l libnih-dbus.so.1 120777 20 0:0 -> libnih-dbus.so.1.0.0
 1222 - libnih-dbus.so.1.0.0 100644 38888 0:0
 1223 l libnih.so.1      120777 15 0:0 -> libnih.so.1.0.0
 1224 - libnih.so.1.0.0  100644 96240 0:0
 1225 - libntfs-3g.so.814.0.0 100644 312144 0:0
 1226 l libntfs-3g.so.814 120777 21 0:0 -> libntfs-3g.so.814.0.0
 1227 l libparted.so.0   120777 18 0:0 -> libparted.so.0.0.1
 1228 - libparted.so.0.0.1 100644 493600 0:0
 1229 l libply-boot-client.so.2 120777 27 0:0 -> libply-boot-client.so.2.0.0
 1230 - libply-boot-client.so.2.0.0 100644 18592 0:0
 1231 l libply-splash-core.so.2 120777 27 0:0 -> libply-splash-core.so.2.0.0
 1232 - libply-splash-core.so.2.0.0 100644 68464 0:0
 1233 l libply-splash-graphics.so.2 120777 31 0:0 -> libply-splash-graphics.so.2.0.0
 1234 - libply-splash-graphics.so.2.0.0 100644 35352 0:0
 1235 l libply.so.2      120777 15 0:0 -> libply.so.2.0.0
 1236 - libply.so.2.0.0  100644 89136 0:0
 1237 l libpopt.so.0     120777 16 0:0 -> libpopt.so.0.0.0
 1238 - libpopt.so.0.0.0 100644 48040 0:0
 1239 - libproc-3.2.8.so 100644 76712 0:0
 1240 l libreadline.so.6 120777 18 0:0 -> libreadline.so.6.2
 1241 - libreadline.so.6.2 100644 265456 0:0
 1242 - libsepol.so.1    100644 248640 0:0
 1243 l libslang.so.2    120777 17 0:0 -> libslang.so.2.2.4
 1244 - libslang.so.2.2.4 100644 1102400 0:0
 1245 - libssl.so.0.9.8  100644 338032 0:0
 1246 l libulockmgr.so.1 120777 20 0:0 -> libulockmgr.so.1.0.1
 1247 - libulockmgr.so.1.0.1 100644 10416 0:0
 1248 l libusb-0.1.so.4  120777 19 0:0 -> libusb-0.1.so.4.4.4
 1249 - libusb-0.1.so.4.4.4 100644 30808 0:0
febootstrap: debug: listing directory /lib64
 1494 d .                040755 4096 0:0
    2 d ..               040755 4096 0:0
[    0.542889] Kernel panic - not syncing: Attempted to kill init!
[    0.543695] Pid: 1, comm: init Not tainted 3.0.0-12-generic #20-Ubuntu
[    0.544569] Call Trace:
[    0.544887]  [<ffffffff815d3994>] panic+0x91/0x194
[    0.545534]  [<ffffffff81062775>] forget_original_parent+0x245/0x250
[    0.546406]  [<ffffffff81062797>] exit_notify+0x17/0x150
[    0.547060]  [<ffffffff8106309b>] do_exit+0x1fb/0x440
[    0.547743]  [<ffffffff81186710>] ? mntput_no_expire+0x30/0xf0
[    0.548544]  [<ffffffff81063484>] do_group_exit+0x44/0xa0
[    0.549211]  [<ffffffff810634f7>] sys_exit_group+0x17/0x20
[    0.550224]  [<ffffffff815f22c2>] system_call_fastpath+0x16/0x1b
[    0.551362] Rebooting in 1 seconds..libguestfs: error: unexpected end of file when reading from daemon.
See earlier debug messages.
Or you can run 'libguestfs-test-tool' and post the complete output into
a bug report or message to the libguestfs mailing list.
libguestfs: child_cleanup: 0xb60e70: child process died
libguestfs-test-tool: failed to launch appliance
libguestfs: closing guestfs handle 0xb60e70 (state 0)


More information about the Libguestfs mailing list