[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] Ubuntu packages problems



Hello,

I am trying to run guestfish on Ubuntu Natty, but although I followed
the README and tried the kernel permissions workaround from here (
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725 ), I am
still having problems when running libguestfs-test-tool as root (see
attached). Am I doing something wrong?

Thank you,
Vangelis
libguestfs: new guestfs handle 0x2191ef0
===== Test starts here =====
LIBGUESTFS_DEBUG=1
library version: 1.11.0
guestfs_get_append: (null)
guestfs_get_attach_method: appliance
guestfs_get_autosync: 1
guestfs_get_direct: 0
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib/guestfs
guestfs_get_qemu: /usr/bin/kvm
guestfs_get_recovery_proc: 1
guestfs_get_selinux: 0
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 120 seconds.
libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib/guestfs/supermin.d' x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/2.6.31-21-generic is a directory
picked vmlinuz-2.6.31-21-generic because modpath /lib/modules/2.6.31-21-generic exists
checking modpath /lib/modules/2.6.38-8-generic is a directory
picked vmlinuz-2.6.38-8-generic because modpath /lib/modules/2.6.38-8-generic exists
checking modpath /lib/modules/2.6.38-5-generic is a directory
picked vmlinuz-2.6.38-5-generic because modpath /lib/modules/2.6.38-5-generic exists
checking modpath /lib/modules/2.6.32-25-generic is a directory
picked vmlinuz-2.6.32-25-generic because modpath /lib/modules/2.6.32-25-generic exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [00031ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [00122ms] finished creating appliance
libguestfs: [00124ms] begin testing qemu features
libguestfs: [00138ms] finished testing qemu features
libguestfs: accept_from_daemon: 0x2191ef0 g->state = 1
libguestfs: [00138ms] /usr/bin/kvm \
    -drive file=/tmp/libguestfs-test-tool-sda-thwh20,cache=off,format=raw,if=virtio \
    -nodefconfig \
    -enable-kvm \
    -nodefaults \
    -nographic \
    -m 500 \
    -no-reboot \
    -no-hpet \
    -device virtio-serial \
    -serial stdio \
    -chardev socket,path=/tmp/libguestfso5WTS4/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -kernel /var/tmp/.guestfs-0/kernel.3482 \
    -initrd /var/tmp/.guestfs-0/initrd.3482 \
    -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=/var/tmp/.guestfs-0/root.3482,snapshot=on,if=virtio,cache=unsafe
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.38-8-generic (buildd allspice) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 (Ubuntu 2.6.38-8.42-generic 2.6.38.2)
[    0.000000] 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] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009bc00 (usable)
[    0.000000]  BIOS-e820: 000000000009bc00 - 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: 00000000feffc000 - 00000000ff000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x1f3fd max_arch_pfn = 0x400000000
[    0.000000] PAT not supported by CPU.
[    0.000000] found SMP MP-table at [ffff8800000fd790] fd790
[    0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000
[    0.000000] RAMDISK: 1f250000 - 1f3f0000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-000000001f3fd000
[    0.000000] Initmem setup node 0 0000000000000000-000000001f3fd000
[    0.000000]   NODE_DATA [000000001f3f5000 - 000000001f3f9fff]
[    0.000000] kvm-clock: Using msrs 12 and 11
[    0.000000] kvm-clock: cpu 0, msr 0:1ac8c81, boot clock
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009b
[    0.000000]     0: 0x00000100 -> 0x0001f3fd
[    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 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: 000000000009b000 - 000000000009c000
[    0.000000] PM: Registered nosave memory: 000000000009c000 - 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:dfbfc000)
[    0.000000] Booting paravirtualized kernel on KVM
[    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 s84416 r8192 d22080 u2097152
[    0.000000] kvm-clock: cpu 0, msr 0:1f013c81, primary cpu clock
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 126124
[    0.000000] Policy zone: DMA32
[    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: 2, 16384 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 488144k/511988k available (5940k kernel code, 468k absent, 23376k reserved, 5017k data, 956k init)
[    0.000000] SLUB: Genslabs=15, 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] NR_IRQS:16640 nr_irqs:256 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Detected 2925.998 MHz processor.
[    0.020000] Calibrating delay loop (skipped) preset value.. 5851.99 BogoMIPS (lpj=29259980)
[    0.020000] pid_max: default: 32768 minimum: 301
[    0.020000] Security Framework initialized
[    0.020000] AppArmor: AppArmor initialized
[    0.020000] Yama: becoming mindful.
[    0.020000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.020000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.020000] Mount-cache hash table entries: 256
[    0.020000] Initializing cgroup subsys ns
[    0.020000] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
[    0.020000] Initializing cgroup subsys cpuacct
[    0.020000] Initializing cgroup subsys memory
[    0.020000] Initializing cgroup subsys devices
[    0.020000] Initializing cgroup subsys freezer
[    0.020000] Initializing cgroup subsys net_cls
[    0.020000] Initializing cgroup subsys blkio
[    0.020000] mce: CPU supports 10 MCE banks
[    0.020203] SMP alternatives: switching to UP code
[    0.097878] Freeing SMP alternatives: 20k freed
[    0.098424] ftrace: allocating 24314 entries in 96 pages
[    0.110132] Setting APIC routing to flat
[    0.110634] CPU0: Intel QEMU Virtual CPU version 0.14.0 stepping 03
[    0.230067] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[    0.231712] Brought up 1 CPUs
[    0.232026] Total of 1 processors activated (5851.99 BogoMIPS).
[    0.232683] devtmpfs: initialized
[    0.233861] print_constraints: dummy: 
[    0.234303] Time:  9:19:08  Date: 05/05/11
[    0.234751] NET: Registered protocol family 16
[    0.235374] PCI: Using configuration type 1 for base access
[    0.236495] bio: create slab <bio-0> at 0
[    0.236951] ACPI: Interpreter disabled.
[    0.237376] vgaarb: loaded
[    0.237774] SCSI subsystem initialized
[    0.238227] usbcore: registered new interface driver usbfs
[    0.238792] usbcore: registered new interface driver hub
[    0.239325] usbcore: registered new device driver usb
[    0.239881] PCI: Probing PCI hardware
[    0.241419] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.242131] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.245004] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.245806] NetLabel: Initializing
[    0.246153] NetLabel:  domain hash size = 128
[    0.246581] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.247078] NetLabel:  unlabeled traffic allowed by default
[    0.247663] Switching to clocksource kvm-clock
[    0.248110] Switched to NOHz mode on CPU #0
[    0.250710] AppArmor: AppArmor Filesystem Enabled
[    0.251228] pnp: PnP ACPI: disabled
[    0.252861] NET: Registered protocol family 2
[    0.253377] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.254216] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[    0.255066] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.255842] TCP: Hash tables configured (established 16384 bind 16384)
[    0.256477] TCP reno registered
[    0.256791] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.257402] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.258057] NET: Registered protocol family 1
[    0.258501] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.259085] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.259668] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.260477] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.261385] audit: initializing netlink socket (disabled)
[    0.261921] type=2000 audit(1304587148.260:1): initialized
[    0.272336] Trying to unpack rootfs image as initramfs...
[    0.275628] Freeing initrd memory: 1664k freed
[    0.276753] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.278998] VFS: Disk quotas dquot_6.5.2
[    0.279444] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.280756] fuse init (API version 7.16)
[    0.281254] msgmni has been set to 956
[    0.281968] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.282729] io scheduler noop registered
[    0.283126] io scheduler deadline registered
[    0.283615] io scheduler cfq registered (default)
[    0.284161] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.284723] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.285477] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.307661] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.309242] Linux agpgart interface v0.103
[    0.310912] brd: module loaded
[    0.311784] loop: module loaded
[    0.312168] i2c-core: driver [adp5520] using legacy suspend method
[    0.312769] i2c-core: driver [adp5520] using legacy resume method
[    0.313945] scsi0 : ata_piix
[    0.314314] scsi1 : ata_piix
[    0.314637] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
[    0.315301] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
[    0.316444] Fixed MDIO Bus: probed
[    0.316806] PPP generic driver version 2.4.2
[    0.317266] tun: Universal TUN/TAP device driver, 1.6
[    0.317762] tun: (C) 1999-2004 Max Krasnyansky <maxk qualcomm com>
[    0.318460] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.319104] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.319711] uhci_hcd: USB Universal Host Controller Interface driver
[    0.320630] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.321811] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.322303] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.322894] mousedev: PS/2 mouse device common for all mice
[    0.323697] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.324821] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.325484] rtc0: alarms up to one day, 114 bytes nvram
[    0.326065] device-mapper: uevent: version 1.0.3
[    0.326601] device-mapper: ioctl: 4.19.1-ioctl (2011-01-07) initialised: dm-devel redhat com
[    0.327548] device-mapper: multipath: version 1.2.0 loaded
[    0.328083] device-mapper: multipath round-robin: version 1.0.0 loaded
[    0.328865] cpuidle: using governor ladder
[    0.329270] cpuidle: using governor menu
[    0.329818] TCP cubic registered
[    0.330293] NET: Registered protocol family 10
[    0.331103] NET: Registered protocol family 17
[    0.331556] Registering the dns_resolver key type
[    0.332135] registered taskstats version 1
[    0.332700]   Magic number: 11:591:322
[    0.333094] misc mcelog: hash matches
[    0.333460] tty tty47: hash matches
[    0.333877] rtc_cmos rtc_cmos: setting system clock to 2011-05-05 09:19:08 UTC (1304587148)
[    0.334690] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.335271] EDD information not available.
[    0.482772] Freeing unused kernel memory: 956k freed
[    0.484022] Write protecting the kernel read-only data: 10240k
[    0.486524] Freeing unused kernel memory: 184k freed
[    0.492797] Freeing unused kernel memory: 1444k freed
/proc/uptime: No such file or directory
febootstrap: ext2 mini initrd starting up
febootstrap: mounting /sys
febootstrap: insmod crc-ccitt.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod crc-itu-t.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod crc7.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod libcrc32c.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod scsi_transport_spi.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod sparse-keymap.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod virtio.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod virtio_ring.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod sym53c8xx.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod ideapad-laptop.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod virtio_pci.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod virtio_blk.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod virtio_net.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod virtio_balloon.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod virtio-rng.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: insmod virtio_console.ko
insmod: execl: Permission denied
insmod: wait: File exists
febootstrap: no ext2 root device found
Please include FULL verbose output in your bug report.
[    0.527883] Kernel panic - not syncing: Attempted to kill init!
[    0.528468] Pid: 1, comm: init Not tainted 2.6.38-8-generic #42-Ubuntu
[    0.529099] Call Trace:
[    0.529383]  [<ffffffff815bfece>] ? panic+0x91/0x19c
[    0.529885]  [<ffffffff81069ac3>] ? forget_original_parent+0x263/0x270
[    0.530573]  [<ffffffff81069aeb>] ? exit_notify+0x1b/0x180
[    0.531125]  [<ffffffff810133af>] ? flush_ptrace_hw_breakpoint+0x1f/0x40
[    0.531785]  [<ffffffff8106a4b3>] ? do_exit+0x1d3/0x410
[    0.532306]  [<ffffffff81164e53>] ? vfs_write+0x123/0x180
[    0.532840]  [<ffffffff8106a8a8>] ? do_group_exit+0x58/0xd0
[    0.533389]  [<ffffffff8106a937>] ? sys_exit_group+0x17/0x20
[    0.533945]  [<ffffffff8100c002>] ? system_call_fastpath+0x16/0x1b
[    0.534621] Rebooting in 1 seconds..libguestfs: error: unexpected end of file when reading from daemon
libguestfs: child_cleanup: 0x2191ef0: child process died
libguestfs-test-tool: failed to launch appliance
libguestfs: closing guestfs handle 0x2191ef0 (state 0)
begin:vcard
fn:Evangelos Angelou
n:Angelou;Evangelos
org:National Technical University of Athens;CSLab
email;internet:eangelou cslab ntua gr
title:PhD Candidate
tel;cell:6936588333
version:2.1
end:vcard

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]