uname -a
Linux drh-MS-7888 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 
22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
dpkg -l libguest*
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                               Version 
Architecture           Description
+++-==================================-======================-======================-=========================================================================un
libguestfs-gfs2                    <none>                 <none>
             (no description available)
ii  libguestfs-hfsplus:amd64           1:1.32.2-4ubuntu2      amd64 
             guest disk image management system - HFS+ support
un  libguestfs-jfs                     <none>                 <none>
             (no description available)
un  libguestfs-nilfs                   <none>                 <none>
             (no description available)
ii  libguestfs-perl                    1:1.32.2-4ubuntu2      amd64 
             guest disk image management system - Perl bindings
ii  libguestfs-reiserfs:amd64          1:1.32.2-4ubuntu2      amd64 
             guest disk image management system - ReiserFS support
un  libguestfs-rescue                  <none>                 <none>
             (no description available)
un  libguestfs-rsync                   <none>                 <none>
             (no description available)
ii  libguestfs-tools                   1:1.32.2-4ubuntu2      amd64 
             guest disk image management system - tools
ii  libguestfs-xfs:amd64               1:1.32.2-4ubuntu2      amd64 
             guest disk image management system - XFS support
un  libguestfs-zfs                     <none>                 <none>
             (no description available)
ii  libguestfs0:amd64                  1:1.32.2-4ubuntu2      amd64 
             guest disk image management system - shared library
root@drh-MS-7888:~#
dpkg -l guest*
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                               Version 
Architecture           Description
+++-==================================-======================-======================-=========================================================================un
guestfish                          <none>                 <none>
             (no description available)
un  guestmount                         <none>                 <none>
             (no description available)
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x9d4f80, program = guestmount
libguestfs: trace: set_recovery_proc false
libguestfs: trace: set_recovery_proc = 0
libguestfs: trace: add_drive
"/var/lib/libvirt/images/lubuntu1704.qcow2"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version *>
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=guestmount
libguestfs: launch: version=1.32.2
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/libguestfsZkMFYj
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: [00000ms] begin building supermin appliance
libguestfs: [00000ms] 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-0/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-0/appliance.d
supermin: version: 5.1.14
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-0/lock
supermin: if-newer: output does not need rebuilding
libguestfs: [00005ms] finished building supermin appliance
libguestfs: [00005ms] begin testing qemu features
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -help
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -version
libguestfs: qemu version 2.5
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [00052ms] finished testing qemu features
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
[00053ms] /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-0/appliance.d/kernel \
     -initrd /var/tmp/.guestfs-0/appliance.d/initrd \
     -device virtio-scsi-pci,id=scsi \
     -drive 
file=/var/lib/libvirt/images/lubuntu1704.qcow2,cache=writeback,id=hd0,if=none 
\
     -device scsi-hd,drive=hd0 \
     -drive 
