[Libguestfs] Issue with virt-builder on Ubuntu 14.04

Shawn Greig shawn at greigs.ca
Tue Jun 30 15:41:45 UTC 2015


Rich you're right, I forgot to run make. I added 'set -x' and reran make
and then ran 'virt-builder -v -x' and it seems to hang at dhclient (see
attached log).

Shawn

On Tue, Jun 30, 2015 at 9:17 AM, Richard W.M. Jones <rjones at redhat.com>
wrote:

> On Tue, Jun 30, 2015 at 09:07:25AM -0600, Shawn Greig wrote:
> > - I tried forcing TCG and it gets to the same spot and stops.
>
> That excludes the possibility that it's a KVM or kernel bug
> (probably).
>
> > - running make quickcheck passes the tests (see attached)
> >
> > - I tried a different kernel (3.13.0-49-generic) and again it passes the
> > quickcheck but virt-builder hangs.
>
> Add 'virt-builder -v -x' flags and see where it's hanging.
>
> > - I added 'set -x' to the top of the init script and I don't see any
> > additional output (see attached)
>
> Somehow this didn't have any effect.  You probably didn't do a 'make'
> before the 'make quickcheck'.  It would still be useful to see the
> 'set -x' output to see if a particular command is hanging.
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20150630/c42b8af6/attachment.htm>
-------------- next part --------------
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_tmpdir "/home/shawn/software/libguestfs-1.28.10/tmp"
libguestfs: trace: set_tmpdir = 0
libguestfs: trace: set_cachedir "/home/shawn/software/libguestfs-1.28.10/tmp"
libguestfs: trace: set_cachedir = 0
libguestfs: trace: set_path "/home/shawn/software/libguestfs-1.28.10/appliance"
libguestfs: trace: set_path = 0
libguestfs: trace: set_backend_settings "force_tcg"
libguestfs: trace: set_backend_settings = 0
libguestfs: create: flags = 0, handle = 0x13baac0, program = virt-builder
libguestfs: trace: set_trace true
libguestfs: trace: set_trace = 0
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_network true
libguestfs: trace: set_network = 0
libguestfs: trace: set_selinux false
libguestfs: trace: set_selinux = 0
libguestfs: trace: add_drive "ubuntu-14.04.img" "format:raw" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/home/shawn/software/libguestfs-1.28.10/tmp"
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version *>
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=virt-builder
libguestfs: launch: version=1.28.10
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=/home/shawn/software/libguestfs-1.28.10/tmp/libguestfsKdxnV4
libguestfs: launch: umask=0002
libguestfs: launch: euid=1000
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = "1"
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/home/shawn/software/libguestfs-1.28.10/tmp"
libguestfs: [00006ms] begin building supermin appliance
libguestfs: [00006ms] run supermin
libguestfs: command: run: /home/shawn/software/supermin-5.1.13/src/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /home/shawn/software/libguestfs-1.28.10/tmp/.guestfs-1000/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /home/shawn/software/libguestfs-1.28.10/appliance/supermin.d
libguestfs: command: run: \ -o /home/shawn/software/libguestfs-1.28.10/tmp/.guestfs-1000/appliance.d
supermin: version: 5.1.13
supermin: package handler: debian/dpkg
supermin: acquiring lock on /home/shawn/software/libguestfs-1.28.10/tmp/.guestfs-1000/lock
supermin: if-newer: output does not need rebuilding
libguestfs: [00012ms] finished building supermin appliance
libguestfs: [00012ms] begin testing qemu features
libguestfs: command: run: /usr/bin/kvm
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -help
libguestfs: command: run: /usr/bin/kvm
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -version
libguestfs: qemu version 2.0
libguestfs: command: run: /usr/bin/kvm
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [00056ms] finished testing qemu features
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: command: run: dmesg | grep -Eoh 'lpj=[[:digit:]]+'
libguestfs: read_lpj_from_dmesg: calculated lpj=13601324
[00065ms] /usr/bin/kvm \
    -global virtio-blk-pci.scsi=off \
    -nodefconfig \
    -enable-fips \
    -nodefaults \
    -display none \
    -machine accel=tcg \
    -m 500 \
    -no-reboot \
    -rtc driftfix=slew \
    -no-hpet \
    -global kvm-pit.lost_tick_policy=discard \
    -kernel /home/shawn/software/libguestfs-1.28.10/tmp/.guestfs-1000/appliance.d/kernel \
    -initrd /home/shawn/software/libguestfs-1.28.10/tmp/.guestfs-1000/appliance.d/initrd \
    -device virtio-scsi-pci,id=scsi \
    -drive file=/home/shawn/software/libguestfs-1.28.10/ubuntu-14.04.img,cache=unsafe,format=raw,id=hd0,if=none \
    -device scsi-hd,drive=hd0 \
    -drive file=/home/shawn/software/libguestfs-1.28.10/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=/home/shawn/software/libguestfs-1.28.10/tmp/libguestfsKdxnV4/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -netdev user,id=usernet,net=169.254.0.0/16 \
    -device virtio-net-pci,netdev=usernet \
    -append 'panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=13601324 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen'
