Tang, Alan (NSB - CN/Qingdao)
2017-Aug-23 06:25 UTC
[Libguestfs] virt-sysprep: error: no operating systems were found in the guest image on libguestfs-1.36.5
Hi all,
I encountered the following error when I tried to run virt-sysprep on a qcow2
image.
virt-sysprep: error: no operating systems were found in the guest image
The version I used for libguest is as follows:
[libguestfs-1.36.5]
The same issue happened on other versions such as libguestfs-1.32.7.
# ./run ./sysprep/virt-sysprep -v -x -a
/var/lib/libvirt/images/CentOS-7-x86_64-GenericCloud-1707.qcow2
The image I used is downloaded from below:
http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1707.qcow2
This issue happens all the time so it is very easy to reproduce.
Would anybody please tell me if this is a known issue?
If yes, how can I get the fix for this issue?
The following is the full output of the command:
# ./run ./sysprep/virt-sysprep -v -x -a
/var/lib/libvirt/images/CentOS-7-x86_64-GenericCloud-1707.qcow2
[ 0.0] Examining the guest ...
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_network false
libguestfs: trace: set_network = 0
libguestfs: trace: add_drive
"/var/lib/libvirt/images/CentOS-7-x86_64-GenericCloud-1707.qcow2"
"readonly:false" "protocol:file"
"discard:besteffort"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/root/libguestfs-1.36.5/tmp"
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 36,
release: 5, extra: , >
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=virt-sysprep
libguestfs: launch: version=1.36.5
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/root/libguestfs-1.36.5/tmp/libguestfsNx5SCZ
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 = "/root/libguestfs-1.36.5/tmp"
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /root/libguestfs-1.36.5/tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /root/libguestfs-1.36.5/appliance/supermin.d
libguestfs: command: run: \ -o
/root/libguestfs-1.36.5/tmp/.guestfs-0/appliance.d
supermin: version: 5.1.16
supermin: rpm: detected RPM version 4.11
supermin: package handler: fedora/rpm
supermin: acquiring lock on /root/libguestfs-1.36.5/tmp/.guestfs-0/lock
supermin: if-newer: output does not need rebuilding
libguestfs: finished building supermin appliance
libguestfs: begin testing qemu features
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/root/libguestfs-1.36.5/tmp"
libguestfs: checking for previously cached test results of
/usr/libexec/qemu-kvm, in /root/libguestfs-1.36.5/tmp/.guestfs-0
libguestfs: loading previously cached test results
libguestfs: qemu version 1.5
libguestfs: trace: get_sockdir
libguestfs: trace: get_sockdir = "/tmp"
libguestfs: finished testing qemu features
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
[00080ms] /usr/libexec/qemu-kvm \
-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 /root/libguestfs-1.36.5/tmp/.guestfs-0/appliance.d/kernel \
-initrd /root/libguestfs-1.36.5/tmp/.guestfs-0/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=/var/lib/libvirt/images/CentOS-7-x86_64-GenericCloud-1707.qcow2,cache=writeback,discard=unmap,id=hd0,if=none
\
-device scsi-hd,drive=hd0 \
-drive
file=/root/libguestfs-1.36.5/tmp/.guestfs-0/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=/tmp/libguestfst4FNb4/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 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
SeaBIOS (version seabios-1.7.5-8.el7)
Booting from ROM...
\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.101 (root@ci092133) (gcc version 4.8.3
20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Mon Apr 11 16:22:43 ULAT 2016
[ 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] 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-0x000000001f3fdfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001f3fe000-0x000000001f3fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.4 present.
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] No AGP bridge found
[ 0.000000] e820: last_pfn = 0x1f3fe max_arch_pfn = 0x400000000
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] found SMP MP-table at [mem 0x000f2050-0x000f205f] mapped at
[ffff8800000f2050]
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] init_memory_mapping: [mem 0x1de00000-0x1dffffff]
[ 0.000000] init_memory_mapping: [mem 0x1c000000-0x1ddfffff]
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff]
[ 0.000000] init_memory_mapping: [mem 0x1e000000-0x1f3fdfff]
[ 0.000000] RAMDISK: [mem 0x1e0c6000-0x1f3effff]
[ 0.000000] ACPI: RSDP 0x00000000000F1EB0 00014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 0x000000001F3FFA9B 00030 (v01 BOCHS BXPCRSDT 00000001
BXPC 00000001)
[ 0.000000] ACPI: FACP 0x000000001F3FF177 00074 (v01 BOCHS BXPCFACP 00000001
BXPC 00000001)
[ 0.000000] ACPI: DSDT 0x000000001F3FE040 01137 (v01 BXPC BXDSDT 00000001
INTL 20140926)
[ 0.000000] ACPI: FACS 0x000000001F3FE000 00040
[ 0.000000] ACPI: SSDT 0x000000001F3FF1EB 00838 (v01 BOCHS BXPCSSDT 00000001
BXPC 00000001)
[ 0.000000] ACPI: APIC 0x000000001F3FFA23 00078 (v01 BOCHS BXPCAPIC 00000001
BXPC 00000001)
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x1f3fdfff]
[ 0.000000] NODE_DATA [mem 0x1e09f000-0x1e0c5fff]
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:1e05f001, boot clock
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00001000-0x00ffffff]
[ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x0009efff]
[ 0.000000] node 0: [mem 0x00100000-0x1f3fdfff]
[ 0.000000] ACPI: PM-Timer IO Port: 0x608
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[ 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: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[ 0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] setup_percpu: NR_CPUS:4096 nr_cpumask_bits:1 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] PERCPU: Embedded 27 pages/cpu @ffff88001de00000 s81600 r8192
d20800 u2097152
[ 0.000000] kvm-clock: cpu 0, msr 0:1e05f001, primary cpu clock
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1de0cf00
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total
pages: 125879
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: panic=1 console=ttyS0 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] Disabling memory control group subsystem
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Memory: 468652k/511992k available (5800k kernel code, 392k
absent, 42948k reserved, 3879k data, 1588k 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=4096 to nr_cpu_ids=1.
[ 0.000000] \tExperimental no-CBs for all CPUs
[ 0.000000] \tExperimental no-CBs CPUs: 0.
[ 0.000000] NR_IRQS:262400 nr_irqs:256 16
[ 0.000000] Console: colour *CGA 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] tsc: Detected 2194.498 MHz processor
[ 0.003000] Calibrating delay loop (skipped) preset value.. 4388.99 BogoMIPS
(lpj=2194498)
[ 0.004009] pid_max: default: 32768 minimum: 301
[ 0.005044] Security Framework initialized
[ 0.005765] SELinux: Disabled at boot.
[ 0.006108] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.007158] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.008076] Mount-cache hash table entries: 256
[ 0.009111] Initializing cgroup subsys memory
[ 0.009855] Initializing cgroup subsys devices
[ 0.010007] Initializing cgroup subsys freezer
[ 0.011007] Initializing cgroup subsys net_cls
[ 0.012006] Initializing cgroup subsys blkio
[ 0.012733] Initializing cgroup subsys perf_event
[ 0.013009] Initializing cgroup subsys hugetlb
[ 0.015471] mce: CPU supports 10 MCE banks
[ 0.016089] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.016089] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.016089] tlb_flushall_shift: 6
[ 0.031039] Freeing SMP alternatives: 20k freed
[ 0.041250] ACPI: Core revision 20130328
[ 0.042754] ACPI: All ACPI Tables successfully acquired
[ 0.043606] ftrace: allocating 22951 entries in 90 pages
[ 0.051431] Enabling x2apic
[ 0.051999] Enabled x2apic
[ 0.052007] Switched APIC routing to physical x2apic.
[ 0.054693] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.055003] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz (fam:
06, model: 3e, stepping: 04)
[ 0.057335] Performance Events: 16-deep LBR, IvyBridge events, Intel PMU
driver.
[ 0.058292] ... version: 2
[ 0.058958] ... bit width: 48
[ 0.059005] ... generic registers: 4
[ 0.059663] ... value mask: 0000ffffffffffff
[ 0.060005] ... max period: 000000007fffffff
[ 0.060855] ... fixed-purpose events: 3
[ 0.061005] ... event mask: 000000070000000f
[ 0.063422] Brought up 1 CPUs
[ 0.063919] smpboot: Total of 1 processors activated (4388.99 BogoMIPS)
[ 0.064565] NMI watchdog: enabled on all CPUs, permanently consumes one
hw-PMU counter.
[ 0.065495] devtmpfs: initialized
[ 0.066745] EVM: security.selinux
[ 0.067006] EVM: security.ima
[ 0.067486] EVM: security.capability
[ 0.068935] atomic64 test passed for x86-64 platform with CX8 and with SSE
[ 0.069070] NET: Registered protocol family 16
[ 0.070030] ACPI: bus type PCI registered
[ 0.070680] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.071136] PCI: Using configuration type 1 for base access
[ 0.072775] bio: create slab <bio-0> at 0
[ 0.073135] ACPI: Added _OSI(Module Device)
[ 0.073823] ACPI: Added _OSI(Processor Device)
[ 0.074006] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.074755] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.076869] ACPI: Interpreter enabled
[ 0.077011] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State
[\_S1_] (20130328/hwxface-568)
[ 0.078360] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State
[\_S2_] (20130328/hwxface-568)
[ 0.079895] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State
[\_S3_] (20130328/hwxface-568)
[ 0.080900] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State
[\_S4_] (20130328/hwxface-568)
[ 0.081862] ACPI: (supports S0 S5)
[ 0.082006] ACPI: Using IOAPIC for interrupt routing
[ 0.082841] PCI: Using host bridge windows from ACPI; if necessary, use
"pci=nocrs" and report a bug
[ 0.083282] ACPI: No dock devices found.
[ 0.086497] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.087082] acpi PNP0A03:00: fail to add MMCONFIG information, can't
access extended PCI configuration space under this bridge.
[ 0.088240] acpiphp: Slot [2] registered
[ 0.088915] acpiphp: Slot [3] registered
[ 0.089029] acpiphp: Slot [4] registered
[ 0.089690] acpiphp: Slot [5] registered
[ 0.090028] acpiphp: Slot [6] registered
[ 0.090670] acpiphp: Slot [7] registered
[ 0.091027] acpiphp: Slot [8] registered
[ 0.091679] acpiphp: Slot [9] registered
[ 0.092028] acpiphp: Slot [10] registered
[ 0.092689] acpiphp: Slot [11] registered
[ 0.093034] acpiphp: Slot [12] registered
[ 0.093701] acpiphp: Slot [13] registered
[ 0.094028] acpiphp: Slot [14] registered
[ 0.094697] acpiphp: Slot [15] registered
[ 0.095035] acpiphp: Slot [16] registered
[ 0.095692] acpiphp: Slot [17] registered
[ 0.096029] acpiphp: Slot [18] registered
[ 0.096680] acpiphp: Slot [19] registered
[ 0.097044] acpiphp: Slot [20] registered
[ 0.097700] acpiphp: Slot [21] registered
[ 0.098028] acpiphp: Slot [22] registered
[ 0.098690] acpiphp: Slot [23] registered
[ 0.099028] acpiphp: Slot [24] registered
[ 0.099681] acpiphp: Slot [25] registered
[ 0.100028] acpiphp: Slot [26] registered
[ 0.100694] acpiphp: Slot [27] registered
[ 0.101029] acpiphp: Slot [28] registered
[ 0.101695] acpiphp: Slot [29] registered
[ 0.102028] acpiphp: Slot [30] registered
[ 0.102689] acpiphp: Slot [31] registered
[ 0.103020] PCI host bridge to bus 0000:00
[ 0.103681] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.104007] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
[ 0.104972] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
[ 0.105006] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[ 0.106006] pci_bus 0000:00: root bus resource [mem 0x1f400000-0xfebfffff]
[ 0.113716] pci 0000:00:01.3: address space collision: [io 0x0600-0x063f]
conflicts with ACPI PM1a_EVT_BLK [??? 0x00000600-0x00000603 flags 0x80000000]
[ 0.114018] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
[ 0.136543] acpi PNP0A03:00: ACPI _OSC support notification failed, disabling
PCIe ASPM
[ 0.137008] acpi PNP0A03:00: Unable to request _OSC control (_OSC support
mask: 0x08)
[ 0.138355] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 0.139386] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.140389] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.141380] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 0.142341] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[ 0.143493] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 0.144239] vgaarb: loaded
[ 0.144783] SCSI subsystem initialized
[ 0.145031] ACPI: bus type USB registered
[ 0.145724] usbcore: registered new interface driver usbfs
[ 0.146015] usbcore: registered new interface driver hub
[ 0.146902] usbcore: registered new device driver usb
[ 0.147082] PCI: Using ACPI for IRQ routing
[ 0.148040] NetLabel: Initializing
[ 0.148595] NetLabel: domain hash size = 128
[ 0.149005] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.149834] NetLabel: unlabeled traffic allowed by default
[ 0.150071] Switching to clocksource kvm-clock
[ 0.155469] pnp: PnP ACPI init
[ 0.156020] ACPI: bus type PNP registered
[ 0.157291] pnp: PnP ACPI: found 5 devices
[ 0.157942] ACPI: bus type PNP unregistered
[ 0.164498] pci 0000:00:01.3: BAR 13: [io 0x0600-0x063f] has bogus alignment
[ 0.165675] NET: Registered protocol family 2
[ 0.166631] TCP established hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.167782] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.168824] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.169888] TCP: reno registered
[ 0.170438] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.171375] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.172440] NET: Registered protocol family 1
[ 0.173165] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.174123] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.175058] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.176168] Unpacking initramfs...
[ 0.194389] Freeing initrd memory: 19624k freed
[ 0.204564] microcode: CPU0 sig=0x306e4, pf=0x1, revision=0x1
[ 0.205585] microcode: Microcode Update Driver: v2.00
<tigran@aivazian.fsnet.co.uk>, Peter Oruba
[ 0.207277] Initialise module verification
[ 0.207995] audit: initializing netlink socket (disabled)
[ 0.208917] type=2000 audit(1503468939.208:1): initialized
[ 0.233911] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.236181] VFS: Disk quotas dquot_6.5.2
[ 0.236856] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.238108] msgmni has been set to 953
[ 0.239150] alg: No test for stdrng (krng)
[ 0.239813] NET: Registered protocol family 38
[ 0.240547] Key type asymmetric registered
[ 0.241227] Asymmetric key parser 'x509' registered
[ 0.242068] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
252)
[ 0.243299] io scheduler noop registered
[ 0.243923] io scheduler deadline registered (default)
[ 0.244779] io scheduler cfq registered
[ 0.245530] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.246478] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.247677] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.248856] ACPI: Power Button [PWRF]
[ 0.250419] GHES: HEST is not enabled!
[ 0.251142] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 0.275133] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.276569] Non-volatile memory driver v1.3
[ 0.277306] Linux agpgart interface v0.103
[ 0.278104] rdac: device handler registered
[ 0.278840] hp_sw: device handler registered
[ 0.279574] emc: device handler registered
[ 0.280268] alua: device handler registered
[ 0.280959] libphy: Fixed MDIO Bus: probed
[ 0.281702] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[ 0.282790] ehci-pci: EHCI PCI platform driver
[ 0.283553] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.284572] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.285658] usbcore: registered new interface driver usbserial
[ 0.286642] usbcore: registered new interface driver usbserial_generic
[ 0.287708] usbserial: USB Serial support registered for generic
[ 0.288730] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at
0x60,0x64 irq 1,12
[ 0.290902] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.291754] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.292746] mousedev: PS/2 mouse device common for all mice
[ 0.294051] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input1
[ 0.297600] rtc_cmos 00:00: RTC can wake from S4
[ 0.298736] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[ 0.299860] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram
[ 0.300871] cpuidle: using governor ladder
[ 0.301563] cpuidle: using governor menu
[ 0.302312] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.303309] usbcore: registered new interface driver usbhid
[ 0.304206] usbhid: USB HID core driver
[ 0.304873] drop_monitor: Initializing network drop monitor service
[ 0.305974] TCP: cubic registered
[ 0.306523] Initializing XFRM netlink socket
[ 0.307320] NET: Registered protocol family 10
[ 0.308274] NET: Registered protocol family 17
[ 0.309262] Loading module verification certificates
[ 0.311049] MODSIGN: Loaded cert 'Magrathea: Glacier signing key:
e04d3d166651f6ef8942b9c8aad3708810731b1b'
[ 0.312610] registered taskstats version 1
[ 0.313554] Key type trusted registered
[ 0.314529] Key type encrypted registered
[ 0.315195] IMA: No TPM chip found, activating TPM-bypass!
[ 0.316522] rtc_cmos 00:00: setting system clock to 2017-08-23 06:15:39 UTC
(1503468939)
[ 0.318778] Freeing unused kernel memory: 1588k freed
supermin: mounting /proc
supermin: ext2 mini initrd starting up: 5.1.16 glibc
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.32 0.04
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
[ 0.328507] alg: No test for crc32 (crc32-pclmul)
supermin: internal insmod crc32c-intel.ko
supermin: internal insmod crc32.ko
[ 0.335807] alg: No test for crc32 (crc32-table)
supermin: internal insmod libata.ko
[ 0.363949] ACPI: bus type ATA registered
supermin: internal insmod ata_piix.ko
[ 0.371535] scsi0 : ata_piix
[ 0.372135] scsi1 : ata_piix
[ 0.372635] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc080 irq 14
[ 0.373748] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc088 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 crc-t10dif.ko
supermin: internal insmod sd_mod.ko
supermin: internal insmod virtio_scsi.ko
supermin: internal insmod virtio_balloon.ko
supermin: internal insmod virtio_pci.ko
[ 0.579304] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[ 0.581879] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[ 0.585994] scsi2 : Virtio SCSI HBA
[ 0.589240] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 1.5.
PQ: 0 ANSI: 5
[ 0.590765] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 1.5.
PQ: 0 ANSI: 5
[ 0.593095] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 0.685117] sd 2:0:0:0: [sda] 16777216 512-byte logical blocks: (8.58 GB/8.00
GiB)
[ 0.686600] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00
GiB)
[ 0.688027] sd 2:0:0:0: [sda] Write Protect is off
[ 0.688968] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 0.690600] sd 2:0:1:0: [sdb] Write Protect is off
[ 0.691543] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 0.695031] sda: sda1
[ 0.695780] sdb: unknown partition table
[ 0.696921] sd 2:0:0:0: [sda] Attached SCSI disk
[ 0.698774] sd 2:0:1:0: [sdb] 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
[ 0.827231] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
[ 0.856133] 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
+ mount -t devtmpfs /dev /dev
+ mkdir -p /dev/pts
+ mount -t devpts /dev/pts /dev/pts
+ [[ 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=' 0953 7429 ed83 8cdb c10e 2009 cb90 52f5'
+ echo 09537429ed838cdbc10e2009cb9052f5
+ systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
[/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
[/usr/lib/tmpfiles.d/systemd.conf:27] Unknown group 'systemd-journal'.
[/usr/lib/tmpfiles.d/systemd.conf:28] Unknown group 'systemd-journal'.
+ 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
+ udevadm trigger
[ 0.971506] systemd-udevd[93]: starting version 208
+ udevadm settle --timeout=600
[ 1.047640] FDC 0 is a S82078B
[ 1.065053] input: PC Speaker as /devices/platform/pcspkr/input/input2
[ 1.066605] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700,
revision 0
[ 1.129345] input: ImExPS/2 Generic Explorer Mouse as
/devices/platform/i8042/serio1/input/input3
[ 1.151341] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
+ 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.209534] tsc: Refined TSC clocksource calibration: 2194.499 MHz
[ 1.213825] device-mapper: uevent: version 1.0.3
[ 1.215279] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised:
dm-devel@redhat.com
+ lvm vgchange -aay --sysinit
lvmetad is not active yet, using direct activation during sysinit
+ ldmtool create all
/init: line 140: ldmtool: command not found
+ test 1 = 1
+ test '' '!=' 1
+ uname -a
Linux (none) 3.10.101 #1 SMP Mon Apr 11 16:22:43 ULAT 2016 x86_64 x86_64 x86_64
GNU/Linux
+ ls -lR /dev
/dev:
total 0
crw------- 1 root root 10, 235 Aug 23 06:15 autofs
drwxr-xr-x 2 root root 100 Aug 23 06:15 block
drwxr-xr-x 2 root root 80 Aug 23 06:15 bsg
crw------- 1 root root 10, 234 Aug 23 06:15 btrfs-control
drwxr-xr-x 2 root root 2180 Aug 23 06:15 char
crw------- 1 root root 5, 1 Aug 23 06:15 console
lrwxrwxrwx 1 root root 11 Aug 23 06:15 core -> /proc/kcore
drwxr-xr-x 3 root root 80 Aug 23 06:15 cpu
crw------- 1 root root 10, 62 Aug 23 06:15 cpu_dma_latency
drwxr-xr-x 5 root root 100 Aug 23 06:15 disk
lrwxrwxrwx 1 root root 13 Aug 23 06:15 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Aug 23 06:15 full
crw-rw-rw- 1 root root 10, 229 Aug 23 06:15 fuse
crw------- 1 root root 10, 228 Aug 23 06:15 hpet
crw------- 1 root root 10, 183 Aug 23 06:15 hwrng
drwxr-xr-x 3 root root 180 Aug 23 06:15 input
crw-r--r-- 1 root root 1, 11 Aug 23 06:15 kmsg
crw------- 1 root root 10, 237 Aug 23 06:15 loop-control
drwxr-xr-x 2 root root 60 Aug 23 06:15 mapper
crw------- 1 root root 10, 227 Aug 23 06:15 mcelog
crw------- 1 root root 1, 1 Aug 23 06:15 mem
drwxr-xr-x 2 root root 60 Aug 23 06:15 net
crw------- 1 root root 10, 61 Aug 23 06:15 network_latency
crw------- 1 root root 10, 60 Aug 23 06:15 network_throughput
crw-rw-rw- 1 root root 1, 3 Aug 23 06:15 null
crw------- 1 root root 10, 144 Aug 23 06:15 nvram
crw------- 1 root root 1, 12 Aug 23 06:15 oldmem
crw------- 1 root root 1, 4 Aug 23 06:15 port
crw------- 1 root root 108, 0 Aug 23 06:15 ppp
crw-rw-rw- 1 root root 5, 2 Aug 23 06:15 ptmx
drwxr-xr-x 2 root root 0 Aug 23 06:15 pts
crw-rw-rw- 1 root root 1, 8 Aug 23 06:15 random
drwxr-xr-x 2 root root 60 Aug 23 06:15 raw
lrwxrwxrwx 1 root root 4 Aug 23 06:15 rtc -> rtc0
crw------- 1 root root 254, 0 Aug 23 06:15 rtc0
brw------- 1 root root 8, 0 Aug 23 06:15 sda
brw------- 1 root root 8, 1 Aug 23 06:15 sda1
brw------- 1 root root 8, 16 Aug 23 06:15 sdb
crw------- 1 root root 10, 231 Aug 23 06:15 snapshot
drwxr-xr-x 2 root root 80 Aug 23 06:15 snd
lrwxrwxrwx 1 root root 15 Aug 23 06:15 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Aug 23 06:15 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Aug 23 06:15 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Aug 23 06:15 tty
crw------- 1 root root 4, 0 Aug 23 06:15 tty0
crw------- 1 root root 4, 1 Aug 23 06:15 tty1
crw------- 1 root root 4, 10 Aug 23 06:15 tty10
crw------- 1 root root 4, 11 Aug 23 06:15 tty11
crw------- 1 root root 4, 12 Aug 23 06:15 tty12
crw------- 1 root root 4, 13 Aug 23 06:15 tty13
crw------- 1 root root 4, 14 Aug 23 06:15 tty14
crw------- 1 root root 4, 15 Aug 23 06:15 tty15
crw------- 1 root root 4, 16 Aug 23 06:15 tty16
crw------- 1 root root 4, 17 Aug 23 06:15 tty17
crw------- 1 root root 4, 18 Aug 23 06:15 tty18
crw------- 1 root root 4, 19 Aug 23 06:15 tty19
crw------- 1 root root 4, 2 Aug 23 06:15 tty2
crw------- 1 root root 4, 20 Aug 23 06:15 tty20
crw------- 1 root root 4, 21 Aug 23 06:15 tty21
crw------- 1 root root 4, 22 Aug 23 06:15 tty22
crw------- 1 root root 4, 23 Aug 23 06:15 tty23
crw------- 1 root root 4, 24 Aug 23 06:15 tty24
crw------- 1 root root 4, 25 Aug 23 06:15 tty25
crw------- 1 root root 4, 26 Aug 23 06:15 tty26
crw------- 1 root root 4, 27 Aug 23 06:15 tty27
crw------- 1 root root 4, 28 Aug 23 06:15 tty28
crw------- 1 root root 4, 29 Aug 23 06:15 tty29
crw------- 1 root root 4, 3 Aug 23 06:15 tty3
crw------- 1 root root 4, 30 Aug 23 06:15 tty30
crw------- 1 root root 4, 31 Aug 23 06:15 tty31
crw------- 1 root root 4, 32 Aug 23 06:15 tty32
crw------- 1 root root 4, 33 Aug 23 06:15 tty33
crw------- 1 root root 4, 34 Aug 23 06:15 tty34
crw------- 1 root root 4, 35 Aug 23 06:15 tty35
crw------- 1 root root 4, 36 Aug 23 06:15 tty36
crw------- 1 root root 4, 37 Aug 23 06:15 tty37
crw------- 1 root root 4, 38 Aug 23 06:15 tty38
crw------- 1 root root 4, 39 Aug 23 06:15 tty39
crw------- 1 root root 4, 4 Aug 23 06:15 tty4
crw------- 1 root root 4, 40 Aug 23 06:15 tty40
crw------- 1 root root 4, 41 Aug 23 06:15 tty41
crw------- 1 root root 4, 42 Aug 23 06:15 tty42
crw------- 1 root root 4, 43 Aug 23 06:15 tty43
crw------- 1 root root 4, 44 Aug 23 06:15 tty44
crw------- 1 root root 4, 45 Aug 23 06:15 tty45
crw------- 1 root root 4, 46 Aug 23 06:15 tty46
crw------- 1 root root 4, 47 Aug 23 06:15 tty47
crw------- 1 root root 4, 48 Aug 23 06:15 tty48
crw------- 1 root root 4, 49 Aug 23 06:15 tty49
crw------- 1 root root 4, 5 Aug 23 06:15 tty5
crw------- 1 root root 4, 50 Aug 23 06:15 tty50
crw------- 1 root root 4, 51 Aug 23 06:15 tty51
crw------- 1 root root 4, 52 Aug 23 06:15 tty52
crw------- 1 root root 4, 53 Aug 23 06:15 tty53
crw------- 1 root root 4, 54 Aug 23 06:15 tty54
crw------- 1 root root 4, 55 Aug 23 06:15 tty55
crw------- 1 root root 4, 56 Aug 23 06:15 tty56
crw------- 1 root root 4, 57 Aug 23 06:15 tty57
crw------- 1 root root 4, 58 Aug 23 06:15 tty58
crw------- 1 root root 4, 59 Aug 23 06:15 tty59
crw------- 1 root root 4, 6 Aug 23 06:15 tty6
crw------- 1 root root 4, 60 Aug 23 06:15 tty60
crw------- 1 root root 4, 61 Aug 23 06:15 tty61
crw------- 1 root root 4, 62 Aug 23 06:15 tty62
crw------- 1 root root 4, 63 Aug 23 06:15 tty63
crw------- 1 root root 4, 7 Aug 23 06:15 tty7
crw------- 1 root root 4, 8 Aug 23 06:15 tty8
crw------- 1 root root 4, 9 Aug 23 06:15 tty9
crw------- 1 root root 4, 64 Aug 23 06:15 ttyS0
crw------- 1 root root 10, 239 Aug 23 06:15 uhid
crw------- 1 root root 10, 223 Aug 23 06:15 uinput
crw-rw-rw- 1 root root 1, 9 Aug 23 06:15 urandom
crw------- 1 root root 251, 0 Aug 23 06:15 usbmon0
crw------- 1 root root 7, 0 Aug 23 06:15 vcs
crw------- 1 root root 7, 1 Aug 23 06:15 vcs1
crw------- 1 root root 7, 128 Aug 23 06:15 vcsa
crw------- 1 root root 7, 129 Aug 23 06:15 vcsa1
crw------- 1 root root 10, 63 Aug 23 06:15 vga_arbiter
crw------- 1 root root 10, 238 Aug 23 06:15 vhost-net
drwxr-xr-x 2 root root 60 Aug 23 06:15 virtio-ports
crw------- 1 root root 249, 1 Aug 23 06:15 vport2p1
crw-rw-rw- 1 root root 1, 5 Aug 23 06:15 zero
/dev/block:
total 0
lrwxrwxrwx 1 root root 6 Aug 23 06:15 8:0 -> ../sda
lrwxrwxrwx 1 root root 7 Aug 23 06:15 8:1 -> ../sda1
lrwxrwxrwx 1 root root 6 Aug 23 06:15 8:16 -> ../sdb
/dev/bsg:
total 0
crw------- 1 root root 252, 0 Aug 23 06:15 2:0:0:0
crw------- 1 root root 252, 1 Aug 23 06:15 2:0:1:0
/dev/char:
total 0
lrwxrwxrwx 1 root root 8 Aug 23 06:15 10:144 -> ../nvram
lrwxrwxrwx 1 root root 8 Aug 23 06:15 10:183 -> ../hwrng
lrwxrwxrwx 1 root root 16 Aug 23 06:15 10:184 -> ../cpu/microcode
lrwxrwxrwx 1 root root 9 Aug 23 06:15 10:227 -> ../mcelog
lrwxrwxrwx 1 root root 7 Aug 23 06:15 10:228 -> ../hpet
lrwxrwxrwx 1 root root 11 Aug 23 06:15 10:231 -> ../snapshot
lrwxrwxrwx 1 root root 9 Aug 23 06:15 10:235 -> ../autofs
lrwxrwxrwx 1 root root 17 Aug 23 06:15 10:236 -> ../mapper/control
lrwxrwxrwx 1 root root 21 Aug 23 06:15 10:60 -> ../network_throughput
lrwxrwxrwx 1 root root 18 Aug 23 06:15 10:61 -> ../network_latency
lrwxrwxrwx 1 root root 18 Aug 23 06:15 10:62 -> ../cpu_dma_latency
lrwxrwxrwx 1 root root 14 Aug 23 06:15 10:63 -> ../vga_arbiter
lrwxrwxrwx 1 root root 15 Aug 23 06:15 13:32 -> ../input/mouse0
lrwxrwxrwx 1 root root 13 Aug 23 06:15 13:63 -> ../input/mice
lrwxrwxrwx 1 root root 15 Aug 23 06:15 13:64 -> ../input/event0
lrwxrwxrwx 1 root root 15 Aug 23 06:15 13:65 -> ../input/event1
lrwxrwxrwx 1 root root 15 Aug 23 06:15 13:66 -> ../input/event2
lrwxrwxrwx 1 root root 15 Aug 23 06:15 13:67 -> ../input/event3
lrwxrwxrwx 1 root root 13 Aug 23 06:15 162:0 -> ../raw/rawctl
lrwxrwxrwx 1 root root 6 Aug 23 06:15 1:1 -> ../mem
lrwxrwxrwx 1 root root 7 Aug 23 06:15 1:11 -> ../kmsg
lrwxrwxrwx 1 root root 9 Aug 23 06:15 1:12 -> ../oldmem
lrwxrwxrwx 1 root root 7 Aug 23 06:15 1:3 -> ../null
lrwxrwxrwx 1 root root 7 Aug 23 06:15 1:4 -> ../port
lrwxrwxrwx 1 root root 7 Aug 23 06:15 1:5 -> ../zero
lrwxrwxrwx 1 root root 7 Aug 23 06:15 1:7 -> ../full
lrwxrwxrwx 1 root root 9 Aug 23 06:15 1:8 -> ../random
lrwxrwxrwx 1 root root 10 Aug 23 06:15 1:9 -> ../urandom
lrwxrwxrwx 1 root root 12 Aug 23 06:15 202:0 -> ../cpu/0/msr
lrwxrwxrwx 1 root root 14 Aug 23 06:15 203:0 -> ../cpu/0/cpuid
lrwxrwxrwx 1 root root 11 Aug 23 06:15 249:1 -> ../vport2p1
lrwxrwxrwx 1 root root 10 Aug 23 06:15 251:0 -> ../usbmon0
lrwxrwxrwx 1 root root 14 Aug 23 06:15 252:0 -> ../bsg/2:0:0:0
lrwxrwxrwx 1 root root 14 Aug 23 06:15 252:1 -> ../bsg/2:0:1:0
lrwxrwxrwx 1 root root 7 Aug 23 06:15 254:0 -> ../rtc0
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:0 -> ../tty0
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:1 -> ../tty1
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:10 -> ../tty10
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:11 -> ../tty11
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:12 -> ../tty12
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:13 -> ../tty13
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:14 -> ../tty14
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:15 -> ../tty15
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:16 -> ../tty16
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:17 -> ../tty17
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:18 -> ../tty18
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:19 -> ../tty19
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:2 -> ../tty2
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:20 -> ../tty20
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:21 -> ../tty21
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:22 -> ../tty22
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:23 -> ../tty23
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:24 -> ../tty24
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:25 -> ../tty25
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:26 -> ../tty26
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:27 -> ../tty27
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:28 -> ../tty28
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:29 -> ../tty29
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:3 -> ../tty3
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:30 -> ../tty30
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:31 -> ../tty31
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:32 -> ../tty32
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:33 -> ../tty33
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:34 -> ../tty34
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:35 -> ../tty35
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:36 -> ../tty36
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:37 -> ../tty37
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:38 -> ../tty38
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:39 -> ../tty39
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:4 -> ../tty4
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:40 -> ../tty40
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:41 -> ../tty41
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:42 -> ../tty42
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:43 -> ../tty43
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:44 -> ../tty44
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:45 -> ../tty45
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:46 -> ../tty46
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:47 -> ../tty47
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:48 -> ../tty48
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:49 -> ../tty49
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:5 -> ../tty5
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:50 -> ../tty50
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:51 -> ../tty51
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:52 -> ../tty52
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:53 -> ../tty53
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:54 -> ../tty54
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:55 -> ../tty55
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:56 -> ../tty56
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:57 -> ../tty57
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:58 -> ../tty58
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:59 -> ../tty59
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:6 -> ../tty6
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:60 -> ../tty60
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:61 -> ../tty61
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:62 -> ../tty62
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:63 -> ../tty63
lrwxrwxrwx 1 root root 8 Aug 23 06:15 4:64 -> ../ttyS0
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:7 -> ../tty7
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:8 -> ../tty8
lrwxrwxrwx 1 root root 7 Aug 23 06:15 4:9 -> ../tty9
lrwxrwxrwx 1 root root 6 Aug 23 06:15 5:0 -> ../tty
lrwxrwxrwx 1 root root 10 Aug 23 06:15 5:1 -> ../console
lrwxrwxrwx 1 root root 7 Aug 23 06:15 5:2 -> ../ptmx
lrwxrwxrwx 1 root root 6 Aug 23 06:15 7:0 -> ../vcs
lrwxrwxrwx 1 root root 7 Aug 23 06:15 7:1 -> ../vcs1
lrwxrwxrwx 1 root root 7 Aug 23 06:15 7:128 -> ../vcsa
lrwxrwxrwx 1 root root 8 Aug 23 06:15 7:129 -> ../vcsa1
/dev/cpu:
total 0
drwxr-xr-x 2 root root 80 Aug 23 06:15 0
crw------- 1 root root 10, 184 Aug 23 06:15 microcode
/dev/cpu/0:
total 0
crw------- 1 root root 203, 0 Aug 23 06:15 cpuid
crw------- 1 root root 202, 0 Aug 23 06:15 msr
/dev/disk:
total 0
drwxr-xr-x 2 root root 100 Aug 23 06:15 by-id
drwxr-xr-x 2 root root 100 Aug 23 06:15 by-path
drwxr-xr-x 2 root root 80 Aug 23 06:15 by-uuid
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Aug 23 06:15 scsi-0QEMU_QEMU_HARDDISK_appliance ->
../../sdb
lrwxrwxrwx 1 root root 9 Aug 23 06:15 scsi-0QEMU_QEMU_HARDDISK_hd0 ->
../../sda
lrwxrwxrwx 1 root root 10 Aug 23 06:15 scsi-0QEMU_QEMU_HARDDISK_hd0-part1 ->
../../sda1
/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Aug 23 06:15
pci-0000:00:03.0-virtio-pci-virtio1-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 23 06:15
pci-0000:00:03.0-virtio-pci-virtio1-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Aug 23 06:15
pci-0000:00:03.0-virtio-pci-virtio1-scsi-0:0:1:0 -> ../../sdb
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 9 Aug 23 06:15 1a7c9291-903f-4200-abee-37ad323dd6bc
-> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 23 06:15 e35103f0-8028-4084-b75a-9869a846b646
-> ../../sda1
/dev/input:
total 0
drwxr-xr-x 2 root root 120 Aug 23 06:15 by-path
crw------- 1 root root 13, 64 Aug 23 06:15 event0
crw------- 1 root root 13, 65 Aug 23 06:15 event1
crw------- 1 root root 13, 66 Aug 23 06:15 event2
crw------- 1 root root 13, 67 Aug 23 06:15 event3
crw------- 1 root root 13, 63 Aug 23 06:15 mice
crw------- 1 root root 13, 32 Aug 23 06:15 mouse0
/dev/input/by-path:
total 0
lrwxrwxrwx 1 root root 9 Aug 23 06:15 platform-i8042-serio-0-event-kbd ->
../event1
lrwxrwxrwx 1 root root 9 Aug 23 06:15 platform-i8042-serio-1-event-mouse ->
../event3
lrwxrwxrwx 1 root root 9 Aug 23 06:15 platform-i8042-serio-1-mouse ->
../mouse0
lrwxrwxrwx 1 root root 9 Aug 23 06:15 platform-pcspkr-event-spkr -> ../event2
/dev/mapper:
total 0
crw------- 1 root root 10, 236 Aug 23 06:15 control
/dev/net:
total 0
crw-rw-rw- 1 root root 10, 200 Aug 23 06:15 tun
/dev/pts:
total 0
c--------- 1 root root 5, 2 Aug 23 06:15 ptmx
/dev/raw:
total 0
crw------- 1 root root 162, 0 Aug 23 06:15 rawctl
/dev/snd:
total 0
crw-rw---- 1 root audio 116, 1 Aug 23 06:15 seq
crw-rw---- 1 root audio 116, 33 Aug 23 06:15 timer
/dev/virtio-ports:
total 0
lrwxrwxrwx 1 root root 11 Aug 23 06:15 org.libguestfs.channel.0 ->
../vport2p1
+ cat /proc/mounts
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=97980k,mode=755 0 0
/dev /dev devtmpfs rw,relatime,size=234336k,nr_inodes=58584,mode=755 0 0
/dev/pts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
+ lvm pvs
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
+ lvm vgs
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
+ lvm lvs
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
+ ip a
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
+ ip r
+ lsmod
Module Size Used by
dm_mod 88705 0
aesni_intel 55624 0
lrw 13286 1 aesni_intel
gf128mul 14951 1 lrw
glue_helper 13990 1 aesni_intel
ablk_helper 13597 1 aesni_intel
cryptd 20359 2 aesni_intel,ablk_helper
i2c_piix4 22106 0
pcspkr 12718 0
serio_raw 13413 0
i2c_core 36736 1 i2c_piix4
ata_generic 12910 0
pata_acpi 13038 0
floppy 69417 0
libcrc32c 12644 0
crc8 12893 0
crc_itu_t 12707 0
crc_ccitt 12707 0
ext4 511822 1
mbcache 14958 1 ext4
jbd2 98458 1 ext4
virtio_pci 17725 0
virtio_balloon 13530 0
virtio_scsi 18330 1
sd_mod 45324 1
crc_t10dif 12563 1 sd_mod
virtio_net 28029 0
virtio_console 23873 0
virtio_rng 13135 0
virtio_blk 18280 0
virtio_ring 21011 7
virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_console,virtio_scsi
virtio 14187 7
virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_console,virtio_scsi
ata_piix 35038 0
libata 215529 3 pata_acpi,ata_generic,ata_piix
crc32 12714 0
crc32c_intel 22079 1
crc32_pclmul 13113 0
+ date
Wed Aug 23 06:15:40 UTC 2017
+ echo -n 'clocksource: '
clocksource: + cat
/sys/devices/system/clocksource/clocksource0/current_clocksource
kvm-clock
+ echo -n 'uptime: '
uptime: + cat /proc/uptime
1.50 0.19
+ 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
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: trace: launch = 0
libguestfs: trace: c_pointer
libguestfs: trace: c_pointer = 31447856
libguestfs: trace: list_partitions
guestfsd: main_loop: new request, len 0x28
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds
libguestfs: trace: list_partitions = ["/dev/sda1"]
libguestfs: trace: vfs_type "/dev/sda1"
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda1
calling: settle
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda1
libguestfs: trace: vfs_type = "xfs"
libguestfs: trace: inspect_os
libguestfs: trace: umount_all
guestfsd: main_loop: proc 198 (vfs_type) took 0.02 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=97980k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs
opts=rw,relatime,size=234336k,nr_inodes=58584,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
guestfsd: main_loop: proc 47 (umount_all) took 0.00 seconds
libguestfs: trace: umount_all = 0
libguestfs: trace: list_filesystems
libguestfs: trace: feature_available "lvm2"
libguestfs: trace: internal_feature_available "lvm2"
guestfsd: main_loop: new request, len 0x30
guestfsd: main_loop: proc 458 (internal_feature_available) took 0.00 seconds
libguestfs: trace: internal_feature_available = 0
libguestfs: trace: feature_available = 1
libguestfs: trace: feature_available "ldm"
libguestfs: trace: internal_feature_available "ldm"
guestfsd: main_loop: new request, len 0x30
guestfsd: main_loop: proc 458 (internal_feature_available) took 0.00 seconds
libguestfs: trace: internal_feature_available = 1
libguestfs: trace: feature_available = 0
libguestfs: trace: list_devices
guestfsd: main_loop: new request, len 0x28
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds
libguestfs: trace: list_devices = ["/dev/sda"]
libguestfs: trace: list_partitions
guestfsd: main_loop: new request, len 0x28
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds
libguestfs: trace: list_partitions = ["/dev/sda1"]
libguestfs: trace: list_md_devices
guestfsd: main_loop: new request, len 0x28
guestfsd: main_loop: proc 300 (list_md_devices) took 0.00 seconds
libguestfs: trace: list_md_devices = []
libguestfs: trace: part_to_dev "/dev/sda1"
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda1
calling: settle
guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds
libguestfs: trace: part_to_dev = "/dev/sda"
libguestfs: trace: vfs_type "/dev/sda1"
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda1
calling: settle
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda1
libguestfs: trace: vfs_type = "xfs"
libguestfs: trace: lvs
guestfsd: main_loop: proc 198 (vfs_type) took 0.02 seconds
guestfsd: main_loop: new request, len 0x28
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: lvm lvs --help
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: lvm lvs -o vg_name,lv_name -S "lv_role=public &&
lv_skip_activation!=yes" --noheadings --separator /
libguestfs: trace: lvs = []
libguestfs: trace: list_filesystems = ["/dev/sda1", "xfs"]
libguestfs: trace: vfs_type "/dev/sda1"
guestfsd: main_loop: proc 11 (lvs) took 0.25 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda1
calling: settle
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda1
libguestfs: trace: vfs_type = "xfs"
libguestfs: check_for_filesystem_on: /dev/sda1 (xfs)
libguestfs: trace: internal_parse_mountable "/dev/sda1"
guestfsd: main_loop: proc 198 (vfs_type) took 0.02 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda1
calling: settle
guestfsd: main_loop: proc 396 (internal_parse_mountable) took 0.00 seconds
libguestfs: trace: internal_parse_mountable = <struct
guestfs_internal_mountable = im_type: 0, im_device: /dev/sda1, im_volume: , >
libguestfs: trace: is_whole_device "/dev/sda1"
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda1
calling: settle
guestfsd: main_loop: proc 395 (is_whole_device) took 0.00 seconds
libguestfs: trace: is_whole_device = 0
libguestfs: trace: mount_ro "/dev/sda1" "/"
guestfsd: main_loop: new request, len 0x40
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda1
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: mount -o ro /dev/sda1 /sysroot/
[ 2.333550] SGI XFS with ACLs, security attributes, large block/inode
numbers, no debug enabled
[ 2.339803] XFS (sda1): Version 5 superblock detected. This kernel has
EXPERIMENTAL support enabled!
[ 2.339803] Use of these features in this kernel is at your own risk!
[ 2.342254] XFS (sda1): Superblock has unknown incompatible features (0x1)
enabled.
[ 2.342254] Filesystem can not be safely mounted by this kernel.
[ 2.344366] ffff88001c25a000: 58 46 53 42 00 00 10 00 00 00 00 00 00 1f ff 00
XFSB............
[ 2.345719] ffff88001c25a010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
[ 2.347074] ffff88001c25a020: e3 51 03 f0 80 28 40 84 b7 5a 98 69 a8 46 b6 46
.Q...(@..Z.i.F.F
[ 2.348416] ffff88001c25a030: 00 00 00 00 00 10 00 04 00 00 00 00 00 00 00 40
...............@
[ 2.349765] XFS (sda1): Internal error xfs_sb_read_verify at line 730 of file
fs/xfs/xfs_mount.c. Caller 0xffffffffa01faf35
[ 2.349765]
[ 2.351733] CPU: 0 PID: 5 Comm: kworker/0:0H Not tainted 3.10.101 #1
[ 2.352728] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 2.353651] Workqueue: xfslogd xfs_buf_iodone_work [xfs]
[ 2.354521] 0000000000000001 ffff88001d9dbd68 ffffffff81597c51
ffff88001d9dbd80
[ 2.355762] ffffffffa01fd96b ffffffffa01faf35 ffff88001d9dbdb8
ffffffffa01fd9c5
[ 2.356992] 000002da00002d4e ffff88001c29a180 0000000000000016
ffff88001ba27000
[ 2.358243] Call Trace:
[ 2.358636] [<ffffffff81597c51>] dump_stack+0x19/0x1b
[ 2.359466] [<ffffffffa01fd96b>] xfs_error_report+0x3b/0x40 [xfs]
[ 2.360454] [<ffffffffa01faf35>] ? xfs_buf_iodone_work+0x85/0x100
[xfs]
[ 2.361518] [<ffffffffa01fd9c5>] xfs_corruption_error+0x55/0x80 [xfs]
[ 2.362564] [<ffffffffa0250d93>] xfs_sb_read_verify+0x113/0x130 [xfs]
[ 2.363601] [<ffffffffa01faf35>] ? xfs_buf_iodone_work+0x85/0x100
[xfs]
[ 2.364667] [<ffffffffa01faf35>] xfs_buf_iodone_work+0x85/0x100 [xfs]
[ 2.365701] [<ffffffff81078ef9>] process_one_work+0x179/0x460
[ 2.366621] [<ffffffff81079fb6>] worker_thread+0x116/0x3b0
[ 2.367501] [<ffffffff81079ea0>] ? manage_workers.isra.25+0x290/0x290
[ 2.368523] [<ffffffff81080340>] kthread+0xc0/0xd0
[ 2.369296] [<ffffffff81080280>] ? insert_kthread_work+0x40/0x40
[ 2.370252] [<ffffffff815a6088>] ret_from_fork+0x58/0x90
[ 2.371096] [<ffffffff81080280>] ? insert_kthread_work+0x40/0x40
[ 2.372051] XFS (sda1): Corruption detected. Unmount and run xfs_repair
[ 2.373088] XFS (sda1): SB validate failed with error 22.
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
guestfsd: error: /dev/sda1 on / (options: 'ro'): mount: wrong fs type,
bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
guestfsd: main_loop: proc 73 (mount_ro) took 0.36 seconds
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: inspect_get_roots
libguestfs: trace: inspect_get_roots = []
libguestfs: trace: inspect_os = []
virt-sysprep: error: no operating systems were found in the guest image
libguestfs: trace: close
libguestfs: closing guestfs handle 0x1dfdb30 (state 2)
libguestfs: trace: internal_autosync
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=97980k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs
opts=rw,relatime,size=234336k,nr_inodes=58584,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
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
fsync /dev/sda
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
guestfsd: main_loop: proc 282 (internal_autosync) took 0.01 secondslibguestfs:
trace: internal_autosync = 0
libguestfs: sending SIGTERM to process 24148
libguestfs: qemu maxrss 213052K
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /root/libguestfs-1.36.5/tmp/libguestfsNx5SCZ
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfst4FNb4
Regards,
Alan
Richard W.M. Jones
2017-Aug-23 08:54 UTC
Re: [Libguestfs] virt-sysprep: error: no operating systems were found in the guest image on libguestfs-1.36.5
On Wed, Aug 23, 2017 at 06:25:17AM +0000, Tang, Alan (NSB - CN/Qingdao) wrote:> [ 0.000000] Linux version 3.10.101 (root@ci092133) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Mon Apr 11 16:22:43 ULAT 2016...> commandrvf: mount -o ro /dev/sda1 /sysroot/ > [ 2.333550] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled > [ 2.339803] XFS (sda1): Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled! > [ 2.339803] Use of these features in this kernel is at your own risk! > [ 2.342254] XFS (sda1): Superblock has unknown incompatible features (0x1) enabled. > [ 2.342254] Filesystem can not be safely mounted by this kernel. > [ 2.344366] ffff88001c25a000: 58 46 53 42 00 00 10 00 00 00 00 00 00 1f ff 00 XFSB............ > [ 2.345719] ffff88001c25a010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > [ 2.347074] ffff88001c25a020: e3 51 03 f0 80 28 40 84 b7 5a 98 69 a8 46 b6 46 .Q...(@..Z.i.F.F > [ 2.348416] ffff88001c25a030: 00 00 00 00 00 10 00 04 00 00 00 00 00 00 00 40 ...............@ > [ 2.349765] XFS (sda1): Internal error xfs_sb_read_verify at line 730 of file fs/xfs/xfs_mount.c. Caller 0xffffffffa01faf35The problem is that the XFS module in this old kernel does not know how to read new features in the XFS filesystem from the CentOS 7 kernel (and instead of giving a useful error, panics). Unfortunately in general it's not possible to read an XFS filesystem from a newer machine with an older kernel. You will have to upgrade the host to a new version, or install or use a newer kernel by setting various environment variables: http://libguestfs.org/guestfs-faq.1.html#broken-kernel-or-trying-a-different-kernel Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Tang, Alan (NSB - CN/Qingdao)
2017-Aug-28 08:45 UTC
Re: [Libguestfs] virt-sysprep: error: no operating systems were found in the guest image on libguestfs-1.36.5
Thanks a lot, Rich, for your quick response! I installed libguestfs-tools into one VM instance that has the same kernel version as the guest VM to be modified by virt-sysprep, I verified that it indeed worked ok for virt-sysprep on the guest VM instance. However, I noticed that my host kernel is with version 3.10.101, and the guest is using kernel version 3.10.0. It appears that the host has even newer version of the kernel. But it indeed resolved my issue by using the exact same kernel version. Regards, Alan -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: 2017年8月23日 16:54 To: Tang, Alan (NSB - CN/Qingdao) Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] virt-sysprep: error: no operating systems were found in the guest image on libguestfs-1.36.5 On Wed, Aug 23, 2017 at 06:25:17AM +0000, Tang, Alan (NSB - CN/Qingdao) wrote:> [ 0.000000] Linux version 3.10.101 (root@ci092133) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Mon Apr 11 16:22:43 ULAT 2016...> commandrvf: mount -o ro /dev/sda1 /sysroot/ > [ 2.333550] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled > [ 2.339803] XFS (sda1): Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled! > [ 2.339803] Use of these features in this kernel is at your own risk! > [ 2.342254] XFS (sda1): Superblock has unknown incompatible features (0x1) enabled. > [ 2.342254] Filesystem can not be safely mounted by this kernel. > [ 2.344366] ffff88001c25a000: 58 46 53 42 00 00 10 00 00 00 00 00 00 1f ff 00 XFSB............ > [ 2.345719] ffff88001c25a010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > [ 2.347074] ffff88001c25a020: e3 51 03 f0 80 28 40 84 b7 5a 98 69 a8 46 b6 46 .Q...(@..Z.i.F.F > [ 2.348416] ffff88001c25a030: 00 00 00 00 00 10 00 04 00 00 00 00 00 00 00 40 ...............@ > [ 2.349765] XFS (sda1): Internal error xfs_sb_read_verify at line 730 of file fs/xfs/xfs_mount.c. Caller 0xffffffffa01faf35The problem is that the XFS module in this old kernel does not know how to read new features in the XFS filesystem from the CentOS 7 kernel (and instead of giving a useful error, panics). Unfortunately in general it's not possible to read an XFS filesystem from a newer machine with an older kernel. You will have to upgrade the host to a new version, or install or use a newer kernel by setting various environment variables: http://libguestfs.org/guestfs-faq.1.html#broken-kernel-or-trying-a-different-kernel Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top