[PATCH 1/1] appliance: init: Avoid running degraded md devices
by Mykola Ivanets
'--no-degraded' flag in the first mdadm call inhibits the startup of array unless all expected drives are present.
This will prevent starting arrays in degraded state.
Second mdadm call (after LVM is scanned) will scan unused yet devices and make an attempt to run all found arrays even they are in degraded state.
Two new tests are added.
This fixes rhbz1527852.
Here is boot-benchmark before and after patch (no performance issues):
: libvirt backend : direct backend
------------------------------------------------
master : 835.2ms ±1.1ms : 670.4ms ±0.3ms
master+patch : 837.7ms ±2.4ms : 671.8ms ±0.2ms
---
appliance/init | 7 +-
tests/md/Makefile.am | 2 +
tests/md/test-lvm-on-md-device.sh | 84 ++++++++++++++++++++++
tests/md/test-md-and-lvm-devices.sh | 138 ++++++++++++++++++++++++++++++++++++
4 files changed, 230 insertions(+), 1 deletion(-)
create mode 100755 tests/md/test-lvm-on-md-device.sh
create mode 100755 tests/md/test-md-and-lvm-devices.sh
diff --git a/appliance/init b/appliance/init
index c04ee45..4284be0 100755
--- a/appliance/init
+++ b/appliance/init
@@ -131,13 +131,17 @@ if test "$guestfs_network" = 1; then
fi
# Scan for MDs.
-mdadm -As --auto=yes --run
+# Inhibits the startup of array unless all expected drives are present.
+mdadm -As --no-degraded
# Scan for LVM.
modprobe dm_mod ||:
lvm vgchange -aay --sysinit
+# Scan for MDs once again and finally run them.
+mdadm -As --auto=yes --run
+
# Scan for Windows dynamic disks.
ldmtool create all
@@ -146,6 +150,7 @@ if test "$guestfs_verbose" = 1 && test "$guestfs_boot_analysis" != 1; then
uname -a
ls -lR /dev
cat /proc/mounts
+ cat /proc/mdstat
lvm pvs
lvm vgs
lvm lvs
diff --git a/tests/md/Makefile.am b/tests/md/Makefile.am
index 5e18dca..6a5f4d6 100644
--- a/tests/md/Makefile.am
+++ b/tests/md/Makefile.am
@@ -22,6 +22,8 @@ TESTS = \
test-inspect-fstab-md.sh \
test-list-filesystems.sh \
test-list-md-devices.sh \
+ test-lvm-on-md-device.sh \
+ test-md-and-lvm-devices.sh \
test-mdadm.sh
TESTS_ENVIRONMENT = $(top_builddir)/run --test
diff --git a/tests/md/test-lvm-on-md-device.sh b/tests/md/test-lvm-on-md-device.sh
new file mode 100755
index 0000000..ab00f89
--- /dev/null
+++ b/tests/md/test-lvm-on-md-device.sh
@@ -0,0 +1,84 @@
+#!/bin/bash -
+# libguestfs
+# Copyright (C) 2011 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+# Test guestfish finds:
+# 1. md device created from physical block device and LV(s),
+# 2. md device created from LVs
+# 3. VG created from md device(s)
+#
+# raid0 is used for md device because it is inoperable if one of its component is inaccessible.
+# This covers rhbz1527852.
+
+set -e
+
+$TEST_FUNCTIONS
+skip_if_skipped
+
+disk1=lvm-on-md-devices-1.img
+disk2=lvm-on-md-devices-2.img
+
+rm -f $disk1 $disk2
+
+# Clean up if the script is killed or exits early
+cleanup ()
+{
+ status=$?
+ set +e
+
+ # Don't delete the output files if non-zero exit
+ if [ "$status" -eq 0 ]; then rm -f $disk1 $disk2; fi
+
+ exit $status
+}
+trap cleanup INT QUIT TERM EXIT
+
+guestfish <<EOF
+# Add 2 empty disks
+sparse $disk1 100M
+sparse $disk2 100M
+run
+
+# Create a raid1 based on the 2 disks
+md-create test "/dev/sda /dev/sdb" level:raid1
+
+# Create volume group and logical volume on md device
+pvcreate /dev/md127
+vgcreate vg0 /dev/md127
+lvcreate-free lv0 vg0 100
+EOF
+
+# Ensure list-md-devices now returns the newly created md device
+output=$(
+guestfish --format=raw -a $disk1 --format=raw -a $disk2 <<EOF
+run
+list-md-devices
+lvs
+EOF
+)
+
+expected="/dev/md127
+/dev/vg0/lv0"
+
+if [ "$output" != "$expected" ]; then
+ echo "$0: error: actual output did not match expected output"
+ echo "$output"
+ exit 1
+fi
+
+# cleanup() is called implicitly which cleans up everything
+exit 0
\ No newline at end of file
diff --git a/tests/md/test-md-and-lvm-devices.sh b/tests/md/test-md-and-lvm-devices.sh
new file mode 100755
index 0000000..46bed6d
--- /dev/null
+++ b/tests/md/test-md-and-lvm-devices.sh
@@ -0,0 +1,138 @@
+#!/bin/bash -
+# libguestfs
+# Copyright (C) 2011 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+# Test guestfish finds:
+# 1. md device created from physical block device and LV(s),
+# 2. md device created from LVs
+# 3. VG created from md device(s)
+#
+# raid0 is used for md device because it is inoperable if one of its component is inaccessible.
+# This covers rhbz1527852.
+
+set -e
+
+$TEST_FUNCTIONS
+skip_if_skipped
+
+disk1=md-and-lvm-devices-1.img
+disk2=md-and-lvm-devices-2.img
+
+rm -f $disk1 $disk2
+
+# Clean up if the script is killed or exits early
+cleanup ()
+{
+ status=$?
+ set +e
+
+ # Don't delete the output files if non-zero exit
+ if [ "$status" -eq 0 ]; then rm -f $disk1 $disk2; fi
+
+ exit $status
+}
+trap cleanup INT QUIT TERM EXIT
+
+# Create 2 disks partitioned as:
+# sda1: 20M MD (md127)
+# sda2: 20M PV (vg1)
+# sda3: 20M MD (md125)
+#
+# sdb1: 20M PV (vg0)
+# sdb2: 20M PV (vg2)
+# sdb3: 20M MD (md125)
+#
+# lv0 : LV (vg0)
+# lv1 : LV (vg1)
+# lv2 : LV (vg2)
+# md127 : md (sda1, lv0)
+# md126 : md (lv1, lv2)
+# md125 : md (sda3, sdb3)
+# vg3 : VG (md125)
+# lv3 : LV (vg3)
+
+guestfish <<EOF
+# Add 2 empty disks
+sparse $disk1 100M
+sparse $disk2 100M
+run
+
+# Partition disks
+part-init /dev/sda mbr
+part-add /dev/sda p 64 41023
+part-add /dev/sda p 41024 81983
+part-add /dev/sda p 81984 122943
+part-init /dev/sdb mbr
+part-add /dev/sdb p 64 41023
+part-add /dev/sdb p 41024 81983
+part-add /dev/sdb p 81984 122943
+
+# Create volume group and logical volume on sdb1
+pvcreate /dev/sdb1
+vgcreate vg0 /dev/sdb1
+lvcreate-free lv0 vg0 100
+
+# Create md from sda1 and vg0/lv0
+md-create md-sda1-lv0 "/dev/sda1 /dev/vg0/lv0" level:raid0
+
+# Create volume group and logical volume on sda2
+pvcreate /dev/sda2
+vgcreate vg1 /dev/sda2
+lvcreate-free lv1 vg1 100
+
+# Create volume group and logical volume on sdb2
+pvcreate /dev/sdb2
+vgcreate vg2 /dev/sdb2
+lvcreate-free lv2 vg2 100
+
+# Create md from vg1/lv1 and vg2/lv2
+md-create md-lv1-lv2 "/dev/vg1/lv1 /dev/vg2/lv2" level:raid0
+
+# Create md from sda3 and sdb3
+md-create md-sda3-sdb3 "/dev/sda3 /dev/sdb3" level:raid0
+
+# Create volume group and logical volume on md125 (last created md)
+pvcreate /dev/md125
+vgcreate vg3 /dev/md125
+lvcreate-free lv3 vg3 100
+EOF
+
+# Ensure list-md-devices now returns the newly created md device
+output=$(
+guestfish --format=raw -a $disk1 --format=raw -a $disk2 <<EOF
+run
+list-md-devices
+lvs
+EOF
+)
+
+expected="/dev/md125
+/dev/md126
+/dev/md127
+/dev/vg0/lv0
+/dev/vg1/lv1
+/dev/vg2/lv2
+/dev/vg3/lv3"
+
+if [ "$output" != "$expected" ]; then
+ echo "$0: error: actual output did not match expected output"
+ echo "$output"
+ exit 1
+fi
+
+# cleanup() is called implicitly which cleans up everything
+exit 0
\ No newline at end of file
--
2.9.5
6 years, 7 months
[PATCH] test-virt-tail: Fix failing cat/test-virt-tail.sh test case
by Nikolay Ivanets
>From IRC channel:
<StenaviN> Can someone confirm cat/test-virt-tail.sh works in 'master'?
<StenaviN> I get https://pastebin.com/GBkg7Vtw
<rwmjones> StenaviN: yes it works for me; the error is not very helpful,
you'll need to set LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
<StenaviN> https://pastebin.com/yABgCHwV
<rwmjones> I think the error is:
<rwmjones> libguestfs: trace: statns "/tail"
<rwmjones> guestfsd: => mount_options (0x4a) took 0.00 secs
<rwmjones> guestfsd: <= statns (0x1a5) request length 52 bytes
<rwmjones> [ 0.930738] EXT2-fs (sda1): error: ext2_lookup: deleted inode
referenced: 12
<rwmjones> guestfsd: error: /tail: Input/output error
<rwmjones> but I don't know exactly why
<StenaviN> Yes, I see. Trying to figure out...
<rwmjones> actually no, that's not the problem
<rwmjones> for some reason two instances of ‘guestfish --remote exit’ run
at the same time, but according to the test script only one should run
<rwmjones> notice how the cleanup() function is called twice
<rwmjones> afaik that should never happen
<StenaviN> and I saw two qemu/guestfish processes running. Continue
investigating...
And here is what I found:
Second copy of 'guestfish --listen' process is a child "recovery process" (
https://github.com/libguestfs/libguestfs/blob/master/lib/launch-direct.c#...)
and that is OK.
'cleanup' was called twice because:
1. call to virt-tail returns non-zero exit code (due to Input/Output error.
About this later.) and we trap ERR signal which cause to run 'cleanup' once
2. in 'cleanup' we do 'exit $statuscode' and we trap EXIT and 'cleanup' is
called once again
It might look confusing but not end of the life. At least there is an
explanation if I didn't miss something.
Now about failing test case with virt-tail.
Jumping ahead, adding extra 'guestfish --remote sync' after 'guestfish
--remote rm /tail' in 'cat/test-virt-tail.sh' fixes the test case.
virt-tail re-creates overlay image each time it trying to access the file
and calls guestfs_statns for the file(s) it watching.
guestfs_statns in turn returns NULL indicating an error with exit code EIO
instead of ENOENT: 'EXT2-fs (sda1): error: ext2_lookup: deleted inode
referenced: 12'. (see pastebin posted in discussion above).
So I suspect that changes on original disk made through 'guestfish --remote
rm /tail' call were not fully flushed which confirms by proposed patch.
It is hard to explain why it works on your system but it might be because
of number of factors:
1. Different QEMU caching policy
2. Different caching policy of underlying OS/filesytem
3. etc.
--
Nikolay Ivanets
Mobile: +380979184774
Skype: n_ivanets
6 years, 7 months
but report
by Donald Harter
uname -a
Linux drh-MS-7888 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9
22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
dpkg -l libguest*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Architecture Description
+++-==================================-======================-======================-==========================================================================
un libguestfs-gfs2 <none> <none>
(no description available)
ii libguestfs-hfsplus:amd64 1:1.32.2-4ubuntu2 amd64
guest disk image management system - HFS+ support
un libguestfs-jfs <none> <none>
(no description available)
un libguestfs-nilfs <none> <none>
(no description available)
ii libguestfs-perl 1:1.32.2-4ubuntu2 amd64
guest disk image management system - Perl bindings
ii libguestfs-reiserfs:amd64 1:1.32.2-4ubuntu2 amd64
guest disk image management system - ReiserFS support
un libguestfs-rescue <none> <none>
(no description available)
un libguestfs-rsync <none> <none>
(no description available)
ii libguestfs-tools 1:1.32.2-4ubuntu2 amd64
guest disk image management system - tools
ii libguestfs-xfs:amd64 1:1.32.2-4ubuntu2 amd64
guest disk image management system - XFS support
un libguestfs-zfs <none> <none>
(no description available)
ii libguestfs0:amd64 1:1.32.2-4ubuntu2 amd64
guest disk image management system - shared library
root@drh-MS-7888:~#
dpkg -l guest*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Architecture Description
+++-==================================-======================-======================-==========================================================================
un guestfish <none> <none>
(no description available)
un guestmount <none> <none>
(no description available)
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x9d4f80, program = guestmount
libguestfs: trace: set_recovery_proc false
libguestfs: trace: set_recovery_proc = 0
libguestfs: trace: add_drive "/var/lib/libvirt/images/lubuntu1704.qcow2"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version *>
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=guestmount
libguestfs: launch: version=1.32.2
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsZkMFYj
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: [00000ms] begin building supermin appliance
libguestfs: [00000ms] run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
supermin: version: 5.1.14
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-0/lock
supermin: if-newer: output does not need rebuilding
libguestfs: [00005ms] finished building supermin appliance
libguestfs: [00005ms] begin testing qemu features
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -help
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -version
libguestfs: qemu version 2.5
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [00052ms] finished testing qemu features
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
[00053ms] /usr/bin/qemu-system-x86_64 \
-global virtio-blk-pci.scsi=off \
-nodefconfig \
-enable-fips \
-nodefaults \
-display none \
-machine accel=kvm:tcg \
-cpu host \
-m 500 \
-no-reboot \
-rtc driftfix=slew \
-no-hpet \
-global kvm-pit.lost_tick_policy=discard \
-kernel /var/tmp/.guestfs-0/appliance.d/kernel \
-initrd /var/tmp/.guestfs-0/appliance.d/initrd \
-device virtio-scsi-pci,id=scsi \
-drive
file=/var/lib/libvirt/images/lubuntu1704.qcow2,cache=writeback,id=hd0,if=none
\
-device scsi-hd,drive=hd0 \
-drive
file=/var/tmp/.guestfs-0/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none
\
-device scsi-hd,drive=appliance \
-device virtio-serial-pci \
-serial stdio \
-device sga \
-chardev socket,path=/tmp/libguestfsZkMFYj/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-append 'panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm'
Could not open option rom 'sgabios.bin': No such file or directory
[ 0.000000] random: get_random_bytes called from
start_kernel+0x42/0x504 with crng_init=0
[ 0.000000] Linux version 4.13.0-26-generic (buildd@lgw01-amd64-031)
(gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5))
#29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 (Ubuntu
4.13.0-26.29~16.04.2-generic 4.13.13)
[ 0.000000] Command line: panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating
point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832
bytes, using 'standard' format.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3dffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001f3e0000-0x000000001f3fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff]
reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] random: fast init done
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
Ubuntu-1.8.2-1ubuntu1 04/01/2014
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] e820: last_pfn = 0x1f3e0 max_arch_pfn = 0x400000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC-
WT
[ 0.000000] found SMP MP-table at [mem 0x000f6630-0x000f663f] mapped
at [ffff90fe800f6630]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] RAMDISK: [mem 0x1f118000-0x1f3dffff]
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3dffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x1f0ed000-0x1f117fff]
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:1f06d001, primary cpu clock
[ 0.000000] kvm-clock: using sched offset of 942675445 cycles
[ 0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff
max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000001f3dffff]
[ 0.000000] Normal empty
[ 0.000000] Device empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000001f3dffff]
[ 0.000000] Initmem setup node 0 [mem
0x0000000000001000-0x000000001f3dffff]
[ 0.000000] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[ 0.000000] Intel MultiProcessor Specification v1.4
[ 0.000000] MPTABLE: OEM ID: BOCHSCPU
[ 0.000000] MPTABLE: Product ID: 0.1
[ 0.000000] MPTABLE: APIC at: 0xFEE00000
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI
0-23
[ 0.000000] Processors: 1
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff
max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] percpu: Embedded 46 pages/cpu @ffff90fe9ee00000 s149784
r8192 d30440 u2097152
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1ee131c0
[ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on.
Total pages: 125849
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: panic=1 console=ttyS0
udevtimeout=6000 udev.event-timeout=6000 no_timer_check acpi=off
printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0
guestfs_verbose=1 TERM=xterm
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Memory: 473572K/511480K available (12300K kernel code,
2480K rwdata, 4004K rodata, 2372K init, 2368K bss, 37908K reserved, 0K
cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Kernel/User page tables isolation: enabled
[ 0.000000] ftrace: allocating 37814 entries in 148 pages
[ 0.004000] Hierarchical RCU implementation.
[ 0.004000] \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1.
[ 0.004000] \tTasks RCU enabled.
[ 0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.004000] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16
[ 0.004000] Console: colour *CGA 80x25
[ 0.004000] console [ttyS0] enabled
[ 0.004004] tsc: Detected 3999.996 MHz processor
[ 0.004266] Calibrating delay loop (skipped) preset value.. 7999.99
BogoMIPS (lpj=15999984)
[ 0.004473] pid_max: default: 32768 minimum: 301
[ 0.004750] Security Framework initialized
[ 0.004983] Yama: becoming mindful.
[ 0.005190] AppArmor: AppArmor initialized
[ 0.005495] Dentry cache hash table entries: 65536 (order: 7, 524288
bytes)
[ 0.005915] Inode-cache hash table entries: 32768 (order: 6, 262144
bytes)
[ 0.006305] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.006677] Mountpoint-cache hash table entries: 1024 (order: 1, 8192
bytes)
[ 0.007411] Disabling memory control group subsystem
[ 0.008003] mce: CPU supports 10 MCE banks
[ 0.008261] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.008563] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.013305] Freeing SMP alternatives memory: 36K
[ 0.014201] smpboot: Max logical packages: 1
[ 0.014521] x2apic enabled
[ 0.014777] Switched APIC routing to physical x2apic.
[ 0.015502] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.015849] smpboot: CPU0: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
(family: 0x6, model: 0x3c, stepping: 0x3)
[ 0.016000] Performance Events: Haswell events, Intel PMU driver.
[ 0.016000] ... version: 2
[ 0.016000] ... bit width: 48
[ 0.016000] ... generic registers: 4
[ 0.016000] ... value mask: 0000ffffffffffff
[ 0.016000] ... max period: 000000007fffffff
[ 0.016000] ... fixed-purpose events: 3
[ 0.016000] ... event mask: 000000070000000f
[ 0.016000] Hierarchical SRCU implementation.
[ 0.016000] smp: Bringing up secondary CPUs ...
[ 0.016000] smp: Brought up 1 node, 1 CPU
[ 0.016000] smpboot: Total of 1 processors activated (7999.99 BogoMIPS)
[ 0.016126] devtmpfs: initialized
[ 0.016341] x86/mm: Memory block size: 128MB
[ 0.016650] evm: security.selinux
[ 0.016836] evm: security.SMACK64
[ 0.017021] evm: security.SMACK64EXEC
[ 0.017224] evm: security.SMACK64TRANSMUTE
[ 0.017451] evm: security.SMACK64MMAP
[ 0.017654] evm: security.ima
[ 0.017819] evm: security.capability
[ 0.018074] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.018610] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.018965] pinctrl core: initialized pinctrl subsystem
[ 0.019322] RTC time: 22:35:24, date: 01/15/18
[ 0.019608] NET: Registered protocol family 16
[ 0.019949] cpuidle: using governor ladder
[ 0.020005] cpuidle: using governor menu
[ 0.020311] PCI: Using configuration type 1 for base access
[ 0.020654] core: PMU erratum BJ122, BV98, HSD29 workaround disabled,
HT off
[ 0.021536] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.021911] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.022350] ACPI: Interpreter disabled.
[ 0.022647] SCSI subsystem initialized
[ 0.022884] vgaarb: loaded
[ 0.023056] usbcore: registered new interface driver usbfs
[ 0.023367] usbcore: registered new interface driver hub
[ 0.023663] usbcore: registered new device driver usb
[ 0.023962] EDAC MC: Ver: 3.0.0
[ 0.024044] PCI: Probing PCI hardware
[ 0.024265] PCI host bridge to bus 0000:00
[ 0.024494] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.024835] pci_bus 0000:00: root bus resource [mem
0x00000000-0xffffffffff]
[ 0.025222] pci_bus 0000:00: No busn resource found for root bus,
will use [bus 00-ff]
[ 0.028190] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io
0x01f0-0x01f7]
[ 0.028589] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.028951] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io
0x0170-0x0177]
[ 0.029345] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.029972] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by
PIIX4 ACPI
[ 0.030376] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by
PIIX4 SMB
[ 0.039468] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[ 0.039907] NetLabel: Initializing
[ 0.040004] NetLabel: domain hash size = 128
[ 0.040250] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.040576] NetLabel: unlabeled traffic allowed by default
[ 0.040981] clocksource: Switched to clocksource kvm-clock
[ 0.045275] VFS: Disk quotas dquot_6.6.0
[ 0.045540] VFS: Dquot-cache hash table entries: 512 (order 0, 4096
bytes)
[ 0.046301] AppArmor: AppArmor Filesystem Enabled
[ 0.046593] pnp: PnP ACPI: disabled
[ 0.047381] NET: Registered protocol family 2
[ 0.047712] TCP established hash table entries: 4096 (order: 3, 32768
bytes)
[ 0.048121] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.048483] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.048846] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.049172] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.049539] NET: Registered protocol family 1
[ 0.049787] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.050118] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.050467] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.050843] Unpacking initramfs...
[ 0.051815] Freeing initrd memory: 2848K
[ 0.052144] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[ 0.052585] Scanning for low memory corruption every 60 seconds
[ 0.053025] audit: initializing netlink subsys (disabled)
[ 0.053519] Initialise system trusted keyrings
[ 0.053776] Key type blacklist registered
[ 0.054009] audit: type=2000 audit(1516055724.611:1):
state=initialized audit_enabled=0 res=1
[ 0.054486] workingset: timestamp_bits=36 max_order=17 bucket_order=0
[ 0.055380] zbud: loaded
[ 0.055704] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.056101] fuse init (API version 7.26)
[ 0.056781] Key type asymmetric registered
[ 0.057017] Asymmetric key parser 'x509' registered
[ 0.057300] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 247)
[ 0.057721] io scheduler noop registered
[ 0.057942] io scheduler deadline registered
[ 0.058191] io scheduler cfq registered (default)
[ 0.058545] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A
-> IRQ 10
[ 0.058956] virtio-pci 0000:00:02.0: virtio_pci: leaving for legacy
driver
[ 0.059482] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A
-> IRQ 11
[ 0.059894] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy
driver
[ 0.060516] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.082541] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud =
115200) is a 16550A
[ 0.098104] Linux agpgart interface v0.103
[ 0.098918] loop: module loaded
[ 0.099607] scsi host0: ata_piix
[ 0.099867] scsi host1: ata_piix
[ 0.100115] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[ 0.100639] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[ 0.101526] libphy: Fixed MDIO Bus: probed
[ 0.101922] tun: Universal TUN/TAP device driver, 1.6
[ 0.102419] PPP generic driver version 2.4.2
[ 0.102850] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.103471] ehci-pci: EHCI PCI platform driver
[ 0.103897] ehci-platform: EHCI generic platform driver
[ 0.104408] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.104989] ohci-pci: OHCI PCI platform driver
[ 0.105413] ohci-platform: OHCI generic platform driver
[ 0.105913] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.106529] i8042: PNP: No PS/2 controller found.
[ 0.106972] i8042: Probing ports directly.
[ 0.107914] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.108580] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.109128] mousedev: PS/2 mouse device common for all mice
[ 0.109861] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 0.111030] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.111691] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 0.112071] i2c /dev entries driver
[ 0.112288] device-mapper: uevent: version 1.0.3
[ 0.112573] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20)
initialised: dm-devel(a)redhat.com
[ 0.113043] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.113505] NET: Registered protocol family 10
[ 0.113922] Segment Routing with IPv6
[ 0.114144] NET: Registered protocol family 17
[ 0.114399] Key type dns_resolver registered
[ 0.114708] RAS: Correctable Errors collector initialized.
[ 0.115032] sched_clock: Marking stable (112062903, 0)->(159200092,
-47137189)
[ 0.115494] registered taskstats version 1
[ 0.115735] Loading compiled-in X.509 certificates
[ 0.116471] Loaded X.509 cert 'Build time autogenerated kernel key:
b1931af2efdddab2cc28005a48cb6f00161c7d17'
[ 0.117031] zswap: loaded using pool lzo/zbud
[ 0.117366] Key type big_key registered
[ 0.117594] Key type trusted registered
[ 0.117843] Key type encrypted registered
[ 0.118073] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.118380] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 0.118736] evm: HMAC attrs: 0x1
[ 0.118983] Magic number: 2:460:603
[ 0.119242] rtc_cmos rtc_cmos: setting system clock to 2018-01-15
22:35:24 UTC (1516055724)
[ 0.119721] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.120064] EDD information not available.
[ 0.270767] Freeing unused kernel memory: 2372K
[ 0.271444] Write protecting the kernel read-only data: 18432k
[ 0.272837] Freeing unused kernel memory: 2024K
[ 0.273719] Freeing unused kernel memory: 92K
[ 0.276025] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 0.276711] x86/mm: Checking user space page tables
[ 0.278992] x86/mm: Checked W+X mappings: passed, no W+X pages found.
supermin: mounting /proc
supermin: uptime: 0.28 0.15
supermin: ext2 mini initrd starting up: 5.1.14 zlib xz
supermin: cmdline: panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod crypto_engine.ko
supermin: internal insmod virtio_crypto.ko
supermin: internal insmod drm.ko
supermin: internal insmod fb_sys_fops.ko
supermin: internal insmod syscopyarea.ko
supermin: internal insmod sysfillrect.ko
supermin: internal insmod sysimgblt.ko
supermin: internal insmod drm_kms_helper.ko
supermin: internal insmod ttm.ko
supermin: internal insmod virtio-gpu.ko
supermin: internal insmod ideapad_slidebar.ko
[ 0.299547] ideapad_slidebar: DMI does not match
insmod: init_module: ideapad_slidebar.ko: No such device
supermin: internal insmod virtio_net.ko
supermin: internal insmod video.ko
supermin: internal insmod sparse-keymap.ko
supermin: internal insmod wmi.ko
insmod: init_module: wmi.ko: No such device
supermin: internal insmod ideapad-laptop.ko
[ 0.304268] ideapad_laptop: Unknown symbol wmi_remove_notify_handler
(err 0)
[ 0.304668] ideapad_laptop: Unknown symbol wmi_install_notify_handler
(err 0)
insmod: init_module: ideapad-laptop.ko: Unknown symbol in module
supermin: internal insmod megaraid.ko
supermin: internal insmod megaraid_mm.ko
[ 0.306943] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03
EST 2006)
supermin: internal insmod megaraid_mbox.ko
[ 0.308232] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST
2006)
supermin: internal insmod megaraid_sas.ko
[ 0.310023] megasas: 07.701.17.00-rc1
supermin: internal insmod scsi_transport_spi.ko
supermin: internal insmod sym53c8xx.ko
supermin: internal insmod virtio_scsi.ko
[ 0.313232] scsi host2: Virtio SCSI HBA
[ 0.313895] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK
2.5+ PQ: 0 ANSI: 5
[ 0.314473] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK
2.5+ PQ: 0 ANSI: 5
[ 0.325484] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 0.325846] sd 2:0:0:0: [sda] 167772160 512-byte logical blocks:
(85.9 GB/80.0 GiB)
[ 0.326290] sd 2:0:0:0: [sda] Write Protect is off
[ 0.326590] sd 2:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 0.327127] sd 2:0:1:0: Attached scsi generic sg1 type 0
[ 0.327546] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29
GB/4.00 GiB)
[ 0.327992] sd 2:0:1:0: [sdb] Write Protect is off
[ 0.328696] sd 2:0:1:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 0.329436] sda: sda1
[ 0.329816] sd 2:0:0:0: [sda] Attached SCSI disk
[ 0.330369] sd 2:0:1:0: [sdb] Attached SCSI disk
supermin: internal insmod virtio_input.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc4.ko
supermin: internal insmod crc7.ko
supermin: internal insmod crc8.ko
supermin: internal insmod libcrc32c.ko
supermin: picked /sys/block/sdb/dev as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[ 0.335349] EXT4-fs (sdb): mounting ext2 file system using the ext4
subsystem
[ 0.336675] EXT4-fs (sdb): mounted filesystem without journal. Opts:
supermin: chroot
execl: /init: No such file or directory
supermin: debug: listing directory /
12 d etc 040775 4096 0:0
2 d .. 040755 4096 0:0
1126 d root 040700 4096 0:0
1123 d lib64 040755 4096 0:0
270 - init 100755 4754 0:0
450 d home 040755 4096 0:0
2 d . 040755 4096 0:0
412 d dev 040755 4096 0:0
263 d usr 040775 4096 0:0
268 d sbin 040775 4096 0:0
411 d boot 040755 4096 0:0
451 d lib 040755 4096 0:0
1313 d sys 040555 4096 0:0
1314 d tmp 041777 4096 0:0
1125 d proc 040555 4096 0:0
1127 d run 040755 4096 0:0
271 d bin 040755 4096 0:0
434 d var 040755 4096 0:0
11 d lost+found 040700 16384 0:0
supermin: debug: listing directory /bin
332 - ln 100755 56152 0:0
393 - udevadm 100755 449136 0:0
290 - bzexe 100755 4877 0:0
297 - cat 100755 52080 0:0
354 - ntfscmp 100755 34920 0:0
410 - znew 100755 5047 0:0
362 l pidof 120777 14 0:0 -> \xdf\x10
322 - gzip 100755 98240 0:0
364 - ps 100755 97408 0:0
375 - ss 100755 115816 0:0
407 - zgrep 100755 5938 0:0
281 - btrfs-show-super 100755 253816 0:0
326 - kmod 100755 150600 0:0
352 - ntfscat 100755 26728 0:0
274 - btrfs-calc-size 100755 249464 0:0
347 - networkctl 100755 678496 0:0
387 - systemd-tty-ask-password-agent 100755 68032 0:0
394 - ulockmgr_server 100755 14328 0:0
351 - ntfs-3g.usermap 100755 18424 0:0
346 - mv 100755 130488 0:0
409 - zmore 100755 1910 0:0
309 - dmesg 100755 60680 0:0
372 - setfacl 100755 36296 0:0
396 - uname 100755 31440 0:0
371 - sed 100755 73424 0:0
2 d .. 040755 4096 0:0
376 - stty 100755 72496 0:0
353 - ntfscluster 100755 30824 0:0
401 - zcat 100755 1937 0:0
310 - echo 100755 31376 0:0
329 l lessfile 120777 8 0:0 -> \a\xe
348 - ntfs-3g 104755 142032 0:0
382 - systemd-hwdb 100755 64080 0:0
299 - chgrp 100755 60272 0:0
312 - false 100755 27280 0:0
316 - fuser 100755 36024 0:0
327 - less 100755 170728 0:0
367 - readlink 100755 39632 0:0
276 - btrfs-debug-tree 100755 249464 0:0
389 - tar 100755 383632 0:0
307 - df 100755 97912 0:0
298 - chacl 100755 14752 0:0
271 d . 040755 4096 0:0
320 - gunzip 100755 2301 0:0
391 - touch 100755 64432 0:0
359 - ntfsmove 100755 30824 0:0
283 l btrfsck 120777 5 0:0 -> \xc8
383 - systemd-inhibit 100755 281840 0:0
342 - more 100755 39768 0:0
360 - ntfstruncate 100755 38944 0:0
380 - systemd-ask-password 100755 51656 0:0
272 - bash 100755 1037528 0:0
331 - lesspipe 100755 7764 0:0
398 - vdir 100755 126584 0:0
402 - zcmp 100755 1777 0:0
293 - bzip2 100755 31288 0:0
390 - tempfile 100755 10416 0:0
408 - zless 100755 2037 0:0
386 - systemd-tmpfiles 100755 133704 0:0
344 - mountpoint 100755 14768 0:0
314 - findmnt 100755 49576 0:0
381 - systemd-escape 100755 39344 0:0
301 - chown 100755 64368 0:0
336 - lsblk 100755 77280 0:0
323 - ip 100755 376192 0:0
333 - loginctl 100755 453848 0:0
355 - ntfsfallocate 100755 34928 0:0
379 l systemd 120777 20 0:0 -> 5\x12
289 l bzegrep 120777 6 0:0 -> \x19\v
308 - dir 100755 126584 0:0
291 l bzfgrep 120777 6 0:0 -> \x1c\v
388 - tailf 100755 23144 0:0
284 - btrfstune 100755 249464 0:0
363 - plymouth 100755 35504 0:0
403 - zdiff 100755 5764 0:0
369 - rmdir 100755 39632 0:0
292 - bzgrep 100755 3642 0:0
365 - pwd 100755 31472 0:0
318 - getfacl 100755 23752 0:0
300 - chmod 100755 56112 0:0
275 - btrfs-convert 100755 278376 0:0
345 - mt-gnu 100755 68824 0:0
368 - rm 100755 60272 0:0
319 - grep 100755 211224 0:0
356 - ntfsfix 100755 39024 0:0
405 - zfgrep 100755 140 0:0
395 - umount 104755 27608 0:0
287 l bzcmp 120777 6 0:0 -> \x17\v
303 - cpio 100755 141472 0:0
325 - kill 100755 23152 0:0
374 - sleep 100755 31408 0:0
343 - mount 104755 40152 0:0
286 - bzcat 100755 31288 0:0
315 - fsck.btrfs 100755 1185 0:0
282 - btrfs-zero-log 100755 245368 0:0
305 - date 100755 68464 0:0
384 - systemd-machine-id-setup 100755 47544 0:0
306 - dd 100755 72632 0:0
406 - zforce 100755 2131 0:0
358 - ntfsls 100755 31928 0:0
304 - dash 100755 154072 0:0
349 - ntfs-3g.probe 100755 10312 0:0
280 - btrfs-select-super 100755 245368 0:0
294 - bzip2recover 100755 14616 0:0
313 - fgrep 100755 28 0:0
295 l bzless 120777 6 0:0 -> *\v
321 - gzexe 100755 5927 0:0
311 - egrep 100755 28 0:0
385 - systemd-notify 100755 35248 0:0
366 l rbash 120777 4 0:0 ->
\x11
399 - wdctl 100755 31376 0:0
357 - ntfsinfo 100755 55416 0:0
317 - fusermount 104755 30800 0:0
279 - btrfs-map-logical 100755 249464 0:0
277 - btrfs-find-root 100755 245368 0:0
278 - btrfs-image 100755 270136 0:0
377 - sync 100755 31408 0:0
288 - bzdiff 100755 2140 0:0
334 - lowntfs-3g 100755 105136 0:0
339 - mkfs.btrfs 100755 265928 0:0
397 - uncompress 100755 2301 0:0
328 - lessecho 100755 10256 0:0
341 - mktemp 100755 39728 0:0
285 - bunzip2 100755 31288 0:0
335 - ls 100755 126584 0:0
340 - mknod 100755 64496 0:0
400 - which 100755 946 0:0
330 - lesskey 100755 19824 0:0
361 - ntfswipe 100755 47752 0:0
350 - ntfs-3g.secaudit 100755 67608 0:0
296 - bzmore 100755 1297 0:0
302 - cp 100755 151024 0:0
392 - true 100755 27280 0:0
324 - journalctl 100755 498936 0:0
338 - mkdir 100755 76848 0:0
273 - btrfs 100755 520992 0:0
337 l lsmod 120777 4 0:0 -> \xdd\xe
404 - zegrep 100755 140 0:0
370 - run-parts 100755 19320 0:0
373 l sh 120777 4 0:0 -> P\x11
378 - systemctl 100755 659848 0:0
supermin: debug: listing directory /lib
904 d x86_64-linux-gnu 040755 8192 0:0
2 d .. 040755 4096 0:0
4016 d modules 040755 4096 0:0
469 d init 040755 4096 0:0
451 d . 040755 4096 0:0
452 d cryptsetup 040755 4096 0:0
472 - klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so 100755 70952 0:0
475 d lsb 040755 4096 0:0
485 d systemd 040755 4096 0:0
473 l libhandle.so.1 120777 18 0:0 -> \x81\x14
474 - libhandle.so.1.0.3 100644 14464 0:0
841 d udev 040755 4096 0:0
483 d modprobe.d 040755 4096 0:0
supermin: debug: listing directory /lib64
2 d .. 040755 4096 0:0
1123 d . 040755 4096 0:0
1124 l ld-linux-x86-64.so.2 120777 32 0:0 -> \x82:
[ 0.382263] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000100
[ 0.382263]
[ 0.382789] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic
#29~16.04.2-Ubuntu
[ 0.383225] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[ 0.383750] Call Trace:
[ 0.383894] dump_stack+0x63/0x8b
[ 0.384085] panic+0xe4/0x23d
[ 0.384255] do_exit+0xae6/0xaf0
[ 0.384439] ? dput+0x34/0x1f0
[ 0.384613] do_group_exit+0x43/0xb0
[ 0.384816] SyS_exit_group+0x14/0x20
[ 0.385026] entry_SYSCALL_64_fastpath+0x1e/0x81
[ 0.385284] RIP: 0033:0x451579
[ 0.385462] RSP: 002b:00007ffc7a954768 EFLAGS: 00000246 ORIG_RAX:
00000000000000e7
[ 0.385883] RAX: ffffffffffffffda RBX: 0000000002053ca3 RCX:
0000000000451579
[ 0.386278] RDX: 0000000000000008 RSI: 0000000000000001 RDI:
0000000000000001
[ 0.386672] RBP: 0000000002053c30 R08: 000000000000003c R09:
00000000000000e7
[ 0.387068] R10: ffffffffffffffd0 R11: 0000000000000246 R12:
0000000000000000
[ 0.387463] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15:
0000000002053c30
[ 0.387947] Kernel Offset: 0x1de00000 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.388544] Rebooting in 1 seconds..
libguestfs: error: appliance closed the connection unexpectedly, see
earlier error messages
libguestfs: child_cleanup: 0x9d4f80: child process died
libguestfs: sending SIGTERM to process 23160
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x9d4f80 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsZkMFYj
6 years, 7 months
[PATCH nbdkit INCOMPLETE 0/6] Introduce filters to nbdkit.
by Richard W.M. Jones
This patch isn't complete (patch 6/6 isn't finished) so it's just for
discussion, although it does compile and run.
This introduces to nbdkit a concept of "filters" which can be placed
in front of plugins to modify their behaviour. Some examples where
you might use filters:
* Serve a subset of the data, such as (offset, range) or a
single partition from a disk image.
* Inject delays or errors for testing clients.
* Implement "copy-on-write" (a feature found in other NBD servers).
Filters are implemented by allowing them to intercept methods before a
plugin gets them. For example to implement a read delay the filter
would register for a .pread hook which is implemented like this:
static int
delay_pread (void *handle, void *buf, uint32_t count, uint64_t offset,
int (*next) (void *data,
void *buf, uint32_t count, uint64_t offset),
void *data)
{
nanosleep (...);
return next (data, buf, count, offset); // calls next filter or plugin
}
...
static struct nbdkit_filter filter = {
...
.pread = delay_pread,
...
};
For the filters I want to write this works fine, but with two caveats:
(1) If new datapath methods are introduced then filters won't get to
see them by default. For example, if we modify offsets when calling
.pread and .pwrite, and then later the .zero method is added to
plugins, then existing filters won't modify the parameters of .zero
correctly (resulting in wrong data being zeroed).
(2) You cannot do anything more complex in one of these functions than
calling the single underlying plugin method, possibly modifying the
arguments. For example it's hard to see how a "qcow2 decoder" filter
could be written since it would need to have full access to the plugin
methods, not just to the single method.
Unfortunately solving (1) & (2) makes the whole thing a lot more
complicated.
Rich.
6 years, 7 months
[PATCH 0/3] Handle GPT attribute flags
by Cédric Bosdonnat
Hi all,
Here is the series fixing the bug I mentioned on IRC regarding the GPT
attribute flags to copy to the new disk in a virt-resize.
Cédric Bosdonnat (3):
daemon: make sgdisk_info_extract_uuid_field more generic
New APIs: part_set_gpt_attributes and part_get_gpt_attributes
resize: copy GPT partition flags
daemon/parted.ml | 34 +++++++++++++++++++++++++++-------
daemon/parted.mli | 3 +++
generator/actions_core.ml | 40 ++++++++++++++++++++++++++++++++++++++++
generator/proc_nr.ml | 2 ++
lib/MAX_PROC_NR | 2 +-
resize/resize.ml | 15 ++++++++++++---
6 files changed, 85 insertions(+), 11 deletions(-)
--
2.15.1
6 years, 8 months
guestmount fails after linux kernel update 01/10/2018
by Pasquale Rinaldi
Hello,
I had been using guestmount to mount a raw image and it has been working
great until I updated the kernel on 01/10/2018. I am running ubuntu 16.04
LTS, and have changed the read permissions to the vmlinuz as I have done
with previous kernels. The only change to my system between working and not
working is the kernel update from this morning. I am concerned this might
be related to the intel issues and the patch, which is probably in the
kernel update I just applied.
The output for the command is as follows:
guestmount -a ~/WombatCases/thumbdrive.wfc -m /dev/sda
~/.wombatforensics/mntpt/ > guestmountissues
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0xd2d000, program = guestmount
libguestfs: trace: set_recovery_proc false
libguestfs: trace: set_recovery_proc = 0
libguestfs: trace: add_drive "/home/pasquale/WombatCases/thumbdrive.wfc"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version *>
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=guestmount
libguestfs: launch: version=1.32.2
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsqM1MDM
libguestfs: launch: umask=0002
libguestfs: launch: euid=1000
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: [00000ms] begin building supermin appliance
libguestfs: [00000ms] run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-1000/appliance.d
supermin: version: 5.1.14
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
supermin: if-newer: output does not need rebuilding
libguestfs: [00010ms] finished building supermin appliance
libguestfs: [00010ms] begin testing qemu features
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -help
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -version
libguestfs: qemu version 2.5
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [00098ms] finished testing qemu features
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
[00099ms] /usr/bin/qemu-system-x86_64 \
-global virtio-blk-pci.scsi=off \
-nodefconfig \
-enable-fips \
-nodefaults \
-display none \
-machine accel=kvm:tcg \
-cpu host \
-m 500 \
-no-reboot \
-rtc driftfix=slew \
-no-hpet \
-global kvm-pit.lost_tick_policy=discard \
-kernel /var/tmp/.guestfs-1000/appliance.d/kernel \
-initrd /var/tmp/.guestfs-1000/appliance.d/initrd \
-device virtio-scsi-pci,id=scsi \
-drive
file=/home/pasquale/WombatCases/thumbdrive.wfc,cache=writeback,id=hd0,if=none
\
-device scsi-hd,drive=hd0 \
-drive
file=/var/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none
\
-device scsi-hd,drive=appliance \
-device virtio-serial-pci \
-serial stdio \
-device sga \
-chardev socket,path=/tmp/libguestfsqM1MDM/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-append 'panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000
no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb
selinux=0 guestfs_verbose=1 TERM=xterm'
WARNING: Image format was not specified for
'/home/pasquale/WombatCases/thumbdrive.wfc' and probing guessed raw.
Automatically detecting the format is dangerous for raw images,
write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
Could not open option rom 'sgabios.bin': No such file or directory
[ 0.000000] random: get_random_bytes called from start_kernel+0x42/0x504
with crng_init=0
[ 0.000000] Linux version 4.13.0-26-generic (buildd@lgw01-amd64-031)
(gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5))
#29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 (Ubuntu
4.13.0-26.29~16.04.2-generic 4.13.13)
[ 0.000000] Command line: panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point
registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832
bytes, using 'standard' format.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3dffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001f3e0000-0x000000001f3fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff]
reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] random: fast init done
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
Ubuntu-1.8.2-1ubuntu1 04/01/2014
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] e820: last_pfn = 0x1f3e0 max_arch_pfn = 0x400000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC-
WT
[ 0.000000] found SMP MP-table at [mem 0x000f6630-0x000f663f] mapped at
[ffff958f800f6630]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] RAMDISK: [mem 0x1f118000-0x1f3dffff]
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3dffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x1f0ed000-0x1f117fff]
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:1f06d001, primary cpu clock
[ 0.000000] kvm-clock: using sched offset of 1181374173 cycles
[ 0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles:
0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000001f3dffff]
[ 0.000000] Normal empty
[ 0.000000] Device empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000001f3dffff]
[ 0.000000] Initmem setup node 0 [mem
0x0000000000001000-0x000000001f3dffff]
[ 0.000000] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[ 0.000000] Intel MultiProcessor Specification v1.4
[ 0.000000] MPTABLE: OEM ID: BOCHSCPU
[ 0.000000] MPTABLE: Product ID: 0.1
[ 0.000000] MPTABLE: APIC at: 0xFEE00000
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI
0-23
[ 0.000000] Processors: 1
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] percpu: Embedded 46 pages/cpu @ffff958f9ee00000 s149784
r8192 d30440 u2097152
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1ee131c0
[ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on.
Total pages: 125849
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Memory: 473572K/511480K available (12300K kernel code, 2480K
rwdata, 4004K rodata, 2372K init, 2368K bss, 37908K reserved, 0K
cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Kernel/User page tables isolation: enabled
[ 0.000000] ftrace: allocating 37814 entries in 148 pages
[ 0.004000] Hierarchical RCU implementation.
[ 0.004000] \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1.
[ 0.004000] \tTasks RCU enabled.
[ 0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.004000] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16
[ 0.004000] Console: colour *CGA 80x25
[ 0.004000] console [ttyS0] enabled
[ 0.004005] tsc: Detected 3201.838 MHz processor
[ 0.004450] Calibrating delay loop (skipped) preset value.. 6403.67
BogoMIPS (lpj=12807352)
[ 0.004813] pid_max: default: 32768 minimum: 301
[ 0.005273] Security Framework initialized
[ 0.005674] Yama: becoming mindful.
[ 0.006023] AppArmor: AppArmor initialized
[ 0.006501] Dentry cache hash table entries: 65536 (order: 7, 524288
bytes)
[ 0.007199] Inode-cache hash table entries: 32768 (order: 6, 262144
bytes)
[ 0.008008] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.008644] Mountpoint-cache hash table entries: 1024 (order: 1, 8192
bytes)
[ 0.009881] Disabling memory control group subsystem
[ 0.010412] mce: CPU supports 10 MCE banks
[ 0.010838] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.011346] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.018704] Freeing SMP alternatives memory: 36K
[ 0.020123] smpboot: Max logical packages: 1
[ 0.020658] x2apic enabled
[ 0.021084] Switched APIC routing to physical x2apic.
[ 0.022196] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.022769] smpboot: CPU0: Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
(family: 0x6, model: 0x2d, stepping: 0x7)
[ 0.023710] Performance Events: SandyBridge events, Intel PMU driver.
[ 0.024000] core: PEBS disabled due to CPU errata, please upgrade
microcode
[ 0.024000] ... version: 2
[ 0.024000] ... bit width: 48
[ 0.024000] ... generic registers: 4
[ 0.024000] ... value mask: 0000ffffffffffff
[ 0.024000] ... max period: 000000007fffffff
[ 0.024004] ... fixed-purpose events: 3
[ 0.024378] ... event mask: 000000070000000f
[ 0.024896] Hierarchical SRCU implementation.
[ 0.025808] smp: Bringing up secondary CPUs ...
[ 0.026237] smp: Brought up 1 node, 1 CPU
[ 0.026613] smpboot: Total of 1 processors activated (6403.67 BogoMIPS)
[ 0.027419] devtmpfs: initialized
[ 0.027770] x86/mm: Memory block size: 128MB
[ 0.028115] evm: security.selinux
[ 0.028431] evm: security.SMACK64
[ 0.028738] evm: security.SMACK64EXEC
[ 0.029079] evm: security.SMACK64TRANSMUTE
[ 0.029458] evm: security.SMACK64MMAP
[ 0.029812] evm: security.ima
[ 0.030093] evm: security.capability
[ 0.030525] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.031422] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.031992] pinctrl core: initialized pinctrl subsystem
[ 0.032113] RTC time: 14:06:24, date: 01/10/18
[ 0.032560] NET: Registered protocol family 16
[ 0.033134] cpuidle: using governor ladder
[ 0.033505] cpuidle: using governor menu
[ 0.034013] PCI: Using configuration type 1 for base access
[ 0.034567] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT
off
[ 0.035936] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.036006] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.036716] ACPI: Interpreter disabled.
[ 0.037211] SCSI subsystem initialized
[ 0.037593] vgaarb: loaded
[ 0.037885] usbcore: registered new interface driver usbfs
[ 0.038397] usbcore: registered new interface driver hub
[ 0.038878] usbcore: registered new device driver usb
[ 0.039390] EDAC MC: Ver: 3.0.0
[ 0.039739] PCI: Probing PCI hardware
[ 0.040035] PCI host bridge to bus 0000:00
[ 0.040422] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.040976] pci_bus 0000:00: root bus resource [mem
0x00000000-0xffffffffff]
[ 0.041626] pci_bus 0000:00: No busn resource found for root bus, will
use [bus 00-ff]
[ 0.046056] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io
0x01f0-0x01f7]
[ 0.046700] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.047311] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io
0x0170-0x0177]
[ 0.047963] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.048437] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by
PIIX4 ACPI
[ 0.049131] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by
PIIX4 SMB
[ 0.062681] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[ 0.063385] NetLabel: Initializing
[ 0.064004] NetLabel: domain hash size = 128
[ 0.064411] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.064946] NetLabel: unlabeled traffic allowed by default
[ 0.065601] clocksource: Switched to clocksource kvm-clock
[ 0.071764] VFS: Disk quotas dquot_6.6.0
[ 0.072189] VFS: Dquot-cache hash table entries: 512 (order 0, 4096
bytes)
[ 0.072897] AppArmor: AppArmor Filesystem Enabled
[ 0.073371] pnp: PnP ACPI: disabled
[ 0.074746] NET: Registered protocol family 2
[ 0.075281] TCP established hash table entries: 4096 (order: 3, 32768
bytes)
[ 0.075942] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.076544] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.077141] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.077691] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.078286] NET: Registered protocol family 1
[ 0.078698] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.079252] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.079793] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.080453] Unpacking initramfs...
[ 0.081901] Freeing initrd memory: 2848K
[ 0.082431] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[ 0.083255] Scanning for low memory corruption every 60 seconds
[ 0.083964] audit: initializing netlink subsys (disabled)
[ 0.084734] Initialise system trusted keyrings
[ 0.085139] Key type blacklist registered
[ 0.085544] audit: type=2000 audit(1515593184.437:1): state=initialized
audit_enabled=0 res=1
[ 0.086307] workingset: timestamp_bits=36 max_order=17 bucket_order=0
[ 0.087684] zbud: loaded
[ 0.088193] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.088799] fuse init (API version 7.26)
[ 0.089928] Key type asymmetric registered
[ 0.090315] Asymmetric key parser 'x509' registered
[ 0.090759] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 247)
[ 0.091461] io scheduler noop registered
[ 0.091811] io scheduler deadline registered
[ 0.092259] io scheduler cfq registered (default)
[ 0.092817] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A ->
IRQ 10
[ 0.093505] virtio-pci 0000:00:02.0: virtio_pci: leaving for legacy
driver
[ 0.094362] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A ->
IRQ 11
[ 0.095053] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy
driver
[ 0.096028] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.119259] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200)
is a 16550A
[ 0.146874] Linux agpgart interface v0.103
[ 0.148539] loop: module loaded
[ 0.149924] scsi host0: ata_piix
[ 0.150472] scsi host1: ata_piix
[ 0.150978] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[ 0.151940] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[ 0.153227] libphy: Fixed MDIO Bus: probed
[ 0.153830] tun: Universal TUN/TAP device driver, 1.6
[ 0.154578] PPP generic driver version 2.4.2
[ 0.155223] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.156409] ehci-pci: EHCI PCI platform driver
[ 0.157051] ehci-platform: EHCI generic platform driver
[ 0.157801] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.158666] ohci-pci: OHCI PCI platform driver
[ 0.159301] ohci-platform: OHCI generic platform driver
[ 0.160054] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.160989] i8042: PNP: No PS/2 controller found.
[ 0.161679] i8042: Probing ports directly.
[ 0.162604] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.163087] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.163605] mousedev: PS/2 mouse device common for all mice
[ 0.164338] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 0.165496] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.166181] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 0.166745] i2c /dev entries driver
[ 0.167130] device-mapper: uevent: version 1.0.3
[ 0.167584] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised:
dm-devel(a)redhat.com
[ 0.168374] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.169071] NET: Registered protocol family 10
[ 0.169744] Segment Routing with IPv6
[ 0.170085] NET: Registered protocol family 17
[ 0.170524] Key type dns_resolver registered
[ 0.171004] RAS: Correctable Errors collector initialized.
[ 0.171536] sched_clock: Marking stable (168361666, 0)->(243617638,
-75255972)
[ 0.172258] registered taskstats version 1
[ 0.172679] Loading compiled-in X.509 certificates
[ 0.173815] Loaded X.509 cert 'Build time autogenerated kernel key:
b1931af2efdddab2cc28005a48cb6f00161c7d17'
[ 0.174714] zswap: loaded using pool lzo/zbud
[ 0.175267] Key type big_key registered
[ 0.175616] Key type trusted registered
[ 0.176030] Key type encrypted registered
[ 0.176436] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.176916] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 0.177515] evm: HMAC attrs: 0x1
[ 0.177904] Magic number: 2:269:131
[ 0.178345] rtc_cmos rtc_cmos: setting system clock to 2018-01-10
14:06:24 UTC (1515593184)
[ 0.179101] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.179671] EDD information not available.
[ 0.319089] Freeing unused kernel memory: 2372K
[ 0.319756] Write protecting the kernel read-only data: 18432k
[ 0.321135] Freeing unused kernel memory: 2024K
[ 0.322048] Freeing unused kernel memory: 92K
[ 0.325146] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 0.325955] x86/mm: Checking user space page tables
[ 0.328094] x86/mm: Checked W+X mappings: passed, no W+X pages found.
supermin: mounting /proc
supermin: uptime: 0.32 0.15
supermin: ext2 mini initrd starting up: 5.1.14 zlib xz
supermin: cmdline: panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod crypto_engine.ko
supermin: internal insmod virtio_crypto.ko
supermin: internal insmod drm.ko
supermin: internal insmod fb_sys_fops.ko
supermin: internal insmod syscopyarea.ko
supermin: internal insmod sysfillrect.ko
supermin: internal insmod sysimgblt.ko
supermin: internal insmod drm_kms_helper.ko
supermin: internal insmod ttm.ko
supermin: internal insmod virtio-gpu.ko
supermin: internal insmod ideapad_slidebar.ko
[ 0.355948] ideapad_slidebar: DMI does not match
insmod: init_module: ideapad_slidebar.ko: No such device
supermin: internal insmod virtio_net.ko
supermin: internal insmod video.ko
supermin: internal insmod sparse-keymap.ko
supermin: internal insmod wmi.ko
insmod: init_module: wmi.ko: No such device
supermin: internal insmod ideapad-laptop.ko
[ 0.363272] ideapad_laptop: Unknown symbol wmi_remove_notify_handler
(err 0)
[ 0.363903] ideapad_laptop: Unknown symbol wmi_install_notify_handler
(err 0)
insmod: init_module: ideapad-laptop.ko: Unknown symbol in module
supermin: internal insmod megaraid.ko
supermin: internal insmod megaraid_mm.ko
[ 0.367736] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03
EST 2006)
supermin: internal insmod megaraid_mbox.ko
[ 0.369839] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST
2006)
supermin: internal insmod megaraid_sas.ko
[ 0.372785] megasas: 07.701.17.00-rc1
supermin: internal insmod scsi_transport_spi.ko
supermin: internal insmod sym53c8xx.ko
supermin: internal insmod virtio_scsi.ko
[ 0.377974] scsi host2: Virtio SCSI HBA
[ 0.378738] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK
2.5+ PQ: 0 ANSI: 5
[ 0.379644] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK
2.5+ PQ: 0 ANSI: 5
[ 0.398573] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 0.399209] sd 2:0:0:0: [sda] 1953125 512-byte logical blocks: (1.00
GB/954 MiB)
[ 0.399944] sd 2:0:0:0: [sda] Write Protect is off
[ 0.400697] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 0.401581] sd 2:0:1:0: Attached scsi generic sg1 type 0
[ 0.402175] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29
GB/4.00 GiB)
[ 0.402898] sd 2:0:1:0: [sdb] Write Protect is off
[ 0.403416] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 0.405558] sd 2:0:0:0: [sda] Attached SCSI disk
[ 0.406048] sd 2:0:1:0: [sdb] Attached SCSI disk
supermin: internal insmod virtio_input.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc4.ko
supermin: internal insmod crc7.ko
supermin: internal insmod crc8.ko
supermin: internal insmod libcrc32c.ko
supermin: picked /sys/block/sdb/dev as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[ 0.413721] EXT4-fs (sdb): mounting ext2 file system using the ext4
subsystem
[ 0.415729] EXT4-fs (sdb): mounted filesystem without journal. Opts:
supermin: chroot
execl: /init: No such file or directory
supermin: debug: listing directory /
1126 d root 040700 4096 0:0
412 d dev 040755 4096 0:0
451 d lib 040755 4096 0:0
1123 d lib64 040755 4096 0:0
1313 d sys 040555 4096 0:0
1127 d run 040755 4096 0:0
450 d home 040755 4096 0:0
2 d .. 040755 4096 0:0
1125 d proc 040555 4096 0:0
263 - init 100755 4754 1000:1000
12 d etc 040755 4096 1000:1000
411 d boot 040755 4096 0:0
264 d sbin 040755 4096 1000:1000
434 d var 040755 4096 0:0
266 d usr 040755 4096 1000:1000
271 d bin 040755 4096 0:0
2 d . 040755 4096 0:0
1314 d tmp 041777 4096 0:0
11 d lost+found 040700 16384 0:0
supermin: debug: listing directory /bin
323 - ip 100755 376192 0:0
392 - true 100755 27280 0:0
395 - umount 104755 27608 0:0
310 - echo 100755 31376 0:0
410 - znew 100755 5047 0:0
291 l bzfgrep 120777 6 0:0 -> \x1c\v
274 - btrfs-calc-size 100755 249464 0:0
407 - zgrep 100755 5938 0:0
306 - dd 100755 72632 0:0
389 - tar 100755 383632 0:0
397 - uncompress 100755 2301 0:0
384 - systemd-machine-id-setup 100755 47544 0:0
353 - ntfscluster 100755 30824 0:0
363 - plymouth 100755 35504 0:0
324 - journalctl 100755 498936 0:0
334 - lowntfs-3g 100755 105136 0:0
330 - lesskey 100755 19824 0:0
304 - dash 100755 154072 0:0
352 - ntfscat 100755 26728 0:0
349 - ntfs-3g.probe 100755 10312 0:0
409 - zmore 100755 1910 0:0
366 l rbash 120777 4 0:0 ->
\x11
338 - mkdir 100755 76848 0:0
402 - zcmp 100755 1777 0:0
322 - gzip 100755 98240 0:0
303 - cpio 100755 141472 0:0
278 - btrfs-image 100755 270136 0:0
286 - bzcat 100755 31288 0:0
276 - btrfs-debug-tree 100755 249464 0:0
307 - df 100755 97912 0:0
343 - mount 104755 40152 0:0
308 - dir 100755 126584 0:0
287 l bzcmp 120777 6 0:0 -> \x17\v
350 - ntfs-3g.secaudit 100755 67608 0:0
301 - chown 100755 64368 0:0
285 - bunzip2 100755 31288 0:0
387 - systemd-tty-ask-password-agent 100755 68032 0:0
351 - ntfs-3g.usermap 100755 18424 0:0
386 - systemd-tmpfiles 100755 133704 0:0
398 - vdir 100755 126584 0:0
302 - cp 100755 151024 0:0
345 - mt-gnu 100755 68824 0:0
337 l lsmod 120777 4 0:0 -> \xdd\xe
365 - pwd 100755 31472 0:0
289 l bzegrep 120777 6 0:0 -> \x19\v
273 - btrfs 100755 520992 0:0
406 - zforce 100755 2131 0:0
313 - fgrep 100755 28 0:0
331 - lesspipe 100755 7764 0:0
341 - mktemp 100755 39728 0:0
359 - ntfsmove 100755 30824 0:0
364 - ps 100755 97408 0:0
290 - bzexe 100755 4877 0:0
2 d .. 040755 4096 0:0
390 - tempfile 100755 10416 0:0
339 - mkfs.btrfs 100755 265928 0:0
309 - dmesg 100755 60680 0:0
374 - sleep 100755 31408 0:0
400 - which 100755 946 0:0
277 - btrfs-find-root 100755 245368 0:0
298 - chacl 100755 14752 0:0
361 - ntfswipe 100755 47752 0:0
408 - zless 100755 2037 0:0
340 - mknod 100755 64496 0:0
348 - ntfs-3g 104755 142032 0:0
385 - systemd-notify 100755 35248 0:0
333 - loginctl 100755 453848 0:0
305 - date 100755 68464 0:0
311 - egrep 100755 28 0:0
284 - btrfstune 100755 249464 0:0
367 - readlink 100755 39632 0:0
377 - sync 100755 31408 0:0
403 - zdiff 100755 5764 0:0
325 - kill 100755 23152 0:0
295 l bzless 120777 6 0:0 -> *\v
296 - bzmore 100755 1297 0:0
399 - wdctl 100755 31376 0:0
375 - ss 100755 115816 0:0
317 - fusermount 104755 30800 0:0
405 - zfgrep 100755 140 0:0
357 - ntfsinfo 100755 55416 0:0
293 - bzip2 100755 31288 0:0
312 - false 100755 27280 0:0
281 - btrfs-show-super 100755 253816 0:0
321 - gzexe 100755 5927 0:0
327 - less 100755 170728 0:0
376 - stty 100755 72496 0:0
318 - getfacl 100755 23752 0:0
356 - ntfsfix 100755 39024 0:0
362 l pidof 120777 14 0:0 -> \xdf\x10
292 - bzgrep 100755 3642 0:0
288 - bzdiff 100755 2140 0:0
336 - lsblk 100755 77280 0:0
396 - uname 100755 31440 0:0
360 - ntfstruncate 100755 38944 0:0
379 l systemd 120777 20 0:0 -> 5\x12
283 l btrfsck 120777 5 0:0 -> \xc8
378 - systemctl 100755 659848 0:0
275 - btrfs-convert 100755 278376 0:0
314 - findmnt 100755 49576 0:0
315 - fsck.btrfs 100755 1185 0:0
319 - grep 100755 211224 0:0
355 - ntfsfallocate 100755 34928 0:0
401 - zcat 100755 1937 0:0
393 - udevadm 100755 449136 0:0
272 - bash 100755 1037528 0:0
344 - mountpoint 100755 14768 0:0
371 - sed 100755 73424 0:0
354 - ntfscmp 100755 34920 0:0
300 - chmod 100755 56112 0:0
383 - systemd-inhibit 100755 281840 0:0
294 - bzip2recover 100755 14616 0:0
381 - systemd-escape 100755 39344 0:0
271 d . 040755 4096 0:0
373 l sh 120777 4 0:0 -> P\x11
380 - systemd-ask-password 100755 51656 0:0
320 - gunzip 100755 2301 0:0
326 - kmod 100755 150600 0:0
282 - btrfs-zero-log 100755 245368 0:0
316 - fuser 100755 36024 0:0
335 - ls 100755 126584 0:0
394 - ulockmgr_server 100755 14328 0:0
388 - tailf 100755 23144 0:0
328 - lessecho 100755 10256 0:0
370 - run-parts 100755 19320 0:0
391 - touch 100755 64432 0:0
347 - networkctl 100755 678496 0:0
358 - ntfsls 100755 31928 0:0
368 - rm 100755 60272 0:0
332 - ln 100755 56152 0:0
329 l lessfile 120777 8 0:0 -> \a\xe
369 - rmdir 100755 39632 0:0
297 - cat 100755 52080 0:0
382 - systemd-hwdb 100755 64080 0:0
299 - chgrp 100755 60272 0:0
342 - more 100755 39768 0:0
404 - zegrep 100755 140 0:0
346 - mv 100755 130488 0:0
372 - setfacl 100755 36296 0:0
280 - btrfs-select-super 100755 245368 0:0
279 - btrfs-map-logical 100755 249464 0:0
supermin: debug: listing directory /lib
4009 d modules 040755 4096 0:0
904 d x86_64-linux-gnu 040755 8192 0:0
472 - klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so 100755 70952 0:0
474 - libhandle.so.1.0.3 100644 14464 0:0
2 d .. 040755 4096 0:0
469 d init 040755 4096 0:0
452 d cryptsetup 040755 4096 0:0
485 d systemd 040755 4096 0:0
451 d . 040755 4096 0:0
475 d lsb 040755 4096 0:0
483 d modprobe.d 040755 4096 0:0
473 l libhandle.so.1 120777 18 0:0 -> \x81\x14
841 d udev 040755 4096 0:0
supermin: debug: listing directory /lib64
1124 l ld-linux-x86-64.so.2 120777 32 0:0 -> \x82:
2 d .. 040755 4096 0:0
1123 d . 040755 4096 0:0
[ 0.494512] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000100
[ 0.494512]
[ 0.495362] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic
#29~16.04.2-Ubuntu
[ 0.496089] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
Ubuntu-1.8.2-1ubuntu1 04/01/2014
[ 0.496962] Call Trace:
[ 0.497205] dump_stack+0x63/0x8b
[ 0.497522] panic+0xe4/0x23d
[ 0.497814] do_exit+0xae6/0xaf0
[ 0.498122] ? dput+0x34/0x1f0
[ 0.498416] do_group_exit+0x43/0xb0
[ 0.498755] SyS_exit_group+0x14/0x20
[ 0.499102] entry_SYSCALL_64_fastpath+0x1e/0x81
[ 0.499539] RIP: 0033:0x451579
[ 0.499829] RSP: 002b:00007fff6288cfc8 EFLAGS: 00000246 ORIG_RAX:
00000000000000e7
[ 0.500527] RAX: ffffffffffffffda RBX: 0000000000aa6cb3 RCX:
0000000000451579
[ 0.501186] RDX: 0000000000000008 RSI: 0000000000000001 RDI:
0000000000000001
[ 0.501890] RBP: 0000000000aa6c30 R08: 000000000000003c R09:
00000000000000e7
[ 0.502550] R10: ffffffffffffffd0 R11: 0000000000000246 R12:
0000000000000000
[ 0.503208] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15:
0000000000aa6c30
[ 0.504046] Kernel Offset: 0xac00000 from 0xffffffff81000000 (relocation
range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.505036] Rebooting in 1 seconds..
libguestfs: error: appliance closed the connection unexpectedly, see
earlier error messages
libguestfs: child_cleanup: 0xd2d000: child process died
libguestfs: sending SIGTERM to process 5946
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
libguestfs: trace: close
libguestfs: closing guestfs handle 0xd2d000 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsqM1MDM
Also the results from libguestfs-test-tool are as follows:
libguestfs-test-tool
************************************************************
* IMPORTANT NOTICE
*
* When reporting bugs, include the COMPLETE, UNEDITED
* output below in your bug report.
*
************************************************************
PATH=/home/pasquale/bin:/home/pasquale:/.local/bin:/opt/schily/bin/:/opt/Qt5.9.1/5.9.1/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SELinux: sh: 1: getenforce: not found
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: direct
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_hv: /usr/bin/qemu-system-x86_64
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib/x86_64-linux-gnu/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.32.2
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfstToMJV
libguestfs: launch: umask=0002
libguestfs: launch: euid=1000
libguestfs: [00000ms] begin building supermin appliance
libguestfs: [00000ms] run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-1000/appliance.d
supermin: version: 5.1.14
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
supermin: if-newer: output does not need rebuilding
libguestfs: [00011ms] finished building supermin appliance
libguestfs: [00011ms] begin testing qemu features
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -help
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -version
libguestfs: qemu version 2.5
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [00104ms] finished testing qemu features
[00105ms] /usr/bin/qemu-system-x86_64 \
-global virtio-blk-pci.scsi=off \
-nodefconfig \
-enable-fips \
-nodefaults \
-display none \
-machine accel=kvm:tcg \
-cpu host \
-m 500 \
-no-reboot \
-rtc driftfix=slew \
-no-hpet \
-global kvm-pit.lost_tick_policy=discard \
-kernel /var/tmp/.guestfs-1000/appliance.d/kernel \
-initrd /var/tmp/.guestfs-1000/appliance.d/initrd \
-device virtio-scsi-pci,id=scsi \
-drive
file=/tmp/libguestfstToMJV/scratch.1,cache=unsafe,format=raw,id=hd0,if=none
\
-device scsi-hd,drive=hd0 \
-drive
file=/var/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none
\
-device scsi-hd,drive=appliance \
-device virtio-serial-pci \
-serial stdio \
-device sga \
-chardev socket,path=/tmp/libguestfstToMJV/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-append 'panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000
no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb
selinux=0 guestfs_verbose=1 TERM=xterm'
Could not open option rom 'sgabios.bin': No such file or directory
[ 0.000000] random: get_random_bytes called from start_kernel+0x42/0x504
with crng_init=0
[ 0.000000] Linux version 4.13.0-26-generic (buildd@lgw01-amd64-031)
(gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5))
#29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 (Ubuntu
4.13.0-26.29~16.04.2-generic 4.13.13)
[ 0.000000] Command line: panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point
registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832
bytes, using 'standard' format.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3dffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001f3e0000-0x000000001f3fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff]
reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] random: fast init done
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
Ubuntu-1.8.2-1ubuntu1 04/01/2014
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] e820: last_pfn = 0x1f3e0 max_arch_pfn = 0x400000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC-
WT
[ 0.000000] found SMP MP-table at [mem 0x000f6630-0x000f663f] mapped at
[ffff8a81c00f6630]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] RAMDISK: [mem 0x1f118000-0x1f3dffff]
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3dffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x1f0ed000-0x1f117fff]
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:1f06d001, primary cpu clock
[ 0.000000] kvm-clock: using sched offset of 1166506500 cycles
[ 0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles:
0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000001f3dffff]
[ 0.000000] Normal empty
[ 0.000000] Device empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000001f3dffff]
[ 0.000000] Initmem setup node 0 [mem
0x0000000000001000-0x000000001f3dffff]
[ 0.000000] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[ 0.000000] Intel MultiProcessor Specification v1.4
[ 0.000000] MPTABLE: OEM ID: BOCHSCPU
[ 0.000000] MPTABLE: Product ID: 0.1
[ 0.000000] MPTABLE: APIC at: 0xFEE00000
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI
0-23
[ 0.000000] Processors: 1
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] percpu: Embedded 46 pages/cpu @ffff8a81dee00000 s149784
r8192 d30440 u2097152
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1ee131c0
[ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on.
Total pages: 125849
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Memory: 473572K/511480K available (12300K kernel code, 2480K
rwdata, 4004K rodata, 2372K init, 2368K bss, 37908K reserved, 0K
cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Kernel/User page tables isolation: enabled
[ 0.000000] ftrace: allocating 37814 entries in 148 pages
[ 0.004000] Hierarchical RCU implementation.
[ 0.004000] \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1.
[ 0.004000] \tTasks RCU enabled.
[ 0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.004000] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16
[ 0.004000] Console: colour *CGA 80x25
[ 0.004000] console [ttyS0] enabled
[ 0.004006] tsc: Detected 3201.838 MHz processor
[ 0.004463] Calibrating delay loop (skipped) preset value.. 6403.67
BogoMIPS (lpj=12807352)
[ 0.004812] pid_max: default: 32768 minimum: 301
[ 0.005277] Security Framework initialized
[ 0.005678] Yama: becoming mindful.
[ 0.006033] AppArmor: AppArmor initialized
[ 0.006517] Dentry cache hash table entries: 65536 (order: 7, 524288
bytes)
[ 0.007245] Inode-cache hash table entries: 32768 (order: 6, 262144
bytes)
[ 0.008008] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.008650] Mountpoint-cache hash table entries: 1024 (order: 1, 8192
bytes)
[ 0.009868] Disabling memory control group subsystem
[ 0.010414] mce: CPU supports 10 MCE banks
[ 0.010849] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.011377] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.018493] Freeing SMP alternatives memory: 36K
[ 0.019935] smpboot: Max logical packages: 1
[ 0.020123] x2apic enabled
[ 0.020542] Switched APIC routing to physical x2apic.
[ 0.021662] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.022248] smpboot: CPU0: Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
(family: 0x6, model: 0x2d, stepping: 0x7)
[ 0.023221] Performance Events: SandyBridge events, Intel PMU driver.
[ 0.023844] core: PEBS disabled due to CPU errata, please upgrade
microcode
[ 0.024000] ... version: 2
[ 0.024000] ... bit width: 48
[ 0.024000] ... generic registers: 4
[ 0.024000] ... value mask: 0000ffffffffffff
[ 0.024000] ... max period: 000000007fffffff
[ 0.024004] ... fixed-purpose events: 3
[ 0.024389] ... event mask: 000000070000000f
[ 0.024914] Hierarchical SRCU implementation.
[ 0.025833] smp: Bringing up secondary CPUs ...
[ 0.026266] smp: Brought up 1 node, 1 CPU
[ 0.026647] smpboot: Total of 1 processors activated (6403.67 BogoMIPS)
[ 0.027465] devtmpfs: initialized
[ 0.027825] x86/mm: Memory block size: 128MB
[ 0.028130] evm: security.selinux
[ 0.028453] evm: security.SMACK64
[ 0.028768] evm: security.SMACK64EXEC
[ 0.029114] evm: security.SMACK64TRANSMUTE
[ 0.029498] evm: security.SMACK64MMAP
[ 0.029844] evm: security.ima
[ 0.030130] evm: security.capability
[ 0.030555] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.031466] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.032037] pinctrl core: initialized pinctrl subsystem
[ 0.032649] RTC time: 14:11:17, date: 01/10/18
[ 0.033119] NET: Registered protocol family 16
[ 0.033684] cpuidle: using governor ladder
[ 0.034079] cpuidle: using governor menu
[ 0.034588] PCI: Using configuration type 1 for base access
[ 0.035173] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT
off
[ 0.036585] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.037223] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.037959] ACPI: Interpreter disabled.
[ 0.038446] SCSI subsystem initialized
[ 0.038852] vgaarb: loaded
[ 0.039144] usbcore: registered new interface driver usbfs
[ 0.039670] usbcore: registered new interface driver hub
[ 0.040014] usbcore: registered new device driver usb
[ 0.040525] EDAC MC: Ver: 3.0.0
[ 0.040892] PCI: Probing PCI hardware
[ 0.041264] PCI host bridge to bus 0000:00
[ 0.041656] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.042239] pci_bus 0000:00: root bus resource [mem
0x00000000-0xffffffffff]
[ 0.042899] pci_bus 0000:00: No busn resource found for root bus, will
use [bus 00-ff]
[ 0.047453] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io
0x01f0-0x01f7]
[ 0.048008] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.048626] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io
0x0170-0x0177]
[ 0.049291] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.050325] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by
PIIX4 ACPI
[ 0.051007] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by
PIIX4 SMB
[ 0.064031] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[ 0.065439] NetLabel: Initializing
[ 0.065761] NetLabel: domain hash size = 128
[ 0.066163] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.066728] NetLabel: unlabeled traffic allowed by default
[ 0.067430] clocksource: Switched to clocksource kvm-clock
[ 0.071684] VFS: Disk quotas dquot_6.6.0
[ 0.072114] VFS: Dquot-cache hash table entries: 512 (order 0, 4096
bytes)
[ 0.072844] AppArmor: AppArmor Filesystem Enabled
[ 0.073339] pnp: PnP ACPI: disabled
[ 0.074704] NET: Registered protocol family 2
[ 0.075238] TCP established hash table entries: 4096 (order: 3, 32768
bytes)
[ 0.075909] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.076536] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.077156] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.077697] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.078314] NET: Registered protocol family 1
[ 0.078723] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.079272] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.079839] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.080500] Unpacking initramfs...
[ 0.081957] Freeing initrd memory: 2848K
[ 0.082433] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[ 0.083176] Scanning for low memory corruption every 60 seconds
[ 0.083894] audit: initializing netlink subsys (disabled)
[ 0.084680] Initialise system trusted keyrings
[ 0.085106] Key type blacklist registered
[ 0.085511] audit: type=2000 audit(1515593478.073:1): state=initialized
audit_enabled=0 res=1
[ 0.086297] workingset: timestamp_bits=36 max_order=17 bucket_order=0
[ 0.087694] zbud: loaded
[ 0.088205] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.088823] fuse init (API version 7.26)
[ 0.089960] Key type asymmetric registered
[ 0.090372] Asymmetric key parser 'x509' registered
[ 0.090838] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 247)
[ 0.091556] io scheduler noop registered
[ 0.091930] io scheduler deadline registered
[ 0.092365] io scheduler cfq registered (default)
[ 0.092955] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A ->
IRQ 10
[ 0.093660] virtio-pci 0000:00:02.0: virtio_pci: leaving for legacy
driver
[ 0.094464] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A ->
IRQ 11
[ 0.095169] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy
driver
[ 0.096198] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.119406] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200)
is a 16550A
[ 0.136693] Linux agpgart interface v0.103
[ 0.137925] loop: module loaded
[ 0.138946] scsi host0: ata_piix
[ 0.139362] scsi host1: ata_piix
[ 0.139745] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[ 0.140749] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[ 0.142074] libphy: Fixed MDIO Bus: probed
[ 0.142703] tun: Universal TUN/TAP device driver, 1.6
[ 0.143476] PPP generic driver version 2.4.2
[ 0.144428] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.145399] ehci-pci: EHCI PCI platform driver
[ 0.146063] ehci-platform: EHCI generic platform driver
[ 0.146908] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.147826] ohci-pci: OHCI PCI platform driver
[ 0.148510] ohci-platform: OHCI generic platform driver
[ 0.149278] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.150236] i8042: PNP: No PS/2 controller found.
[ 0.150921] i8042: Probing ports directly.
[ 0.152166] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.152671] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.153191] mousedev: PS/2 mouse device common for all mice
[ 0.153926] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 0.155094] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.155770] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 0.156395] i2c /dev entries driver
[ 0.156792] device-mapper: uevent: version 1.0.3
[ 0.157265] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised:
dm-devel(a)redhat.com
[ 0.158077] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.158791] NET: Registered protocol family 10
[ 0.159467] Segment Routing with IPv6
[ 0.159824] NET: Registered protocol family 17
[ 0.160290] Key type dns_resolver registered
[ 0.160782] RAS: Correctable Errors collector initialized.
[ 0.161353] sched_clock: Marking stable (160279918, 0)->(236744616,
-76464698)
[ 0.162075] registered taskstats version 1
[ 0.162509] Loading compiled-in X.509 certificates
[ 0.163661] Loaded X.509 cert 'Build time autogenerated kernel key:
b1931af2efdddab2cc28005a48cb6f00161c7d17'
[ 0.164575] zswap: loaded using pool lzo/zbud
[ 0.165146] Key type big_key registered
[ 0.165504] Key type trusted registered
[ 0.165916] Key type encrypted registered
[ 0.166325] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.166817] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 0.167443] evm: HMAC attrs: 0x1
[ 0.167838] Magic number: 2:819:181
[ 0.168293] rtc_cmos rtc_cmos: setting system clock to 2018-01-10
14:11:17 UTC (1515593477)
[ 0.169084] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.169679] EDD information not available.
[ 0.307090] Freeing unused kernel memory: 2372K
[ 0.307786] Write protecting the kernel read-only data: 18432k
[ 0.309197] Freeing unused kernel memory: 2024K
[ 0.310119] Freeing unused kernel memory: 92K
[ 0.312753] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 0.313459] x86/mm: Checking user space page tables
[ 0.315619] x86/mm: Checked W+X mappings: passed, no W+X pages found.
supermin: mounting /proc
supermin: uptime: 0.31 0.15
supermin: ext2 mini initrd starting up: 5.1.14 zlib xz
supermin: cmdline: panic=1 console=ttyS0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod crypto_engine.ko
supermin: internal insmod virtio_crypto.ko
supermin: internal insmod drm.ko
supermin: internal insmod fb_sys_fops.ko
supermin: internal insmod syscopyarea.ko
supermin: internal insmod sysfillrect.ko
supermin: internal insmod sysimgblt.ko
supermin: internal insmod drm_kms_helper.ko
supermin: internal insmod ttm.ko
supermin: internal insmod virtio-gpu.ko
supermin: internal insmod ideapad_slidebar.ko
[ 0.344196] ideapad_slidebar: DMI does not match
insmod: init_module: ideapad_slidebar.ko: No such device
supermin: internal insmod virtio_net.ko
supermin: internal insmod video.ko
supermin: internal insmod sparse-keymap.ko
supermin: internal insmod wmi.ko
insmod: init_module: wmi.ko: No such device
supermin: internal insmod ideapad-laptop.ko
[ 0.351779] ideapad_laptop: Unknown symbol wmi_remove_notify_handler
(err 0)
[ 0.352458] ideapad_laptop: Unknown symbol wmi_install_notify_handler
(err 0)
insmod: init_module: ideapad-laptop.ko: Unknown symbol in module
supermin: internal insmod megaraid.ko
supermin: internal insmod megaraid_mm.ko
[ 0.356126] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03
EST 2006)
supermin: internal insmod megaraid_mbox.ko
[ 0.358198] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST
2006)
supermin: internal insmod megaraid_sas.ko
[ 0.361069] megasas: 07.701.17.00-rc1
supermin: internal insmod scsi_transport_spi.ko
supermin: internal insmod sym53c8xx.ko
supermin: internal insmod virtio_scsi.ko
[ 0.366103] scsi host2: Virtio SCSI HBA
[ 0.367019] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK
2.5+ PQ: 0 ANSI: 5
[ 0.368096] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK
2.5+ PQ: 0 ANSI: 5
[ 0.385980] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 0.386633] sd 2:0:0:0: [sda] 204800 512-byte logical blocks: (105
MB/100 MiB)
[ 0.387365] sd 2:0:0:0: [sda] Write Protect is off
[ 0.387916] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 0.388826] sd 2:0:1:0: Attached scsi generic sg1 type 0
[ 0.389431] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29
GB/4.00 GiB)
[ 0.390199] sd 2:0:1:0: [sdb] Write Protect is off
[ 0.390747] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 0.392765] sd 2:0:0:0: [sda] Attached SCSI disk
[ 0.393364] sd 2:0:1:0: [sdb] Attached SCSI disk
supermin: internal insmod virtio_input.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc4.ko
supermin: internal insmod crc7.ko
supermin: internal insmod crc8.ko
supermin: internal insmod libcrc32c.ko
supermin: picked /sys/block/sdb/dev as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[ 0.401219] EXT4-fs (sdb): mounting ext2 file system using the ext4
subsystem
[ 0.403191] EXT4-fs (sdb): mounted filesystem without journal. Opts:
supermin: chroot
execl: /init: No such file or directory
supermin: debug: listing directory /
1126 d root 040700 4096 0:0
412 d dev 040755 4096 0:0
451 d lib 040755 4096 0:0
1123 d lib64 040755 4096 0:0
1313 d sys 040555 4096 0:0
1127 d run 040755 4096 0:0
450 d home 040755 4096 0:0
2 d .. 040755 4096 0:0
1125 d proc 040555 4096 0:0
263 - init 100755 4754 1000:1000
12 d etc 040755 4096 1000:1000
411 d boot 040755 4096 0:0
264 d sbin 040755 4096 1000:1000
434 d var 040755 4096 0:0
266 d usr 040755 4096 1000:1000
271 d bin 040755 4096 0:0
2 d . 040755 4096 0:0
1314 d tmp 041777 4096 0:0
11 d lost+found 040700 16384 0:0
supermin: debug: listing directory /bin
323 - ip 100755 376192 0:0
392 - true 100755 27280 0:0
395 - umount 104755 27608 0:0
310 - echo 100755 31376 0:0
410 - znew 100755 5047 0:0
291 l bzfgrep 120777 6 0:0 -> \x1c\v
274 - btrfs-calc-size 100755 249464 0:0
407 - zgrep 100755 5938 0:0
306 - dd 100755 72632 0:0
389 - tar 100755 383632 0:0
397 - uncompress 100755 2301 0:0
384 - systemd-machine-id-setup 100755 47544 0:0
353 - ntfscluster 100755 30824 0:0
363 - plymouth 100755 35504 0:0
324 - journalctl 100755 498936 0:0
334 - lowntfs-3g 100755 105136 0:0
330 - lesskey 100755 19824 0:0
304 - dash 100755 154072 0:0
352 - ntfscat 100755 26728 0:0
349 - ntfs-3g.probe 100755 10312 0:0
409 - zmore 100755 1910 0:0
366 l rbash 120777 4 0:0 ->
\x11
338 - mkdir 100755 76848 0:0
402 - zcmp 100755 1777 0:0
322 - gzip 100755 98240 0:0
303 - cpio 100755 141472 0:0
278 - btrfs-image 100755 270136 0:0
286 - bzcat 100755 31288 0:0
276 - btrfs-debug-tree 100755 249464 0:0
307 - df 100755 97912 0:0
343 - mount 104755 40152 0:0
308 - dir 100755 126584 0:0
287 l bzcmp 120777 6 0:0 -> \x17\v
350 - ntfs-3g.secaudit 100755 67608 0:0
301 - chown 100755 64368 0:0
285 - bunzip2 100755 31288 0:0
387 - systemd-tty-ask-password-agent 100755 68032 0:0
351 - ntfs-3g.usermap 100755 18424 0:0
386 - systemd-tmpfiles 100755 133704 0:0
398 - vdir 100755 126584 0:0
302 - cp 100755 151024 0:0
345 - mt-gnu 100755 68824 0:0
337 l lsmod 120777 4 0:0 -> \xdd\xe
365 - pwd 100755 31472 0:0
289 l bzegrep 120777 6 0:0 -> \x19\v
273 - btrfs 100755 520992 0:0
406 - zforce 100755 2131 0:0
313 - fgrep 100755 28 0:0
331 - lesspipe 100755 7764 0:0
341 - mktemp 100755 39728 0:0
359 - ntfsmove 100755 30824 0:0
364 - ps 100755 97408 0:0
290 - bzexe 100755 4877 0:0
2 d .. 040755 4096 0:0
390 - tempfile 100755 10416 0:0
339 - mkfs.btrfs 100755 265928 0:0
309 - dmesg 100755 60680 0:0
374 - sleep 100755 31408 0:0
400 - which 100755 946 0:0
277 - btrfs-find-root 100755 245368 0:0
298 - chacl 100755 14752 0:0
361 - ntfswipe 100755 47752 0:0
408 - zless 100755 2037 0:0
340 - mknod 100755 64496 0:0
348 - ntfs-3g 104755 142032 0:0
385 - systemd-notify 100755 35248 0:0
333 - loginctl 100755 453848 0:0
305 - date 100755 68464 0:0
311 - egrep 100755 28 0:0
284 - btrfstune 100755 249464 0:0
367 - readlink 100755 39632 0:0
377 - sync 100755 31408 0:0
403 - zdiff 100755 5764 0:0
325 - kill 100755 23152 0:0
295 l bzless 120777 6 0:0 -> *\v
296 - bzmore 100755 1297 0:0
399 - wdctl 100755 31376 0:0
375 - ss 100755 115816 0:0
317 - fusermount 104755 30800 0:0
405 - zfgrep 100755 140 0:0
357 - ntfsinfo 100755 55416 0:0
293 - bzip2 100755 31288 0:0
312 - false 100755 27280 0:0
281 - btrfs-show-super 100755 253816 0:0
321 - gzexe 100755 5927 0:0
327 - less 100755 170728 0:0
376 - stty 100755 72496 0:0
318 - getfacl 100755 23752 0:0
356 - ntfsfix 100755 39024 0:0
362 l pidof 120777 14 0:0 -> \xdf\x10
292 - bzgrep 100755 3642 0:0
288 - bzdiff 100755 2140 0:0
336 - lsblk 100755 77280 0:0
396 - uname 100755 31440 0:0
360 - ntfstruncate 100755 38944 0:0
379 l systemd 120777 20 0:0 -> 5\x12
283 l btrfsck 120777 5 0:0 -> \xc8
378 - systemctl 100755 659848 0:0
275 - btrfs-convert 100755 278376 0:0
314 - findmnt 100755 49576 0:0
315 - fsck.btrfs 100755 1185 0:0
319 - grep 100755 211224 0:0
355 - ntfsfallocate 100755 34928 0:0
401 - zcat 100755 1937 0:0
393 - udevadm 100755 449136 0:0
272 - bash 100755 1037528 0:0
344 - mountpoint 100755 14768 0:0
371 - sed 100755 73424 0:0
354 - ntfscmp 100755 34920 0:0
300 - chmod 100755 56112 0:0
383 - systemd-inhibit 100755 281840 0:0
294 - bzip2recover 100755 14616 0:0
381 - systemd-escape 100755 39344 0:0
271 d . 040755 4096 0:0
373 l sh 120777 4 0:0 -> P\x11
380 - systemd-ask-password 100755 51656 0:0
320 - gunzip 100755 2301 0:0
326 - kmod 100755 150600 0:0
282 - btrfs-zero-log 100755 245368 0:0
316 - fuser 100755 36024 0:0
335 - ls 100755 126584 0:0
394 - ulockmgr_server 100755 14328 0:0
388 - tailf 100755 23144 0:0
328 - lessecho 100755 10256 0:0
370 - run-parts 100755 19320 0:0
391 - touch 100755 64432 0:0
347 - networkctl 100755 678496 0:0
358 - ntfsls 100755 31928 0:0
368 - rm 100755 60272 0:0
332 - ln 100755 56152 0:0
329 l lessfile 120777 8 0:0 -> \a\xe
369 - rmdir 100755 39632 0:0
297 - cat 100755 52080 0:0
382 - systemd-hwdb 100755 64080 0:0
299 - chgrp 100755 60272 0:0
342 - more 100755 39768 0:0
404 - zegrep 100755 140 0:0
346 - mv 100755 130488 0:0
372 - setfacl 100755 36296 0:0
280 - btrfs-select-super 100755 245368 0:0
279 - btrfs-map-logical 100755 249464 0:0
supermin: debug: listing directory /lib
4009 d modules 040755 4096 0:0
904 d x86_64-linux-gnu 040755 8192 0:0
472 - klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so 100755 70952 0:0
474 - libhandle.so.1.0.3 100644 14464 0:0
2 d .. 040755 4096 0:0
469 d init 040755 4096 0:0
452 d cryptsetup 040755 4096 0:0
485 d systemd 040755 4096 0:0
451 d . 040755 4096 0:0
475 d lsb 040755 4096 0:0
483 d modprobe.d 040755 4096 0:0
473 l libhandle.so.1 120777 18 0:0 -> \x81\x14
841 d udev 040755 4096 0:0
supermin: debug: listing directory /lib64
1124 l ld-linux-x86-64.so.2 120777 32 0:0 -> \x82:
2 d .. 040755 4096 0:0
1123 d . 040755 4096 0:0
[ 0.483186] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000100
[ 0.483186]
[ 0.484064] CPU: 0 PID: 1 Comm: init Not tainted 4.13.0-26-generic
#29~16.04.2-Ubuntu
[ 0.484806] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
Ubuntu-1.8.2-1ubuntu1 04/01/2014
[ 0.485697] Call Trace:
[ 0.485934] dump_stack+0x63/0x8b
[ 0.486247] panic+0xe4/0x23d
[ 0.486528] do_exit+0xae6/0xaf0
[ 0.486863] ? dput+0x34/0x1f0
[ 0.487153] do_group_exit+0x43/0xb0
[ 0.487488] SyS_exit_group+0x14/0x20
[ 0.487866] entry_SYSCALL_64_fastpath+0x1e/0x81
[ 0.488296] RIP: 0033:0x451579
[ 0.488582] RSP: 002b:00007ffddba48e88 EFLAGS: 00000246 ORIG_RAX:
00000000000000e7
[ 0.489301] RAX: ffffffffffffffda RBX: 000000000186bcb3 RCX:
0000000000451579
[ 0.489956] RDX: 0000000000000008 RSI: 0000000000000001 RDI:
0000000000000001
[ 0.490635] RBP: 000000000186bc30 R08: 000000000000003c R09:
00000000000000e7
[ 0.491318] R10: ffffffffffffffd0 R11: 0000000000000246 R12:
0000000000000000
[ 0.491973] R13: 0044b82fa09b5a53 R14: 0000000000000000 R15:
000000000186bc30
[ 0.492819] Kernel Offset: 0x2f200000 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.493835] Rebooting in 1 seconds..
libguestfs: error: appliance closed the connection unexpectedly, see
earlier error messages
libguestfs: child_cleanup: 0x11102d0: child process died
libguestfs: sending SIGTERM to process 6101
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs-test-tool: failed to launch appliance
libguestfs: closing guestfs handle 0x11102d0 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfstToMJV
I went to the tmp directory and there was no libguestfsToMJV directory to
remove. I apologize if the information provided is not right or should have
been an attachment.
Thanks for any help,
Pasquale
6 years, 8 months
virtdf outputs on host differs from df in guest
by Chen Fan
hi guys,
happy new year!!!
I encountered a problem when we used virt-df command to display my
guest disks useage.
the virt-df command from pkg
libguestfs-tools-c-1.36.3-6.el7_4.3.x86_64,version is virt-df --version
: virt-df 1.36.3rhel=7,release=6.el7_4.3,libvirt
the output in guest with the method referred in
http://libguestfs.org/virt-df.1.html#STATVFS NUMBERS
is:
[root@localhost ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/centos-root 23544596 4335172 19209424 19% /
devtmpfs 931220 0 931220 0% /dev
tmpfs 941860 0 941860 0% /dev/shm
tmpfs 941860 8612 933248 1% /run
tmpfs 941860 0 941860 0% /sys/fs/cgroup
/dev/sda1 508588 133328 375260 27% /boot
tmpfs 188376 0 188376 0% /run/user/0
using scripts:
python -c 'import os; s = os.statvfs ("/"); print s'
posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=5886149,
f_bfree=4802342, f_bavail=4802342, f_files=23556096, f_ffree=23435372,
f_favail=23435372, f_flag=4096, f_namemax=255)
python -c 'import os; s = os.statvfs ("/boot"); print s'
posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=127147,
f_bfree=93815, f_bavail=93815, f_files=512000, f_ffree=511626,
f_favail=511626, f_flag=4096, f_namemax=255)
and then on host using virt-df showing:
# sudo virt-df rpm-build-for-7.2
Filesystem 1K-blocks Used Available Use%
rpm-build-for-7.2:/dev/sda1 508588 107728 400860 22%
rpm-build-for-7.2:/dev/centos/root 23544596 4298384 19246212 19%
using scripts:
# guestfish --ro -d rpm-build-for-7.2 -i statvfs /
bsize: 4096
frsize: 4096
blocks: 5886149
bfree: 4810534
bavail: 4810534
files: 23556096
ffree: 23435372
favail: 23435372
fsid: 64513
flag: 4097
namemax: 255
# sudo guestfish --ro -d rpm-build-for-7.2 -i statvfs /boot
bsize: 4096
frsize: 4096
blocks: 127147
bfree: 100215
bavail: 100215
files: 512000
ffree: 511626
favail: 511626
fsid: 2049
flag: 4097
namemax: 255
we can saw that in guest the statvfs get the value was the same with the
"df" command output. but the bfree/bavail values are different between
using guestfish statvfs on guest and
using statvfs in guest. I want to know whether is this a bug? or Does
same reason cause this appearance?
Thanks,
Chen
6 years, 8 months
Re: [Libguestfs] virt-customize error
by Pino Toscano
Hi,
please keep the replies on the list ...
On Wednesday, 20 December 2017 13:17:43 CET EMILIO ABRAHAM GARRIDO GARCIA wrote:
> The image is a debian image, with two boot images. I can execute this:
>
> # virt-filesystems --long -h --all -a kvm_av_4_4_n0.qcow2
> Name Type VFS Label MBR Size Parent
> /dev/sda1 filesystem ext3 BOOTMGR - 255M -
> /dev/sda2 filesystem ext3 BOOT_1 - 128M -
> /dev/sda3 filesystem ext3 BOOT_2 - 128M -
> /dev/sda4 filesystem unknown - - 1.0K -
> /dev/sda5 filesystem ext3 ROOT_1 - 2.5G -
> /dev/sda6 filesystem ext3 ROOT_2 - 2.5G -
> /dev/sda7 filesystem swap SWAP - 4.0G -
> /dev/sda8 filesystem ext3 VAR - 80G -
> /dev/sda9 filesystem ext3 CONFIG - 64M -
> /dev/sda1 partition - - 83 255M /dev/sda
> /dev/sda2 partition - - 83 128M /dev/sda
> /dev/sda3 partition - - 83 128M /dev/sda
> /dev/sda4 partition - - 0f 1.0K /dev/sda
> /dev/sda5 partition - - 83 2.5G /dev/sda
> /dev/sda6 partition - - 83 2.5G /dev/sda
> /dev/sda7 partition - - 82 4.0G /dev/sda
> /dev/sda8 partition - - 83 80G /dev/sda
> /dev/sda9 partition - - 83 64M /dev/sda
> /dev/sda device - - - 91G -
The above does not tell me anything more than the log you already sent.
What I would like to know is what is _inside_ each partition, how the
various partitions related with each other (e.g. mount points/fstab),
etc.
--
Pino Toscano
6 years, 8 months
[PATCH 0/1] hivexregedit: add --max-depth option for exports
by Michael Meyer
This new option allows you to only export what you care about
from a registry hive by specifying a max recursion depth.
Michael Meyer (1):
hivexregedit: add --max-depth option for exports
perl/lib/Win/Hivex/Regedit.pm | 14 ++++++++++++--
regedit/hivexregedit | 18 +++++++++++++++++-
2 files changed, 29 insertions(+), 3 deletions(-)
--
2.14.3 (Apple Git-98)
6 years, 8 months