Could not open option rom 'sgabios.bin': No such file or directory
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.13.0-49-generic (buildd at akateko) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 (Ubuntu 3.13.0-49.83-generic 3.13.11-ckt17)
[    0.000000] Command line: panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=13601324 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    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-0x000000001f3fdfff] usable
[    0.000000] BIOS-e820: [mem 0x000000001f3fe000-0x000000001f3fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x1f3fe max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] found SMP MP-table at [mem 0x000f0b60-0x000f0b6f] mapped at [ffff8800000f0b60]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x1f000000-0x1f1fffff]
[    0.000000] init_memory_mapping: [mem 0x1c000000-0x1effffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff]
[    0.000000] init_memory_mapping: [mem 0x1f200000-0x1f3fdfff]
[    0.000000] RAMDISK: [mem 0x1f2f0000-0x1f3effff]
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x1f3fdfff]
[    0.000000]   NODE_DATA [mem 0x1f3f9000-0x1f3fdfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x1f3fdfff]
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] Intel MultiProcessor Specification v1.4
[    0.000000] MPTABLE: OEM ID: BOCHSCPU
[    0.000000] MPTABLE: Product ID: 0.1
[    0.000000] MPTABLE: APIC at: 0xFEE00000
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] Processors: 1
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0x1f400000-0xfffbffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88001f000000 s82368 r8192 d24128 u2097152
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 125879
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=13601324 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen
[    0.000000] Disabling memory control group subsystem
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 485652K/511600K available (7386K kernel code, 1145K rwdata, 3408K rodata, 1340K init, 1444K bss, 25948K reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] \tRCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] \tRCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[    0.000000] \tOffload RCU callbacks from all CPUs
[    0.000000] \tOffload RCU callbacks from CPUs: 0.
[    0.000000] NR_IRQS:16640 nr_irqs:256 16
[    0.000000] Console: colour *CGA 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 3400.002 MHz processor
[    0.008353] Calibrating delay loop (skipped) preset value.. 6800.66 BogoMIPS (lpj=13601324)
[    0.008803] pid_max: default: 32768 minimum: 301
[    0.010291] Security Framework initialized
[    0.012926] AppArmor: AppArmor initialized
[    0.013026] Yama: becoming mindful.
[    0.016484] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.017661] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.018201] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.018348] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.024435] Initializing cgroup subsys memory
[    0.024865] Initializing cgroup subsys devices
[    0.024982] Initializing cgroup subsys freezer
[    0.025105] Initializing cgroup subsys blkio
[    0.025201] Initializing cgroup subsys perf_event
[    0.025312] Initializing cgroup subsys hugetlb
[    0.027102] mce: CPU supports 10 MCE banks
[    0.028081] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.028081] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.028081] tlb_flushall_shift: -1
[    0.226319] Freeing SMP alternatives memory: 32K (ffffffff81e6f000 - ffffffff81e77000)
[    0.231859] ftrace: allocating 28567 entries in 112 pages
[    0.283289] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.283572] smpboot: CPU0: AMD QEMU Virtual CPU version 2.0.0 (fam: 06, model: 06, stepping: 03)
[    0.388952] Performance Events: Broken PMU hardware detected, using software events only.
[    0.389239] Failed to access perfctr msr (MSR c0010004 is 0)
[    0.403528] x86: Booted up 1 node, 1 CPUs
[    0.403645] smpboot: Total of 1 processors activated (6800.66 BogoMIPS)
[    0.407496] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.412730] devtmpfs: initialized
[    0.424318] EVM: security.selinux
[    0.424378] EVM: security.SMACK64
[    0.424421] EVM: security.ima
[    0.424458] EVM: security.capability
[    0.430629] pinctrl core: initialized pinctrl subsystem
[    0.433435] regulator-dummy: no parameters
[    0.434019] RTC time: 15:37:37, date: 06/30/15
[    0.435106] NET: Registered protocol family 16
[    0.437672] cpuidle: using governor ladder
[    0.437803] cpuidle: using governor menu
[    0.440653] PCI: Using configuration type 1 for base access
[    0.449642] bio: create slab <bio-0> at 0
[    0.451387] ACPI: Interpreter disabled.
[    0.453387] vgaarb: loaded
[    0.455520] SCSI subsystem initialized
[    0.456593] usbcore: registered new interface driver usbfs
[    0.456881] usbcore: registered new interface driver hub
[    0.457225] usbcore: registered new device driver usb
[    0.458716] PCI: Probing PCI hardware
[    0.459245] PCI host bridge to bus 0000:00
[    0.459605] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.459733] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffff]
[    0.459844] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.465040] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.465150] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.478516] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.482952] NetLabel: Initializing
[    0.483012] NetLabel:  domain hash size = 128
[    0.483066] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.483806] NetLabel:  unlabeled traffic allowed by default
[    0.485230] Switched to clocksource refined-jiffies
[    0.537463] AppArmor: AppArmor Filesystem Enabled
[    0.537832] pnp: PnP ACPI: disabled
[    0.550640] NET: Registered protocol family 2
[    0.553759] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.553966] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.554341] TCP: Hash tables configured (established 4096 bind 4096)
[    0.554614] TCP: reno registered
[    0.554742] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.555061] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.556839] NET: Registered protocol family 1
[    0.557080] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.557192] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.557353] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.560648] Trying to unpack rootfs image as initramfs...
[    0.568529] Freeing initrd memory: 1024K (ffff88001f2f0000 - ffff88001f3f0000)
[    0.569530] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.570424] microcode: AMD CPU family 0x6 not supported
[    0.570592] Scanning for low memory corruption every 60 seconds
[    0.573103] Initialise system trusted keyring
[    0.573983] audit: initializing netlink socket (disabled)
[    0.574460] type=2000 audit(1435678656.572:1): initialized
[    0.649445] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.657529] zbud: loaded
[    0.658435] VFS: Disk quotas dquot_6.5.2
[    0.658775] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.663851] fuse init (API version 7.22)
[    0.664703] msgmni has been set to 950
[    0.665395] Key type big_key registered
[    0.670830] Key type asymmetric registered
[    0.670949] Asymmetric key parser 'x509' registered
[    0.671399] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.672209] io scheduler noop registered
[    0.672296] io scheduler deadline registered (default)
[    0.672689] io scheduler cfq registered
[    0.673886] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.674495] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.675186] ipmi message handler version 39.2
[    0.677128] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 34
[    0.678241] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 35
[    0.678992] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 35
[    0.681056] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.684283] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.702771] Linux agpgart interface v0.103
[    0.712855] brd: module loaded
[    0.717393] loop: module loaded
[    0.722829] scsi0 : ata_piix
[    0.723589] scsi1 : ata_piix
[    0.724284] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc080 irq 14
[    0.724416] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc088 irq 15
[    0.727515] libphy: Fixed MDIO Bus: probed
[    0.730518] tun: Universal TUN/TAP device driver, 1.6
[    0.730611] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[    0.734220] PPP generic driver version 2.4.2
[    0.734748] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.734884] ehci-pci: EHCI PCI platform driver
[    0.735070] ehci-platform: EHCI generic platform driver
[    0.735220] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.735475] ohci-pci: OHCI PCI platform driver
[    0.735648] ohci-platform: OHCI generic platform driver
[    0.735802] uhci_hcd: USB Universal Host Controller Interface driver
[    0.736435] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.738316] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.738500] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.739687] mousedev: PS/2 mouse device common for all mice
[    0.741978] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.744901] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.745250] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    0.746221] device-mapper: uevent: version 1.0.3
[    0.747208] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel at redhat.com
[    0.747559] ledtrig-cpu: registered to indicate activity on CPUs
[    0.748839] TCP: cubic registered
[    0.749634] NET: Registered protocol family 10
[    0.753387] NET: Registered protocol family 17
[    0.753643] Key type dns_resolver registered
[    0.755486] Loading compiled-in X.509 certificates
[    0.761587] Loaded X.509 cert 'Magrathea: Glacier signing key: 6fca287c2573d09ca32c1980c0d763777a63d4f5'
[    0.761938] registered taskstats version 1
[    0.766357] Key type trusted registered
[    0.769115] Key type encrypted registered
[    0.769224] AppArmor: AppArmor sha1 policy hashing enabled
[    0.769386] IMA: No TPM chip found, activating TPM-bypass!
[    0.771187] regulator-dummy: incomplete constraints, leaving on
[    0.771858]   Magic number: 3:427:640
[    0.772723] rtc_cmos rtc_cmos: setting system clock to 2015-06-30 15:37:37 UTC (1435678657)
[    0.773185] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.773279] EDD information not available.
[    0.913045] Freeing unused kernel memory: 1340K (ffffffff81d20000 - ffffffff81e6f000)
[    0.913189] Write protecting the kernel read-only data: 12288k
[    0.922646] Freeing unused kernel memory: 796K (ffff880001739000 - ffff880001800000)
[    0.930256] Freeing unused kernel memory: 688K (ffff880001b54000 - ffff880001c00000)
supermin: mounting /proc
supermin: uptime: 0.96 0.38
supermin: ext2 mini initrd starting up: 5.1.13 zlib xz
supermin: cmdline: panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=13601324 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
[    0.984497] PCLMULQDQ-NI instructions are not detected.
insmod: init_module: crc32-pclmul.ko: No such device
supermin: internal insmod crct10dif-pclmul.ko
insmod: init_module: crct10dif-pclmul.ko: No such device
supermin: internal insmod crc32.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod virtio_scsi.ko
[    1.005854] scsi2 : Virtio SCSI HBA
[    1.011398] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.0. PQ: 0 ANSI: 5
[    1.012720] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    2.0. PQ: 0 ANSI: 5
[    1.085750] sd 2:0:0:0: [sda] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    1.086668] sd 2:0:0:0: [sda] Write Protect is off
[    1.087040] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.092860] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    1.094101] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    1.094570] sd 2:0:1:0: [sdb] Write Protect is off
[    1.094751] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.098160] sd 2:0:1:0: Attached scsi generic sg1 type 0
[    1.098531]  sdb: unknown partition table
[    1.101321]  sda: sda1 sda2 < sda5 >
[    1.103344] sd 2:0:1:0: [sdb] Attached SCSI disk
[    1.105122] sd 2:0:0:0: [sda] Attached SCSI disk
supermin: internal insmod crc-ccitt.ko
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
[    1.144298] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
[    1.177998] EXT4-fs (sdb): mounted filesystem without journal. Opts:
supermin: chroot
+ echo Starting /init script ...
Starting /init script ...
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ export PATH
+ RUNLEVEL=S
+ PREVLEVEL=N
+ export RUNLEVEL PREVLEVEL
+ ldconfig
[    1.568478] Switched to clocksource tsc
+ f=/lib64/libSegFault.so
+ [ -f /lib64/libSegFault.so ]
+ f=/lib/libSegFault.so
+ [ -f /lib/libSegFault.so ]
+ mkdir -p /sysroot
[    3.229556] random: nonblocking pool is initialized
+ [ ! -d /proc ]
+ mkdir -p /proc
+ mount -t proc /proc /proc
+ [ ! -d /sys ]
+ mkdir -p /sys
+ mount -t sysfs /sys /sys
+ mkdir -p /run
+ mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run
+ mkdir -p /run/lock
+ ln -s ../run/lock /var/lock
+ ln -s /proc/mounts /etc/mtab
ln: failed to create symbolic link '/etc/mtab': File exists
+ mount -t devtmpfs /dev /dev
+ mkdir -p /run/tmpfiles.d
+ kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
+ systemd-tmpfiles --prefix=/dev --create --boot
/init: 55: /init: systemd-tmpfiles: not found
+ [ -x /sbin/udevd ]
+ UDEVD=/sbin/udevd
+ [ -x /lib/udev/udevd ]
+ [ -x /lib/systemd/systemd-udevd ]
+ UDEVD=/lib/systemd/systemd-udevd
+ [ -x /usr/lib/systemd/systemd-udevd ]
+ [ -x /usr/lib/udev/udevd ]
+ [ -z /lib/systemd/systemd-udevd ]
+ /lib/systemd/systemd-udevd --daemon
[    3.837842] systemd-udevd[88]: starting version 204
+ udevadm trigger
+ udevadm settle --timeout=600
[    4.745706] kvm: Nested Virtualization enabled
+ grep -sq selinux=1 /proc/cmdline
+ echo 300
+ echo 300
/init: 79: /init: cannot create /sys/block/{h,s,ub,v}d*/queue/scheduler: Directory nonexistent
+ echo noop
+ hwclock -u -s
+ ip addr add 127.0.0.1/8 brd + dev lo scope host
+ ip link set dev lo up
[    5.357032] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2
+ grep -sq guestfs_network=1 /proc/cmdline
+ dhclient --version
+ dhclient
/sbin/dhclient-script: line 31: /etc/fstab: No such file or directory


More information about the Libguestfs mailing list