2017-07-29 20:17 GMT+08:00 lampahome <pahome.chen(a)mirlab.org>:
2017-07-29 18:00 GMT+08:00 Richard W.M. Jones <rjones(a)redhat.com>:
>
> > I download the newset package and extract in my
> > path(/share/CACHEDEV1_DATA/appliance/) and set env
> > It doesn't work.
> > and I run the libugestfs-test-tool:
>
> Please don't provide partial information. Include the command you
> type and *all* the output, without editing or removing any part of it.
>
> I update the toatl situation:
I download the
http://download.libguestfs.org/binaries/appliance/
appliance-1.36.1.tar.xz and extract in /share/CACHEDEV1_DATA/appliance
$export LIBGUESTFS_PATH=/share/CACHEDEV1_DATA/appliance
$git clone
https://github.com/libguestfs/libguestfs.git
$cd ~/git/libguestfs/
$./autogensh --disable-appliance --disable-daemon
$make
$make install DESTDIR=/share/CACHEDEV1_DATA/guestfk // I want the
executable binary
$cd /share/CACHEDEV1_DATA/guestfk/usr/local/bin/
*// create an qcow2 image*
$[/share/CACHEDEV1_DATA/guestfk/usr/local/bin] qemu-img create -f qcow2
disk.qcow2 16G
$[/share/CACHEDEV1_DATA/guestfk/usr/local/bin] # ./guestfish
./guestfish: /usr/lib/libtinfo.so.5: no version information available
(required by ./guestfish)
./guestfish: /usr/lib/libtinfo.so.5: no version information available
(required by /share/CACHEDEV1_DATA/alllib4guestfs/libreadline.so.6)
./guestfish: /usr/lib/libsasl2.so.2: no version information available
(required by /share/CACHEDEV1_DATA/alllib4guestfs/libvirt.so.0)
./guestfish: /usr/lib/libdbus-1.so.3: no version information available
(required by /share/CACHEDEV1_DATA/alllib4guestfs/libvirt.so.0)
./guestfish: /usr/lib/libldap_r-2.4.so.2: no version information available
(required by /share/CACHEDEV1_DATA/alllib4guestfs/libcurl-gnutls.so.4)
./guestfish: /lib/liblber-2.4.so.2: no version information available
(required by /share/CACHEDEV1_DATA/alllib4guestfs/libcurl-gnutls.so.4)
./guestfish: /usr/lib/libgpg-error.so.0: no version information available
(required by /share/CACHEDEV1_DATA/alllib4guestfs/libgcrypt.so.20)
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_path "/share/CACHEDEV1_DATA/appliance/"
libguestfs: trace: set_path = 0
libguestfs: create: flags = 0, handle = 0x138b970, program = guestfish
libguestfs: trace: set_pgroup true
libguestfs: trace: set_pgroup = 0
Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.
Type: ‘help’ for help on commands
‘man’ to read the manual
‘quit’ to quit the shell
<fs> add disk.qcow2
libguestfs: trace: add_drive
"disk.qcow2"
libguestfs: trace: add_drive = 0
<fs> run
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=guestfish
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/libguestfsdGOY5b
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: [00000ms] 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.3
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: [00025ms] finished testing qemu features
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
[00025ms] /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 /share/CACHEDEV1_DATA/appliance//kernel \
-initrd /share/CACHEDEV1_DATA/appliance//initrd \
-device virtio-scsi-pci,id=scsi \
-drive
file=/share/CACHEDEV1_DATA/guestfk/usr/local/bin/disk.qcow2,cache=writeback,id=hd0,if=none
\
-device scsi-hd,drive=hd0 \
-drive
file=/share/CACHEDEV1_DATA/appliance//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/libguestfsdGOY5b/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'
\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 11/03/11
SGABIOS $Id$ (pbonzini(a)yakj.usersys.redhat.com) Thu Nov 3 13:33:51 UTC 2011
Term: 80x24
4 0
SeaBIOS (version
rel-1.8.2-4-g1569f11-20170607_180253-runner-ed430e40-project-10-concurrent-1)
Booting from ROM...
Probing EDD (edd=off to disable)... ok
\x1b[2J[ 0.000000] Linux version 4.9.9-200.fc25.x86_64+debug (
mockbuild(a)bkernel01.phx2.fedoraproject.org) (gcc version 6.3.1 20161221
(Red Hat 6.3.1-1) (GCC) ) #1 SMP Thu Feb 9 17:13:07 UTC 2017
[ 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] 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] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-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] SMBIOS 2.8 present.
[ 0.000000] Hypervisor detected: KVM
[ 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 0x000f65d0-0x000f65df] mapped at
[ffff8f6f000f65d0]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] RAMDISK: [mem 0x1f365000-0x1f3dffff]
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3dffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x1f34e000-0x1f364fff]
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:1f33e001, primary cpu clock
[ 0.000000] kvm-clock: using sched offset of 4076 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: 1910969940391419 ns
[ 0.000000] setup_percpu: NR_CPUS:1024 nr_cpumask_bits:1 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] percpu: Embedded 485 pages/cpu @ffff8f6f1f000000 s1948312
r8192 d30056 u2097152
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1f00db00
[ 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: 464324K/511480K available (9336K kernel code, 1640K
rwdata, 3600K rodata, 3716K init, 16460K bss, 47156K reserved, 0K
cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Running RCU self tests
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] \tRCU lockdep checking is enabled.
[ 0.000000] \tBuild-time adjustment of leaf fanout to 64.
[ 0.000000] \tRCU restricting CPUs from NR_CPUS=1024 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
[ 0.000000] kmemleak: Kernel memory leak detector disabled
[ 0.000000] NR_IRQS:65792 nr_irqs:256 16
[ 0.000000] \tOffload RCU callbacks from all CPUs
[ 0.000000] \tOffload RCU callbacks from CPUs: 0.
[ 0.000000] Console: colour *CGA 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc.,
Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.000000] ... CHAINHASH_SIZE: 32768
[ 0.000000] memory used by lock dependency info: 8671 kB
[ 0.000000] per task-struct memory footprint: 2688 bytes
[ 0.000000] tsc: Detected 3192.746 MHz processor
[ 0.080115] Calibrating delay loop (skipped) preset value.. 6385.49
BogoMIPS (lpj=3192746)
[ 0.080746] pid_max: default: 32768 minimum: 301
[ 0.081218] Security Framework initialized
[ 0.081525] Yama: becoming mindful.
[ 0.081801] SELinux: Disabled at boot.
[ 0.082248] Dentry cache hash table entries: 65536 (order: 7, 524288
bytes)
[ 0.083081] Inode-cache hash table entries: 32768 (order: 6, 262144
bytes)
[ 0.083781] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.084303] Mountpoint-cache hash table entries: 1024 (order: 1, 8192
bytes)
[ 0.085881] Disabling memory control group subsystem
[ 0.086371] mce: CPU supports 10 MCE banks
[ 0.086731] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
[ 0.087172] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[ 0.107574] Freeing SMP alternatives memory: 32K (ffffffffa933d000 -
ffffffffa9345000)
[ 0.111396] ftrace: allocating 31375 entries in 123 pages
[ 0.140108] smpboot: Max logical packages: 1
[ 0.140554] x2apic enabled
[ 0.140941] Switched APIC routing to physical x2apic.
[ 0.142100] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.142564] smpboot: CPU0: Intel(R) Xeon(R) CPU E3-1225 V2 @ 3.20GHz
(family: 0x6, model: 0x3a, stepping: 0x9)
[ 0.143266] Performance Events: IvyBridge events, Intel PMU driver.
[ 0.143785] ... version: 2
[ 0.144056] ... bit width: 48
[ 0.144336] ... generic registers: 8
[ 0.144679] ... value mask: 0000ffffffffffff
[ 0.145042] ... max period: 000000007fffffff
[ 0.145420] ... fixed-purpose events: 3
[ 0.145732] ... event mask: 00000007000000ff
[ 0.147620] x86: Booted up 1 node, 1 CPUs
[ 0.147923] smpboot: Total of 1 processors activated (6385.49 BogoMIPS)
[ 0.148999] devtmpfs: initialized
[ 0.149480] x86/mm: Memory block size: 128MB
[ 0.152281] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.153047] atomic64_test: passed for x86-64 platform with CX8 and with
SSE
[ 0.153548] pinctrl core: initialized pinctrl subsystem
[ 0.154051] RTC time: 16:51:00, date: 07/29/17
[ 0.154708] NET: Registered protocol family 16
[ 0.155735] cpuidle: using governor menu
[ 0.156405] PCI: Using configuration type 1 for base access
[ 0.156890] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT
off
[ 0.163808] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.164986] ACPI: Interpreter disabled.
[ 0.165550] vgaarb: loaded
[ 0.165964] SCSI subsystem initialized
[ 0.166549] usbcore: registered new interface driver usbfs
[ 0.166965] usbcore: registered new interface driver hub
[ 0.167412] usbcore: registered new device driver usb
[ 0.168017] PCI: Probing PCI hardware
[ 0.168425] PCI host bridge to bus 0000:00
[ 0.168718] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.169178] pci_bus 0000:00: root bus resource [mem
0x00000000-0xffffffffff]
[ 0.169692] pci_bus 0000:00: No busn resource found for root bus, will
use [bus 00-ff]
[ 0.174988] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io
0x01f0-0x01f7]
[ 0.175492] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.175942] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io
0x0170-0x0177]
[ 0.176465] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.177386] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by
PIIX4 ACPI
[ 0.177895] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by
PIIX4 SMB
[ 0.193895] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[ 0.194836] NetLabel: Initializing
[ 0.195100] NetLabel: domain hash size = 128
[ 0.195417] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.195802] NetLabel: unlabeled traffic allowed by default
[ 0.196475] clocksource: Switched to clocksource kvm-clock
[ 0.235928] VFS: Disk quotas dquot_6.6.0
[ 0.236292] VFS: Dquot-cache hash table entries: 512 (order 0, 4096
bytes)
[ 0.237029] pnp: PnP ACPI: disabled
[ 0.242938] NET: Registered protocol family 2
[ 0.243714] TCP established hash table entries: 4096 (order: 3, 32768
bytes)
[ 0.244293] TCP bind hash table entries: 4096 (order: 6, 327680 bytes)
[ 0.244975] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.245542] UDP hash table entries: 256 (order: 3, 49152 bytes)
[ 0.245982] UDP-Lite hash table entries: 256 (order: 3, 49152 bytes)
[ 0.246618] NET: Registered protocol family 1
[ 0.246932] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.247371] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.247926] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.248623] Unpacking initramfs...
[ 0.250899] Freeing initrd memory: 492K (ffff8f6f1f365000 -
ffff8f6f1f3e0000)
[ 0.270340] DMA-API: preallocated 65536 debug entries
[ 0.270730] DMA-API: debugging enabled by kernel config
[ 0.271308] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[ 0.272245] Scanning for low memory corruption every 60 seconds
[ 0.273592] futex hash table entries: 256 (order: 3, 32768 bytes)
[ 0.274102] audit: initializing netlink subsys (disabled)
[ 0.274543] audit: type=2000 audit(1501347060.749:1): initialized
[ 0.275607] Initialise system trusted keyrings
[ 0.276076] cryptomgr_test (31) used greatest stack depth: 14448 bytes
left
[ 0.276768] workingset: timestamp_bits=37 max_order=17 bucket_order=0
[ 0.285147] zbud: loaded
[ 0.317740] cryptomgr_test (34) used greatest stack depth: 14168 bytes
left
[ 0.318613] cryptomgr_test (39) used greatest stack depth: 14032 bytes
left
[ 0.319775] cryptomgr_test (44) used greatest stack depth: 13968 bytes
left
[ 0.321090] cryptomgr_test (47) used greatest stack depth: 13232 bytes
left
[ 0.324188] NET: Registered protocol family 38
[ 0.324526] Key type asymmetric registered
[ 0.324814] Asymmetric key parser 'x509' registered
[ 0.325292] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 249)
[ 0.326019] io scheduler noop registered
[ 0.326298] io scheduler deadline registered
[ 0.326755] io scheduler cfq registered (default)
[ 0.329056] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.329459] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.330324] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.353278] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200)
is a 16550A
[ 0.359303] Non-volatile memory driver v1.3
[ 0.359704] Linux agpgart interface v0.103
[ 0.362607] scsi host0: ata_piix
[ 0.363185] scsi host1: ata_piix
[ 0.363588] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[ 0.364082] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[ 0.365052] libphy: Fixed MDIO Bus: probed
[ 0.365499] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.365945] ehci-pci: EHCI PCI platform driver
[ 0.366318] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.366749] ohci-pci: OHCI PCI platform driver
[ 0.367079] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.367695] usbcore: registered new interface driver usbserial
[ 0.368112] usbcore: registered new interface driver usbserial_generic
[ 0.368623] usbserial: USB Serial support registered for generic
[ 0.369095] i8042: PNP: No PS/2 controller found. Probing ports directly.
[ 0.370210] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.370611] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.371618] mousedev: PS/2 mouse device common for all mice
[ 0.372520] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 0.374314] input: VirtualPS/2 VMware VMMouse as
/devices/platform/i8042/serio1/input/input3
[ 0.375375] input: VirtualPS/2 VMware VMMouse as
/devices/platform/i8042/serio1/input/input2
[ 0.376371] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.376928] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 0.377534] device-mapper: uevent: version 1.0.3
[ 0.378298] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised:
dm-devel(a)redhat.com
[ 0.379361] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.379862] usbcore: registered new interface driver usbhid
[ 0.380254] usbhid: USB HID core driver
[ 0.380628] drop_monitor: Initializing network drop monitor service
[ 0.381199] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.381669] Initializing XFRM netlink socket
[ 0.382464] NET: Registered protocol family 10
[ 0.383583] mip6: Mobile IPv6
[ 0.383837] NET: Registered protocol family 17
[ 0.384562] microcode: sig=0x306a9, pf=0x1, revision=0x1
[ 0.385044] microcode: Microcode Update Driver: v2.01 <
tigran(a)aivazian.fsnet.co.uk>, Peter Oruba
[ 0.385671] AVX version of gcm_enc/dec engaged.
[ 0.386001] AES CTR mode by8 optimization enabled
[ 0.389151] registered taskstats version 1
[ 0.389461] Loading compiled-in X.509 certificates
[ 0.390269] alg: No test for pkcs1pad(rsa,sha256)
(pkcs1pad(rsa-generic,sha256))
[ 0.391573] Loaded X.509 cert 'Fedora kernel signing key:
36042b3216424972ddaaa9020e749041223ba8ca'
[ 0.392290] zswap: loaded using pool lzo/zbud
[ 0.399116] Key type big_key registered
[ 0.399587] kworker/u2:2 (121) used greatest stack depth: 13072 bytes
left
[ 0.400149] Key type encrypted registered
[ 0.401249] Magic number: 9:223:895
[ 0.401726] rtc_cmos rtc_cmos: setting system clock to 2017-07-29
16:51:00 UTC (1501347060)
[ 0.526839] Freeing unused kernel memory: 3716K (ffffffffa8f9c000 -
ffffffffa933d000)
[ 0.527404] Write protecting the kernel read-only data: 14336k
[ 0.528533] Freeing unused kernel memory: 888K (ffff8f6f15922000 -
ffff8f6f15a00000)
[ 0.529953] Freeing unused kernel memory: 496K (ffff8f6f15d84000 -
ffff8f6f15e00000)
[ 0.535375] x86/mm: Checked W+X mappings: passed, no W+X pages found.
supermin: mounting /proc
supermin: ext2 mini initrd starting up: 5.1.17 dietlibc
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: uptime: 0.42 0.15
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crc32c-intel.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
supermin: internal insmod nfit.ko
insmod: init_module: nfit.ko: No such device
supermin: internal insmod virtio.ko
supermin: internal insmod virtio_ring.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod virtio_console.ko
supermin: internal insmod virtio_net.ko
supermin: internal insmod nd_btt.ko
supermin: internal insmod nd_pmem.ko
supermin: internal insmod virtio_scsi.ko
[ 0.560111] random: fast init done
supermin: internal insmod virtio_balloon.ko
supermin: internal insmod virtio_input.ko
supermin: internal insmod virtio_mmio.ko
supermin: internal insmod virtio_pci.ko
[ 0.567747] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A ->
IRQ 10
[ 0.568269] virtio-pci 0000:00:02.0: virtio_pci: leaving for legacy
driver
[ 0.569815] scsi host2: Virtio SCSI HBA
[ 0.570696] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A ->
IRQ 11
[ 0.571230] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy
driver
[ 0.582865] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK
2.3. PQ: 0 ANSI: 5
[ 0.584802] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK
2.3. PQ: 0 ANSI: 5
[ 0.687639] sd 2:0:0:0: [sda] 33554432 512-byte logical blocks: (17.2
GB/16.0 GiB)
[ 0.688591] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 0.689232] sd 2:0:0:0: [sda] Write Protect is off
[ 0.689752] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 0.691033] sd 2:0:1:0: [sdb] 3209216 512-byte logical blocks: (1.64
GB/1.53 GiB)
[ 0.691901] sd 2:0:1:0: [sdb] Write Protect is off
[ 0.692399] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 0.693808] sd 2:0:1:0: Attached scsi generic sg1 type 0
[ 0.696436] sd 2:0:1:0: [sdb] Attached SCSI disk
[ 0.696934] sd 2:0:0:0: [sda] Attached SCSI disk
supermin: internal insmod crc-itu-t.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.704569] EXT4-fs (sdb): mounting ext2 file system using the ext4
subsystem
[ 0.705256] EXT4-fs (sdb): bad geometry: block count 1048576 exceeds
size of device (401152 blocks)
mount: /root: Invalid argument
[ 0.706637] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000100
[ 0.706637]
[ 0.707277] CPU: 0 PID: 1 Comm: init Not tainted
4.9.9-200.fc25.x86_64+debug #1
[ 0.707793] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.8.2-4-g1569f11-20170607_180253-runner-ed430e40-project-10-concurrent-1
04/01
[ 0.708748] ffff9c72800cbe38 ffffffffa8476d33 ffff8f6f1de30000
ffffffffa8c53b50
[ 0.709299] ffff9c72800cbec0 ffffffffa81ff2ab ffffffff00000010
ffff9c72800cbed0
[ 0.709867] ffff9c72800cbe68 000000009422b309 0000000000000046
0000000000000100
[ 0.710417] Call Trace:
[ 0.710635] [<ffffffffa8476d33>] dump_stack+0x86/0xc3
[ 0.710989] [<ffffffffa81ff2ab>] panic+0xe9/0x237
[ 0.711323] [<ffffffffa80b60cb>] do_exit+0xcbb/0xcf0
[ 0.711691] [<ffffffffa8111745>] ? trace_hardirqs_on_caller+0xf5/0x1b0
[ 0.712161] [<ffffffffa80b6137>] SyS_exit+0x17/0x20
[ 0.712502] [<ffffffffa8918cc1>] entry_SYSCALL_64_fastpath+0x1f/0xc2
[ 0.712987] Kernel Offset: 0x27000000 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.713722] Rebooting in 1 seconds..libguestfs: error: appliance closed
the connection unexpectedly, see earlier error messages
libguestfs: child_cleanup: 0x138b970: child process died
libguestfs: sending SIGTERM to process 10768
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
<fs> quit
libguestfs: trace: shutdown
libguestfs: trace: shutdown = 0
libguestfs: trace: close
libguestfs: closing guestfs handle 0x138b970 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsdGOY5b
That's all, why appliance closed the connection unexpectedly? and it
shows mount:
/root: Invalid argument previously