Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nik@ivanets libguestfs]$ LIBGUESTFS_DEBUG=1 ./run guestfish
- libguestfs: create: flags = 0, handle = 0x16ce2f0, program = guestfish
- 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-drive-with-if test.img ide
- ><fs> run
- libguestfs: launch: program=guestfish
- libguestfs: launch: version=1.37.35
- 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/nik/opensource/libguestfs/tmp/libguestfsMjxlQK
- libguestfs: launch: umask=0002
- libguestfs: launch: euid=1000
- libguestfs: begin building supermin appliance
- libguestfs: 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 /home/nik/opensource/libguestfs/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/nik/opensource/libguestfs/appliance/supermin.d
- libguestfs: command: run: \ -o /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d
- supermin: version: 5.1.18
- supermin: rpm: detected RPM version 4.13
- supermin: package handler: fedora/rpm
- supermin: acquiring lock on /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
- supermin: if-newer: output does not need rebuilding
- libguestfs: finished building supermin appliance
- libguestfs: begin testing qemu features
- libguestfs: checking for previously cached test results of /usr/bin/qemu-kvm, in /home/nik/opensource/libguestfs/tmp/.guestfs-1000
- libguestfs: loading previously cached test results
- libguestfs: qemu version: 2.7
- libguestfs: qemu mandatory locking: no
- libguestfs: finished testing qemu features
- /usr/bin/qemu-kvm \
- -global virtio-blk-pci.scsi=off \
- -nodefconfig \
- -enable-fips \
- -nodefaults \
- -display none \
- -machine accel=kvm:tcg \
- -cpu host \
- -m 500 \
- -no-reboot \
- -rtc driftfix=slew \
- -no-hpet \
- -global kvm-pit.lost_tick_policy=discard \
- -kernel /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/kernel \
- -initrd /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/initrd \
- -object rng-random,filename=/dev/urandom,id=rng0 \
- -device virtio-rng-pci,rng=rng0 \
- -device virtio-scsi-pci,id=scsi \
- -drive file=/home/nik/opensource/libguestfs/test.img,cache=writeback,id=hd0,if=ide \
- -drive file=/home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
- -device scsi-hd,drive=appliance \
- -device virtio-serial-pci \
- -serial stdio \
- -device sga \
- -chardev socket,path=/run/user/1000/libguestfs8geUqh/guestfsd.sock,id=channel0 \
- -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
- -append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color"
- WARNING: Image format was not specified for '/home/nik/opensource/libguestfs/test.img' 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.
- libguestfs: responding to serial console Device Status Report
- \x1b[1;256r\x1b[256;256H\x1b[6n
- Google, Inc.
- Serial Graphics Adapter 02/05/16
- SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Fri Feb 5 06:18:54 UTC 2016
- Term: 80x24
- 4 0
- SeaBIOS (version 1.9.3-1.fc25)
- Booting from ROM...
- \x1b[2J[ 0.000000] Linux version 4.9.40.guestfs.x86_64 (nik@ivanets.localdomain) (gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC) ) #1 Tue Jan 2 11:48:06 EET 2018
- [ 0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
- [ 0.000000] 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-0x000000001f3ddfff] usable
- [ 0.000000] BIOS-e820: [mem 0x000000001f3de000-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] e820: last_pfn = 0x1f3de 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 0x000f6b90-0x000f6b9f] mapped at [ffff8800000f6b90]
- [ 0.000000] RAMDISK: [mem 0x1f376000-0x1f3cffff]
- [ 0.000000] ACPI: Early table checksum verification disabled
- [ 0.000000] ACPI: RSDP 0x00000000000F69C0 000014 (v00 BOCHS )
- [ 0.000000] ACPI: RSDT 0x000000001F3E187D 00002C (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
- [ 0.000000] ACPI: FACP 0x000000001F3E1791 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
- [ 0.000000] ACPI: DSDT 0x000000001F3E0040 001751 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001)
- [ 0.000000] ACPI: FACS 0x000000001F3E0000 000040
- [ 0.000000] ACPI: APIC 0x000000001F3E1805 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
- [ 0.000000] Zone ranges:
- [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
- [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000001f3ddfff]
- [ 0.000000] Normal 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-0x000000001f3ddfff]
- [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3ddfff]
- [ 0.000000] ACPI: PM-Timer IO Port: 0x608
- [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
- [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
- [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
- [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
- [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
- [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
- [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
- [ 0.000000] Using ACPI (MADT) for SMP configuration information
- [ 0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
- [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125847
- [ 0.000000] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
- [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
- [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
- [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
- [ 0.000000] Memory: 494268K/511472K available (3751K kernel code, 523K rwdata, 1332K rodata, 704K init, 324K bss, 17204K reserved, 0K cma-reserved)
- [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- [ 0.000000] NR_IRQS:4352 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 3192.803 MHz processor
- [ 0.008001] Calibrating delay loop (skipped), value calculated using timer frequency.. 6385.60 BogoMIPS (lpj=12771212)
- [ 0.012227] pid_max: default: 32768 minimum: 301
- [ 0.012587] ACPI: Core revision 20160831
- [ 0.013441] ACPI: 1 ACPI AML tables successfully acquired and loaded
- [ 0.013940] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
- [ 0.014456] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
- [ 0.015188] mce: CPU supports 10 MCE banks
- [ 0.016035] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
- [ 0.016438] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
- [ 0.016890] CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (family: 0x6, model: 0x3a, stepping: 0x9)
- [ 0.018035] Performance Events: IvyBridge events, Intel PMU driver.
- [ 0.018576] ... version: 2
- [ 0.018897] ... bit width: 48
- [ 0.019215] ... generic registers: 8
- [ 0.019522] ... value mask: 0000ffffffffffff
- [ 0.020003] ... max period: 000000007fffffff
- [ 0.020401] ... fixed-purpose events: 3
- [ 0.020713] ... event mask: 00000007000000ff
- [ 0.021830] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
- [ 0.022344] devtmpfs: initialized
- [ 0.022711] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
- [ 0.023456] futex hash table entries: 256 (order: 0, 6144 bytes)
- [ 0.023939] NET: Registered protocol family 16
- [ 0.024000] cpuidle: using governor ladder
- [ 0.024000] ACPI: bus type PCI registered
- [ 0.024000] PCI: Using configuration type 1 for base access
- [ 0.024000] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
- [ 0.024000] ACPI: Added _OSI(Module Device)
- [ 0.024003] ACPI: Added _OSI(Processor Device)
- [ 0.024342] ACPI: Added _OSI(3.0 _SCP Extensions)
- [ 0.024690] ACPI: Added _OSI(Processor Aggregator Device)
- [ 0.026134] ACPI: Interpreter enabled
- [ 0.026418] ACPI: (supports S0 S3 S5)
- [ 0.026690] ACPI: Using IOAPIC for interrupt routing
- [ 0.027090] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
- [ 0.029094] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
- [ 0.029555] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments]
- [ 0.030071] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
- [ 0.030602] PCI host bridge to bus 0000:00
- [ 0.030907] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
- [ 0.031523] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
- [ 0.032004] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
- [ 0.032598] pci_bus 0000:00: root bus resource [mem 0x1f400000-0xfebfffff window]
- [ 0.033170] pci_bus 0000:00: root bus resource [bus 00-ff]
- [ 0.038574] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
- [ 0.039158] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
- [ 0.039628] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
- [ 0.040005] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
- [ 0.040974] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
- [ 0.041548] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
- [ 0.075269] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
- [ 0.075798] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
- [ 0.076179] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
- [ 0.076773] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
- [ 0.077265] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
- [ 0.077775] ACPI: Enabled 3 GPEs in block 00 to 0F
- [ 0.078213] vgaarb: loaded
- [ 0.078453] SCSI subsystem initialized
- [ 0.078768] PCI: Using ACPI for IRQ routing
- [ 0.079239] clocksource: Switched to clocksource refined-jiffies
- [ 0.079708] pnp: PnP ACPI init
- [ 0.080191] pnp: PnP ACPI: found 5 devices
- [ 0.085998] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
- [ 0.086645] clocksource: Switched to clocksource acpi_pm
- [ 0.087068] NET: Registered protocol family 2
- [ 0.087535] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.087535] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.087535] TCP: Hash tables configured (established 4096 bind 4096)
- [ 0.087535] UDP hash table entries: 256 (order: 1, 8192 bytes)
- [ 0.087535] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- [ 0.087535] NET: Registered protocol family 1
- [ 0.087748] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
- [ 0.088233] pci 0000:00:01.0: PIIX3: Enabling Passive Release
- [ 0.088669] pci 0000:00:01.0: Activating ISA DMA hang workarounds
- [ 0.089274] Unpacking initramfs...
- [ 0.089405] Freeing initrd memory: 360K (ffff88001f376000 - ffff88001f3d0000)
- [ 0.089405] alg: self-tests disabled
- [ 0.089405] workingset: timestamp_bits=62 max_order=17 bucket_order=0
- [ 0.092799] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
- [ 0.093391] io scheduler noop registered
- [ 0.093696] io scheduler deadline registered
- [ 0.094057] io scheduler cfq registered (default)
- [ 0.094467] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
- [ 0.094942] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
- [ 0.095519] ACPI: Power Button [PWRF]
- [ 0.095826] Warning: Processor Platform Limit event detected, but not handled.
- [ 0.096386] Consider compiling CPUfreq support into your kernel.
- [ 0.109054] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
- [ 0.122404] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
- [ 0.140281] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
- [ 0.145175] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
- [ 0.167899] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
- [ 0.176277] random: fast init done
- [ 0.176640] random: crng init done
- [ 0.177415] loop: module loaded
- [ 0.177774] Uniform Multi-Platform E-IDE driver
- [ 0.178146] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
- [ 0.178889] ide-gd driver 1.18
- [ 0.179428] scsi host0: Virtio SCSI HBA
- [ 0.180285] scsi 0:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5
- [ 0.202049] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
- [ 0.203181] serio: i8042 KBD port at 0x60,0x64 irq 1
- [ 0.203586] serio: i8042 AUX port at 0x60,0x64 irq 12
- [ 0.204094] mousedev: PS/2 mouse device common for all mice
- [ 0.204639] rtc_cmos 00:00: RTC can wake from S4
- [ 0.205382] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
- [ 0.207089] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
- [ 0.207649] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
- [ 0.208245] NET: Registered protocol family 17
- [ 0.208655] sd 0:0:0:0: [sda] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
- [ 0.209302] microcode: sig=0x306a9, pf=0x1, revision=0x1
- [ 0.209788] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
- [ 0.211110] sd 0:0:0:0: [sda] Write Protect is off
- [ 0.211554] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
- [ 0.213263] sd 0:0:0:0: [sda] Attached SCSI disk
- [ 0.213982] Freeing unused kernel memory: 704K (ffffffff81684000 - ffffffff81734000)
- [ 0.214629] Write protecting the kernel read-only data: 6144k
- [ 0.215124] Freeing unused kernel memory: 332K (ffff8800013ad000 - ffff880001400000)
- [ 0.216814] Freeing unused kernel memory: 716K (ffff88000154d000 - ffff880001600000)
- supermin: mounting /proc
- supermin: ext2 mini initrd starting up: 5.1.18 dietlibc
- supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
- supermin: uptime: 0.21 0.01
- supermin: mounting /sys
- supermin: internal insmod libnvdimm.ko
- supermin: internal insmod nfit.ko
- supermin: internal insmod virtio_net.ko
- supermin: internal insmod virtio_balloon.ko
- supermin: internal insmod virtio_input.ko
- supermin: internal insmod ext2.ko
- supermin: internal insmod crc-itu-t.ko
- [ 0.817353] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
- [ 1.120188] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2e05bb8c4cb, max_idle_ns: 440795334591 ns
- [ 1.121899] clocksource: Switched to clocksource tsc
- supermin: waiting another 1024000000 ns for /sys/block/sdb/dev to appear
- This usually means your kernel doesn't support virtio, or supermin was unable
- to load some kernel modules (see module loading messages above).
- supermin: waiting another 2048000000 ns for /sys/block/sdb/dev to appear
- supermin: waiting another 4096000000 ns for /sys/block/sdb/dev to appear
- supermin: waiting another 8192000000 ns for /sys/block/sdb/dev to appear
- supermin: waiting another 16384000000 ns for /sys/block/sdb/dev to appear
Advertisement
Add Comment
Please, Sign In to add comment