file=/var/tmp/.guestfs-0/appliance.d/root,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/libguestfsZkMFYj/guestfsd.sock,id=channel0 \
     -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
     -append 'panic=1 console=ttyS0 udevtimeout=6000 
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1 
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm'
Could not open option rom 'sgabios.bin': No such file or directory
[    0.000000] random: get_random_bytes called from 
start_kernel+0x42/0x504 with crng_init=0
[    0.000000] Linux version 4.13.0-26-generic (buildd@lgw01-amd64-031) 
(gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)) 
#29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 (Ubuntu 
4.13.0-26.29~16.04.2-generic 4.13.13)
[    0.000000] Command line: panic=1 console=ttyS0 udevtimeout=6000 
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1 
cgroup_disable=memory root=/dev/sdb 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] 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-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] 
reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] 
reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3dffff] usable
[    0.000000] BIOS-e820: [mem 0x000000001f3e0000-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] random: fast init done
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
[    0.000000] Hypervisor detected: KVM
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] e820: last_pfn = 0x1f3e0 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 0x000f6630-0x000f663f] mapped 
at [ffff90fe800f6630]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Using GB pages for direct mapping
[    0.000000] RAMDISK: [mem 0x1f118000-0x1f3dffff]
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3dffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x1f0ed000-0x1f117fff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:1f06d001, primary cpu clock
[    0.000000] kvm-clock: using sched offset of 942675445 cycles
[    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-0x000000001f3dffff]
[    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-0x000000001f3dffff]
[    0.000000] Initmem setup node 0 [mem 
0x0000000000001000-0x000000001f3dffff]
[    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 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:8192 nr_cpumask_bits:1 nr_cpu_ids:1 
nr_node_ids:1
[    0.000000] percpu: Embedded 46 pages/cpu @ffff90fe9ee00000 s149784 
r8192 d30440 u2097152
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 1ee131c0
[    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: 125849
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: panic=1 console=ttyS0 
udevtimeout=6000 udev.event-timeout=6000 no_timer_check acpi=off 
printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 
guestfs_verbose=1 TERM=xterm
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Memory: 473572K/511480K available (12300K kernel code, 
2480K rwdata, 4004K rodata, 2372K init, 2368K bss, 37908K reserved, 0K 
cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Kernel/User page tables isolation: enabled
[    0.000000] ftrace: allocating 37814 entries in 148 pages
[    0.004000] Hierarchical RCU implementation.
[    0.004000] \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1.
[    0.004000] \tTasks RCU enabled.
[    0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.004000] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16
[    0.004000] Console: colour *CGA 80x25
[    0.004000] console [ttyS0] enabled
[    0.004004] tsc: Detected 3999.996 MHz processor
[    0.004266] Calibrating delay loop (skipped) preset value.. 7999.99 
BogoMIPS (lpj=15999984)
[    0.004473] pid_max: default: 32768 minimum: 301
[    0.004750] Security Framework initialized
[    0.004983] Yama: becoming mindful.
[    0.005190] AppArmor: AppArmor initialized
[    0.005495] Dentry cache hash table entries: 65536 (order: 7, 524288 
bytes)
[    0.005915] Inode-cache hash table entries: 32768 (order: 6, 262144 
bytes)
[    0.006305] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.006677] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 
bytes)
[    0.007411] Disabling memory control group subsystem
[    0.008003] mce: CPU supports 10 MCE banks
[    0.008261] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.008563] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.013305] Freeing SMP alternatives memory: 36K
[    0.014201] smpboot: Max logical packages: 1
[    0.014521] x2apic enabled
[    0.014777] Switched APIC routing to physical x2apic.
[    0.015502] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.015849] smpboot: CPU0: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz 
(family: 0x6, model: 0x3c, stepping: 0x3)
[    0.016000] Performance Events: Haswell events, Intel PMU driver.
[    0.016000] ... version:                2
[    0.016000] ... bit width:              48
[    0.016000] ... generic registers:      4
[    0.016000] ... value mask:             0000ffffffffffff
[    0.016000] ... max period:             000000007fffffff
[    0.016000] ... fixed-purpose events:   3
[    0.016000] ... event mask:             000000070000000f
[    0.016000] Hierarchical SRCU implementation.
[    0.016000] smp: Bringing up secondary CPUs ...
[    0.016000] smp: Brought up 1 node, 1 CPU
[    0.016000] smpboot: Total of 1 processors activated (7999.99 BogoMIPS)
[    0.016126] devtmpfs: initialized
[    0.016341] x86/mm: Memory block size: 128MB
[    0.016650] evm: security.selinux
[    0.016836] evm: security.SMACK64
[    0.017021] evm: security.SMACK64EXEC
[    0.017224] evm: security.SMACK64TRANSMUTE
[    0.017451] evm: security.SMACK64MMAP
[    0.017654] evm: security.ima
[    0.017819] evm: security.capability
[    0.018074] clocksource: jiffies: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.018610] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.018965] pinctrl core: initialized pinctrl subsystem
[    0.019322] RTC time: 22:35:24, date: 01/15/18
[    0.019608] NET: Registered protocol family 16
[    0.019949] cpuidle: using governor ladder
[    0.020005] cpuidle: using governor menu
[    0.020311] PCI: Using configuration type 1 for base access
[    0.020654] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, 
HT off
[    0.021536] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.021911] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.022350] ACPI: Interpreter disabled.
[    0.022647] SCSI subsystem initialized
[    0.022884] vgaarb: loaded
[    0.023056] usbcore: registered new interface driver usbfs
[    0.023367] usbcore: registered new interface driver hub
[    0.023663] usbcore: registered new device driver usb
[    0.023962] EDAC MC: Ver: 3.0.0
[    0.024044] PCI: Probing PCI hardware
[    0.024265] PCI host bridge to bus 0000:00
[    0.024494] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.024835] pci_bus 0000:00: root bus resource [mem 
0x00000000-0xffffffffff]
[    0.025222] pci_bus 0000:00: No busn resource found for root bus, 
will use [bus 00-ff]
[    0.028190] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 
0x01f0-0x01f7]
[    0.028589] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.028951] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 
0x0170-0x0177]
[    0.029345] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.029972] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by 
PIIX4 ACPI
[    0.030376] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by 
PIIX4 SMB
[    0.039468] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.039907] NetLabel: Initializing
[    0.040004] NetLabel:  domain hash size = 128
[    0.040250] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.040576] NetLabel:  unlabeled traffic allowed by default
[    0.040981] clocksource: Switched to clocksource kvm-clock
[    0.045275] VFS: Disk quotas dquot_6.6.0
[    0.045540] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 
bytes)
[    0.046301] AppArmor: AppArmor Filesystem Enabled
[    0.046593] pnp: PnP ACPI: disabled
[    0.047381] NET: Registered protocol family 2
[    0.047712] TCP established hash table entries: 4096 (order: 3, 32768 
bytes)
[    0.048121] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.048483] TCP: Hash tables configured (established 4096 bind 4096)
[    0.048846] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.049172] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.049539] NET: Registered protocol family 1
[    0.049787] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.050118] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.050467] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.050843] Unpacking initramfs...
[    0.051815] Freeing initrd memory: 2848K
[    0.052144] platform rtc_cmos: registered platform RTC device (no PNP 
device found)
[    0.052585] Scanning for low memory corruption every 60 seconds
[    0.053025] audit: initializing netlink subsys (disabled)
[    0.053519] Initialise system trusted keyrings
[    0.053776] Key type blacklist registered
[    0.054009] audit: type=2000 audit(1516055724.611:1): 
state=initialized audit_enabled=0 res=1
[    0.054486] workingset: timestamp_bits=36 max_order=17 bucket_order=0
[    0.055380] zbud: loaded
[    0.055704] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.056101] fuse init (API version 7.26)
[    0.056781] Key type asymmetric registered
[    0.057017] Asymmetric key parser 'x509' registered
[    0.057300] Block layer SCSI generic (bsg) driver version 0.4 loaded 
(major 247)
[    0.057721] io scheduler noop registered
[    0.057942] io scheduler deadline registered
[    0.058191] io scheduler cfq registered (default)
[    0.058545] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A 
-> IRQ 10
[    0.058956] virtio-pci 0000:00:02.0: virtio_pci: leaving for legacy 
driver
[    0.059482] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A 
-> IRQ 11
[    0.059894] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy 
driver
[    0.060516] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.082541] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 
115200) is a 16550A
[    0.098104] Linux agpgart interface v0.103
[    0.098918] loop: module loaded
[    0.099607] scsi host0: ata_piix
[    0.099867] scsi host1: ata_piix
[    0.100115] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[    0.100639] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[    0.101526] libphy: Fixed MDIO Bus: probed
[    0.101922] tun: Universal TUN/TAP device driver, 1.6
[    0.102419] PPP generic driver version 2.4.2
[    0.102850] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[    0.103471] ehci-pci: EHCI PCI platform driver
[    0.103897] ehci-platform: EHCI generic platform driver
[    0.104408] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.104989] ohci-pci: OHCI PCI platform driver
[    0.105413] ohci-platform: OHCI generic platform driver
[    0.105913] uhci_hcd: USB Universal Host Controller Interface driver
[    0.106529] i8042: PNP: No PS/2 controller found.
[    0.106972] i8042: Probing ports directly.
[    0.107914] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.108580] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.109128] mousedev: PS/2 mouse device common for all mice
[    0.109861] input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input0
[    0.111030] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.111691] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    0.112071] i2c /dev entries driver
[    0.112288] device-mapper: uevent: version 1.0.3
[    0.112573] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) 
initialised: dm-devel@redhat.com
[    0.113043] ledtrig-cpu: registered to indicate activity on CPUs
[    0.113505] NET: Registered protocol family 10
[    0.113922] Segment Routing with IPv6
[    0.114144] NET: Registered protocol family 17
[    0.114399] Key type dns_resolver registered
[    0.114708] RAS: Correctable Errors collector initialized.
[    0.115032] sched_clock: Marking stable (112062903, 0)->(159200092, 
-47137189)
[    0.115494] registered taskstats version 1
[    0.115735] Loading compiled-in X.509 certificates
[    0.116471] Loaded X.509 cert 'Build time autogenerated kernel key: 
b1931af2efdddab2cc28005a48cb6f00161c7d17'
[    0.117031] zswap: loaded using pool lzo/zbud
[    0.117366] Key type big_key registered
[    0.117594] Key type trusted registered
[    0.117843] Key type encrypted registered
[    0.118073] AppArmor: AppArmor sha1 policy hashing enabled
[    0.118380] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    0.118736] evm: HMAC attrs: 0x1
[    0.118983]   Magic number: 2:460:603
[    0.119242] rtc_cmos rtc_cmos: setting system clock to 2018-01-15 
22:35:24 UTC (1516055724)
[    0.119721] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.120064] EDD information not available.
[    0.270767] Freeing unused kernel memory: 2372K
[    0.271444] Write protecting the kernel read-only data: 18432k
[    0.272837] Freeing unused kernel memory: 2024K
[    0.273719] Freeing unused kernel memory: 92K
[    0.276025] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.276711] x86/mm: Checking user space page tables
[    0.278992] x86/mm: Checked W+X mappings: passed, no W+X pages found.
supermin: mounting /proc
supermin: uptime: 0.28 0.15
supermin: ext2 mini initrd starting up: 5.1.14 zlib xz
supermin: cmdline: panic=1 console=ttyS0 udevtimeout=6000 
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1 
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod crypto_engine.ko
supermin: internal insmod virtio_crypto.ko
supermin: internal insmod drm.ko
supermin: internal insmod fb_sys_fops.ko
supermin: internal insmod syscopyarea.ko
supermin: internal insmod sysfillrect.ko
supermin: internal insmod sysimgblt.ko
supermin: internal insmod drm_kms_helper.ko
supermin: internal insmod ttm.ko
supermin: internal insmod virtio-gpu.ko
supermin: internal insmod ideapad_slidebar.ko
[    0.299547] ideapad_slidebar: DMI does not match
insmod: init_module: ideapad_slidebar.ko: No such device
supermin: internal insmod virtio_net.ko
supermin: internal insmod video.ko
supermin: internal insmod sparse-keymap.ko
supermin: internal insmod wmi.ko
insmod: init_module: wmi.ko: No such device
supermin: internal insmod ideapad-laptop.ko
[    0.304268] ideapad_laptop: Unknown symbol wmi_remove_notify_handler 
(err 0)
[    0.304668] ideapad_laptop: Unknown symbol wmi_install_notify_handler 
(err 0)
insmod: init_module: ideapad-laptop.ko: Unknown symbol in module
supermin: internal insmod megaraid.ko
supermin: internal insmod megaraid_mm.ko
[    0.306943] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 
EST 2006)
supermin: internal insmod megaraid_mbox.ko
[    0.308232] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 
2006)
supermin: internal insmod megaraid_sas.ko
[    0.310023] megasas: 07.701.17.00-rc1
supermin: internal insmod scsi_transport_spi.ko
supermin: internal insmod sym53c8xx.ko
supermin: internal insmod virtio_scsi.ko
[    0.313232] scsi host2: Virtio SCSI HBA
[    0.313895] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK 
2.5+ PQ: 0 ANSI: 5
[    0.314473] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK 
2.5+ PQ: 0 ANSI: 5
[    0.325484] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    0.325846] sd 2:0:0:0: [sda] 167772160 512-byte logical blocks: 
(85.9 GB/80.0 GiB)
[    0.326290] sd 2:0:0:0: [sda] Write Protect is off
[    0.326590] sd 2:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[    0.327127] sd 2:0:1:0: Attached scsi generic sg1 type 0
[    0.327546] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 
GB/4.00 GiB)
[    0.327992] sd 2:0:1:0: [sdb] Write Protect is off
[    0.328696] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[    0.329436]  sda: sda1
[    0.329816] sd 2:0:0:0: [sda] Attached SCSI disk
[    0.330369] sd 2:0:1:0: [sdb] Attached SCSI disk
supermin: internal insmod virtio_input.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc4.ko
supermin: internal insmod crc7.ko
supermin: internal insmod crc8.ko
supermin: internal insmod libcrc32c.ko
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.335349] EXT4-fs (sdb): mounting ext2 file system using the ext4 
subsystem
[    0.336675] EXT4-fs (sdb): mounted filesystem without journal. Opts:
supermin: chroot
execl: /init: No such file or directory
supermin: debug: listing directory /
    12 d etc              040775 4096 0:0
     2 d ..               040755 4096 0:0
  1126 d root             040700 4096 0:0
  1123 d lib64            040755 4096 0:0
   270 - init             100755 4754 0:0
   450 d home             040755 4096 0:0
     2 d .                040755 4096 0:0
   412 d dev              040755 4096 0:0
   263 d usr              040775 4096 0:0
   268 d sbin             040775 4096 0:0
   411 d boot             040755 4096 0:0
   451 d lib              040755 4096 0:0
  1313 d sys              040555 4096 0:0
  1314 d tmp              041777 4096 0:0
  1125 d proc             040555 4096 0:0
  1127 d run              040755 4096 0:0
   271 d bin              040755 4096 0:0
   434 d var              040755 4096 0:0
    11 d lost+found       040700 16384 0:0
