[Pkg-libvirt-maintainers] Bug#884110: libguestfs-perl: libguestfs perl bindings fails to report virtualdisk after upgrade from 1.34 to 1.36

Emmanuel Kasper manu at debian.org
Mon Dec 11 14:18:45 UTC 2017


Package: libguestfs-perl
Version: 1:1.36.11-1
Severity: normal


Dear Package maintainer

After upgrading libguestfs0 to 1.36, the sub routine disk_virtual_size fails with a qemu-img error.

Here is a small perl script which reproduces the issue:

#!/usr/bin/perl
use warnings;
use strict;

use Sys::Guestfs;

system("qemu-img create -f vmdk test1.vmdk 1M");
my @disks = ("test1.vmdk");

my $g = Sys::Guestfs->new();

# turning readonly to 1, allow $g->disk_virtual_size to report properly
$g->add_drive_opts($_ , readonly => 0) foreach @disks;
$g->launch();

eval {
    print $_ . ": " . $g->disk_virtual_size($_) . "\n" foreach @disks;
    $g->close ();
};

unlink $_ foreach @disks;

die $@ if $@;


I attached to this bug report the output generated by setting export LIBGUESTFS_DEBUG=1.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=fr_FR:fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libguestfs-perl depends on:
ii  libc6                       2.24-17
ii  libguestfs0                 1:1.36.11-1
ii  libsys-virt-perl            3.8.0-1
ii  libwin-hivex-perl           1.3.14-3
ii  libxml-xpath-perl           1.42-1
ii  perl                        5.26.1-3
ii  perl-base [perlapi-5.26.1]  5.26.1-3

libguestfs-perl recommends no packages.

libguestfs-perl suggests no packages.

-- no debconf information
-------------- next part --------------
Formatting 'test1.vmdk', fmt=vmdk size=1048576 compat6=off hwversion=undefined
libguestfs: create: flags = 0, handle = 0x5654c69442f0, program = perl
libguestfs: launch: program=bug.pl
libguestfs: launch: version=1.36.10
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsWuDZPB
libguestfs: launch: umask=0022
libguestfs: launch: euid=1000
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-1000/appliance.d
supermin: version: 5.1.19
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
supermin: if-newer: output does not need rebuilding
libguestfs: finished building supermin appliance
libguestfs: begin testing qemu features
libguestfs: checking for previously cached test results of /usr/bin/qemu-system-x86_64, in /var/tmp/.guestfs-1000
libguestfs: loading previously cached test results
libguestfs: qemu version: 2.10
libguestfs: qemu mandatory locking: yes
libguestfs: finished testing qemu features
[00012ms] /usr/bin/qemu-system-x86_64 \
    -global virtio-blk-pci.scsi=off \
    -nodefconfig \
    -enable-fips \
    -nodefaults \
    -display none \
    -machine accel=kvm:tcg \
    -cpu host \
    -m 500 \
    -no-reboot \
    -rtc driftfix=slew \
    -no-hpet \
    -global kvm-pit.lost_tick_policy=discard \
    -kernel /var/tmp/.guestfs-1000/appliance.d/kernel \
    -initrd /var/tmp/.guestfs-1000/appliance.d/initrd \
    -object rng-random,filename=/dev/urandom,id=rng0 \
    -device virtio-rng-pci,rng=rng0 \
    -device virtio-scsi-pci,id=scsi \
    -drive file=/home/manu/Projects/git/import2vbox/test1.vmdk,cache=writeback,id=hd0,if=none \
    -device scsi-hd,drive=hd0 \
    -drive file=/var/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
    -device scsi-hd,drive=appliance \
    -device virtio-serial-pci \
    -serial stdio \
    -device sga \
    -chardev socket,path=/run/user/1000/libguestfsGyM0Md/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -append 'panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color'
