Steve Keller Savvco
2018-Mar-08 12:41 UTC
Re: [Libguestfs] febootstrap: no ext2 root device found
Here you go, from the newest version: ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sb in:/usr/bin:/root/bin SELinux: Enforcing library version: 1.20.11rhel=6,release=20.el6 guestfs_get_append: (null) guestfs_get_attach_method: appliance guestfs_get_autosync: 1 guestfs_get_cachedir: /var/tmp guestfs_get_direct: 0 guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib64/guestfs guestfs_get_pgroup: 0 guestfs_get_qemu: /usr/libexec/qemu-kvm 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: attach-method=appliance libguestfs: launch: tmpdir=/tmp/libguestfstOTpCA libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -f checksum libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/2.6.32-358.el6.x86_64 is a directory picked vmlinuz-2.6.32-358.el6.x86_64 because modpath /lib/modules/2.6.32-358.el6.x86_64 exists checking modpath /lib/modules/2.6.39-400.17.1.el6uek.x86_64 is a directory picked vmlinuz-2.6.39-400.17.1.el6uek.x86_64 because modpath /lib/modules/2.6.39-400.17.1.el6uek.x86_64 exists checking modpath /lib/modules/2.6.32-642.el6.x86_64 is a directory picked vmlinuz-2.6.32-642.el6.x86_64 because modpath /lib/modules/2.6.32-642.el6.x86_64 exists checking modpath /lib/modules/2.6.32-696.20.1.el6.x86_64 is a directory picked vmlinuz-2.6.32-696.20.1.el6.x86_64 because modpath /lib/modules/2.6.32-696.20.1.el6.x86_64 exists supermin helper [00000ms] finished creating kernel supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [00062ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [00062ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [00062ms] adding kernel modules supermin helper [00108ms] finished creating appliance libguestfs: checksum of existing appliance: ee37a3c629ba5fa532101b0e484efed1423c389ae04855f73a390b1bf8f40a32 libguestfs: [00110ms] begin building supermin appliance libguestfs: [00121ms] run supermin-helper libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 libguestfs: command: run: \ /var/tmp/guestfs.BatpI7/kernel libguestfs: command: run: \ /var/tmp/guestfs.BatpI7/initrd libguestfs: command: run: \ /var/tmp/guestfs.BatpI7/root supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.BatpI7/kernel, initrd /var/tmp/guestfs.BatpI7/initrd, appliance = /var/tmp/guestfs.BatpI7/root supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/2.6.32-358.el6.x86_64 is a directory picked vmlinuz-2.6.32-358.el6.x86_64 because modpath /lib/modules/2.6.32-358.el6.x86_64 exists checking modpath /lib/modules/2.6.39-400.17.1.el6uek.x86_64 is a directory picked vmlinuz-2.6.39-400.17.1.el6uek.x86_64 because modpath /lib/modules/2.6.39-400.17.1.el6uek.x86_64 exists checking modpath /lib/modules/2.6.32-642.el6.x86_64 is a directory picked vmlinuz-2.6.32-642.el6.x86_64 because modpath /lib/modules/2.6.32-642.el6.x86_64 exists checking modpath /lib/modules/2.6.32-696.20.1.el6.x86_64 is a directory picked vmlinuz-2.6.32-696.20.1.el6.x86_64 because modpath /lib/modules/2.6.32-696.20.1.el6.x86_64 exists supermin helper [00153ms] finished creating kernel supermin helper [03997ms] finished mke2fs supermin helper [03997ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [03997ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [06569ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [06574ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [11567ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [11568ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [11569ms] adding kernel modules supermin helper [16350ms] closing ext2 filesystem supermin helper [41022ms] finished creating appliance libguestfs: [41144ms] finished building supermin appliance libguestfs: command: run: rm libguestfs: command: run: \ -rf /var/tmp/guestfs.BatpI7 libguestfs: [41155ms] begin testing qemu features libguestfs: command: run: /usr/libexec/qemu-kvm libguestfs: command: run: \ -nographic libguestfs: command: run: \ -help libguestfs: command: run: /usr/libexec/qemu-kvm libguestfs: command: run: \ -nographic libguestfs: command: run: \ -version libguestfs: qemu version 0.12 libguestfs: command: run: /usr/libexec/qemu-kvm libguestfs: command: run: \ -nographic libguestfs: command: run: \ -machine accel=kvm:tcg libguestfs: command: run: \ -device ? libguestfs: [41299ms] finished testing qemu features libguestfs: accept_from_daemon: 0x189d170 g->state = 1 [41300ms] /usr/libexec/qemu-kvm \ -global virtio-blk-pci.scsi=off \ -nodefconfig \ -nodefaults \ -nographic \ -machine accel=kvm:tcg \ -cpu host,+kvmclock \ -m 500 \ -no-reboot \ -kernel /var/tmp/.guestfs-0/kernel.21046 \ -initrd /var/tmp/.guestfs-0/initrd.21046 \ -device virtio-scsi-pci,id=scsi \ -drive file=/tmp/libguestfs-test-tool-sda-TZujW3,cache=writeback,format=raw,id=hd0, if=none \ -device scsi-hd,drive=hd0 \ -drive file=/var/tmp/.guestfs-0/root.21046,snapshot=on,id=appliance,if=none,cache=u nsafe \ -device scsi-hd,drive=appliance \ -device virtio-serial \ -serial stdio \ -device sga \ -chardev socket,path=/tmp/libguestfstOTpCA/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -append 'panic=1 console=ttyS0 udevtimeout=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 10/14/11 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@ca-build44.us.oracle.com) Fri Oct 14 20:04:36 UTC 2011 Term: 80x24 4 0 SeaBIOS (version seabios-0.6.1.2-30.el6) Probing EDD (edd=off to disable)... ok \x1b[2JInitializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.39-400.17.1.el6uek.x86_64 (mockbuild@ca-build44.us.oracle.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 18:16:18 PST 2013 Command line: panic=1 console=ttyS0 udevtimeout=6000 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm Disabled fast string operations BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009d800 (usable) BIOS-e820: 000000000009d800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001f3fd000 (usable) BIOS-e820: 000000001f3fd000 - 000000001f400000 (reserved) BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved) NX (Execute Disable) protection: active SMBIOS 2.4 present. No AGP bridge found last_pfn = 0x1f3fd max_arch_pfn = 0x400000000 x86 PAT enabled: cpu 0, old 0x70106, new 0x7010600070106 found SMP MP-table at [ffff8800000fda60] fda60 Using GB pages for direct mapping init_memory_mapping: 0000000000000000-000000001f3fd000 RAMDISK: 1f1a2000 - 1f3f0000 No NUMA configuration found Faking a node at 0000000000000000-000000001f3fd000 Initmem setup node 0 0000000000000000-000000001f3fd000 NODE_DATA [000000001f17b000 - 000000001f1a1fff] kvm-clock: Using msrs 4b564d01 and 4b564d00 kvm-clock: cpu 0, msr 0:19b7141, boot clock Zone PFN ranges: DMA 0x00000010 -> 0x00001000 DMA32 0x00001000 -> 0x00100000 Normal empty Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000010 -> 0x0000009d 0: 0x00000100 -> 0x0001f3fd SFI: Simple Firmware Interface v0.81 http://simplefirmware.org Intel MultiProcessor Specification v1.4 MPTABLE: OEM ID: BOCHSCPU MPTABLE: Product ID: 0.1 MPTABLE: APIC at: 0xFEE00000 Processor #0 (Bootup-CPU) IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 Processors: 1 SMP: Allowing 1 CPUs, 0 hotplug CPUs PM: Registered nosave memory: 000000000009d000 - 000000000009e000 PM: Registered nosave memory: 000000000009e000 - 00000000000a0000 PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000 PM: Registered nosave memory: 00000000000f0000 - 0000000000100000 Allocating PCI resources starting at 1f400000 (gap: 1f400000:e0bbc000) Booting paravirtualized kernel on KVM setup_percpu: NR_CPUS:4096 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 PERCPU: Embedded 26 pages/cpu @ffff88001ee00000 s77376 r8192 d20928 u2097152 kvm-clock: cpu 0, msr 0:1ee12141, primary cpu clock Built 1 zonelists in Node order, mobility grouping on. Total pages: 126127 Policy zone: DMA32 Kernel command line: panic=1 console=ttyS0 udevtimeout=6000 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm [ 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: 486552k/511988k available (5227k kernel code, 460k absent, 24976k reserved, 4640k data, 1516k init) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:262400 nr_irqs:256 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] Detected 3466.788 MHz processor. [ 0.001999] Calibrating delay loop (skipped) preset value.. 6933.57 BogoMIPS (lpj=3466788) [ 0.001999] pid_max: default: 32768 minimum: 301 [ 0.002119] Security Framework initialized [ 0.002389] SELinux: Disabled at boot. [ 0.003044] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.003570] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.004049] Mount-cache hash table entries: 256 [ 0.004428] Initializing cgroup subsys cpuacct [ 0.004723] Initializing cgroup subsys memory [ 0.005012] Initializing cgroup subsys devices [ 0.005300] Initializing cgroup subsys freezer [ 0.005583] Initializing cgroup subsys net_cls [ 0.005877] Initializing cgroup subsys blkio [ 0.006065] Disabled fast string operations [ 0.006347] mce: CPU supports 10 MCE banks [ 0.006686] SMP alternatives: switching to UP code [ 0.019448] Freeing SMP alternatives: 20k freed [ 0.019747] ftrace: allocating 21282 entries in 84 pages [ 0.022223] Enabling x2apic [ 0.022422] Enabled x2apic [ 0.023001] Switched APIC routing to physical x2apic. [ 0.024559] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.024952] CPU0: Intel(R) Xeon(R) CPU X5677 @ 3.47GHz stepping 02 [ 0.126985] Performance Events: Westmere events, Intel PMU driver. [ 0.126988] ... version: 2 [ 0.126988] ... bit width: 48 [ 0.126989] ... generic registers: 4 [ 0.127244] ... value mask: 0000ffffffffffff [ 0.127577] ... max period: 000000007fffffff [ 0.127989] ... fixed-purpose events: 3 [ 0.128243] ... event mask: 000000070000000f [ 0.129815] NMI watchdog enabled, takes one hw-pmu counter. [ 0.130074] Brought up 1 CPUs [ 0.130279] Total of 1 processors activated (6933.57 BogoMIPS). [ 0.131583] devtmpfs: initialized [ 0.134793] print_constraints: dummy: [ 0.135045] NET: Registered protocol family 16 [ 0.135503] PCI: Using configuration type 1 for base access [ 0.136565] bio: create slab <bio-0> at 0 [ 0.136920] ACPI: Interpreter disabled. [ 0.137034] vgaarb: loaded [ 0.137610] SCSI subsystem initialized [ 0.138056] usbcore: registered new interface driver usbfs [ 0.138433] usbcore: registered new interface driver hub [ 0.138810] usbcore: registered new device driver usb [ 0.139036] PCI: Probing PCI hardware [ 0.140590] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 0.141005] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB [ 0.142731] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000] [ 0.143122] NetLabel: Initializing [ 0.143354] NetLabel: domain hash size = 128 [ 0.143642] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.144006] NetLabel: unlabeled traffic allowed by default [ 0.144380] Switching to clocksource kvm-clock [ 0.144684] Switched to NOHz mode on CPU #0 [ 0.148243] pnp: PnP ACPI: disabled [ 0.149341] NET: Registered protocol family 2 [ 0.149675] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.150560] TCP established hash table entries: 16384 (order: 6, 262144 bytes) [ 0.151111] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.151571] TCP: Hash tables configured (established 16384 bind 16384) [ 0.152028] TCP reno registered [ 0.152245] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.152634] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.153120] NET: Registered protocol family 1 [ 0.153422] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.153821] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.154237] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.154687] Trying to unpack rootfs image as initramfs... [ 0.156514] Freeing initrd memory: 2360k freed [ 0.157057] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.157741] audit: initializing netlink socket (disabled) [ 0.158147] type=2000 audit(1520511887.157:1): initialized [ 0.173281] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.174245] VFS: Disk quotas dquot_6.5.2 [ 0.174529] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.175046] msgmni has been set to 954 [ 0.175432] alg: No test for stdrng (krng) [ 0.175715] ksign: Installing public key data [ 0.176039] Loading keyring [ 0.176238] - Added public key 3455DCBDEB36997A [ 0.176545] - User ID: Oracle America, Inc. (Kernel Module GPG key) [ 0.176968] - Added public key 6C6F1CE4802098A9 [ 0.177291] - User ID: Oracle America, Inc. (Kernel Module Signing Key) [ 0.177750] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.178277] io scheduler noop registered [ 0.178547] io scheduler deadline registered (default) [ 0.178907] io scheduler cfq registered [ 0.179244] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.179632] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.180113] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.180631] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled \xff[ 0.446417] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.447065] Non-volatile memory driver v1.3 [ 0.447352] Linux agpgart interface v0.103 [ 0.448263] brd: module loaded [ 0.448767] loop: module loaded [ 0.449072] Fixed MDIO Bus: probed [ 0.449332] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.449772] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.450212] uhci_hcd: USB Universal Host Controller Interface driver [ 0.450665] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 0.451612] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.451945] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.452357] mousedev: PS/2 mouse device common for all mice [ 0.452881] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 0.455117] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 0.455601] rtc0: alarms up to one day, 114 bytes nvram [ 0.455954] cpuidle: using governor ladder [ 0.456252] cpuidle: using governor menu [ 0.456519] EFI Variables Facility v0.08 2004-May-17 [ 0.456965] usbcore: registered new interface driver usbhid [ 0.457362] usbhid: USB HID core driver [ 0.457620] zram: num_devices not specified. Using default: 1 [ 0.458023] zram: Creating 1 devices ... [ 0.458372] TCP cubic registered [ 0.458597] Initializing XFRM netlink socket [ 0.458887] NET: Registered protocol family 17 [ 0.459223] Registering the dns_resolver key type [ 0.459619] registered taskstats version 1 [ 0.459898] IMA: No TPM chip found, activating TPM-bypass! [ 0.460426] rtc_cmos rtc_cmos: setting system clock to 2018-03-08 12:24:46 UTC (1520511886) [ 0.460999] Initializing network drop monitor service [ 0.463273] Freeing unused kernel memory: 1516k freed febootstrap: mounting /proc febootstrap: uptime: 0.46 0.26 febootstrap: ext2 mini initrd starting up: 3.21 zlib febootstrap: cmdline: panic=1 console=ttyS0 udevtimeout=6000 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm febootstrap: mounting /sys febootstrap: internal insmod libcrc32c.ko febootstrap: internal insmod crc32c-intel.ko febootstrap: internal insmod crc-itu-t.ko febootstrap: internal insmod crc-t10dif.ko febootstrap: internal insmod crc-ccitt.ko febootstrap: internal insmod crc7.ko febootstrap: internal insmod mbcache.ko febootstrap: internal insmod cdrom.ko febootstrap: internal insmod sr_mod.ko febootstrap: internal insmod ata_piix.ko [ 0.480844] scsi0 : ata_piix [ 0.481136] scsi1 : ata_piix [ 0.481357] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14 [ 0.481807] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15 febootstrap: internal insmod scsi_transport_spi.ko febootstrap: internal insmod sym53c8xx.ko febootstrap: internal insmod sd_mod.ko febootstrap: internal insmod virtio_ring.ko febootstrap: internal insmod virtio.ko febootstrap: internal insmod virtio-rng.ko febootstrap: internal insmod virtio_console.ko febootstrap: internal insmod virtio_blk.ko febootstrap: internal insmod virtio_net.ko febootstrap: internal insmod virtio_pci.ko [ 0.650237] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 34 [ 0.651961] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 35 [ 0.662674] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input1 febootstrap: internal insmod virtio_balloon.ko febootstrap: internal insmod jbd2.ko febootstrap: internal insmod ext4.ko febootstrap: internal insmod ext2.ko febootstrap: no ext2 root device found Please include FULL verbose output in your bug report. [ 524.984366] Kernel panic - not syncing: Attempted to kill init! [ 524.984765] Pid: 1, comm: init Not tainted 2.6.39-400.17.1.el6uek.x86_64 #1 [ 524.985256] Call Trace: [ 524.985439] [<ffffffff8150bd0b>] panic+0x91/0x1a8 [ 524.985773] [<ffffffff81061552>] ? enqueue_entity+0x52/0x210 [ 524.986179] [<ffffffff81071a3b>] forget_original_parent+0x32b/0x330 [ 524.986615] [<ffffffff8105ae2f>] ? sched_move_task+0xaf/0x150 [ 524.987000] [<ffffffff81071a5b>] exit_notify+0x1b/0x190 [ 524.987378] [<ffffffff81072b5e>] do_exit+0x1fe/0x460 [ 524.987726] [<ffffffff81171cd5>] ? vfs_write+0x125/0x190 [ 524.988102] [<ffffffff81072e15>] do_group_exit+0x55/0xd0 [ 524.988472] [<ffffffff81072ea7>] sys_exit_group+0x17/0x20 [ 524.988839] [<ffffffff81517082>] system_call_fastpath+0x16/0x1b [ 524.989280] Rebooting in 1 seconds..libguestfs: child_cleanup: 0x189d170: child process died libguestfs: sending SIGTERM to process 21084 libguestfs: error: guestfs_launch failed, see earlier error messages libguestfs-test-tool: failed to launch appliance libguestfs: closing guestfs handle 0x189d170 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfstOTpCA -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Thursday, March 8, 2018 3:35 AM To: Steve Keller Savvco <steve.keller@savvco.com> Cc: libguestfs@redhat.com Subject: Re: febootstrap: no ext2 root device found On Wed, Mar 07, 2018 at 04:42:00PM -0600, Steve Keller Savvco wrote:> Hello- > > I've recently upgraded from OEL 6.4 to OEL 6.8. Infiniband Hardware > installed on the server prevents me from upgrading the OS version any > higher.[...]> Running "libguestfs-test-tool" with Kernel (2.6.32-642.el6.x86_64); the > results are as follows: > > libguestfs-tools.x86_64 1:1.16.34-2.el6public_ol6_u4_base> (works) > > libguestfs-tools.x86_64 1:1.20.11-2.el6public_ol6_u5_base> (times out with error "febootstrap: no ext2 root device found") > > libguestfs-tools.x86_64 1:1.20.11-17.el6public_ol6_u8_base> (times out with error "febootstrap: no ext2 root device found") > > libguestfs-tools.x86_64 1:1.20.11-20.el6 public_ol6_latest > (times out with error "febootstrap: no ext2 root device found")This is a very old version, but we're going to need to see the full output of libguestfs-test-tool from at least one of the failed tests to say anything more. 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/
Richard W.M. Jones
2018-Mar-08 21:13 UTC
Re: [Libguestfs] febootstrap: no ext2 root device found
On Thu, Mar 08, 2018 at 06:41:57AM -0600, Steve Keller Savvco wrote:> [41300ms] /usr/libexec/qemu-kvm \ > -global virtio-blk-pci.scsi=off \ > -nodefconfig \ > -nodefaults \ > -nographic \ > -machine accel=kvm:tcg \ > -cpu host,+kvmclock \ > -m 500 \ > -no-reboot \ > -kernel /var/tmp/.guestfs-0/kernel.21046 \ > -initrd /var/tmp/.guestfs-0/initrd.21046 \ > -device virtio-scsi-pci,id=scsi \ > -drive > file=/tmp/libguestfs-test-tool-sda-TZujW3,cache=writeback,format=raw,id=hd0, > if=none \ > -device scsi-hd,drive=hd0 \ > -drive > file=/var/tmp/.guestfs-0/root.21046,snapshot=on,id=appliance,if=none,cache=u > nsafe \ > -device scsi-hd,drive=appliance \We present virtio-scsi disks to the appliance, but ...> febootstrap: internal insmod libcrc32c.ko > febootstrap: internal insmod crc32c-intel.ko > febootstrap: internal insmod crc-itu-t.ko > febootstrap: internal insmod crc-t10dif.ko > febootstrap: internal insmod crc-ccitt.ko > febootstrap: internal insmod crc7.ko > febootstrap: internal insmod mbcache.ko > febootstrap: internal insmod cdrom.ko > febootstrap: internal insmod sr_mod.ko > febootstrap: internal insmod ata_piix.ko > febootstrap: internal insmod scsi_transport_spi.ko > febootstrap: internal insmod sym53c8xx.ko > febootstrap: internal insmod sd_mod.ko > febootstrap: internal insmod virtio_ring.ko > febootstrap: internal insmod virtio.ko > febootstrap: internal insmod virtio-rng.ko > febootstrap: internal insmod virtio_console.ko > febootstrap: internal insmod virtio_blk.ko > febootstrap: internal insmod virtio_net.ko > febootstrap: internal insmod virtio_pci.ko > febootstrap: internal insmod virtio_balloon.ko > febootstrap: internal insmod jbd2.ko > febootstrap: internal insmod ext4.ko > febootstrap: internal insmod ext2.ko > febootstrap: no ext2 root device found... there is no virtio-scsi module in the initramfs. The reason for this is that your host kernel doesn't have virtio-scsi configured. I don't know why that is, but you need to fix that, and then you can do: rm -rf /var/tmp/.guestfs-* libguestfs-test-tool and hopefully it should work. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Steve Keller Savvco
2018-Mar-08 21:58 UTC
Re: [Libguestfs] febootstrap: no ext2 root device found
Thanks for the update. I'll give that a try and let you know. -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Thursday, March 8, 2018 3:14 PM To: Steve Keller Savvco <steve.keller@savvco.com> Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] febootstrap: no ext2 root device found On Thu, Mar 08, 2018 at 06:41:57AM -0600, Steve Keller Savvco wrote:> [41300ms] /usr/libexec/qemu-kvm \ > -global virtio-blk-pci.scsi=off \ > -nodefconfig \ > -nodefaults \ > -nographic \ > -machine accel=kvm:tcg \ > -cpu host,+kvmclock \ > -m 500 \ > -no-reboot \ > -kernel /var/tmp/.guestfs-0/kernel.21046 \ > -initrd /var/tmp/.guestfs-0/initrd.21046 \ > -device virtio-scsi-pci,id=scsi \ > -drive > file=/tmp/libguestfs-test-tool-sda-TZujW3,cache=writeback,format=raw,i > d=hd0, > if=none \ > -device scsi-hd,drive=hd0 \ > -drive > file=/var/tmp/.guestfs-0/root.21046,snapshot=on,id=appliance,if=none,c > ache=u > nsafe \ > -device scsi-hd,drive=appliance \We present virtio-scsi disks to the appliance, but ...> febootstrap: internal insmod libcrc32c.ko > febootstrap: internal insmod crc32c-intel.ko > febootstrap: internal insmod crc-itu-t.ko > febootstrap: internal insmod crc-t10dif.ko > febootstrap: internal insmod crc-ccitt.ko > febootstrap: internal insmod crc7.ko > febootstrap: internal insmod mbcache.ko > febootstrap: internal insmod cdrom.ko > febootstrap: internal insmod sr_mod.ko > febootstrap: internal insmod ata_piix.ko > febootstrap: internal insmod scsi_transport_spi.ko > febootstrap: internal insmod sym53c8xx.ko > febootstrap: internal insmod sd_mod.ko > febootstrap: internal insmod virtio_ring.ko > febootstrap: internal insmod virtio.ko > febootstrap: internal insmod virtio-rng.ko > febootstrap: internal insmod virtio_console.ko > febootstrap: internal insmod virtio_blk.ko > febootstrap: internal insmod virtio_net.ko > febootstrap: internal insmod virtio_pci.ko > febootstrap: internal insmod virtio_balloon.ko > febootstrap: internal insmod jbd2.ko > febootstrap: internal insmod ext4.ko > febootstrap: internal insmod ext2.ko > febootstrap: no ext2 root device found... there is no virtio-scsi module in the initramfs. The reason for this is that your host kernel doesn't have virtio-scsi configured. I don't know why that is, but you need to fix that, and then you can do: rm -rf /var/tmp/.guestfs-* libguestfs-test-tool and hopefully it should work. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org