supermin: debug: listing directory /bin
   332 - ln               100755 56152 0:0
   393 - udevadm          100755 449136 0:0
   290 - bzexe            100755 4877 0:0
   297 - cat              100755 52080 0:0
   354 - ntfscmp          100755 34920 0:0
   410 - znew             100755 5047 0:0
   362 l pidof            120777 14 0:0 -> \xdf\x10
   322 - gzip             100755 98240 0:0
   364 - ps               100755 97408 0:0
   375 - ss               100755 115816 0:0
   407 - zgrep            100755 5938 0:0
   281 - btrfs-show-super 100755 253816 0:0
   326 - kmod             100755 150600 0:0
   352 - ntfscat          100755 26728 0:0
   274 - btrfs-calc-size  100755 249464 0:0
   347 - networkctl       100755 678496 0:0
   387 - systemd-tty-ask-password-agent 100755 68032 0:0
   394 - ulockmgr_server  100755 14328 0:0
   351 - ntfs-3g.usermap  100755 18424 0:0
   346 - mv               100755 130488 0:0
   409 - zmore            100755 1910 0:0
   309 - dmesg            100755 60680 0:0
   372 - setfacl          100755 36296 0:0
   396 - uname            100755 31440 0:0
   371 - sed              100755 73424 0:0
     2 d ..               040755 4096 0:0
   376 - stty             100755 72496 0:0
   353 - ntfscluster      100755 30824 0:0
   401 - zcat             100755 1937 0:0
   310 - echo             100755 31376 0:0
   329 l lessfile         120777 8 0:0 -> \a\xe
   348 - ntfs-3g          104755 142032 0:0
   382 - systemd-hwdb     100755 64080 0:0
   299 - chgrp            100755 60272 0:0
   312 - false            100755 27280 0:0
   316 - fuser            100755 36024 0:0
   327 - less             100755 170728 0:0
   367 - readlink         100755 39632 0:0
   276 - btrfs-debug-tree 100755 249464 0:0
   389 - tar              100755 383632 0:0
   307 - df               100755 97912 0:0
   298 - chacl            100755 14752 0:0
   271 d .                040755 4096 0:0
   320 - gunzip           100755 2301 0:0
   391 - touch            100755 64432 0:0
   359 - ntfsmove         100755 30824 0:0
   283 l btrfsck          120777 5 0:0 -> \xc8
   383 - systemd-inhibit  100755 281840 0:0
   342 - more             100755 39768 0:0
   360 - ntfstruncate     100755 38944 0:0
   380 - systemd-ask-password 100755 51656 0:0
   272 - bash             100755 1037528 0:0
   331 - lesspipe         100755 7764 0:0
   398 - vdir             100755 126584 0:0
   402 - zcmp             100755 1777 0:0
   293 - bzip2            100755 31288 0:0
   390 - tempfile         100755 10416 0:0
   408 - zless            100755 2037 0:0
   386 - systemd-tmpfiles 100755 133704 0:0
   344 - mountpoint       100755 14768 0:0
   314 - findmnt          100755 49576 0:0
   381 - systemd-escape   100755 39344 0:0
   301 - chown            100755 64368 0:0
   336 - lsblk            100755 77280 0:0
   323 - ip               100755 376192 0:0
   333 - loginctl         100755 453848 0:0
   355 - ntfsfallocate    100755 34928 0:0
   379 l systemd          120777 20 0:0 -> 5\x12
   289 l bzegrep          120777 6 0:0 -> \x19\v
   308 - dir              100755 126584 0:0
   291 l bzfgrep          120777 6 0:0 -> \x1c\v
   388 - tailf            100755 23144 0:0
   284 - btrfstune        100755 249464 0:0
   363 - plymouth         100755 35504 0:0
   403 - zdiff            100755 5764 0:0
   369 - rmdir            100755 39632 0:0
   292 - bzgrep           100755 3642 0:0
   365 - pwd              100755 31472 0:0
   318 - getfacl          100755 23752 0:0
   300 - chmod            100755 56112 0:0
   275 - btrfs-convert    100755 278376 0:0
   345 - mt-gnu           100755 68824 0:0
   368 - rm               100755 60272 0:0
   319 - grep             100755 211224 0:0
   356 - ntfsfix          100755 39024 0:0
   405 - zfgrep           100755 140 0:0
   395 - umount           104755 27608 0:0
   287 l bzcmp            120777 6 0:0 -> \x17\v
   303 - cpio             100755 141472 0:0
   325 - kill             100755 23152 0:0
   374 - sleep            100755 31408 0:0
   343 - mount            104755 40152 0:0
   286 - bzcat            100755 31288 0:0
   315 - fsck.btrfs       100755 1185 0:0
   282 - btrfs-zero-log   100755 245368 0:0
   305 - date             100755 68464 0:0
   384 - systemd-machine-id-setup 100755 47544 0:0
   306 - dd               100755 72632 0:0
   406 - zforce           100755 2131 0:0
   358 - ntfsls           100755 31928 0:0
   304 - dash             100755 154072 0:0
   349 - ntfs-3g.probe    100755 10312 0:0
   280 - btrfs-select-super 100755 245368 0:0
   294 - bzip2recover     100755 14616 0:0
   313 - fgrep            100755 28 0:0
   295 l bzless           120777 6 0:0 -> *\v
   321 - gzexe            100755 5927 0:0
   311 - egrep            100755 28 0:0
   385 - systemd-notify   100755 35248 0:0
   366 l rbash            120777 4 0:0 ->