libguestfs: responding to serial console Device Status Report
\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 03/05/17
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (generic at generic) Sun, 05 Mar 2017 16:09:17 +0100
Term: 80x24
4 0
\x1b[2J
SeaBIOS (version 1.10.2-1)


Booting from ROM...

\x1b[2J[    0.000000] Linux version 4.11.0-1-amd64 (debian-kernel at lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.11.6-1 (2017-06-19)
[    0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3ddfff] usable
[    0.000000] BIOS-e820: [mem 0x000000001f3de000-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.8 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: last_pfn = 0x1f3de max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT  
[    0.000000] found SMP MP-table at [mem 0x000f6a90-0x000f6a9f] mapped at [ffff8c20400f6a90]
[    0.000000] RAMDISK: [mem 0x1f0e9000-0x1f3cffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F68C0 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000001F3E156F 00002C (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000001F3E1403 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000001F3E0040 0013C3 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000001F3E0000 000040
[    0.000000] ACPI: APIC 0x000000001F3E14F7 000078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3ddfff]
[    0.000000] NODE_DATA(0) allocated [mem 0x1f3d9000-0x1f3ddfff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:1f3d1001, primary cpu clock
[    0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000001f3ddfff]
[    0.000000]   Normal   empty
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000001f3ddfff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3ddfff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    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] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] percpu: Embedded 37 pages/cpu @ffff8c205ee00000 s111512 r8192 d31848 u2097152
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 1ee0d9c0
[    0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 125847
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Memory: 484312K/511472K available (6464K kernel code, 1175K rwdata, 2788K rodata, 1436K init, 684K bss, 27160K reserved, 0K cma-reserved)
[    0.004000] Hierarchical RCU implementation.
[    0.004000] \tBuild-time adjustment of leaf fanout to 64.
[    0.004000] \tRCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=1.
[    0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
[    0.004000] NR_IRQS:33024 nr_irqs:256 16
[    0.004000] Console: colour *CGA 80x25
[    0.004000] console [ttyS0] enabled
[    0.004005] tsc: Detected 3092.980 MHz processor
[    0.004407] Calibrating delay loop (skipped) preset value.. 6185.96 BogoMIPS (lpj=12371920)
[    0.004678] pid_max: default: 32768 minimum: 301
[    0.005085] ACPI: Core revision 20170119
[    0.006052] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.006620] Security Framework initialized
[    0.006944] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.007504] AppArmor: AppArmor disabled by boot time parameter
[    0.008026] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.008688] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.009250] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.009808] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.010601] Disabling memory control group subsystem
[    0.011079] CPU: Physical Processor ID: 0
[    0.011406] mce: CPU supports 10 MCE banks
[    0.012060] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.012466] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.017372] Freeing SMP alternatives memory: 24K
[    0.018389] ftrace: allocating 25929 entries in 102 pages
[    0.024158] smpboot: Max logical packages: 1
[    0.024615] x2apic enabled
[    0.024943] Switched APIC routing to physical x2apic.
[    0.025966] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.026486] smpboot: CPU0: Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz (family: 0x6, model: 0x3a, stepping: 0x9)
[    0.027252] Performance Events: IvyBridge events, Intel PMU driver.
[    0.027787] ... version:                2
[    0.028000] ... bit width:              48
[    0.028000] ... generic registers:      4
[    0.028000] ... value mask:             0000ffffffffffff
[    0.028000] ... max period:             000000007fffffff
[    0.028000] ... fixed-purpose events:   3
[    0.028000] ... event mask:             000000070000000f
[    0.028033] smp: Bringing up secondary CPUs ...
[    0.028427] smp: Brought up 1 node, 1 CPU
[    0.028722] smpboot: Total of 1 processors activated (6185.96 BogoMIPS)
[    0.029393] devtmpfs: initialized
[    0.029719] x86/mm: Memory block size: 128MB
[    0.031403] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.032006] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.032526] pinctrl core: initialized pinctrl subsystem
[    0.032971] NET: Registered protocol family 16
[    0.033402] cpuidle: using governor ladder
[    0.033757] cpuidle: using governor menu
[    0.034045] PCCT header not found.
[    0.034330] ACPI: bus type PCI registered
[    0.034718] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.035268] PCI: Using configuration type 1 for base access
[    0.035707] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
[    0.036379] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.036999] ACPI: Added _OSI(Module Device)
[    0.037311] ACPI: Added _OSI(Processor Device)
[    0.037642] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.038034] ACPI: Added _OSI(Processor Aggregator Device)
[    0.039386] ACPI: Interpreter enabled
[    0.039681] ACPI: (supports S0 S3 S4 S5)
[    0.039971] ACPI: Using IOAPIC for interrupt routing
[    0.040014] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.042364] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.042828] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.043328] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.043875] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.044189] acpiphp: Slot [2] registered
[    0.044493] acpiphp: Slot [3] registered
[    0.044794] acpiphp: Slot [4] registered
[    0.045148] acpiphp: Slot [5] registered
[    0.045456] acpiphp: Slot [6] registered
[    0.045759] acpiphp: Slot [7] registered
[    0.046101] acpiphp: Slot [8] registered
[    0.046417] acpiphp: Slot [9] registered
[    0.046717] acpiphp: Slot [10] registered
[    0.047024] acpiphp: Slot [11] registered
[    0.047384] acpiphp: Slot [12] registered
[    0.047691] acpiphp: Slot [13] registered
[    0.048017] acpiphp: Slot [14] registered
[    0.048408] acpiphp: Slot [15] registered
[    0.048715] acpiphp: Slot [16] registered
[    0.049050] acpiphp: Slot [17] registered
[    0.049475] acpiphp: Slot [18] registered
[    0.049801] acpiphp: Slot [19] registered
[    0.050125] acpiphp: Slot [20] registered
[    0.050476] acpiphp: Slot [21] registered
[    0.050799] acpiphp: Slot [22] registered
[    0.051122] acpiphp: Slot [23] registered
[    0.051455] acpiphp: Slot [24] registered
[    0.051794] acpiphp: Slot [25] registered
[    0.052019] acpiphp: Slot [26] registered
[    0.052342] acpiphp: Slot [27] registered
[    0.052696] acpiphp: Slot [28] registered
[    0.053034] acpiphp: Slot [29] registered
[    0.053340] acpiphp: Slot [30] registered
[    0.053700] acpiphp: Slot [31] registered
[    0.054003] PCI host bridge to bus 0000:00
[    0.054305] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.054848] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.055336] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.055932] pci_bus 0000:00: root bus resource [mem 0x1f400000-0xfebfffff window]
[    0.056004] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.060206] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.060773] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.061244] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.061815] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.062688] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.063231] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.084691] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.085195] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.085665] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.086191] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.086647] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.087159] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.087573] vgaarb: loaded
[    0.087832] PCI: Using ACPI for IRQ routing
[    0.088194] clocksource: Switched to clocksource kvm-clock
[    0.093823] VFS: Disk quotas dquot_6.6.0
[    0.094181] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.094718] pnp: PnP ACPI init
[    0.095329] pnp: PnP ACPI: found 5 devices
[    0.100999] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.101690] NET: Registered protocol family 2
[    0.102280] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.102825] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.103285] TCP: Hash tables configured (established 4096 bind 4096)
[    0.103823] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.104244] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.104789] NET: Registered protocol family 1
[    0.105107] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.105534] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.106042] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.106534] Unpacking initramfs...
[    0.107830] Freeing initrd memory: 2972K
[    0.108431] audit: initializing netlink subsys (disabled)
[    0.109138] audit: type=2000 audit(1512926271.376:1): state=initialized audit_enabled=0 res=1
[    0.109813] workingset: timestamp_bits=40 max_order=17 bucket_order=0
[    0.110365] zbud: loaded
[    0.110674] alg: self-tests disabled
[    0.111054] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.111664] io scheduler noop registered
[    0.111957] io scheduler deadline registered
[    0.112285] io scheduler cfq registered (default)
[    0.112686] io scheduler mq-deadline registered
[    0.113099] GHES: HEST is not enabled!
[    0.113413] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.136274] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.136899] Linux agpgart interface v0.103
[    0.137256] AMD IOMMUv2 driver by Joerg Roedel <jroedel at suse.de>
[    0.137777] AMD IOMMUv2 functionality not available on this system
[    0.138304] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.139477] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.139909] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.140384] mousedev: PS/2 mouse device common for all mice
[    0.141085] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.141969] rtc_cmos 00:00: RTC can wake from S4
[    0.142634] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[    0.143212] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
[    0.143727] ledtrig-cpu: registered to indicate activity on CPUs
[    0.144367] NET: Registered protocol family 10
[    0.144830] Segment Routing with IPv6
[    0.145129] mip6: Mobile IPv6
[    0.145413] NET: Registered protocol family 17
[    0.145754] mpls_gso: MPLS GSO support
[    0.146188] registered taskstats version 1
[    0.146572] zswap: loaded using pool lzo/zbud
[    0.146935] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    0.147711] rtc_cmos 00:00: setting system clock to 2017-12-10 17:17:50 UTC (1512926270)
[    0.149296] Freeing unused kernel memory: 1436K
[    0.149663] Write protecting the kernel read-only data: 12288k
[    0.150398] Freeing unused kernel memory: 1712K
[    0.152564] Freeing unused kernel memory: 1308K
[    0.153933] x86/mm: Checked W+X mappings: passed, no W+X pages found.
supermin: mounting /proc
supermin: ext2 mini initrd starting up: 5.1.19
supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
supermin: uptime: 0.15 0.02
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crc32c-intel.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
supermin: internal insmod crc32c_generic.ko
supermin: internal insmod libnvdimm.ko
supermin: internal insmod nfit.ko
supermin: internal insmod scsi_mod.ko
[    0.161093] SCSI subsystem initialized
supermin: internal insmod libata.ko
supermin: internal insmod ata_piix.ko
[    0.163373] scsi host0: ata_piix
[    0.163739] scsi host1: ata_piix
[    0.164016] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14
[    0.164519] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15
supermin: internal insmod virtio.ko
supermin: internal insmod virtio_ring.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod rng-core.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod virtio_console.ko
supermin: internal insmod crypto_engine.ko
supermin: internal insmod virtio_crypto.ko
supermin: internal insmod virtio_net.ko
supermin: internal insmod nd_btt.ko
supermin: internal insmod nd_pmem.ko
supermin: internal insmod sd_mod.ko
supermin: internal insmod virtio_scsi.ko
supermin: internal insmod virtio_balloon.ko
supermin: internal insmod virtio_input.ko
supermin: internal insmod virtio_pci.ko
[    0.371855] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[    0.380117] random: fast init done
[    0.380710] random: crng init done
[    0.405101] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    0.407241] scsi host2: Virtio SCSI HBA
[    0.412156] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    0.420138] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    0.436859] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[    0.491224] sd 2:0:0:0: [sda] 2048 512-byte logical blocks: (1.05 MB/1.00 MiB)
[    0.492512] sd 2:0:0:0: [sda] Write Protect is off
[    0.493106] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    0.493997] sd 2:0:1:0: [sdb] Write Protect is off
[    0.494576] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.495633] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.497979] sd 2:0:0:0: [sda] Attached SCSI disk
[    0.498551] sd 2:0:1:0: [sdb] Attached SCSI disk
supermin: internal insmod fscrypto.ko
supermin: internal insmod jbd2.ko
supermin: internal insmod mbcache.ko
supermin: internal insmod crc16.ko
supermin: internal insmod ext4.ko
supermin: internal insmod crc-ccitt.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc7.ko
supermin: internal insmod libcrc32c.ko
supermin: picked /sys/block/sdb/dev (8:16) as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[    0.509071] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
[    0.511821] EXT4-fs (sdb): mounted filesystem without journal. Opts: 
supermin: deleting initramfs files
supermin: chroot
Starting /init script ...
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_network=1* ]]
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_rescue=1* ]]
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_noreboot=1* ]]
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_boot_analysis=1* ]]
+ '[' '!' -d /sys ']'
+ mkdir -p /sys
+ mount -t sysfs /sys /sys
+ mkdir -p /run
+ mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run
+ mkdir -p /run/lock
+ ln -s ../run/lock /var/lock
+ test -e /etc/mtab
+ ln -s /proc/mounts /etc/mtab
+ mount -t devtmpfs /dev /dev
+ mkdir -p /dev/pts
+ mount -t devpts /dev/pts /dev/pts
+ mkdir -p /dev/shm
+ mount -t tmpfs -o mode=1777 shmfs /dev/shm
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *selinux=1* ]]
+ mkdir -p /run/tmpfiles.d
+ kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
++ od -x -A n
++ dd if=/dev/urandom bs=16 count=1 status=none
+ machine_id=' 239c 68b9 c3ea d2bf 658c 6cf8 3019 3f56'
+ echo 239c68b9c3ead2bf658c6cf830193f56
+ systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
/init: line 95: systemd-tmpfiles: command not found
+ for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
+ '[' -x /lib/systemd/systemd-udevd ']'
+ UDEVD=/lib/systemd/systemd-udevd
+ break
+ '[' -z /lib/systemd/systemd-udevd ']'
+ /lib/systemd/systemd-udevd --daemon
starting version 235
+ udevadm trigger
+ udevadm settle --timeout=600
[    0.608855] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    0.609378] sd 2:0:1:0: Attached scsi generic sg1 type 0
[    1.120190] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2c95601a146, max_idle_ns: 440795332094 ns
+ shopt -s nullglob
+ for f in /sys/block/sd*/device/timeout
+ echo 300
+ for f in /sys/block/sd*/device/timeout
+ echo 300
+ for f in /sys/block/{h,s,ub,v}d*/queue/scheduler
+ echo noop
+ for f in /sys/block/{h,s,ub,v}d*/queue/scheduler
+ echo noop
+ shopt -u nullglob
+ ip addr add 127.0.0.1/8 brd + dev lo scope host
+ ip link set dev lo up
+ test '' = 1
+ mdadm -As --auto=yes --run
mdadm: No arrays found in config file or automatically
+ modprobe dm_mod
[    1.522719] device-mapper: uevent: version 1.0.3
[    1.523969] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel at redhat.com
+ lvm vgchange -aay --sysinit
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ ldmtool create all
[
]
+ test 1 = 1
+ test '' '!=' 1
+ uname -a
Linux (none) 4.11.0-1-amd64 #1 SMP Debian 4.11.6-1 (2017-06-19) x86_64 GNU/Linux
+ ls -lR /dev
/dev:
total 0
drwxr-xr-x 2 0 0       80 Dec 10 17:17 block
drwxr-xr-x 2 0 0       80 Dec 10 17:17 bsg
drwxr-xr-x 2 0 0     2000 Dec 10 17:17 char
crw------- 1 0 0   5,   1 Dec 10 17:17 console
lrwxrwxrwx 1 0 0       11 Dec 10 17:17 core -> /proc/kcore
crw------- 1 0 0  10,  62 Dec 10 17:17 cpu_dma_latency
drwxr-xr-x 5 0 0      100 Dec 10 17:17 disk
lrwxrwxrwx 1 0 0       13 Dec 10 17:17 fd -> /proc/self/fd
crw-rw-rw- 1 0 0   1,   7 Dec 10 17:17 full
crw------- 1 0 0  10, 228 Dec 10 17:17 hpet
crw------- 1 0 0  10, 183 Dec 10 17:17 hwrng
drwxr-xr-x 2 0 0       60 Dec 10 17:17 input
crw-r--r-- 1 0 0   1,  11 Dec 10 17:17 kmsg
drwxr-xr-x 2 0 0       60 Dec 10 17:17 mapper
crw------- 1 0 0  10, 227 Dec 10 17:17 mcelog
crw------- 1 0 0   1,   1 Dec 10 17:17 mem
crw------- 1 0 0  10,  59 Dec 10 17:17 memory_bandwidth
crw------- 1 0 0  10,  61 Dec 10 17:17 network_latency
crw------- 1 0 0  10,  60 Dec 10 17:17 network_throughput
crw-rw-rw- 1 0 0   1,   3 Dec 10 17:17 null
crw------- 1 0 0   1,   4 Dec 10 17:17 port
crw------- 1 0 0  10,   1 Dec 10 17:17 psaux
crw-rw-rw- 1 0 0   5,   2 Dec 10 17:17 ptmx
drwxr-xr-x 2 0 0        0 Dec 10 17:17 pts
crw-rw-rw- 1 0 0   1,   8 Dec 10 17:17 random
lrwxrwxrwx 1 0 0        4 Dec 10 17:17 rtc -> rtc0
crw------- 1 0 0 252,   0 Dec 10 17:17 rtc0
brw------- 1 0 0   8,   0 Dec 10 17:17 sda
brw------- 1 0 0   8,  16 Dec 10 17:17 sdb
crw------- 1 0 0  21,   0 Dec 10 17:17 sg0
crw------- 1 0 0  21,   1 Dec 10 17:17 sg1
drwxrwxrwt 2 0 0       40 Dec 10 17:17 shm
crw------- 1 0 0  10, 231 Dec 10 17:17 snapshot
lrwxrwxrwx 1 0 0       15 Dec 10 17:17 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 0 0       15 Dec 10 17:17 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 0 0       15 Dec 10 17:17 stdout -> /proc/self/fd/1
crw-rw-rw- 1 0 0   5,   0 Dec 10 17:17 tty
crw------- 1 0 0   4,   0 Dec 10 17:17 tty0
crw------- 1 0 0   4,   1 Dec 10 17:17 tty1
crw------- 1 0 0   4,  10 Dec 10 17:17 tty10
crw------- 1 0 0   4,  11 Dec 10 17:17 tty11
crw------- 1 0 0   4,  12 Dec 10 17:17 tty12
crw------- 1 0 0   4,  13 Dec 10 17:17 tty13
crw------- 1 0 0   4,  14 Dec 10 17:17 tty14
crw------- 1 0 0   4,  15 Dec 10 17:17 tty15
crw------- 1 0 0   4,  16 Dec 10 17:17 tty16
crw------- 1 0 0   4,  17 Dec 10 17:17 tty17
crw------- 1 0 0   4,  18 Dec 10 17:17 tty18
crw------- 1 0 0   4,  19 Dec 10 17:17 tty19
crw------- 1 0 0   4,   2 Dec 10 17:17 tty2
crw------- 1 0 0   4,  20 Dec 10 17:17 tty20
crw------- 1 0 0   4,  21 Dec 10 17:17 tty21
crw------- 1 0 0   4,  22 Dec 10 17:17 tty22
crw------- 1 0 0   4,  23 Dec 10 17:17 tty23
crw------- 1 0 0   4,  24 Dec 10 17:17 tty24
crw------- 1 0 0   4,  25 Dec 10 17:17 tty25
crw------- 1 0 0   4,  26 Dec 10 17:17 tty26
crw------- 1 0 0   4,  27 Dec 10 17:17 tty27
crw------- 1 0 0   4,  28 Dec 10 17:17 tty28
crw------- 1 0 0   4,  29 Dec 10 17:17 tty29
crw------- 1 0 0   4,   3 Dec 10 17:17 tty3
crw------- 1 0 0   4,  30 Dec 10 17:17 tty30
crw------- 1 0 0   4,  31 Dec 10 17:17 tty31
crw------- 1 0 0   4,  32 Dec 10 17:17 tty32
crw------- 1 0 0   4,  33 Dec 10 17:17 tty33
crw------- 1 0 0   4,  34 Dec 10 17:17 tty34
crw------- 1 0 0   4,  35 Dec 10 17:17 tty35
crw------- 1 0 0   4,  36 Dec 10 17:17 tty36
crw------- 1 0 0   4,  37 Dec 10 17:17 tty37
crw------- 1 0 0   4,  38 Dec 10 17:17 tty38
crw------- 1 0 0   4,  39 Dec 10 17:17 tty39
crw------- 1 0 0   4,   4 Dec 10 17:17 tty4
crw------- 1 0 0   4,  40 Dec 10 17:17 tty40
crw------- 1 0 0   4,  41 Dec 10 17:17 tty41
crw------- 1 0 0   4,  42 Dec 10 17:17 tty42
crw------- 1 0 0   4,  43 Dec 10 17:17 tty43
crw------- 1 0 0   4,  44 Dec 10 17:17 tty44
crw------- 1 0 0   4,  45 Dec 10 17:17 tty45
crw------- 1 0 0   4,  46 Dec 10 17:17 tty46
crw------- 1 0 0   4,  47 Dec 10 17:17 tty47
crw------- 1 0 0   4,  48 Dec 10 17:17 tty48
crw------- 1 0 0   4,  49 Dec 10 17:17 tty49
crw------- 1 0 0   4,   5 Dec 10 17:17 tty5
crw------- 1 0 0   4,  50 Dec 10 17:17 tty50
crw------- 1 0 0   4,  51 Dec 10 17:17 tty51
crw------- 1 0 0   4,  52 Dec 10 17:17 tty52
crw------- 1 0 0   4,  53 Dec 10 17:17 tty53
crw------- 1 0 0   4,  54 Dec 10 17:17 tty54
crw------- 1 0 0   4,  55 Dec 10 17:17 tty55
crw------- 1 0 0   4,  56 Dec 10 17:17 tty56
crw------- 1 0 0   4,  57 Dec 10 17:17 tty57
crw------- 1 0 0   4,  58 Dec 10 17:17 tty58
crw------- 1 0 0   4,  59 Dec 10 17:17 tty59
crw------- 1 0 0   4,   6 Dec 10 17:17 tty6
crw------- 1 0 0   4,  60 Dec 10 17:17 tty60
crw------- 1 0 0   4,  61 Dec 10 17:17 tty61
crw------- 1 0 0   4,  62 Dec 10 17:17 tty62
crw------- 1 0 0   4,  63 Dec 10 17:17 tty63
crw------- 1 0 0   4,   7 Dec 10 17:17 tty7
crw------- 1 0 0   4,   8 Dec 10 17:17 tty8
crw------- 1 0 0   4,   9 Dec 10 17:17 tty9
crw------- 1 0 0   4,  64 Dec 10 17:17 ttyS0
crw-rw-rw- 1 0 0   1,   9 Dec 10 17:17 urandom
crw------- 1 0 0   7,   0 Dec 10 17:17 vcs
crw------- 1 0 0   7,   1 Dec 10 17:17 vcs1
crw------- 1 0 0   7, 128 Dec 10 17:17 vcsa
crw------- 1 0 0   7, 129 Dec 10 17:17 vcsa1
crw------- 1 0 0  10,  63 Dec 10 17:17 vga_arbiter
drwxr-xr-x 2 0 0       60 Dec 10 17:17 virtio-ports
crw------- 1 0 0 247,   1 Dec 10 17:17 vport2p1
crw-rw-rw- 1 0 0   1,   5 Dec 10 17:17 zero

