Hello everyone,

I am using libguestfs on CentOS 7.2. I am trying to modify Red Hat 5.4 disks. I am using C/C++. I found the process gets stuck inside guestfs_launch:

Thread 1 (Thread 0x7fe3aa6148c0 (LWP 1265)):
#0  0x00007fe3a9032c20 in __poll_nocancel () from /lib64/libc.so.6
#1  0x00007fe3aa1e5ea4 in read_data () from /lib64/libguestfs.so.0
#2  0x00007fe3aa20af0c in guestfs_int_recv_from_daemon () from /lib64/libguestfs.so.0
#3  0x00007fe3aa204ae0 in launch_libvirt () from /lib64/libguestfs.so.0
#4  0x00007fe3aa1fab2b in guestfs_impl_launch () from /lib64/libguestfs.so.0
#5  0x00007fe3aa196b4d in guestfs_launch () from /lib64/libguestfs.so.0
#6  0x00000000004116f8 in main ()

It is very easy to reproduce this issue. Does anyone has any idea about this issue?

Here is output of libguestfs_test_tool:
     ************************************************************
     *                    IMPORTANT NOTICE
     *
     * When reporting bugs, include the COMPLETE, UNEDITED
     * output below in your bug report.
     *
     ************************************************************
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/vpxxcm/conversion
SELinux: sh: getenforce: command not found
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: libvirt
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_hv: /usr/libexec/qemu-kvm
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_proc: 1
guestfs_get_selinux: 0
guestfs_get_smp: 1
guestfs_get_tmpdir: /tmp
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: launch: program=libguestfs-test-tool
libguestfs: launch: version=1.28.1rhel=7,release=1.55.el7.centos.2,libvirt
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=libvirt
libguestfs: launch: tmpdir=/tmp/libguestfsfJ31Qj
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: libvirt version = 1002017 (1.2.17)
libguestfs: guest random name = guestfs-aglq751pjoftyb6s
libguestfs: [00000ms] connect to libvirt
libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0
libguestfs: successfully opened libvirt handle: conn = 0x7f50db53ed80
libguestfs: qemu version (reported by libvirt) = 1005003 (1.5.3)
libguestfs: [00001ms] get libvirt capabilities
libguestfs: [00002ms] parsing capabilities XML
libguestfs: [00002ms] build appliance
libguestfs: [00002ms] begin building supermin appliance
libguestfs: [00002ms] run supermin
libguestfs: command: run: /usr/bin/supermin5
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/lib64/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
supermin: version: 5.1.10
supermin: rpm: detected RPM version 4.11
supermin: package handler: fedora/rpm
supermin: acquiring lock on /var/tmp/.guestfs-0/lock
supermin: if-newer: output does not need rebuilding
libguestfs: [00011ms] finished building supermin appliance
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfsfJ31Qj/overlay2
Formatting '/tmp/libguestfsfJ31Qj/overlay2', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-0/appliance.d/root' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off 
libguestfs: set_socket_create_context: context_new failed: kernel: Invalid argument [you can ignore this UNLESS using SELinux + sVirt]
libguestfs: [00031ms] create libvirt XML
libguestfs: command: run: dmesg | grep -Eoh 'lpj=[[:digit:]]+'
libguestfs: read_lpj_from_dmesg: calculated lpj=2394042
libguestfs: libvirt XML:\n<?xml version="1.0"?>\n<domain type="qemu" xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0">\n  <name>guestfs-aglq751pjoftyb6s</name>\n  <memory unit="MiB">500</memory>\n  <currentMemory unit="MiB">500</currentMemory>\n  <vcpu>1</vcpu>\n  <clock offset="utc">\n    <timer name="rtc" tickpolicy="catchup"/>\n    <timer name="pit" tickpolicy="delay"/>\n    <timer name="hpet" present="no"/>\n  </clock>\n  <os>\n    <type>hvm</type>\n    <kernel>/var/tmp/.guestfs-0/appliance.d/kernel</kernel>\n    <initrd>/var/tmp/.guestfs-0/appliance.d/initrd</initrd>\n    <cmdline>panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394042 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm</cmdline>\n    <bios useserial="yes"/>\n  </os>\n  <on_reboot>destroy</on_reboot>\n  <devices>\n    <controller type="scsi" index="0" model="virtio-scsi"/>\n    <disk device="disk" type="file">\n      <source file="/tmp/libguestfsfJ31Qj/scratch.1"/>\n      <target dev="sda" bus="scsi"/>\n      <driver name="qemu" type="raw" cache="unsafe"/>\n      <address type="drive" controller="0" bus="0" target="0" unit="0"/>\n    </disk>\n    <disk type="file" device="disk">\n      <source file="/tmp/libguestfsfJ31Qj/overlay2"/>\n      <target dev="sdb" bus="scsi"/>\n      <driver name="qemu" type="qcow2" cache="unsafe"/>\n      <address type="drive" controller="0" bus="0" target="1" unit="0"/>\n      <shareable/>\n    </disk>\n    <serial type="unix">\n      <source mode="connect" path="/tmp/libguestfsfJ31Qj/console.sock"/>\n      <target port="0"/>\n    </serial>\n    <channel type="unix">\n      <source mode="connect" path="/tmp/libguestfsfJ31Qj/guestfsd.sock"/>\n      <target type="virtio" name="org.libguestfs.channel.0"/>\n    </channel>\n  </devices>\n  <qemu:commandline>\n    <qemu:env name="TMPDIR" value="/var/tmp"/>\n  </qemu:commandline>\n</domain>\n
libguestfs: command: run: ls
libguestfs: command: run: \ -a
libguestfs: command: run: \ -l
libguestfs: command: run: \ -Z /var/tmp/.guestfs-0
libguestfs: drwxr-xr-x root root ?                                .
libguestfs: drwxrwxrwt root root ?                                ..
libguestfs: drwxr-xr-x root root ?                                appliance.d
libguestfs: -rw-r--r-- root root ?                                lock
libguestfs: command: run: ls
libguestfs: command: run: \ -a
libguestfs: command: run: \ -l
libguestfs: command: run: \ -Z /tmp/libguestfsfJ31Qj
libguestfs: drwxr-xr-x root root ?                                .
libguestfs: drwxrwxrwt root root ?                                ..
libguestfs: srw-rw---- root qemu ?                                console.sock
libguestfs: srw-rw---- root qemu ?                                guestfsd.sock
libguestfs: -rw-r--r-- root root ?                                overlay2
libguestfs: -rw-r--r-- root root ?                                scratch.1
libguestfs: -rwxr-xr-x root root ?                                umask-check
libguestfs: [00043ms] launch libvirt guest
\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 06/09/14
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Jun  9 21:33:48 UTC 2014
Term: 80x24
4 0
\x1b[2J
SeaBIOS (version seabios-1.7.5-11.el7)


Machine UUID 9afe5d1f-e621-4d0d-99ba-44a84d35a3e2


Booting from ROM...


Probing EDD (edd=off to disable)... ok

\x1b[2J[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0-327.13.1.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Mar 31 16:04:38 UTC 2016
[    0.000000] Command line: panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394042 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
[    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-0x000000001f3fffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] AGP: No AGP bridge found
[    0.000000] e820: last_pfn = 0x1f400 max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] found SMP MP-table at [mem 0x000f2000-0x000f200f] mapped at [ffff8800000f2000]
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x1ee00000-0x1effffff]
[    0.000000] init_memory_mapping: [mem 0x1c000000-0x1edfffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff]
[    0.000000] init_memory_mapping: [mem 0x1f000000-0x1f3fffff]
[    0.000000] RAMDISK: [mem 0x1f0c0000-0x1f3effff]
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x1f3fffff]
[    0.000000]   NODE_DATA [mem 0x1f099000-0x1f0bffff]
[    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-0x1f3fffff]
[    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-0xfffbffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] setup_percpu: NR_CPUS:5120 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 31 pages/cpu @ffff88001ee00000 s87168 r8192 d31616 u2097152
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 125881
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394042 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
[    0.000000] Disabling memory control group subsystem
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] AGP: Checking aperture...
[    0.000000] AGP: No AGP bridge found
[    0.000000] Memory: 483972k/512000k available (6441k kernel code, 392k absent, 27636k reserved, 4265k data, 1620k init)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] \tRCU restricting CPUs from NR_CPUS=5120 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:327936 nr_irqs:256 0
[    0.000000] Console: colour *CGA 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2394.012 MHz processor
[    0.006000] Calibrating delay loop (skipped) preset value.. 4788.08 BogoMIPS (lpj=2394042)
[    0.007216] pid_max: default: 32768 minimum: 301
[    0.009667] Security Framework initialized
[    0.013194] SELinux:  Disabled at boot.
[    0.018761] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.021631] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.022734] Mount-cache hash table entries: 4096
[    0.037413] Initializing cgroup subsys memory
[    0.038771] Initializing cgroup subsys devices
[    0.039123] Initializing cgroup subsys freezer
[    0.039418] Initializing cgroup subsys net_cls
[    0.039595] Initializing cgroup subsys blkio
[    0.039775] Initializing cgroup subsys perf_event
[    0.040092] Initializing cgroup subsys hugetlb
[    0.043562] mce: CPU supports 10 MCE banks
[    0.045602] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.045602] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.045602] tlb_flushall_shift: -1
[    0.504276] Freeing SMP alternatives: 28k freed
[    0.518488] ftrace: allocating 24584 entries in 97 pages
[    0.653717] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.654088] smpboot: CPU0: AMD QEMU Virtual CPU version 1.5.3 (fam: 06, model: 0d, stepping: 03)
[    0.762088] Performance Events: Broken PMU hardware detected, using software events only.
[    0.764050] Failed to access perfctr msr (MSR c0010007 is 0)
[    0.792044] Brought up 1 CPUs
[    0.792296] smpboot: Total of 1 processors activated (4788.08 BogoMIPS)
[    0.802361] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.814814] devtmpfs: initialized
[    0.842208] EVM: security.selinux
[    0.842366] EVM: security.ima
[    0.842448] EVM: security.capability
[    0.861567] atomic64 test passed for x86-64 platform with CX8 and with SSE
[    0.867370] NET: Registered protocol family 16
[    0.878069] PCI: Using configuration type 1 for base access
[    0.902861] ACPI: Interpreter disabled.
[    0.907283] vgaarb: loaded
[    0.909467] SCSI subsystem initialized
[    0.911420] usbcore: registered new interface driver usbfs
[    0.911975] usbcore: registered new interface driver hub
[    0.912330] usbcore: registered new device driver usb
[    0.914663] PCI: Probing PCI hardware
[    0.916073] PCI host bridge to bus 0000:00
[    0.916828] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.917232] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffff]
[    0.917474] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.932106] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.932323] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.933078] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.933433] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.984411] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.994682] NetLabel: Initializing
[    0.994810] NetLabel:  domain hash size = 128
[    0.995022] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.996802] NetLabel:  unlabeled traffic allowed by default
[    0.998085] Switching to clocksource refined-jiffies
[    1.116757] pnp: PnP ACPI: disabled
[    1.148392] NET: Registered protocol family 2
[    1.156062] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    1.157537] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    1.158098] TCP: Hash tables configured (established 4096 bind 4096)
[    1.158886] TCP: reno registered
[    1.159169] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.159508] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.161814] NET: Registered protocol family 1
[    1.162458] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.162691] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    1.163173] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    1.164522] pci 0000:00:01.2: PCI->APIC IRQ transform: INT D -> IRQ 25
[    1.171703] Unpacking initramfs...
[    1.211489] Freeing initrd memory: 3264k freed
[    1.221490] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    1.225864] microcode: AMD CPU family 0x6 not supported
[    1.236065] sha1_ssse3: Neither AVX nor AVX2 nor SSSE3 is available/usable.
[    1.236317] sha256_ssse3: Neither AVX nor SSSE3 is available/usable.
[    1.240500] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.245397] Initialise system trusted keyring
[    1.249269] audit: initializing netlink socket (disabled)
[    1.250455] type=2000 audit(1472473358.248:1): initialized
[    1.417072] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    1.436834] zpool: loaded
[    1.437002] zbud: loaded
[    1.440536] VFS: Disk quotas dquot_6.5.2
[    1.442092] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.447706] msgmni has been set to 951
[    1.449229] Key type big_key registered
[    1.471142] NET: Registered protocol family 38
[    1.471473] Key type asymmetric registered
[    1.471645] Asymmetric key parser 'x509' registered
[    1.472548] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.473577] io scheduler noop registered
[    1.473836] io scheduler deadline registered (default)
[    1.474426] io scheduler cfq registered
[    1.478522] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    1.478789] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    1.485381] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.487373] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.497246] Non-volatile memory driver v1.3
[    1.497450] Linux agpgart interface v0.103
[    1.500060] crash memory driver: version 1.1
[    1.500796] rdac: device handler registered
[    1.501452] hp_sw: device handler registered
[    1.501619] emc: device handler registered
[    1.501764] alua: device handler registered
[    1.503318] libphy: Fixed MDIO Bus: probed
[    1.504798] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.505073] ehci-pci: EHCI PCI platform driver
[    1.505441] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.505684] ohci-pci: OHCI PCI platform driver
[    1.506232] uhci_hcd: USB Universal Host Controller Interface driver
[    1.507268] uhci_hcd 0000:00:01.2: PCI->APIC IRQ transform: INT D -> IRQ 25
[    1.509001] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    1.510396] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    1.511157] uhci_hcd 0000:00:01.2: detected 2 ports
[    1.512177] uhci_hcd 0000:00:01.2: irq 25, io base 0x0000c040
[    1.518994] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    1.519259] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.519465] usb usb1: Product: UHCI Host Controller
[    1.519608] usb usb1: Manufacturer: Linux 3.10.0-327.13.1.el7.x86_64 uhci_hcd
[    1.519999] usb usb1: SerialNumber: 0000:00:01.2
[    1.525230] hub 1-0:1.0: USB hub found
[    1.526100] hub 1-0:1.0: 2 ports detected
[    1.532758] usbcore: registered new interface driver usbserial
[    1.533204] usbcore: registered new interface driver usbserial_generic
[    1.533701] usbserial: USB Serial support registered for generic
[    1.534509] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    1.538645] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.539126] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.541716] mousedev: PS/2 mouse device common for all mice
[    1.547275] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    1.552461] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    1.553236] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    1.554753] cpuidle: using governor menu
[    1.560939] hidraw: raw HID events driver (C) Jiri Kosina
[    1.563827] usbcore: registered new interface driver usbhid
[    1.563961] usbhid: USB HID core driver
[    1.564307] drop_monitor: Initializing network drop monitor service
[    1.566439] TCP: cubic registered
[    1.566989] Initializing XFRM netlink socket
[    1.568619] NET: Registered protocol family 10
[    1.577408] NET: Registered protocol family 17
[    1.582486] Loading compiled-in X.509 certificates
[    1.587004] Loaded X.509 cert 'CentOS Linux kpatch signing key: ea0413152cde1d98ebdca3fe6f0230904c9ef717'
[    1.588348] Loaded X.509 cert 'CentOS Linux Driver update signing key: 7f421ee0ab69461574bb358861dbe77762a4201b'
[    1.596111] Loaded X.509 cert 'CentOS Linux kernel signing key: 6f3378187d83cd18a43b2e0ac49aed8aeffc3ac7'
[    1.596991] registered taskstats version 1
[    1.610042] Key type trusted registered
[    1.614442] Key type encrypted registered
[    1.618321] IMA: No TPM chip found, activating TPM-bypass!
[    1.624157] rtc_cmos rtc_cmos: setting system clock to 2016-08-29 12:22:39 UTC (1472473359)
[    1.642352] Freeing unused kernel memory: 1620k freed
supermin: mounting /proc
supermin: uptime: 1.73 0.64
supermin: ext2 mini initrd starting up: 5.1.10 zlib
supermin: cmdline: panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394042 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
[    1.789304] PCLMULQDQ-NI instructions are not detected.
insmod: init_module: crc32-pclmul.ko: No such device
supermin: internal insmod crc32c-intel.ko
insmod: init_module: crc32c-intel.ko: No such device
supermin: internal insmod crct10dif_common.ko
supermin: internal insmod crct10dif-pclmul.ko
insmod: init_module: crct10dif-pclmul.ko: No such device
supermin: internal insmod crc32.ko
[    1.827925] alg: No test for crc32 (crc32-table)
supermin: internal insmod crct10dif_generic.ko
supermin: internal insmod libata.ko
supermin: internal insmod ata_piix.ko
[    1.917715] scsi host0: ata_piix
[    1.920001] scsi host1: ata_piix
[    1.920664] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14
[    1.920957] 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 virtio-rng.ko
supermin: internal insmod virtio_console.ko
supermin: internal insmod virtio_net.ko
supermin: internal insmod sparse-keymap.ko
supermin: internal insmod rfkill.ko
supermin: internal insmod ideapad-laptop.ko
insmod: init_module: ideapad-laptop.ko: No such device
supermin: internal insmod megaraid_sas.ko
[    2.200355] megasas: 06.807.10.00-rh1
supermin: internal insmod scsi_transport_spi.ko
supermin: internal insmod crc-t10dif.ko
supermin: internal insmod sd_mod.ko
[    2.226338] Switching to clocksource tsc
supermin: internal insmod cdrom.ko
supermin: internal insmod sr_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
[    2.292503] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 25
[    2.292955] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
[    2.301395] scsi host2: Virtio SCSI HBA
[    2.315250] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 25
[    2.315469] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver
[    2.324357] virtio-pci 0000:00:05.0: PCI->APIC IRQ transform: INT A -> IRQ 24
[    2.324573] virtio-pci 0000:00:05.0: virtio_pci: leaving for legacy driver
[    2.328900] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    1.5. PQ: 0 ANSI: 5
[    2.333478] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    1.5. PQ: 0 ANSI: 5
[    2.394235] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input1
[    2.482509] sd 2:0:0:0: [sda] 204800 512-byte logical blocks: (104 MB/100 MiB)
[    2.486472] sd 2:0:0:0: [sda] Write Protect is off
[    2.487347] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.489986] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    2.490929] sd 2:0:1:0: [sdb] Write Protect is off
[    2.491526] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.505902]  sda: unknown partition table
[    2.508705]  sdb: unknown partition table
[    2.514212] sd 2:0:1:0: [sdb] Attached SCSI disk
[    2.516702] sd 2:0:0:0: [sda] Attached SCSI disk
supermin: internal insmod jbd2.ko
supermin: internal insmod mbcache.ko
supermin: internal insmod ext4.ko
supermin: internal insmod crc-ccitt.ko
supermin: internal insmod crc-itu-t.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
[    2.836601] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
[    2.857585] EXT4-fs (sdb): mounted filesystem without journal. Opts: 
supermin: chroot
Starting /init script ...
starting version 219
specified group 'input' unknown
[    5.712813] input: PC Speaker as /devices/platform/pcspkr/input/input2
[    6.457487] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    6.468387] sd 2:0:1:0: Attached scsi generic sg1 type 0
[    6.670976] Error: Driver 'pcspkr' is already registered, aborting...
[/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
[/usr/lib/tmpfiles.d/systemd.conf:28] Failed to replace specifiers: /run/log/journal/%m
[/usr/lib/tmpfiles.d/systemd.conf:29] Failed to replace specifiers: /run/log/journal/%m
[/usr/lib/tmpfiles.d/systemd.conf:32] Failed to replace specifiers: /var/log/journal/%m
[/usr/lib/tmpfiles.d/systemd.conf:34] Failed to replace specifiers: /var/log/journal/%m
[/usr/lib/tmpfiles.d/systemd.conf:35] Failed to replace specifiers: /var/log/journal/%m
/init: line 73: /sys/block/hd*/queue/scheduler: No such file or directory
/init: line 73: /sys/block/ubd*/queue/scheduler: No such file or directory
/init: line 73: /sys/block/vd*/queue/scheduler: No such file or directory
/init: line 76: hwclock: command not found
Cannot find device "eth0"
Cannot find device "eth0"
RTNETLINK answers: Network is unreachable
mdadm: No arrays found in config file or automatically
[    9.032382] device-mapper: uevent: version 1.0.3
[    9.040885] device-mapper: ioctl: 4.33.0-ioctl (2015-8-18) initialised: dm-devel@redhat.com
  lvmetad is not active yet, using direct activation during sysinit
/init: line 99: ldmtool: command not found
Linux (none) 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
/dev:
total 0
crw------- 1 root root  10, 235 Aug 29 12:22 autofs
drwxr-xr-x 2 root root       80 Aug 29 12:22 block
drwxr-xr-x 2 root root       80 Aug 29 12:22 bsg
drwxr-xr-x 3 root root       60 Aug 29 12:22 bus
drwxr-xr-x 2 root root     2320 Aug 29 12:22 char
crw------- 1 root root   5,   1 Aug 29 12:22 console
lrwxrwxrwx 1 root root       11 Aug 29 12:22 core -> /proc/kcore
drwxr-xr-x 3 root root       60 Aug 29 12:22 cpu
crw------- 1 root root  10,  61 Aug 29 12:22 cpu_dma_latency
crw------- 1 root root  10,  62 Aug 29 12:22 crash
drwxr-xr-x 5 root root      100 Aug 29 12:22 disk
lrwxrwxrwx 1 root root       13 Aug 29 12:22 fd -> /proc/self/fd
crw-rw-rw- 1 root root   1,   7 Aug 29 12:22 full
drwxr-xr-x 3 root root      160 Aug 29 12:22 input
crw-r--r-- 1 root root   1,  11 Aug 29 12:22 kmsg
crw------- 1 root root  10, 232 Aug 29 12:22 kvm
drwxr-xr-x 2 root root       60 Aug 29 12:22 mapper
crw------- 1 root root  10, 227 Aug 29 12:22 mcelog
crw------- 1 root root   1,   1 Aug 29 12:22 mem
drwxr-xr-x 2 root root       40 Aug 29 12:22 net
crw------- 1 root root  10,  60 Aug 29 12:22 network_latency
crw------- 1 root root  10,  59 Aug 29 12:22 network_throughput
crw-rw-rw- 1 root root   1,   3 Aug 29 12:22 null
crw------- 1 root root  10, 144 Aug 29 12:22 nvram
crw------- 1 root root   1,  12 Aug 29 12:22 oldmem
crw------- 1 root root   1,   4 Aug 29 12:22 port
crw-rw-rw- 1 root root   5,   2 Aug 29 12:22 ptmx
crw-rw-rw- 1 root root   1,   8 Aug 29 12:22 random
drwxr-xr-x 2 root root       60 Aug 29 12:22 raw
crw------- 1 root root  10,  58 Aug 29 12:22 rfkill
lrwxrwxrwx 1 root root        4 Aug 29 12:22 rtc -> rtc0
crw------- 1 root root 253,   0 Aug 29 12:22 rtc0
brw------- 1 root root   8,   0 Aug 29 12:22 sda
brw------- 1 root root   8,  16 Aug 29 12:22 sdb
crw-rw---- 1 root disk  21,   0 Aug 29 12:22 sg0
crw-rw---- 1 root disk  21,   1 Aug 29 12:22 sg1
crw------- 1 root root  10, 231 Aug 29 12:22 snapshot
drwxr-xr-x 2 root root       60 Aug 29 12:22 snd
lrwxrwxrwx 1 root root       15 Aug 29 12:22 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root       15 Aug 29 12:22 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root       15 Aug 29 12:22 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root   5,   0 Aug 29 12:22 tty
crw------- 1 root root   4,   0 Aug 29 12:22 tty0
crw------- 1 root root   4,   1 Aug 29 12:22 tty1
crw------- 1 root root   4,  10 Aug 29 12:22 tty10
crw------- 1 root root   4,  11 Aug 29 12:22 tty11
crw------- 1 root root   4,  12 Aug 29 12:22 tty12
crw------- 1 root root   4,  13 Aug 29 12:22 tty13
crw------- 1 root root   4,  14 Aug 29 12:22 tty14
crw------- 1 root root   4,  15 Aug 29 12:22 tty15
crw------- 1 root root   4,  16 Aug 29 12:22 tty16
crw------- 1 root root   4,  17 Aug 29 12:22 tty17
crw------- 1 root root   4,  18 Aug 29 12:22 tty18
crw------- 1 root root   4,  19 Aug 29 12:22 tty19
crw------- 1 root root   4,   2 Aug 29 12:22 tty2
crw------- 1 root root   4,  20 Aug 29 12:22 tty20
crw------- 1 root root   4,  21 Aug 29 12:22 tty21
crw------- 1 root root   4,  22 Aug 29 12:22 tty22
crw------- 1 root root   4,  23 Aug 29 12:22 tty23
crw------- 1 root root   4,  24 Aug 29 12:22 tty24
crw------- 1 root root   4,  25 Aug 29 12:22 tty25
crw------- 1 root root   4,  26 Aug 29 12:22 tty26
crw------- 1 root root   4,  27 Aug 29 12:22 tty27
crw------- 1 root root   4,  28 Aug 29 12:22 tty28
crw------- 1 root root   4,  29 Aug 29 12:22 tty29
crw------- 1 root root   4,   3 Aug 29 12:22 tty3
crw------- 1 root root   4,  30 Aug 29 12:22 tty30
crw------- 1 root root   4,  31 Aug 29 12:22 tty31
crw------- 1 root root   4,  32 Aug 29 12:22 tty32
crw------- 1 root root   4,  33 Aug 29 12:22 tty33
crw------- 1 root root   4,  34 Aug 29 12:22 tty34
crw------- 1 root root   4,  35 Aug 29 12:22 tty35
crw------- 1 root root   4,  36 Aug 29 12:22 tty36
crw------- 1 root root   4,  37 Aug 29 12:22 tty37
crw------- 1 root root   4,  38 Aug 29 12:22 tty38
crw------- 1 root root   4,  39 Aug 29 12:22 tty39
crw------- 1 root root   4,   4 Aug 29 12:22 tty4
crw------- 1 root root   4,  40 Aug 29 12:22 tty40
crw------- 1 root root   4,  41 Aug 29 12:22 tty41
crw------- 1 root root   4,  42 Aug 29 12:22 tty42
crw------- 1 root root   4,  43 Aug 29 12:22 tty43
crw------- 1 root root   4,  44 Aug 29 12:22 tty44
crw------- 1 root root   4,  45 Aug 29 12:22 tty45
crw------- 1 root root   4,  46 Aug 29 12:22 tty46
crw------- 1 root root   4,  47 Aug 29 12:22 tty47
crw------- 1 root root   4,  48 Aug 29 12:22 tty48
crw------- 1 root root   4,  49 Aug 29 12:22 tty49
crw------- 1 root root   4,   5 Aug 29 12:22 tty5
crw------- 1 root root   4,  50 Aug 29 12:22 tty50
crw------- 1 root root   4,  51 Aug 29 12:22 tty51
crw------- 1 root root   4,  52 Aug 29 12:22 tty52
crw------- 1 root root   4,  53 Aug 29 12:22 tty53
crw------- 1 root root   4,  54 Aug 29 12:22 tty54
crw------- 1 root root   4,  55 Aug 29 12:22 tty55
crw------- 1 root root   4,  56 Aug 29 12:22 tty56
crw------- 1 root root   4,  57 Aug 29 12:22 tty57
crw------- 1 root root   4,  58 Aug 29 12:22 tty58
crw------- 1 root root   4,  59 Aug 29 12:22 tty59
crw------- 1 root root   4,   6 Aug 29 12:22 tty6
crw------- 1 root root   4,  60 Aug 29 12:22 tty60
crw------- 1 root root   4,  61 Aug 29 12:22 tty61
crw------- 1 root root   4,  62 Aug 29 12:22 tty62
crw------- 1 root root   4,  63 Aug 29 12:22 tty63
crw------- 1 root root   4,   7 Aug 29 12:22 tty7
crw------- 1 root root   4,   8 Aug 29 12:22 tty8
crw------- 1 root root   4,   9 Aug 29 12:22 tty9
crw------- 1 root root   4,  64 Aug 29 12:22 ttyS0
crw------- 1 root root   4,  65 Aug 29 12:22 ttyS1
crw------- 1 root root   4,  66 Aug 29 12:22 ttyS2
crw------- 1 root root   4,  67 Aug 29 12:22 ttyS3
crw-rw-rw- 1 root root   1,   9 Aug 29 12:22 urandom
crw------- 1 root root 250,   0 Aug 29 12:22 usbmon0
crw------- 1 root root 250,   1 Aug 29 12:22 usbmon1
crw------- 1 root root   7,   0 Aug 29 12:22 vcs
crw------- 1 root root   7,   1 Aug 29 12:22 vcs1
crw------- 1 root root   7, 128 Aug 29 12:22 vcsa
crw------- 1 root root   7, 129 Aug 29 12:22 vcsa1
drwxr-xr-x 2 root root       40 Aug 29 12:22 vfio
crw------- 1 root root  10,  63 Aug 29 12:22 vga_arbiter
drwxr-xr-x 2 root root       60 Aug 29 12:22 virtio-ports
crw------- 1 root root 247,   1 Aug 29 12:22 vport1p1
crw-rw-rw- 1 root root   1,   5 Aug 29 12:22 zero

/dev/block:
total 0
lrwxrwxrwx 1 root root 6 Aug 29 12:22 8:0 -> ../sda
lrwxrwxrwx 1 root root 6 Aug 29 12:22 8:16 -> ../sdb

/dev/bsg:
total 0
crw------- 1 root root 251, 0 Aug 29 12:22 2:0:0:0
crw------- 1 root root 251, 1 Aug 29 12:22 2:0:1:0

/dev/bus:
total 0
drwxr-xr-x 3 root root 60 Aug 29 12:22 usb

/dev/bus/usb:
total 0
drwxr-xr-x 2 root root 60 Aug 29 12:22 001

/dev/bus/usb/001:
total 0
crw------- 1 root root 189, 0 Aug 29 12:22 001

/dev/char:
total 0
lrwxrwxrwx 1 root root  8 Aug 29 12:22 10:144 -> ../nvram
lrwxrwxrwx 1 root root  9 Aug 29 12:22 10:227 -> ../mcelog
lrwxrwxrwx 1 root root 11 Aug 29 12:22 10:231 -> ../snapshot
lrwxrwxrwx 1 root root  6 Aug 29 12:22 10:232 -> ../kvm
lrwxrwxrwx 1 root root  9 Aug 29 12:22 10:235 -> ../autofs
lrwxrwxrwx 1 root root 17 Aug 29 12:22 10:236 -> ../mapper/control
lrwxrwxrwx 1 root root  9 Aug 29 12:22 10:58 -> ../rfkill
lrwxrwxrwx 1 root root 21 Aug 29 12:22 10:59 -> ../network_throughput
lrwxrwxrwx 1 root root 18 Aug 29 12:22 10:60 -> ../network_latency
lrwxrwxrwx 1 root root 18 Aug 29 12:22 10:61 -> ../cpu_dma_latency
lrwxrwxrwx 1 root root  8 Aug 29 12:22 10:62 -> ../crash
lrwxrwxrwx 1 root root 14 Aug 29 12:22 10:63 -> ../vga_arbiter
lrwxrwxrwx 1 root root 12 Aug 29 12:22 116:33 -> ../snd/timer
lrwxrwxrwx 1 root root 15 Aug 29 12:22 13:32 -> ../input/mouse0
lrwxrwxrwx 1 root root 13 Aug 29 12:22 13:63 -> ../input/mice
lrwxrwxrwx 1 root root 15 Aug 29 12:22 13:64 -> ../input/event0
lrwxrwxrwx 1 root root 15 Aug 29 12:22 13:65 -> ../input/event1
lrwxrwxrwx 1 root root 15 Aug 29 12:22 13:66 -> ../input/event2
lrwxrwxrwx 1 root root 13 Aug 29 12:22 162:0 -> ../raw/rawctl
lrwxrwxrwx 1 root root 18 Aug 29 12:22 189:0 -> ../bus/usb/001/001
lrwxrwxrwx 1 root root  6 Aug 29 12:22 1:1 -> ../mem
lrwxrwxrwx 1 root root  7 Aug 29 12:22 1:11 -> ../kmsg
lrwxrwxrwx 1 root root  9 Aug 29 12:22 1:12 -> ../oldmem
lrwxrwxrwx 1 root root  7 Aug 29 12:22 1:3 -> ../null
lrwxrwxrwx 1 root root  7 Aug 29 12:22 1:4 -> ../port
lrwxrwxrwx 1 root root  7 Aug 29 12:22 1:5 -> ../zero
lrwxrwxrwx 1 root root  7 Aug 29 12:22 1:7 -> ../full
lrwxrwxrwx 1 root root  9 Aug 29 12:22 1:8 -> ../random
lrwxrwxrwx 1 root root 10 Aug 29 12:22 1:9 -> ../urandom
lrwxrwxrwx 1 root root 12 Aug 29 12:22 202:0 -> ../cpu/0/msr
lrwxrwxrwx 1 root root 14 Aug 29 12:22 203:0 -> ../cpu/0/cpuid
lrwxrwxrwx 1 root root  6 Aug 29 12:22 21:0 -> ../sg0
lrwxrwxrwx 1 root root  6 Aug 29 12:22 21:1 -> ../sg1
lrwxrwxrwx 1 root root 11 Aug 29 12:22 247:1 -> ../vport1p1
lrwxrwxrwx 1 root root 10 Aug 29 12:22 250:0 -> ../usbmon0
lrwxrwxrwx 1 root root 10 Aug 29 12:22 250:1 -> ../usbmon1
lrwxrwxrwx 1 root root 14 Aug 29 12:22 251:0 -> ../bsg/2:0:0:0
lrwxrwxrwx 1 root root 14 Aug 29 12:22 251:1 -> ../bsg/2:0:1:0
lrwxrwxrwx 1 root root  7 Aug 29 12:22 253:0 -> ../rtc0
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:0 -> ../tty0
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:1 -> ../tty1
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:10 -> ../tty10
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:11 -> ../tty11
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:12 -> ../tty12
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:13 -> ../tty13
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:14 -> ../tty14
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:15 -> ../tty15
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:16 -> ../tty16
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:17 -> ../tty17
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:18 -> ../tty18
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:19 -> ../tty19
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:2 -> ../tty2
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:20 -> ../tty20
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:21 -> ../tty21
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:22 -> ../tty22
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:23 -> ../tty23
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:24 -> ../tty24
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:25 -> ../tty25
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:26 -> ../tty26
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:27 -> ../tty27
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:28 -> ../tty28
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:29 -> ../tty29
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:3 -> ../tty3
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:30 -> ../tty30
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:31 -> ../tty31
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:32 -> ../tty32
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:33 -> ../tty33
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:34 -> ../tty34
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:35 -> ../tty35
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:36 -> ../tty36
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:37 -> ../tty37
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:38 -> ../tty38
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:39 -> ../tty39
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:4 -> ../tty4
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:40 -> ../tty40
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:41 -> ../tty41
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:42 -> ../tty42
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:43 -> ../tty43
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:44 -> ../tty44
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:45 -> ../tty45
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:46 -> ../tty46
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:47 -> ../tty47
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:48 -> ../tty48
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:49 -> ../tty49
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:5 -> ../tty5
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:50 -> ../tty50
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:51 -> ../tty51
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:52 -> ../tty52
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:53 -> ../tty53
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:54 -> ../tty54
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:55 -> ../tty55
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:56 -> ../tty56
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:57 -> ../tty57
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:58 -> ../tty58
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:59 -> ../tty59
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:6 -> ../tty6
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:60 -> ../tty60
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:61 -> ../tty61
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:62 -> ../tty62
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:63 -> ../tty63
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:64 -> ../ttyS0
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:65 -> ../ttyS1
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:66 -> ../ttyS2
lrwxrwxrwx 1 root root  8 Aug 29 12:22 4:67 -> ../ttyS3
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:7 -> ../tty7
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:8 -> ../tty8
lrwxrwxrwx 1 root root  7 Aug 29 12:22 4:9 -> ../tty9
lrwxrwxrwx 1 root root  6 Aug 29 12:22 5:0 -> ../tty
lrwxrwxrwx 1 root root 10 Aug 29 12:22 5:1 -> ../console
lrwxrwxrwx 1 root root  7 Aug 29 12:22 5:2 -> ../ptmx
lrwxrwxrwx 1 root root  6 Aug 29 12:22 7:0 -> ../vcs
lrwxrwxrwx 1 root root  7 Aug 29 12:22 7:1 -> ../vcs1
lrwxrwxrwx 1 root root  7 Aug 29 12:22 7:128 -> ../vcsa
lrwxrwxrwx 1 root root  8 Aug 29 12:22 7:129 -> ../vcsa1

/dev/cpu:
total 0
drwxr-xr-x 2 root root 80 Aug 29 12:22 0

/dev/cpu/0:
total 0
crw------- 1 root root 203, 0 Aug 29 12:22 cpuid
crw------- 1 root root 202, 0 Aug 29 12:22 msr

/dev/disk:
total 0
drwxr-xr-x 2 root root 80 Aug 29 12:22 by-id
drwxr-xr-x 2 root root 80 Aug 29 12:22 by-path
drwxr-xr-x 2 root root 60 Aug 29 12:22 by-uuid

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Aug 29 12:22 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0 -> ../../sda
lrwxrwxrwx 1 root root 9 Aug 29 12:22 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-0 -> ../../sdb

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Aug 29 12:22 pci-0000:00:03.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 9 Aug 29 12:22 pci-0000:00:03.0-scsi-0:0:1:0 -> ../../sdb

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 9 Aug 29 12:22 a0746a51-8bf5-40ff-b328-018db3055f55 -> ../../sdb

/dev/input:
total 0
drwxr-xr-x 2 root root    120 Aug 29 12:22 by-path
crw------- 1 root root 13, 64 Aug 29 12:22 event0
crw------- 1 root root 13, 65 Aug 29 12:22 event1
crw------- 1 root root 13, 66 Aug 29 12:22 event2
crw------- 1 root root 13, 63 Aug 29 12:22 mice
crw------- 1 root root 13, 32 Aug 29 12:22 mouse0

/dev/input/by-path:
total 0
lrwxrwxrwx 1 root root 9 Aug 29 12:22 platform-i8042-serio-0-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9 Aug 29 12:22 platform-i8042-serio-1-event-mouse -> ../event1
lrwxrwxrwx 1 root root 9 Aug 29 12:22 platform-i8042-serio-1-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Aug 29 12:22 platform-pcspkr-event-spkr -> ../event2

/dev/mapper:
total 0
crw------- 1 root root 10, 236 Aug 29 12:22 control

/dev/net:
total 0

/dev/raw:
total 0
crw------- 1 root root 162, 0 Aug 29 12:22 rawctl

/dev/snd:
total 0
crw-rw---- 1 root audio 116, 33 Aug 29 12:22 timer

/dev/vfio:
total 0

/dev/virtio-ports:
total 0
lrwxrwxrwx 1 root root 11 Aug 29 12:22 org.libguestfs.channel.0 -> ../vport1p1
rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
/dev/root / ext2 rw,noatime 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=97780k,mode=755 0 0
/dev /dev devtmpfs rw,relatime,size=242000k,nr_inodes=60500,mode=755 0 0
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    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
Module                  Size  Used by
dm_mod                113292  0 
kvm_amd                65072  0 
kvm                   525409  1 kvm_amd
snd_pcm               105835  0 
sg                     40721  0 
snd_timer              29639  1 snd_pcm
snd                    83425  2 snd_timer,snd_pcm
soundcore              15047  1 snd
pcspkr                 12718  0 
serio_raw              13462  0 
ata_generic            12910  0 
pata_acpi              13038  0 
libcrc32c              12644  0 
crc8                   12893  0 
crc_itu_t              12707  0 
crc_ccitt              12707  0 
ext4                  578819  1 
mbcache                14958  1 ext4
jbd2                  102940  1 ext4
virtio_pci             22913  0 
virtio_input           13247  0 
virtio_balloon         13664  0 
virtio_scsi            18361  1 
sr_mod                 22416  0 
cdrom                  42556  1 sr_mod
sd_mod                 45497  1 
crc_t10dif             12714  1 sd_mod
scsi_transport_spi     30732  0 
megaraid_sas          122098  0 
rfkill                 26536  0 
sparse_keymap          13948  0 
virtio_net             28024  0 
virtio_console         28114  0 
virtio_rng             13019  0 
virtio_blk             18156  0 
virtio_ring            21524  8 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_input,virtio_console,virtio_scsi
virtio                 15008  8 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_input,virtio_console,virtio_scsi
ata_piix               35038  0 
libata                218730  3 pata_acpi,ata_generic,ata_piix
crct10dif_generic      12647  1 
crc32                  12714  0 
crct10dif_common       12595  2 crct10dif_generic,crc_t10dif
Mon Aug 29 12:22:48 UTC 2016
clocksource: tsc
uptime: 11.12 0.78
verbose daemon enabled
linux command line: panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394042 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm

trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
udevadm --debug settle
calling: settle
libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
libguestfs: [14482ms] appliance is up
Guest launched OK.
guestfsd: main_loop: new request, len 0x3c
udevadm --debug settle
calling: settle
parted -s -- /dev/sda mklabel msdos mkpart primary 128s -128s
Warning: The resulting partition is not properly aligned for best performance.
udevadm --debug settle
calling: settle
guestfsd: main_loop: proc 210 (part_disk) took 0.86 seconds
guestfsd: main_loop: new request, len 0x50
wipefs --help
wipefs -a --force /dev/sda1
mke2fs -t ext2 -F /dev/sda1
mke2fs 1.42.9 (28-Dec-2013)
guestfsd: main_loop: proc 278 (mkfs) took 0.63 seconds
guestfsd: main_loop: new request, len 0x38
blkid -c /dev/null -o value -s TYPE /dev/sda1
guestfsd: main_loop: proc 198 (vfs_type) took 0.25 seconds
guestfsd: main_loop: new request, len 0x40
mount -o  /dev/sda1 /sysroot/
[   13.788070] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[   13.823094] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
guestfsd: main_loop: proc 1 (mount) took 0.34 seconds
guestfsd: main_loop: new request, len 0x34
guestfsd: main_loop: proc 3 (touch) took 0.01 seconds
guestfsd: main_loop: new request, len 0x28
umount-all: /proc/mounts: fsname=rootfs dir=/ type=rootfs opts=rw 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=/dev/root dir=/ type=ext2 opts=rw,noatime 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=97780k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=242000k,nr_inodes=60500,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2 opts=rw,relatime freq=0 passno=0
umount /sysroot
fsync /dev/sda
libguestfs: calling virDomainDestroy "guestfs-aglq751pjoftyb6s" flags=VIR_DOMAIN_DESTROY_GRACEFUL
libguestfs: closing guestfs handle 0x7f50db53e620 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsfJ31Qj
===== TEST FINISHED OK =====