\x11
   399 - wdctl            100755 31376 0:0
   357 - ntfsinfo         100755 55416 0:0
   317 - fusermount       104755 30800 0:0
   279 - btrfs-map-logical 100755 249464 0:0
   277 - btrfs-find-root  100755 245368 0:0
   278 - btrfs-image      100755 270136 0:0
   377 - sync             100755 31408 0:0
   288 - bzdiff           100755 2140 0:0
   334 - lowntfs-3g       100755 105136 0:0
   339 - mkfs.btrfs       100755 265928 0:0
   397 - uncompress       100755 2301 0:0
   328 - lessecho         100755 10256 0:0
   341 - mktemp           100755 39728 0:0
   285 - bunzip2          100755 31288 0:0
   335 - ls               100755 126584 0:0
   340 - mknod            100755 64496 0:0
   400 - which            100755 946 0:0
   330 - lesskey          100755 19824 0:0
   361 - ntfswipe         100755 47752 0:0
   350 - ntfs-3g.secaudit 100755 67608 0:0
   296 - bzmore           100755 1297 0:0
   302 - cp               100755 151024 0:0
   392 - true             100755 27280 0:0
   324 - journalctl       100755 498936 0:0
   338 - mkdir            100755 76848 0:0
   273 - btrfs            100755 520992 0:0
   337 l lsmod            120777 4 0:0 -> \xdd\xe
   404 - zegrep           100755 140 0:0
   370 - run-parts        100755 19320 0:0
   373 l sh               120777 4 0:0 -> P\x11
   378 - systemctl        100755 659848 0:0
