Hi, Rich, follow your advice, I have succeeded in compiling the “libguestfs-1.26.5”
my ”libguestfs-test-tool is passed “
“ libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfs7jxKy0
===== TEST FINISHED OK =====”
But, When I run “virt-df `virsh domuuid 147`”
the error show:(debug mode)
“supermin helper [00000ms] host_cpu = x86_64
supermin helper [00000ms] dtb_wildcard = (not specified)
supermin helper [00000ms] inputs:
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
supermin helper [00000ms] outputs:
supermin helper [00000ms] kernel = (none)
supermin helper [00000ms] dtb = (none)
supermin helper [00000ms] initrd = (none)
supermin helper [00000ms] appliance = (none)
checking modpath /lib/modules/3.13.0-32-generic is a directory
checking modpath /lib/modules/3.13.0-32-generic is a directory
picked kernel vmlinuz-3.13.0-32-generic.efi.signed
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/hostfiles
supermin helper [00016ms] adding kernel modules
supermin helper [00052ms] finished creating appliance
libguestfs: checksum of existing appliance:
ed86cb47d6210830e9ed9460cd1954394015761aad56f0df5e0e4766989129dd
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: [00055ms] begin testing qemu features
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -nographic
libguestfs: command: run: \ -help
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -nographic
libguestfs: command: run: \ -version
libguestfs: qemu version 2.0
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -nographic
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [00105ms] finished testing qemu features
[00106ms] /usr/bin/qemu-system-x86_64 \
-global virtio-blk-pci.scsi=off \
-nodefconfig \
-enable-fips \
-nodefaults \
-nographic \
-machine accel=kvm:tcg \
-m 500 \
-no-reboot \
-rtc driftfix=slew \
-no-hpet \
-no-kvm-pit-reinjection \
-kernel /var/tmp/.guestfs-0/kernel.17825 \
-initrd /var/tmp/.guestfs-0/initrd.17825 \
-device virtio-scsi-pci,id=scsi \
-drive
file=/var/lib/nova/instances/605edaef-3e44-4481-b513-9c43e21758de/disk,snapshot=on,cache=writeback,format=qcow2,id=hd0,if=none
\
-device scsi-hd,drive=hd0 \
-drive file=/var/tmp/.guestfs-0/root.17825,snapshot=on,id=appliance,cache=unsafe,if=none \
-device scsi-hd,drive=appliance \
-device virtio-serial-pci \
-serial stdio \
-device sga \
-chardev socket,path=/tmp/libguestfsO0PIPo/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-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=linux'
Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
Could not open option rom 'sgabios.bin': No such file or directory
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.13.0-32-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu
4.8.2-19ubuntu1) ) #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 (Ubuntu
3.13.0-32.57-generic 3.13.11.4)
[ 0.000000] Command 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=linux
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3fdfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001f3fe000-0x000000001f3fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.4 present.
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] No AGP bridge found
[ 0.000000] e820: last_pfn = 0x1f3fe max_arch_pfn = 0x400000000
[ 0.000000] PAT not supported by CPU.
[ 0.000000] found SMP MP-table at [mem 0x000f0b60-0x000f0b6f] mapped at [ffff8800000f0b60]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] init_memory_mapping: [mem 0x1f000000-0x1f1fffff]
[ 0.000000] init_memory_mapping: [mem 0x1c000000-0x1effffff]
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff]
[ 0.000000] init_memory_mapping: [mem 0x1f200000-0x1f3fdfff]
[ 0.000000] RAMDISK: [mem 0x1f27c000-0x1f3eefff]
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x1f3fdfff]
[ 0.000000] NODE_DATA [mem 0x1f3f9000-0x1f3fdfff]
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:1f3f5001, boot clock
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00001000-0x00ffffff]
[ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x0009efff]
[ 0.000000] node 0: [mem 0x00100000-0x1f3fdfff]
[ 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 0, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] Processors: 1
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
[ 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 29 pages/cpu @ffff88001f000000 s86336 r8192 d24256 u2097152
[ 0.000000] kvm-clock: cpu 0, msr 0:1f3f5001, primary cpu clock
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1f00dfc0
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 125879
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command 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=linux
[ 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: 485184K/511600K available (7363K kernel code, 1142K rwdata, 3400K
rodata, 1336K init, 1440K bss, 26416K reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] \tRCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] \tRCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[ 0.000000] \tOffload RCU callbacks from all CPUs
[ 0.000000] \tOffload RCU callbacks from CPUs: 0.
[ 0.000000] NR_IRQS:16640 nr_irqs:256 16
[ 0.000000] Console: colour *CGA 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] tsc: Detected 3092.974 MHz processor
[ 0.008000] Calibrating delay loop (skipped) preset value.. 6185.94 BogoMIPS
(lpj=12371896)
[ 0.008000] pid_max: default: 32768 minimum: 301
[ 0.008000] Security Framework initialized
[ 0.008000] AppArmor: AppArmor initialized
[ 0.008000] Yama: becoming mindful.
[ 0.008000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.008000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.008052] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.008721] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.009546] Initializing cgroup subsys memory
[ 0.009991] Initializing cgroup subsys devices
[ 0.010439] Initializing cgroup subsys freezer
[ 0.010885] Initializing cgroup subsys blkio
[ 0.011315] Initializing cgroup subsys perf_event
[ 0.012005] Initializing cgroup subsys hugetlb
[ 0.012514] mce: CPU supports 10 MCE banks
[ 0.012977] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.012977] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.012977] tlb_flushall_shift: 6
[ 0.027355] Freeing SMP alternatives memory: 32K (ffffffff81e6d000 - ffffffff81e75000)
[ 0.031593] ftrace: allocating 28495 entries in 112 pages
[ 0.040220] Enabling x2apic
[ 0.040514] Enabled x2apic
[ 0.040944] Switched APIC routing to physical x2apic.
[ 0.044824] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.045430] smpboot: CPU0: Intel QEMU Virtual CPU version 2.0.0 (fam: 06, model: 06,
stepping: 03)
[ 0.152024] Performance Events: Broken PMU hardware detected, using software events only.
[ 0.154481] Failed to access perfctr msr (MSR c1 is 0)
[ 0.156082] x86: Booted up 1 node, 1 CPUs
[ 0.156489] smpboot: Total of 1 processors activated (6185.94 BogoMIPS)
[ 0.157356] NMI watchdog: disabled (cpu0): hardware events not enabled
[ 0.158070] devtmpfs: initialized
[ 0.160082] EVM: security.selinux
[ 0.160419] EVM: security.SMACK64
[ 0.160746] EVM: security.ima
[ 0.161046] EVM: security.capability
[ 0.162053] pinctrl core: initialized pinctrl subsystem
[ 0.162608] regulator-dummy: no parameters
[ 0.163082] RTC time: 2:02:35, date: 12/11/14
[ 0.163538] NET: Registered protocol family 16
[ 0.164078] cpuidle: using governor ladder
[ 0.164488] cpuidle: using governor menu
[ 0.165017] PCI: Using configuration type 1 for base access
[ 0.166111] bio: create slab <bio-0> at 0
[ 0.166585] ACPI: Interpreter disabled.
[ 0.167011] vgaarb: loaded
[ 0.167389] SCSI subsystem initialized
[ 0.167817] usbcore: registered new interface driver usbfs
[ 0.168007] usbcore: registered new interface driver hub
[ 0.168556] usbcore: registered new device driver usb
[ 0.169116] PCI: Probing PCI hardware
[ 0.169500] PCI host bridge to bus 0000:00
[ 0.169920] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.170526] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffff]
[ 0.171224] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.175592] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
[ 0.176010] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
[ 0.187328] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[ 0.188129] NetLabel: Initializing
[ 0.188469] NetLabel: domain hash size = 128
[ 0.188909] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.189418] NetLabel: unlabeled traffic allowed by default
[ 0.190018] Switched to clocksource kvm-clock
[ 0.191838] AppArmor: AppArmor Filesystem Enabled
[ 0.191838] pnp: PnP ACPI: disabled
[ 0.192891] NET: Registered protocol family 2
[ 0.193428] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.194130] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.194781] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.195402] TCP: reno registered
[ 0.195735] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.196324] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.196970] NET: Registered protocol family 1
[ 0.197406] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.198002] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.198581] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.199275] Trying to unpack rootfs image as initramfs...
[ 0.200630] Freeing initrd memory: 1484K (ffff88001f27c000 - ffff88001f3ef000)
[ 0.201405] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.202194] microcode: CPU0 sig=0x663, pf=0x1, revision=0x1
[ 0.202777] microcode: Microcode Update Driver: v2.00 <tigran(a)aivazian.fsnet.co.uk>,
Peter Oruba
[ 0.203631] Scanning for low memory corruption every 60 seconds
[ 0.204339] Initialise system trusted keyring
[ 0.204822] audit: initializing netlink socket (disabled)
[ 0.205352] type=2000 audit(1418263355.866:1): initialized
[ 0.225890] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.227090] zbud: loaded
[ 0.227439] VFS: Disk quotas dquot_6.5.2
[ 0.227861] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.228762] fuse init (API version 7.22)
[ 0.229198] msgmni has been set to 950
[ 0.229602] Key type big_key registered
[ 0.230138] Key type asymmetric registered
[ 0.230545] Asymmetric key parser 'x509' registered
[ 0.231056] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.231793] io scheduler noop registered
[ 0.232203] io scheduler deadline registered (default)
[ 0.232721] io scheduler cfq registered
[ 0.233138] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.233702] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.234385] ipmi message handler version 39.2
[ 0.234950] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 34
[ 0.236924] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 35
[ 0.238056] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.269038] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.293426] Linux agpgart interface v0.103
[ 0.294465] brd: module loaded
[ 0.295216] loop: module loaded
[ 0.296338] scsi0 : ata_piix
[ 0.296669] scsi1 : ata_piix
[ 0.296977] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[ 0.297633] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[ 0.298616] libphy: Fixed MDIO Bus: probed
[ 0.299080] tun: Universal TUN/TAP device driver, 1.6
[ 0.299568] tun: (C) 1999-2004 Max Krasnyansky <maxk(a)qualcomm.com>
[ 0.300204] PPP generic driver version 2.4.2
[ 0.300817] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.301454] ehci-pci: EHCI PCI platform driver
[ 0.301893] ehci-platform: EHCI generic platform driver
[ 0.302404] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.303007] ohci-pci: OHCI PCI platform driver
[ 0.303444] ohci-platform: OHCI generic platform driver
[ 0.303955] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.304611] i8042: PNP: No PS/2 controller found. Probing ports directly.
[ 0.305820] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.306310] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.306852] mousedev: PS/2 mouse device common for all mice
[ 0.307603] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.308290] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 0.308982] device-mapper: uevent: version 1.0.3
[ 0.309478] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised:
dm-devel(a)redhat.com
[ 0.310287] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.310941] TCP: cubic registered
[ 0.311318] NET: Registered protocol family 10
[ 0.311857] NET: Registered protocol family 17
[ 0.312642] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 0.313492] Key type dns_resolver registered
[ 0.314011] Loading compiled-in X.509 certificates
[ 0.315128] Loaded X.509 cert 'Magrathea: Glacier signing key:
5e3c0f9ca6e36543535fa2bb5b709e84f16da7c7'
[ 0.316335] registered taskstats version 1
[ 0.316844] Key type trusted registered
[ 0.317294] Key type encrypted registered
[ 0.317877] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.318416] IMA: No TPM chip found, activating TPM-bypass!
[ 0.319071] regulator-dummy: incomplete constraints, leaving on
[ 0.319672] Magic number: 10:34:5
[ 0.320102] rtc_cmos rtc_cmos: setting system clock to 2014-12-11 02:02:35 UTC
(1418263355)
[ 0.320928] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.321509] EDD information not available.
[ 0.457359] Freeing unused kernel memory: 1336K (ffffffff81d1f000 - ffffffff81e6d000)
[ 0.458867] Write protecting the kernel read-only data: 12288k
[ 0.462785] Freeing unused kernel memory: 816K (ffff880001734000 - ffff880001800000)
[ 0.464823] Freeing unused kernel memory: 696K (ffff880001b52000 - ffff880001c00000)
supermin: mounting /proc
supermin: uptime: 0.46 0.17
supermin: ext2 mini initrd starting up: 4.1.6 zlib xz
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=linux
supermin: mounting /sys
supermin: internal insmod megaraid_mm.ko
[ 0.469190] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
supermin: internal insmod megaraid_mbox.ko
[ 0.471338] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
supermin: internal insmod megaraid_sas.ko
[ 0.473970] megasas: 06.700.06.00-rc1 Sat. Aug. 31 17:00:00 PDT 2013
supermin: internal insmod megaraid.ko
supermin: internal insmod libcrc32c.ko
supermin: internal insmod crc32-pclmul.ko
[ 0.478135] PCLMULQDQ-NI instructions are not detected.
insmod: init_module: crc32-pclmul.ko: No such device
supermin: internal insmod crct10dif-pclmul.ko
insmod: init_module: crct10dif-pclmul.ko: No such device
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc32.ko
supermin: internal insmod crc-ccitt.ko
supermin: internal insmod crc7.ko
supermin: internal insmod crc8.ko
supermin: internal insmod sym53c8xx.ko
supermin: internal insmod ideapad_slidebar.ko
[ 0.488440] ideapad_slidebar: DMI does not match
insmod: init_module: ideapad_slidebar.ko: No such device
supermin: internal insmod sparse-keymap.ko
supermin: internal insmod ideapad-laptop.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod virtio_scsi.ko
[ 0.494257] scsi2 : Virtio SCSI HBA
[ 0.496085] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.0. PQ: 0 ANSI: 5
[ 0.497175] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 2.0. PQ: 0 ANSI: 5
[ 0.511675] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 0.512436] sd 2:0:0:0: [sda] 41943040 512-byte logical blocks: (21.4 GB/20.0 GiB)
[ 0.513541] sd 2:0:0:0: [sda] Write Protect is off
[ 0.514164] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[ 0.515154] sd 2:0:1:0: Attached scsi generic sg1 type 0
[ 0.515857] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
[ 0.517194] sd 2:0:1:0: [sdb] Write Protect is off
[ 0.517906] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
[ 0.519516] sda: sda1
[ 0.520567] sd 2:0:0:0: [sda] Attached SCSI disk
[ 0.521362] sdb: unknown partition table
[ 0.522574] sd 2:0:1:0: [sdb] Attached SCSI disk
supermin: picked /sys/block/sdb/dev as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[ 0.526166] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
[ 0.529733] EXT4-fs (sdb): mounted filesystem without journal. Opts:
supermin: chroot
execl: /init: No such file or directory
supermin: debug: listing directory /
401 d usr 040755 4096 0:0
2 d .. 040755 4096 0:0
397 d run 040755 4096 0:0
394 d mnt 040755 4096 0:0
11 d lost+found 040700 16384 0:0
13 d boot 040755 4096 0:0
400 d tmp 041777 4096 0:0
396 d root 040700 4096 0:0
14 d dev 040755 4096 0:0
1087 d var 040755 4096 0:0
395 d proc 040755 4096 0:0
398 d sbin 040755 4096 0:0
12 d bin 040755 4096 0:0
15 d etc 040755 4096 0:0
374 d lib 040755 4096 0:0
399 d sys 040755 4096 0:0
393 d lib64 040755 4096 0:0
2 d . 040755 4096 0:0
373 d home 040755 4096 0:0
supermin: debug: listing directory /bin
1156 - gunzip 100755 2303 0:0
1167 - lesspipe 100755 7758 0:0
1151 - findmnt 100755 36144 0:0
1131 - cat 100755 47904 0:0
1124 - bzexe 100755 4877 0:0
1127 - bzip2 100755 31152 0:0
1143 - dir 100755 110080 0:0
2 d .. 040755 4096 0:0
1164 - lessecho 100755 10440 0:0
1183 - ntfs-3g.probe 100755 10312 0:0
1136 - chvt 100755 10480 0:0
1128 - bzip2recover 100755 14480 0:0
1166 - lesskey 100755 15912 0:0
1148 - false 100755 27168 0:0
1215 - ss 100755 76624 0:0
1175 - mknod 100755 35456 0:0
1165 l lessfile 120777 8 0:0 -> lesspipe
1168 - ln 100755 56072 0:0
1161 - kill 100755 23088 0:0
1152 - fuser 100755 31864 0:0
1146 - echo 100755 31296 0:0
1158 - gzip 100755 94048 0:0
1180 - mt-gnu 100755 68760 0:0
1235 - zfgrep 100755 142 0:0
1189 - ntfscmp 100755 34920 0:0
1177 - more 100755 39600 0:0
1142 - df 100755 97736 0:0
1149 - fgconsole 100755 10488 0:0
1172 - lsblk 100755 44688 0:0
1203 l rbash 120777 4 0:0 -> bash
1179 - mountpoint 100755 10456 0:0
1213 l sh 120777 4 0:0 -> dash
1134 - chmod 100755 56032 0:0
1212 - setupcon 100755 12052 0:0
1236 - zforce 100755 2133 0:0
1229 - vdir 100755 110080 0:0
1238 - zless 100755 2039 0:0
1163 - less 100755 153664 0:0
1155 - grep 100755 191952 0:0
1138 - cpio 100755 137272 0:0
1137 - cp 100755 130304 0:0
1120 - bzcat 100755 31152 0:0
1227 - uncompress 100755 2303 0:0
1154 - getfacl 100755 23688 0:0
1226 - uname 100755 31360 0:0
1214 - sleep 100755 31296 0:0
1209 - sed 100755 73352 0:0
1160 - kbd_mode 100755 10480 0:0
1129 l bzless 120777 6 0:0 -> bzmore
1140 - date 100755 64256 0:0
1197 - ntfswipe 100755 43632 0:0
1205 - rm 100755 60160 0:0
1199 - openvt 100755 18912 0:0
1224 - ulockmgr_server 100755 14336 0:0
1228 - unicode_start 100755 2762 0:0
1125 l bzfgrep 120777 6 0:0 -> bzgrep
1174 - mkdir 100755 51936 0:0
1145 - dumpkeys 100755 82256 0:0
1173 l lsmod 120777 4 0:0 -> kmod
1218 - tailf 100755 14720 0:0
1130 - bzmore 100755 1297 0:0
1187 - ntfsck 100755 30752 0:0
1233 - zdiff 100755 5766 0:0
1204 - readlink 100755 39528 0:0
1210 - setfacl 100755 36232 0:0
1211 - setfont 100755 39896 0:0
1221 - touch 100755 60224 0:0
1123 l bzegrep 120777 6 0:0 -> bzgrep
1192 - ntfsinfo 100755 55416 0:0
1122 - bzdiff 100755 2140 0:0
1219 - tar 100755 353840 0:0
1170 - lowntfs-3g 100755 63912 0:0
1118 - bash 100755 1017016 0:0
1225 - umount 104755 69120 0:0
1157 - gzexe 100755 5937 0:0
1222 - true 100755 27168 0:0
1200 l pidof 120777 14 0:0 -> /sbin/killall5
1223 - udevadm 100755 248040 0:0
1220 - tempfile 100755 10344 0:0
1153 - fusermount 104755 30800 0:0
1231 - zcat 100755 1939 0:0
1208 - running-in-container 100755 254 0:0
1176 - mktemp 100755 39648 0:0
1234 - zegrep 100755 142 0:0
1181 - mv 100755 122088 0:0
1119 - bunzip2 100755 31152 0:0
1217 - sync 100755 27200 0:0
1147 - egrep 100755 183696 0:0
1169 - loadkeys 100755 111432 0:0
1216 - stty 100755 68256 0:0
1232 - zcmp 100755 1779 0:0
1196 - ntfstruncate 100755 34856 0:0
1135 - chown 100755 60160 0:0
1162 - kmod 100755 154616 0:0
1132 - chacl 100755 14688 0:0
1126 - bzgrep 100755 3642 0:0
1202 - pwd 100755 31392 0:0
1195 - ntfsmove 100755 30824 0:0
1193 - ntfsls 100755 31928 0:0
1239 - zmore 100755 1912 0:0
1139 - dash 100755 121272 0:0
1150 - fgrep 100755 138352 0:0
1185 - ntfs-3g.usermap 100755 18432 0:0
12 d . 040755 4096 0:0
1191 - ntfsfix 100755 39024 0:0
1121 l bzcmp 120777 6 0:0 -> bzdiff
1186 - ntfscat 100755 26728 0:0
1144 - dmesg 100755 22896 0:0
1194 - ntfsmftalloc 100755 26672 0:0
1230 - which 100755 946 0:0
1133 - chgrp 100755 60160 0:0
1201 - ps 100755 93232 0:0
1171 - ls 100755 110080 0:0
1188 - ntfscluster 100755 30824 0:0
1207 - run-parts 100755 19248 0:0
1159 - ip 100755 307328 0:0
1198 l open 120777 6 0:0 -> openvt
1178 - mount 104755 94792 0:0
1141 - dd 100755 56136 0:0
1182 - ntfs-3g 100755 59848 0:0
1240 - znew 100755 5049 0:0
1190 - ntfsdump_logfile 100755 22528 0:0
1237 - zgrep 100755 5940 0:0
1184 - ntfs-3g.secaudit 100755 67608 0:0
1206 - rmdir 100755 43648 0:0
supermin: debug: listing directory /lib
384 d systemd 040755 4096 0:0
2 d .. 040755 4096 0:0
388 d udev 040755 4096 0:0
383 d modules-load.d 040755 4096 0:0
1262 l libcryptsetup.so.4 120777 22 0:0 -> libcryptsetup.so.4.5.0
375 d cryptsetup 040755 4096 0:0
1263 - libcryptsetup.so.4.5.0 100644 145552 0:0
378 d ifupdown 040755 4096 0:0
391 d x86_64-linux-gnu 040755 4096 0:0
1261 - klibc-P2s_k-gf23VtrGgO2_4pGkQgwMY.so 100755 71512 0:0
379 d init 040755 4096 0:0
382 d modprobe.d 040755 4096 0:0
374 d . 040755 4096 0:0
380 d lsb 040755 4096 0:0
5836 d modules 040755 4096 0:0
supermin: debug: listing directory /lib64
2 d .. 040755 4096 0:0
1530 l ld-linux-x86-64.so.2 120777 32 0:0 -> /lib/x86_64-linux-gnu/ld-2.19.so
393 d . 040755 4096 0:0
[ 0.603681] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[ 0.603681]
[ 0.604616] CPU: 0 PID: 1 Comm: init Not tainted 3.13.0-32-generic #57-Ubuntu
[ 0.605318] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
[ 0.606101] ffff88001ef58380 ffff88001ed89e48 ffffffff8171bcb4 ffffffff81a4e5e8
[ 0.606911] ffff88001ed89ec0 ffffffff81714eb5 ffffffff00000010 ffff88001ed89ed0
[ 0.606924] ffff88001ed89e70 ffffffff81f239e0 0000000000000100 ffff88001ed80398
[ 0.606924] Call Trace:
[ 0.606924] [<ffffffff8171bcb4>] dump_stack+0x45/0x56
[ 0.606924] [<ffffffff81714eb5>] panic+0xc8/0x1d7
[ 0.606924] [<ffffffff8106a3a1>] do_exit+0xa41/0xa50
[ 0.606924] [<ffffffff8109ddf4>] ? vtime_account_user+0x54/0x60
[ 0.606924] [<ffffffff8106a42f>] do_group_exit+0x3f/0xa0
[ 0.606924] [<ffffffff8106a4a4>] SyS_exit_group+0x14/0x20
[ 0.606924] [<ffffffff8172c87f>] tracesys+0xe1/0xe6
[ 0.606924] Rebooting in 1 seconds..libguestfs: error: appliance closed the connection
unexpectedly, see earlier error messages
libguestfs: child_cleanup: 0xfc4150: child process died
libguestfs: sending SIGTERM to process 17834
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
libguestfs: trace: close
libguestfs: closing guestfs handle 0xfc4150 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsO0PIPo
”
"libguestfs: error: appliance closed the connection unexpectedly.
This usually means the libguestfs appliance crashed.
See
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
for information about how to debug libguestfs and report bugs.
libguestfs: error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
See
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
or run 'libguestfs-test-tool' and post the *complete* output into a
bug report or message to the libguestfs mailing list.
From: Richard W.M. Jones
Date: 2014-12-10 18:08
To: cuimingwen(a)incito.com.cn; libguestfs
Subject: Re: Re: virt-df error, help
[PLEASE keep replies on the list]
On Wed, Dec 10, 2014 at 01:03:01PM +0800, cuimingwen(a)incito.com.cn wrote:
Hi, Rich.
when I compile install the libguestfish1.26.5
./configure ; make:
the errors show “
/root/virTest/libguestfs-1.26.5/fish/progress.c:282: undefined reference to `tgetnum'
guestfish-progress.o: In function `fprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:97: undefined reference to `UP'
collect2: error: ld returned 1 exit status
make[3]: *** [guestfish] Error 1
make[3]: Leaving directory `/root/virTest/libguestfs-1.26.5/fish'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/virTest/libguestfs-1.26.5/fish'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/virTest/libguestfs-1.26.5'
make: *** [all] Error 2”
You need to install libtinfo-dev and maybe libreadline-dev, and then
re-run ./configure.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html