/dev/block:
total 0
lrwxrwxrwx 1 0 0 6 Dec 10 17:17 8:0 -> ../sda
lrwxrwxrwx 1 0 0 6 Dec 10 17:17 8:16 -> ../sdb

/dev/bsg:
total 0
crw------- 1 0 0 250, 0 Dec 10 17:17 2:0:0:0
crw------- 1 0 0 250, 1 Dec 10 17:17 2:0:1:0

/dev/char:
total 0
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 10:1 -> ../psaux
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 10:183 -> ../hwrng
lrwxrwxrwx 1 0 0  9 Dec 10 17:17 10:227 -> ../mcelog
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 10:228 -> ../hpet
lrwxrwxrwx 1 0 0 11 Dec 10 17:17 10:231 -> ../snapshot
lrwxrwxrwx 1 0 0 17 Dec 10 17:17 10:236 -> ../mapper/control
lrwxrwxrwx 1 0 0 19 Dec 10 17:17 10:59 -> ../memory_bandwidth
lrwxrwxrwx 1 0 0 21 Dec 10 17:17 10:60 -> ../network_throughput
lrwxrwxrwx 1 0 0 18 Dec 10 17:17 10:61 -> ../network_latency
lrwxrwxrwx 1 0 0 18 Dec 10 17:17 10:62 -> ../cpu_dma_latency
lrwxrwxrwx 1 0 0 14 Dec 10 17:17 10:63 -> ../vga_arbiter
lrwxrwxrwx 1 0 0 13 Dec 10 17:17 13:63 -> ../input/mice
lrwxrwxrwx 1 0 0  6 Dec 10 17:17 1:1 -> ../mem
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 1:11 -> ../kmsg
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 1:3 -> ../null
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 1:4 -> ../port
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 1:5 -> ../zero
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 1:7 -> ../full
lrwxrwxrwx 1 0 0  9 Dec 10 17:17 1:8 -> ../random
lrwxrwxrwx 1 0 0 10 Dec 10 17:17 1:9 -> ../urandom
lrwxrwxrwx 1 0 0  6 Dec 10 17:17 21:0 -> ../sg0
lrwxrwxrwx 1 0 0  6 Dec 10 17:17 21:1 -> ../sg1
lrwxrwxrwx 1 0 0 11 Dec 10 17:17 247:1 -> ../vport2p1
lrwxrwxrwx 1 0 0 14 Dec 10 17:17 250:0 -> ../bsg/2:0:0:0
lrwxrwxrwx 1 0 0 14 Dec 10 17:17 250:1 -> ../bsg/2:0:1:0
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 252:0 -> ../rtc0
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:0 -> ../tty0
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:1 -> ../tty1
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:10 -> ../tty10
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:11 -> ../tty11
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:12 -> ../tty12
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:13 -> ../tty13
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:14 -> ../tty14
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:15 -> ../tty15
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:16 -> ../tty16
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:17 -> ../tty17
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:18 -> ../tty18
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:19 -> ../tty19
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:2 -> ../tty2
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:20 -> ../tty20
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:21 -> ../tty21
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:22 -> ../tty22
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:23 -> ../tty23
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:24 -> ../tty24
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:25 -> ../tty25
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:26 -> ../tty26
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:27 -> ../tty27
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:28 -> ../tty28
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:29 -> ../tty29
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:3 -> ../tty3
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:30 -> ../tty30
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:31 -> ../tty31
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:32 -> ../tty32
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:33 -> ../tty33
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:34 -> ../tty34
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:35 -> ../tty35
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:36 -> ../tty36
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:37 -> ../tty37
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:38 -> ../tty38
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:39 -> ../tty39
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:4 -> ../tty4
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:40 -> ../tty40
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:41 -> ../tty41
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:42 -> ../tty42
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:43 -> ../tty43
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:44 -> ../tty44
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:45 -> ../tty45
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:46 -> ../tty46
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:47 -> ../tty47
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:48 -> ../tty48
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:49 -> ../tty49
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:5 -> ../tty5
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:50 -> ../tty50
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:51 -> ../tty51
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:52 -> ../tty52
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:53 -> ../tty53
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:54 -> ../tty54
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:55 -> ../tty55
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:56 -> ../tty56
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:57 -> ../tty57
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:58 -> ../tty58
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:59 -> ../tty59
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:6 -> ../tty6
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:60 -> ../tty60
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:61 -> ../tty61
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:62 -> ../tty62
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:63 -> ../tty63
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 4:64 -> ../ttyS0
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:7 -> ../tty7
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:8 -> ../tty8
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 4:9 -> ../tty9
lrwxrwxrwx 1 0 0  6 Dec 10 17:17 5:0 -> ../tty
lrwxrwxrwx 1 0 0 10 Dec 10 17:17 5:1 -> ../console
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 5:2 -> ../ptmx
lrwxrwxrwx 1 0 0  6 Dec 10 17:17 7:0 -> ../vcs
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 7:1 -> ../vcs1
lrwxrwxrwx 1 0 0  7 Dec 10 17:17 7:128 -> ../vcsa
lrwxrwxrwx 1 0 0  8 Dec 10 17:17 7:129 -> ../vcsa1