supermin: debug: listing directory /lib
   904 d x86_64-linux-gnu 040755 8192 0:0
     2 d ..               040755 4096 0:0
  4016 d modules          040755 4096 0:0
   469 d init             040755 4096 0:0
   451 d .                040755 4096 0:0
   452 d cryptsetup       040755 4096 0:0
   472 - klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so 100755 70952 0:0
   475 d lsb              040755 4096 0:0
   485 d systemd          040755 4096 0:0
   473 l libhandle.so.1   120777 18 0:0 -> \x81\x14
   474 - libhandle.so.1.0.3 100644 14464 0:0
   841 d udev             040755 4096 0:0
   483 d modprobe.d       040755 4096 0:0
supermin: debug: listing directory /lib64
     2 d ..               040755 4096 0:0
  1123 d .                040755 4096 0:0
  1124 l ld-linux-x86-64.so.2 120777 32 0:0 -> \x82:
[    0.382263] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x00000100
[    0.382263]
[    0.382789] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic 
#29~16.04.2-Ubuntu
[    0.383225] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), 
BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[    0.383750] Call Trace:
[    0.383894]  dump_stack+0x63/0x8b
[    0.384085]  panic+0xe4/0x23d
[    0.384255]  do_exit+0xae6/0xaf0
[    0.384439]  ? dput+0x34/0x1f0
[    0.384613]  do_group_exit+0x43/0xb0
[    0.384816]  SyS_exit_group+0x14/0x20
[    0.385026]  entry_SYSCALL_64_fastpath+0x1e/0x81
[    0.385284] RIP: 0033:0x451579
[    0.385462] RSP: 002b:00007ffc7a954768 EFLAGS: 00000246 ORIG_RAX: 
00000000000000e7
[    0.385883] RAX: ffffffffffffffda RBX: 0000000002053ca3 RCX: 
0000000000451579
[    0.386278] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 
0000000000000001
[    0.386672] RBP: 0000000002053c30 R08: 000000000000003c R09: 
00000000000000e7
[    0.387068] R10: ffffffffffffffd0 R11: 0000000000000246 R12: 
0000000000000000
[    0.387463] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15: 
0000000002053c30
[    0.387947] Kernel Offset: 0x1de00000 from 0xffffffff81000000 
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    0.388544] Rebooting in 1 seconds..
libguestfs: error: appliance closed the connection unexpectedly, see 
earlier error messages
libguestfs: child_cleanup: 0x9d4f80: child process died
libguestfs: sending SIGTERM to process 23160
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x9d4f80 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsZkMFYj
Richard W.M. Jones
2018-Jan-16  08:27 UTC
[Libguestfs] Ubuntu needs to upgrade supermin (was: Re: but report)
This is caused by a bug in supermin: https://github.com/libguestfs/supermin/commit/158854e3ba4be7f6b8d81f662ddad98358ede1de It was fixed 6 months ago, so Ubuntu needs to upgrade supermin to include the fix. By the way this has been reported several times in the past week. I guess that Ubuntu have just released a new kernel or something. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Richard W.M. Jones
2018-Jan-17  11:04 UTC
Re: [Libguestfs] Ubuntu needs to upgrade supermin
Please keep replies on the mailing list. On Wed, Jan 17, 2018 at 05:43:14AM -0500, Donald Harter wrote:> I tried to build it from the ubuntu source rpm. It requires package > debhelper >=10 > What I have is > ii debhelper 9.20160115ubuntu3 > > I have the latest stable release so it requires an unstable release. > I could try to do the same for debhelper but that may require even > more newer "unstable" packages.The best bet is simply to backport the single patch you need: https://github.com/libguestfs/supermin/commit/158854e3ba4be7f6b8d81f662ddad98358ede1de This should apply fine to the older version of supermin. By the way, there has now been a bug opened in launchpad about this: https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1743300 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