Guestfish errors (Running in VirtualBox)
Hi All, I am trying to run guestfish inside an Ubuntu instance running in VirtualBox. I'm running into problems, and my first question, is this setup even possible? I compiled and installed libguestfs-1.8.4. Running libguestfs-test-tool fails with the following output. Would appreciate any advice, Chris new guestfs handle 0x8b77958 ===== Test starts here ===== LIBGUESTFS_DEBUG=1 library version: 1.8.4 guestfs_get_append: (null) guestfs_get_autosync: 1 guestfs_get_memsize: 500 guestfs_get_path: /usr/local/lib/guestfs guestfs_get_qemu: /usr/bin/kvm guestfs_get_verbose: 1 Launching appliance, timeout set to 120 seconds. [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/local/lib/guestfs/supermin.d' i686 supermin helper [00000ms] whitelist = (not specified), host_cpu = i686, kernel = (null), initrd = (null), appliance = (null) supermin helper [00002ms] inputs[0] = /usr/local/lib/guestfs/supermin.d checking modpath /lib/modules/2.6.32-24-generic is a directory picked vmlinuz-2.6.32-24-generic because modpath /lib/modules/2.6.32-24-generic exists checking modpath /lib/modules/2.6.36-020636-generic is a directory picked vmlinuz-2.6.36-020636-generic because modpath /lib/modules/2.6.36-020636-generic exists supermin helper [00004ms] finished creating kernel supermin helper [00006ms] visiting /usr/local/lib/guestfs/supermin.d supermin helper [00007ms] visiting /usr/local/lib/guestfs/supermin.d/base.img supermin helper [00008ms] visiting /usr/local/lib/guestfs/supermin.d/daemon.img supermin helper [00008ms] visiting /usr/local/lib/guestfs/supermin.d/hostfiles supermin helper [00094ms] visiting /usr/local/lib/guestfs/supermin.d/init.img supermin helper [00308ms] finished creating appliance [00339ms] begin testing qemu features [00471ms] finished testing qemu features /dev/kvm: No such file or directory te = 1 [00484ms] /usr/bin/kvm \ -drive file=/tmp/libguestfs-test-tool-sda-839N2b,cache=off,format=raw,if=virtio \ -drive file=/tmp/libguestfs-test-tool-iso-80OuFF,snapshot=on,format=raw,if=virtio \ -nodefconfig \ -nodefaults \ -nographic \ -m 500 \ -no-reboot \ -no-hpet \ -device virtio-serial \ -serial stdio \ -chardev socket,path=/tmp/libguestfscagtqI/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /tmp/.guestfs-1001/kernel.28536 \ -initrd /tmp/.guestfs-1001/initrd.28536 \ -append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ -drive file=/tmp/.guestfs-1001/root.28536,snapshot=on,if=virtio,cache=unsafe recv_from_daemon: 0x8b77958 g->state = 1, size_rtn = 0xbf95c43c, buf_rtn = 0xbf95c438 open /dev/kvm: No such file or directory Could not initialize KVM, will disable KVM support [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.36-020636-generic (root@zinc) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #201010210905 SMP Thu Oct 21 10:17:53 UTC 2010 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f400 (usable) [ 0.000000] BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000001f3fd000 (usable) [ 0.000000] BIOS-e820: 000000001f3fd000 - 000000001f400000 (reserved) [ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) [ 0.000000] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel! [ 0.000000] DMI 2.4 present. [ 0.000000] last_pfn = 0x1f3fd max_arch_pfn = 0x100000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106 [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] modified physical RAM map: [ 0.000000] modified: 0000000000000000 - 0000000000001000 (reserved) [ 0.000000] modified: 0000000000001000 - 0000000000002000 (usable) [ 0.000000] modified: 0000000000002000 - 0000000000010000 (reserved) [ 0.000000] modified: 0000000000010000 - 000000000009f400 (usable) [ 0.000000] modified: 000000000009f400 - 00000000000a0000 (reserved) [ 0.000000] modified: 00000000000f0000 - 0000000000100000 (reserved) [ 0.000000] modified: 0000000000100000 - 000000001f3fd000 (usable) [ 0.000000] modified: 000000001f3fd000 - 000000001f400000 (reserved) [ 0.000000] modified: 00000000fffc0000 - 0000000100000000 (reserved) [ 0.000000] found SMP MP-table at [c00f8990] f8990 [ 0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000 [ 0.000000] RAMDISK: 1f28d000 - 1f3f0000 [ 0.000000] 0MB HIGHMEM available. [ 0.000000] 499MB LOWMEM available. [ 0.000000] mapped low ram: 0 - 1f3fd000 [ 0.000000] low ram: 0 - 1f3fd000 [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000001 -> 0x00001000 [ 0.000000] Normal 0x00001000 -> 0x0001f3fd [ 0.000000] HighMem empty [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[3] active PFN ranges [ 0.000000] 0: 0x00000001 -> 0x00000002 [ 0.000000] 0: 0x00000010 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0001f3fd [ 0.000000] Using APIC driver default [ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org [ 0.000000] Intel MultiProcessor Specification v1.4 [ 0.000000] Virtual Wire compatibility mode. [ 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] I/O APIC #1 Version 17 at 0xFEC00000. [ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] Processors: 1 [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 0000000000002000 - 0000000000010000 [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000 [ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 1f400000 (gap: 1f400000:e0bc0000) [ 0.000000] Booting paravirtualized kernel on bare hardware [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 14 pages/cpu @c1400000 s32896 r0 d24448 u4194304 [ 0.000000] pcpu-alloc: s32896 r0 d24448 u4194304 alloc=1*4194304 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 126885 [ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm [ 0.000000] Disabling memory control group subsystem [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Enabling fast FPU save and restore... done. [ 0.000000] Enabling unmasked SIMD FPU exception support... done. [ 0.000000] Initializing CPU#0 [ 0.000000] Subtract (40 early reservations) [ 0.000000] #1 [0000001000 - 0000002000] EX TRAMPOLINE [ 0.000000] #2 [0000100000 - 00009d5824] TEXT DATA BSS [ 0.000000] #3 [001f28d000 - 001f3f0000] RAMDISK [ 0.000000] #4 [00009d6000 - 00009d9049] BRK [ 0.000000] #5 [000009f400 - 00000f8990] BIOS reserved [ 0.000000] #6 [00000f8990 - 00000f89a0] MP-table mpf [ 0.000000] #7 [00000f8a90 - 0000100000] BIOS reserved [ 0.000000] #8 [00000f89a0 - 00000f8a90] MP-table mpc [ 0.000000] #9 [0000010000 - 0000011000] TRAMPOLINE [ 0.000000] #10 [0000011000 - 0000015000] ACPI WAKEUP [ 0.000000] #11 [0000015000 - 0000016000] PGTABLE [ 0.000000] #12 [0001000000 - 0001001000] BOOTMEM [ 0.000000] #13 [0001001000 - 00013e9000] BOOTMEM [ 0.000000] #14 [00013e9000 - 00013e9004] BOOTMEM [ 0.000000] #15 [00013e9040 - 00013e9100] BOOTMEM [ 0.000000] #16 [00013e9100 - 00013e9130] BOOTMEM [ 0.000000] #17 [00013e9140 - 00013ea940] BOOTMEM [ 0.000000] #18 [00013ea940 - 00013ea967] BOOTMEM [ 0.000000] #19 [00013ea980 - 00013eaa7c] BOOTMEM [ 0.000000] #20 [00013eaa80 - 00013eaac0] BOOTMEM [ 0.000000] #21 [00013eaac0 - 00013eab00] BOOTMEM [ 0.000000] #22 [00013eab00 - 00013eab40] BOOTMEM [ 0.000000] #23 [00013eab40 - 00013eab80] BOOTMEM [ 0.000000] #24 [00013eab80 - 00013eabc0] BOOTMEM [ 0.000000] #25 [00013eabc0 - 00013eac00] BOOTMEM [ 0.000000] #26 [00013eac00 - 00013eac10] BOOTMEM [ 0.000000] #27 [00013eac40 - 00013eac50] BOOTMEM [ 0.000000] #28 [00013eac80 - 00013ead02] BOOTMEM [ 0.000000] #29 [00013ead40 - 00013eadc2] BOOTMEM [ 0.000000] #30 [0001400000 - 000140e000] BOOTMEM [ 0.000000] #31 [00013ece00 - 00013ece04] BOOTMEM [ 0.000000] #32 [00013ece40 - 00013ece44] BOOTMEM [ 0.000000] #33 [00013ece80 - 00013ece84] BOOTMEM [ 0.000000] #34 [00013ecec0 - 00013ecec4] BOOTMEM [ 0.000000] #35 [00013ecf00 - 00013ecfb0] BOOTMEM [ 0.000000] #36 [00013ecfc0 - 00013ed068] BOOTMEM [ 0.000000] #37 [00013eae00 - 00013ece00] BOOTMEM [ 0.000000] #38 [000140e000 - 000144e000] BOOTMEM [ 0.000000] #39 [000144e000 - 000146e000] BOOTMEM [ 0.000000] Initializing HighMem for node 0 (00000000:00000000) [ 0.000000] Memory: 496564k/511988k available (5000k kernel code, 14976k reserved, 2406k data, 740k init, 0k highmem) [ 0.000000] virtual kernel memory layout: [ 0.000000] fixmap : 0xfff16000 - 0xfffff000 ( 932 kB) [ 0.000000] pkmap : 0xff800000 - 0xffc00000 (4096 kB) [ 0.000000] vmalloc : 0xdfbfd000 - 0xff7fe000 ( 508 MB) [ 0.000000] lowmem : 0xc0000000 - 0xdf3fd000 ( 499 MB) [ 0.000000] .init : 0xc083c000 - 0xc08f5000 ( 740 kB) [ 0.000000] .data : 0xc05e2039 - 0xc083bb28 (2406 kB) [ 0.000000] .text : 0xc0100000 - 0xc05e2039 (5000 kB) [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] RCU-based detection of stalled CPUs is disabled. [ 0.000000] Verbose stalled-CPUs detection is disabled. [ 0.000000] NR_IRQS:2304 nr_irqs:256 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] Fast TSC calibration failed [ 0.000000] TSC: Unable to calibrate against PIT [ 0.000000] TSC: No reference (HPET/PMTIMER) available [ 0.000000] Marking TSC unstable due to could not calculate TSC khz [ 0.028000] Calibrating delay loop... 194.04 BogoMIPS (lpj=388096) [ 0.104000] pid_max: default: 32768 minimum: 301 [ 0.108000] Security Framework initialized [ 0.112000] AppArmor: AppArmor initialized [ 0.116000] Mount-cache hash table entries: 512 [ 0.128000] Initializing cgroup subsys ns [ 0.132000] Initializing cgroup subsys cpuacct [ 0.136000] Initializing cgroup subsys memory [ 0.136000] Initializing cgroup subsys devices [ 0.136000] Initializing cgroup subsys freezer [ 0.140000] Initializing cgroup subsys net_cls [ 0.144000] mce: CPU supports 10 MCE banks [ 0.148000] Performance Events: AMD PMU driver. [ 0.152000] ... version: 0 [ 0.152000] ... bit width: 48 [ 0.156000] ... generic registers: 4 [ 0.156000] ... value mask: 0000ffffffffffff [ 0.156000] ... max period: 00007fffffffffff [ 0.156000] ... fixed-purpose events: 0 [ 0.156000] ... event mask: 000000000000000f [ 0.172000] SMP alternatives: switching to UP code [ 0.284000] Freeing SMP alternatives: 20k freed [ 0.288000] ftrace: converting mcount calls to 0f 1f 44 00 00 [ 0.292000] ftrace: allocating 26011 entries in 51 pages [ 0.332000] Enabling APIC mode: Flat. Using 1 I/O APICs [ 0.336000] ------------[ cut here ]------------ [ 0.340000] WARNING: at /home/kernel-ppa/COD/linux/arch/x86/kernel/apic/apic.c:1238 setup_local_APIC+0x3a5/0x3e0() [ 0.340000] Hardware name: Bochs [ 0.344000] Modules linked in: [ 0.344000] Pid: 1, comm: swapper Not tainted 2.6.36-020636-generic #201010210905 [ 0.344000] Call Trace: [ 0.344000] [<c05d5ab5>] ? setup_local_APIC+0x3a5/0x3e0 [ 0.348000] [<c014e4e1>] warn_slowpath_common+0x81/0xa0 [ 0.348000] [<c05d5ab5>] ? setup_local_APIC+0x3a5/0x3e0 [ 0.348000] [<c014e522>] warn_slowpath_null+0x22/0x30 [ 0.348000] [<c05d5ab5>] setup_local_APIC+0x3a5/0x3e0 [ 0.348000] [<c084c950>] ? verify_local_APIC+0x170/0x1a0 [ 0.348000] [<c0124d7c>] ? default_get_apic_id+0x1c/0x40 [ 0.348000] [<c084abb3>] native_smp_prepare_cpus+0x123/0x210 [ 0.348000] [<c0141f9e>] ? set_cpus_allowed_ptr+0x8e/0x120 [ 0.348000] [<c0102c46>] ? ret_from_fork+0x6/0x1c [ 0.348000] [<c083cbb3>] kernel_init+0x63/0x110 [ 0.348000] [<c083cb50>] ? kernel_init+0x0/0x110 [ 0.348000] [<c010327e>] kernel_thread_helper+0x6/0x10 [ 0.352000] ---[ end trace a7919e7f17c0a725 ]--- [ 0.356000] CPU0: AMD QEMU Virtual CPU version 0.14.0 stepping 03 [ 0.484000] APIC timer disabled due to verification failure [ 0.504000] Brought up 1 CPUs [ 0.504000] Total of 1 processors activated (194.04 BogoMIPS). [ 0.512000] devtmpfs: initialized [ 0.540000] regulator: core version 0.5 [ 0.548000] Time: 7:49:36 Date: 04/06/11 [ 0.548000] NET: Registered protocol family 16 [ 0.564000] EISA bus registered [ 0.564000] PCI: PCI BIOS revision 2.10 entry at 0xffe77, last bus=0 [ 0.568000] PCI: Using configuration type 1 for base access [ 0.596000] bio: create slab <bio-0> at 0 [ 0.600000] ACPI: Interpreter disabled. [ 0.608000] vgaarb: loaded [ 0.616000] SCSI subsystem initialized [ 0.624000] usbcore: registered new interface driver usbfs [ 0.624000] usbcore: registered new interface driver hub [ 0.628000] usbcore: registered new device driver usb [ 0.632000] PCI: Probing PCI hardware [ 0.640000] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 0.644000] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB [ 0.656000] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000] [ 0.664000] NetLabel: Initializing [ 0.668000] NetLabel: domain hash size = 128 [ 0.668000] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.668000] NetLabel: unlabeled traffic allowed by default [ 0.672000] Switching to clocksource pit [ 0.830173] AppArmor: AppArmor Filesystem Enabled [ 0.833296] pnp: PnP ACPI: disabled [ 0.833296] PnPBIOS: Scanning system for PnP BIOS support... [ 0.833296] PnPBIOS: Found PnP BIOS installation structure at 0xc00f7e40 [ 0.833296] PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xdf15, dseg 0xf0000 [ 0.837831] PnPBIOS: dev_node_info: function not supported on this system [ 0.837831] PnPBIOS: Unable to get node info. Aborting. [ 0.881555] NET: Registered protocol family 2 [ 0.886087] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.894422] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.899381] TCP bind hash table entries: 16384 (order: 5, 131072 bytes) [ 0.902112] TCP: Hash tables configured (established 16384 bind 16384) [ 0.905553] TCP reno registered [ 0.905553] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.905553] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.905553] NET: Registered protocol family 1 [ 0.913136] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.913136] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.913136] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.926058] Trying to unpack rootfs image as initramfs... [ 0.989985] Freeing initrd memory: 1420k freed [ 1.009092] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 1.018100] cpufreq-nforce2: No nForce2 chipset. [ 1.021870] Scanning for low memory corruption every 60 seconds [ 1.035873] audit: initializing netlink socket (disabled) [ 1.035873] type=2000 audit(1302076176.032:1): initialized [ 1.123023] HugeTLB registered 4 MB page size, pre-allocated 0 pages [ 1.157952] VFS: Disk quotas dquot_6.5.2 [ 1.157952] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.170279] fuse init (API version 7.15) [ 1.174609] msgmni has been set to 972 [ 1.182055] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 1.185968] io scheduler noop registered [ 1.185968] io scheduler deadline registered [ 1.185968] io scheduler cfq registered (default) [ 1.189555] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.194608] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.208324] isapnp: Scanning for PnP cards... [ 1.485622] isapnp: No Plug & Play device found [ 1.495148] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.504771] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.541453] brd: module loaded [ 1.557973] loop: module loaded [ 1.578621] scsi0 : ata_piix [ 1.581302] scsi1 : ata_piix [ 1.588164] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14 [ 1.590866] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15 [ 1.602842] Fixed MDIO Bus: probed [ 1.605547] PPP generic driver version 2.4.2 [ 1.605547] tun: Universal TUN/TAP device driver, 1.6 [ 1.610365] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 1.610365] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.615043] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.615043] uhci_hcd: USB Universal Host Controller Interface driver [ 1.617482] PNP: No PS/2 controller found. Probing ports directly. [ 1.622281] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.625634] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.629297] mice: PS/2 mouse device common for all mice [ 1.638658] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 1.642424] rtc0: alarms up to one day, 114 bytes nvram [ 1.645610] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 1.653364] device-mapper: uevent: version 1.0.3 [ 1.657829] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com [ 1.657829] device-mapper: multipath: version 1.1.1 loaded [ 1.665859] device-mapper: multipath round-robin: version 1.0.0 loaded [ 1.669193] EISA: Probing bus 0 at eisa.0 [ 1.675847] EISA: Detected 0 cards. [ 1.678851] cpuidle: using governor ladder [ 1.682397] cpuidle: using governor menu [ 1.686051] TCP cubic registered [ 1.691823] NET: Registered protocol family 10 [ 1.706034] lo: Disabled Privacy Extensions [ 1.712940] NET: Registered protocol family 17 [ 1.716251] Registering the dns_resolver key type [ 1.718228] powernow-k8: Processor cpuid 623 not supported [ 1.718228] Using IPI No-Shortcut mode [ 1.722662] registered taskstats version 1 [ 1.726936] Magic number: 7:963:823 [ 1.731004] rtc_cmos rtc_cmos: setting system clock to 2011-04-06 07:49:37 UTC (1302076177) [ 1.736204] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.737370] EDD information not available. [ 1.768146] Freeing unused kernel memory: 740k freed [ 1.835213] Write protecting the kernel text: 5004k [ 1.841437] Write protecting the kernel read-only data: 2048k /proc/uptime: No such file or directory febootstrap: ext2 mini initrd starting up febootstrap: mounting /sys febootstrap: insmod crc-ccitt.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod crc-itu-t.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod crc32c-intel.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod crc32c.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod crc7.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod libcrc32c.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod scsi_transport_spi.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod virtio.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod virtio_ring.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod sym53c8xx.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod virtio_pci.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod virtio-rng.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod virtio_net.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod virtio_blk.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod virtio_console.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: insmod virtio_balloon.ko insmod: execl: Exec format error insmod: wait: File exists febootstrap: no ext2 root device found Please include FULL verbose output in your bug report. [ 2.154644] Kernel panic - not syncing: Attempted to kill init! [ 2.158677] Pid: 1, comm: init Tainted: G W 2.6.36-020636-generic #201010210905 [ 2.158677] Call Trace: [ 2.158677] [<c014e62f>] panic+0x5f/0x190 [ 2.158677] [<c01506b1>] find_new_reaper+0x91/0xa0 [ 2.158677] [<c0151174>] forget_original_parent+0x34/0x180 [ 2.158677] [<c01b1c72>] ? call_rcu_sched+0x12/0x20 [ 2.158677] [<c01512d3>] exit_notify+0x13/0x140 [ 2.158677] [<c01529d5>] do_exit+0x1e5/0x340 [ 2.158677] [<c01afd4b>] ? handle_level_irq+0xcb/0xf0 [ 2.158677] [<c0154a7d>] ? irq_exit+0x3d/0x80 [ 2.161629] [<c0152b68>] do_group_exit+0x38/0xa0 [ 2.161629] [<c0152be4>] sys_exit_group+0x14/0x20 [ 2.161629] [<c05da8c4>] syscall_call+0x7/0xb [ 2.161629] Rebooting in 1 seconds..libguestfs: error: unexpected end of file when reading from daemon child_cleanup: 0x8b77958: child process died libguestfs-test-tool: failed to launch appliance closing guestfs handle 0x8b77958 (state 0)
On Wed, Apr 06, 2011 at 04:38:56AM -0700, Chris Willmore wrote:
I am trying to run guestfish inside an Ubuntu instance running in VirtualBox. I'm running into problems, and my first question, is this setup even possible?
Yes. It will work fine, although it'll be a bit slower because it will use only software virtualization instead of hardware-accelerated virt.
I compiled and installed libguestfs-1.8.4.
Running libguestfs-test-tool fails with the following output.
Would appreciate any advice,
[...]
febootstrap: ext2 mini initrd starting up febootstrap: mounting /sys febootstrap: insmod crc-ccitt.ko insmod: execl: Exec format error insmod: wait: File exists
I guess you're using the 'insmod.static' binary that we supply, which was copied from an x86-64 Fedora instance. It looks like this is a 32 bit host. So that's not gonna work. The real solution to this is for Ubuntu to compile insmod.static in Ubuntu's module-init-tools package. In the meantime, here is a 32 bit binary copied from Fedora 15: http://oirase.annexia.org/tmp/insmod.static Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
participants (2)
-
Chris Willmore -
Richard W.M. Jones