/dev/disk:
total 0
drwxr-xr-x 2 0 0 80 Dec 10 17:17 by-id
drwxr-xr-x 2 0 0 80 Dec 10 17:17 by-path
drwxr-xr-x 2 0 0 60 Dec 10 17:17 by-uuid

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 0 0 9 Dec 10 17:17 scsi-0QEMU_QEMU_HARDDISK_appliance -> ../../sdb
lrwxrwxrwx 1 0 0 9 Dec 10 17:17 scsi-0QEMU_QEMU_HARDDISK_hd0 -> ../../sda

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 0 0 9 Dec 10 17:17 pci-0000:00:03.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 0 0 9 Dec 10 17:17 pci-0000:00:03.0-scsi-0:0:1:0 -> ../../sdb

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 0 0 9 Dec 10 17:17 d87200c3-15d3-43b8-9f20-498ecea2d10a -> ../../sdb

/dev/input:
total 0
crw------- 1 0 0 13, 63 Dec 10 17:17 mice

/dev/mapper:
total 0
crw------- 1 0 0 10, 236 Dec 10 17:17 control

/dev/pts:
total 0
c--------- 1 0 0 5, 2 Dec 10 17:17 ptmx

/dev/shm:
total 0

/dev/virtio-ports:
total 0
lrwxrwxrwx 1 0 0 11 Dec 10 17:17 org.libguestfs.channel.0 -> ../vport2p1
+ cat /proc/mounts
/dev/root / ext2 rw,noatime,block_validity,barrier,user_xattr,acl 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=98356k,mode=755 0 0
/dev /dev devtmpfs rw,relatime,size=242168k,nr_inodes=60542,mode=755 0 0
/dev/pts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
shmfs /dev/shm tmpfs rw,relatime 0 0
+ lvm pvs
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ lvm vgs
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ lvm lvs
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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
+ ip r
+ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
+ lsmod
Module                  Size  Used by
dm_mod                114688  0
sg                     32768  0
libcrc32c              16384  0
crc7                   16384  0
crc_itu_t              16384  0
crc_ccitt              16384  0
ext4                  589824  1
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  106496  1 ext4
fscrypto               28672  1 ext4
virtio_pci             24576  0
virtio_input           16384  0
virtio_balloon         16384  0
virtio_scsi            20480  1
sd_mod                 49152  1
nd_pmem                16384  0
nd_btt                 24576  1 nd_pmem
virtio_net             40960  0
virtio_crypto          20480  0
crypto_engine          16384  1 virtio_crypto
virtio_console         28672  0
virtio_rng             16384  0
rng_core               16384  1 virtio_rng
virtio_blk             20480  0
virtio_ring            24576  9 virtio_input,virtio_blk,virtio_net,virtio_rng,virtio_scsi,virtio_balloon,virtio_crypto,virtio_console,virtio_pci
virtio                 16384  9 virtio_input,virtio_blk,virtio_net,virtio_rng,virtio_scsi,virtio_balloon,virtio_crypto,virtio_console,virtio_pci
ata_piix               36864  0
libata                237568  1 ata_piix
scsi_mod              217088  4 sd_mod,virtio_scsi,libata,sg
nfit                   49152  0
libnvdimm             131072  3 nd_btt,nd_pmem,nfit
crc32c_generic         16384  0
crc32_generic          16384  0
crct10dif_pclmul       16384  0
crc32c_intel           24576  1
crc32_pclmul           16384  0
+ date
Sun Dec 10 17:17:52 UTC 2017
+ echo -n 'clocksource: '
clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
kvm-clock
+ echo -n 'uptime: '
uptime: + cat /proc/uptime
1.70 1.04
+ test '' = 1
+ cmd=guestfsd
++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
+ eval
+ test x '!=' x
+ test 1 = 1
+ cmd='guestfsd --verbose'
+ test '' = 1
+ echo guestfsd --verbose
guestfsd --verbose
+ guestfsd --verbose
lvm config:
lvmetad
trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle
calling: settle
libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
libguestfs: appliance is up
libguestfs: command: run: qemu-img
libguestfs: command: run: \ info
libguestfs: command: run: \ --output json
libguestfs: command: run: \ /dev/fd/3
qemu-img: Could not open '/dev/fd/3': Failed to get shared "write" lock
Is another process using the image?
qemu-img info: test1.vmdk: qemu-img info exited with error status 1, see debug messages above at bug.pl line 19.
libguestfs: closing guestfs handle 0x5654c69442f0 (state 2)
guestfsd: main_loop: new request, len 0x28
umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime,block_validity,barrier,user_xattr,acl freq=0 passno=0
umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=98356k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=242168k,nr_inodes=60542,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0
umount-all: /proc/mounts: fsname=shmfs dir=/dev/shm type=tmpfs opts=rw,relatime freq=0 passno=0
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
fsync /dev/sda
libguestfs: sending SIGTERM to process 31101
libguestfs: qemu maxrss 178644K
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsWuDZPB
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /run/user/1000/libguestfsGyM0Md


More information about the Pkg-libvirt-maintainers mailing list