Kernel panic on Ubuntu 10.04
Hello! I'm trying to install libguestfs on Ubuntu 10.04 I've installed packages from here: http://libguestfs.org/download/binaries/ubuntu1004-packages/ I get kernel panic on running libguestfs_test_tool, here is outptut: libguestfs: new guestfs handle 0xa596c0 ===== Test starts here ===== LIBGUESTFS_DEBUG=1 library version: 1.13.11 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_pgroup: 0 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.32-042test006.1 is a directory picked vmlinuz-2.6.32-042test006.1 because modpath /lib/modules/2.6.32-042test006.1 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.32-31-generic is a directory picked vmlinuz-2.6.32-31-generic because modpath /lib/modules/2.6.32-31-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 [00014ms] visiting /usr/lib/guestfs/supermin.d/init.img supermin helper [00105ms] finished creating appliance libguestfs: [00109ms] begin building supermin appliance libguestfs: [00109ms] run febootstrap-supermin-helper libguestfs: [00109ms] febootstrap-supermin-helper --verbose -f ext2 /usr/lib/guestfs/supermin.d x86_64 /var/tmp/guestfs.QSRPeP/kernel /var/tmp/guestfs.QSRPeP/initrd /var/tmp/guestfs.QSRPeP/root supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.QSRPeP/kernel, initrd = /var/tmp/guestfs.QSRPeP/initrd, appliance = /var/tmp/guestfs.QSRPeP/root supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d checking modpath /lib/modules/2.6.32-042test006.1 is a directory picked vmlinuz-2.6.32-042test006.1 because modpath /lib/modules/2.6.32-042test006.1 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.32-31-generic is a directory picked vmlinuz-2.6.32-31-generic because modpath /lib/modules/2.6.32-31-generic exists supermin helper [00000ms] finished creating kernel supermin helper [01276ms] finished mke2fs supermin helper [01277ms] visiting /usr/lib/guestfs/supermin.d supermin helper [01277ms] visiting /usr/lib/guestfs/supermin.d/base.img supermin helper [01313ms] visiting /usr/lib/guestfs/supermin.d/daemon.img supermin helper [01319ms] visiting /usr/lib/guestfs/supermin.d/hostfiles supermin helper [02167ms] visiting /usr/lib/guestfs/supermin.d/init.img supermin helper [07526ms] finished creating appliance libguestfs: [07638ms] finished building supermin appliance libguestfs: [07638ms] begin testing qemu features libguestfs: [07660ms] finished testing qemu features libguestfs: accept_from_daemon: 0xa596c0 g->state = 1 [07661ms] /usr/bin/kvm \ -drive file=/tmp/libguestfs-test-tool-sda-LG8hdC,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/libguestfsOxexyd/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-0/kernel.3096 \ -initrd /var/tmp/.guestfs-0/initrd.3096 \ -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.3096,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 - 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: 00000000fffbc000 - 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 [ffff8800000f8990] f8990 [ 0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000 [ 0.000000] RAMDISK: 1f2ee000 - 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 -> 0x0000009f [ 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: 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:e0bbc000) [ 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: 126128 [ 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: 488792k/511988k available (5940k kernel code, 452k absent, 22744k 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] \tRCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] \tRCU-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 2833.432 MHz processor. [ 0.020000] Calibrating delay loop (skipped) preset value.. 5666.86 BogoMIPS (lpj=28334320) [ 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.020114] mce: CPU supports 10 MCE banks [ 0.020755] SMP alternatives: switching to UP code [ 0.103931] Freeing SMP alternatives: 20k freed [ 0.104485] ftrace: allocating 24314 entries in 96 pages [ 0.120134] Setting APIC routing to flat [ 0.120651] CPU0: Intel QEMU Virtual CPU version 0.14.1 stepping 03 [ 0.250064] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only. [ 0.251805] Brought up 1 CPUs [ 0.252123] Total of 1 processors activated (5666.86 BogoMIPS). [ 0.252820] devtmpfs: initialized [ 0.254080] print_constraints: dummy: [ 0.254542] Time: 10:38:00 Date: 12/23/11 [ 0.255026] NET: Registered protocol family 16 [ 0.255693] PCI: Using configuration type 1 for base access [ 0.256875] bio: create slab <bio-0> at 0 [ 0.257363] ACPI: Interpreter disabled. [ 0.257813] vgaarb: loaded [ 0.258240] SCSI subsystem initialized [ 0.258729] usbcore: registered new interface driver usbfs [ 0.259312] usbcore: registered new interface driver hub [ 0.259884] usbcore: registered new device driver usb [ 0.260070] PCI: Probing PCI hardware [ 0.261939] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 0.262693] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB [ 0.265743] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000] [ 0.266595] NetLabel: Initializing [ 0.266958] NetLabel: domain hash size = 128 [ 0.267414] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.267939] NetLabel: unlabeled traffic allowed by default [ 0.268553] Switching to clocksource kvm-clock [ 0.269024] Switched to NOHz mode on CPU #0 [ 0.271481] AppArmor: AppArmor Filesystem Enabled [ 0.272006] pnp: PnP ACPI: disabled [ 0.273720] NET: Registered protocol family 2 [ 0.274235] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.275115] TCP established hash table entries: 16384 (order: 6, 262144 bytes) [ 0.276022] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.276856] TCP: Hash tables configured (established 16384 bind 16384) [ 0.277565] TCP reno registered [ 0.277898] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.278512] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.279213] NET: Registered protocol family 1 [ 0.279684] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.280324] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.280935] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.281704] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.282657] audit: initializing netlink socket (disabled) [ 0.283227] type=2000 audit(1324636681.280:1): initialized [ 0.293995] Trying to unpack rootfs image as initramfs... [ 0.296378] Freeing initrd memory: 1032k freed [ 0.297206] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.299546] VFS: Disk quotas dquot_6.5.2 [ 0.300038] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.301312] fuse init (API version 7.16) [ 0.301806] msgmni has been set to 956 [ 0.302512] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.303304] io scheduler noop registered [ 0.303716] io scheduler deadline registered [ 0.304201] io scheduler cfq registered (default) [ 0.304776] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.305372] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.306177] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.328487] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.330127] Linux agpgart interface v0.103 [ 0.331865] brd: module loaded [ 0.332797] loop: module loaded [ 0.333195] i2c-core: driver [adp5520] using legacy suspend method [ 0.333832] i2c-core: driver [adp5520] using legacy resume method [ 0.335011] scsi0 : ata_piix [ 0.335400] scsi1 : ata_piix [ 0.335743] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14 [ 0.336450] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15 [ 0.337677] Fixed MDIO Bus: probed [ 0.338057] PPP generic driver version 2.4.2 [ 0.338537] tun: Universal TUN/TAP device driver, 1.6 [ 0.339062] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 0.339804] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.340697] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.341342] uhci_hcd: USB Universal Host Controller Interface driver [ 0.342063] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 0.343310] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.343826] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.344447] mousedev: PS/2 mouse device common for all mice [ 0.345289] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 0.346430] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 0.347136] rtc0: alarms up to one day, 114 bytes nvram [ 0.347745] device-mapper: uevent: version 1.0.3 [ 0.348299] device-mapper: ioctl: 4.19.1-ioctl (2011-01-07) initialised: dm-devel@redhat.com [ 0.349286] device-mapper: multipath: version 1.2.0 loaded [ 0.349855] device-mapper: multipath round-robin: version 1.0.0 loaded [ 0.350705] cpuidle: using governor ladder [ 0.351135] cpuidle: using governor menu [ 0.351705] TCP cubic registered [ 0.352161] NET: Registered protocol family 10 [ 0.353021] NET: Registered protocol family 17 [ 0.353501] Registering the dns_resolver key type [ 0.354116] registered taskstats version 1 [ 0.354709] Magic number: 7:406:629 [ 0.355180] rtc_cmos rtc_cmos: setting system clock to 2011-12-23 10:38:00 UTC (1324636680) [ 0.356027] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 0.356651] EDD information not available. [ 0.502190] Freeing unused kernel memory: 956k freed [ 0.503373] Write protecting the kernel read-only data: 10240k [ 0.505329] Freeing unused kernel memory: 184k freed [ 0.511970] Freeing unused kernel memory: 1444k freed febootstrap: mounting /proc febootstrap: uptime: 0.51 0.26 febootstrap: ext2 mini initrd starting up febootstrap: mounting /sys febootstrap: internal insmod libcrc32c.ko febootstrap: internal insmod crc-itu-t.ko febootstrap: internal insmod crc-ccitt.ko febootstrap: internal insmod crc7.ko febootstrap: internal insmod scsi_transport_spi.ko febootstrap: internal insmod sym53c8xx.ko febootstrap: internal insmod sparse-keymap.ko febootstrap: internal insmod ideapad-laptop.ko insmod: init_module: ideapad-laptop.ko: No such device 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.540848] virtio-pci 0000:00:02.0: found PCI INT A -> IRQ 10 [ 0.546357] virtio-pci 0000:00:03.0: found PCI INT A -> IRQ 11 [ 0.550930] vda: unknown partition table [ 0.551543] virtio-pci 0000:00:04.0: found PCI INT A -> IRQ 11 [ 0.553143] vdb: unknown partition table febootstrap: internal insmod virtio_balloon.ko febootstrap: picked /sys/block/vdb/dev as root device febootstrap: creating /dev/root as block special 251:16 febootstrap: mounting new root on /root febootstrap: chroot /proc/uptime: No such file or directory execl: /init: No such file or directory febootstrap: debug: listing directory / 2 d . 040755 4096 0:0 2 d .. 040755 4096 0:0 11 d lost+found 040700 16384 0:0 12 d bin 040755 4096 1000:1000 13 d boot 040755 4096 1000:1000 14 d dev 040755 4096 1000:1000 15 d etc 040755 4096 1000:1000 171 d home 040755 4096 1000:1000 172 d lib 040755 4096 1000:1000 220 d mnt 040755 4096 1000:1000 221 d proc 040755 4096 1000:1000 222 d root 040700 4096 1000:1000 223 d sbin 040755 4096 1000:1000 224 d selinux 040755 4096 1000:1000 225 d tmp 040777 4096 1000:1000 226 d usr 040755 4096 1000:1000 761 d var 040755 4096 1000:1000 1172 l lib64 120777 4 0:0 -> /lib 4289 - init 100755 3287 1000:1000 febootstrap: debug: listing directory /bin 12 d . 040755 4096 1000:1000 2 d .. 040755 4096 0:0 783 - bash 100755 934336 0:0 784 - cat 100755 60064 0:0 785 - chgrp 100755 64128 0:0 786 - chmod 100755 60000 0:0 787 - chown 100755 64144 0:0 788 - cp 100755 109648 0:0 789 - cpio 100755 129320 0:0 790 - dash 100755 101608 0:0 791 - date 100755 68192 0:0 792 - dd 100755 60120 0:0 793 - df 100755 76568 0:0 794 - dir 100755 114032 0:0 795 - dmesg 100755 10432 0:0 796 - echo 100755 39328 0:0 797 - egrep 100755 105688 0:0 798 - false 100755 35216 0:0 799 - fgrep 100755 64600 0:0 800 - fuser 100755 31744 0:0 801 - fusermount 104755 31384 0:0 802 - grep 100755 113912 0:0 803 - gunzip 100755 63 0:0 804 - gzexe 100755 5874 0:0 805 - gzip 100755 64168 0:0 806 - ip 100755 226568 0:0 807 - kill 100755 18800 0:0 808 - ln 100755 55912 0:0 809 - ls 100755 114032 0:0 810 - lsmod 100755 6152 0:0 811 - mkdir 100755 43600 0:0 812 - mknod 100755 43488 0:0 813 - mktemp 100755 43600 0:0 814 - more 100755 35512 0:0 815 - mount 104755 82256 0:0 816 - mt-gnu 100755 39880 0:0 817 - mv 100755 97352 0:0 818 - netstat 100755 120184 0:0 819 - ntfs-3g 100755 52832 0:0 820 - ntfs-3g.probe 100755 10432 0:0 821 - ntfs-3g.secaudit 100755 55848 0:0 822 - ntfs-3g.usermap 100755 14640 0:0 823 - ps 100755 101232 0:0 824 - pwd 100755 39472 0:0 825 l rbash 120777 4 0:0 -> bash 826 - readlink 100755 47656 0:0 827 - rm 100755 64208 0:0 828 - rmdir 100755 39392 0:0 829 - run-parts 100755 19208 0:0 830 - sed 100755 69088 0:0 831 l sh 120777 20 0:0 -> /etc/alternatives/sh 832 - sleep 100755 39376 0:0 833 - stty 100755 64048 0:0 834 - sync 100755 35232 0:0 835 - tailf 100755 10552 0:0 836 - tar 100755 344688 0:0 837 - tempfile 100755 10376 0:0 838 - touch 100755 60016 0:0 839 - true 100755 35216 0:0 840 - ulockmgr_server 100755 14712 0:0 841 - umount 104755 56680 0:0 842 - uname 100755 39360 0:0 843 - uncompress 100755 63 0:0 844 - vdir 100755 114032 0:0 845 - which 100755 946 0:0 846 - zcat 100755 64 0:0 847 - zcmp 100755 69 0:0 848 - zdiff 100755 4424 0:0 849 - zegrep 100755 64 0:0 850 - zfgrep 100755 64 0:0 851 - zforce 100755 2015 0:0 852 - zgrep 100755 5597 0:0 853 - zless 100755 1733 0:0 854 - zmore 100755 2416 0:0 855 - znew 100755 4952 0:0 febootstrap: debug: listing directory /lib 172 d . 040755 4096 1000:1000 2 d .. 040755 4096 0:0 173 d cryptsetup 040755 4096 1000:1000 176 d firmware 040755 4096 1000:1000 208 d init 040755 4096 1000:1000 209 d lsb 040755 4096 1000:1000 210 d modules 040755 4096 1000:1000 211 d security 040755 4096 1000:1000 212 d udev 040755 4096 1000:1000 883 - klibc-usBAintlt99f0TITo98H_trqH2c.so 100755 72048 0:0 884 - ld-2.11.1.so 100755 136936 0:0 885 l ld-linux-x86-64.so.2 120777 12 0:0 -> ld-2.11.1.so 886 - libBrokenLocale-2.11.1.so 100644 6264 0:0 887 l libBrokenLocale.so.1 120777 25 0:0 -> libBrokenLocale-2.11.1.so 888 - libSegFault.so 100644 18680 0:0 889 l libacl.so.1 120777 15 0:0 -> libacl.so.1.1.0 890 - libacl.so.1.1.0 100644 31208 0:0 891 l libaio.so.1 120777 15 0:0 -> libaio.so.1.0.1 892 - libaio.so.1.0.1 100644 6128 0:0 893 - libanl-2.11.1.so 100644 14920 0:0 894 l libanl.so.1 120777 16 0:0 -> libanl-2.11.1.so 895 l libattr.so.1 120777 16 0:0 -> libattr.so.1.1.0 896 - libattr.so.1.1.0 100644 18704 0:0 897 l libblkid.so.1 120777 17 0:0 -> libblkid.so.1.1.0 898 - libblkid.so.1.1.0 100644 126536 0:0 899 l libbsd.so.0 120777 15 0:0 -> libbsd.so.0.2.0 900 - libbsd.so.0.2.0 100644 39560 0:0 901 - libc-2.11.1.so 100755 1572232 0:0 902 l libc.so.6 120777 14 0:0 -> libc-2.11.1.so 903 - libcidn-2.11.1.so 100644 190840 0:0 904 l libcidn.so.1 120777 17 0:0 -> libcidn-2.11.1.so 905 l libcom_err.so.2 120777 17 0:0 -> libcom_err.so.2.1 906 - libcom_err.so.2.1 100644 14584 0:0 907 - libcrypt-2.11.1.so 100644 43296 0:0 908 l libcrypt.so.1 120777 18 0:0 -> libcrypt-2.11.1.so 909 l libdbus-1.so.3 120777 18 0:0 -> libdbus-1.so.3.4.0 910 - libdbus-1.so.3.4.0 100644 256768 0:0 911 - libdevmapper-event.so.1.02.1 100644 18752 0:0 912 - libdevmapper.so.1.02.1 100644 121592 0:0 913 - libdl-2.11.1.so 100644 14696 0:0 914 l libdl.so.2 120777 15 0:0 -> libdl-2.11.1.so 915 l libdrm.so.2 120777 15 0:0 -> libdrm.so.2.4.0 916 - libdrm.so.2.4.0 100644 43312 0:0 917 l libdrm_intel.so.1 120777 21 0:0 -> libdrm_intel.so.1.0.0 918 - libdrm_intel.so.1.0.0 100644 43144 0:0 919 l libdrm_nouveau.so.1 120777 23 0:0 -> libdrm_nouveau.so.1.0.0 920 - libdrm_nouveau.so.1.0.0 100644 22640 0:0 921 l libdrm_radeon.so.1 120777 22 0:0 -> libdrm_radeon.so.1.0.0 922 - libdrm_radeon.so.1.0.0 100644 18664 0:0 923 l libe2p.so.2 120777 13 0:0 -> libe2p.so.2.3 924 - libe2p.so.2.3 100644 28072 0:0 925 l libext2fs.so.2 120777 16 0:0 -> libext2fs.so.2.4 926 - libext2fs.so.2.4 100644 184144 0:0 927 l libfuse.so.2 120777 16 0:0 -> libfuse.so.2.8.1 928 - libfuse.so.2.8.1 100644 217536 0:0 929 - libgcc_s.so.1 100644 92552 0:0 930 l libglib-2.0.so.0 120777 23 0:0 -> libglib-2.0.so.0.2400.1 931 - libglib-2.0.so.0.2400.1 100644 905480 0:0 932 l libhistory.so.6 120777 17 0:0 -> libhistory.so.6.1 933 - libhistory.so.6.1 100644 35040 0:0 934 - libm-2.11.1.so 100644 534832 0:0 935 l libm.so.6 120777 14 0:0 -> libm-2.11.1.so 936 - libmemusage.so 100644 18760 0:0 937 l libncurses.so.5 120777 17 0:0 -> libncurses.so.5.7 938 - libncurses.so.5.7 100644 274360 0:0 939 l libnih-dbus.so.1 120777 20 0:0 -> libnih-dbus.so.1.0.0 940 - libnih-dbus.so.1.0.0 100644 38952 0:0 941 l libnih.so.1 120777 15 0:0 -> libnih.so.1.0.0 942 - libnih.so.1.0.0 100644 92208 0:0 943 - libnsl-2.11.1.so 100644 97256 0:0 944 l libnsl.so.1 120777 16 0:0 -> libnsl-2.11.1.so 945 - libnss_compat-2.11.1.so 100644 35712 0:0 946 l libnss_compat.so.2 120777 23 0:0 -> libnss_compat-2.11.1.so 947 - libnss_dns-2.11.1.so 100644 22928 0:0 948 l libnss_dns.so.2 120777 20 0:0 -> libnss_dns-2.11.1.so 949 - libnss_files-2.11.1.so 100644 51712 0:0 950 l libnss_files.so.2 120777 22 0:0 -> libnss_files-2.11.1.so 951 - libnss_hesiod-2.11.1.so 100644 18864 0:0 952 l libnss_hesiod.so.2 120777 23 0:0 -> libnss_hesiod-2.11.1.so 953 - libnss_nis-2.11.1.so 100644 43552 0:0 954 l libnss_nis.so.2 120777 20 0:0 -> libnss_nis-2.11.1.so 955 - libnss_nisplus-2.11.1.so 100644 51704 0:0 956 l libnss_nisplus.so.2 120777 24 0:0 -> libnss_nisplus-2.11.1.so 957 l libntfs-3g.so.75 120777 20 0:0 -> libntfs-3g.so.75.0.0 958 - libntfs-3g.so.75.0.0 100644 266616 0:0 959 l libpam.so.0 120777 16 0:0 -> libpam.so.0.82.2 960 - libpam.so.0.82.2 100644 51776 0:0 961 l libpam_misc.so.0 120777 21 0:0 -> libpam_misc.so.0.82.0 962 - libpam_misc.so.0.82.0 100644 14576 0:0 963 l libpamc.so.0 120777 17 0:0 -> libpamc.so.0.82.1 964 - libpamc.so.0.82.1 100644 14584 0:0 965 l libparted.so.0 120777 18 0:0 -> libparted.so.0.0.1 966 - libparted.so.0.0.1 100644 485144 0:0 967 - libpcprofile.so 100644 6272 0:0 968 l libpcre.so.3 120777 17 0:0 -> libpcre.so.3.12.1 969 - libpcre.so.3.12.1 100644 186440 0:0 970 l libply-boot-client.so.2 120777 27 0:0 -> libply-boot-client.so.2.0.0 971 - libply-boot-client.so.2.0.0 100644 18656 0:0 972 l libply-splash-core.so.2 120777 27 0:0 -> libply-splash-core.so.2.0.0 973 - libply-splash-core.so.2.0.0 100644 68528 0:0 974 l libply-splash-graphics.so.2 120777 31 0:0 -> libply-splash-graphics.so.2.0.0 975 - libply-splash-graphics.so.2.0.0 100644 35416 0:0 976 l libply.so.2 120777 15 0:0 -> libply.so.2.0.0 977 - libply.so.2.0.0 100644 89192 0:0 978 l libpng12.so.0 120777 18 0:0 -> libpng12.so.0.42.0 979 - libpng12.so.0.42.0 100644 158736 0:0 980 l libpopt.so.0 120777 16 0:0 -> libpopt.so.0.0.0 981 - libpopt.so.0.0.0 100644 44008 0:0 982 - libproc-3.2.8.so 100644 76696 0:0 983 - libpthread-2.11.1.so 100755 135745 0:0 984 l libpthread.so.0 120777 20 0:0 -> libpthread-2.11.1.so 985 l libreadline.so.6 120777 18 0:0 -> libreadline.so.6.1 986 - libreadline.so.6.1 100644 261392 0:0 987 - libresolv-2.11.1.so 100644 93000 0:0 988 l libresolv.so.2 120777 19 0:0 -> libresolv-2.11.1.so 989 - librt-2.11.1.so 100644 31744 0:0 990 l librt.so.1 120777 15 0:0 -> librt-2.11.1.so 991 - libselinux.so.1 100644 117592 0:0 992 - libsepol.so.1 100644 244576 0:0 993 l libslang.so.2 120777 17 0:0 -> libslang.so.2.2.2 994 - libslang.so.2.2.2 100644 1063520 0:0 995 l libss.so.2 120777 12 0:0 -> libss.so.2.0 996 - libss.so.2.0 100644 27072 0:0 997 - libthread_db-1.0.so 100644 31472 0:0 998 l libthread_db.so.1 120777 19 0:0 -> libthread_db-1.0.so 999 l libtic.so.5 120777 13 0:0 -> libtic.so.5.7 1000 - libtic.so.5.7 100644 55904 0:0 1001 l libudev.so.0 120777 16 0:0 -> libudev.so.0.6.1 1002 - libudev.so.0.6.1 100644 47048 0:0 1003 l libulockmgr.so.1 120777 20 0:0 -> libulockmgr.so.1.0.1 1004 - libulockmgr.so.1.0.1 100644 10448 0:0 1005 l libusb-0.1.so.4 120777 19 0:0 -> libusb-0.1.so.4.4.4 1006 - libusb-0.1.so.4.4.4 100644 36032 0:0 1007 - libutil-2.11.1.so 100644 10648 0:0 1008 l libutil.so.1 120777 17 0:0 -> libutil-2.11.1.so 1009 l libuuid.so.1 120777 16 0:0 -> libuuid.so.1.3.0 1010 - libuuid.so.1.3.0 100644 19008 0:0 1011 l libz.so.1 120777 15 0:0 -> libz.so.1.2.3.3 1012 - libz.so.1.2.3.3 100644 92752 0:0 febootstrap: debug: listing directory /lib64 172 d . 040755 4096 1000:1000 2 d .. 040755 4096 0:0 173 d cryptsetup 040755 4096 1000:1000 176 d firmware 040755 4096 1000:1000 208 d init 040755 4096 1000:1000 209 d lsb 040755 4096 1000:1000 210 d modules 040755 4096 1000:1000 211 d security 040755 4096 1000:1000 212 d udev 040755 4096 1000:1000 883 - klibc-usBAintlt99f0TITo98H_trqH2c.so 100755 72048 0:0 884 - ld-2.11.1.so 100755 136936 0:0 885 l ld-linux-x86-64.so.2 120777 12 0:0 -> ld-2.11.1.so 886 - libBrokenLocale-2.11.1.so 100644 6264 0:0 887 l libBrokenLocale.so.1 120777 25 0:0 -> libBrokenLocale-2.11.1.so 888 - libSegFault.so 100644 18680 0:0 889 l libacl.so.1 120777 15 0:0 -> libacl.so.1.1.0 890 - libacl.so.1.1.0 100644 31208 0:0 891 l libaio.so.1 120777 15 0:0 -> libaio.so.1.0.1 892 - libaio.so.1.0.1 100644 6128 0:0 893 - libanl-2.11.1.so 100644 14920 0:0 894 l libanl.so.1 120777 16 0:0 -> libanl-2.11.1.so 895 l libattr.so.1 120777 16 0:0 -> libattr.so.1.1.0 896 - libattr.so.1.1.0 100644 18704 0:0 897 l libblkid.so.1 120777 17 0:0 -> libblkid.so.1.1.0 898 - libblkid.so.1.1.0 100644 126536 0:0 899 l libbsd.so.0 120777 15 0:0 -> libbsd.so.0.2.0 900 - libbsd.so.0.2.0 100644 39560 0:0 901 - libc-2.11.1.so 100755 1572232 0:0 902 l libc.so.6 120777 14 0:0 -> libc-2.11.1.so 903 - libcidn-2.11.1.so 100644 190840 0:0 904 l libcidn.so.1 120777 17 0:0 -> libcidn-2.11.1.so 905 l libcom_err.so.2 120777 17 0:0 -> libcom_err.so.2.1 906 - libcom_err.so.2.1 100644 14584 0:0 907 - libcrypt-2.11.1.so 100644 43296 0:0 908 l libcrypt.so.1 120777 18 0:0 -> libcrypt-2.11.1.so 909 l libdbus-1.so.3 120777 18 0:0 -> libdbus-1.so.3.4.0 910 - libdbus-1.so.3.4.0 100644 256768 0:0 911 - libdevmapper-event.so.1.02.1 100644 18752 0:0 912 - libdevmapper.so.1.02.1 100644 121592 0:0 913 - libdl-2.11.1.so 100644 14696 0:0 914 l libdl.so.2 120777 15 0:0 -> libdl-2.11.1.so 915 l libdrm.so.2 120777 15 0:0 -> libdrm.so.2.4.0 916 - libdrm.so.2.4.0 100644 43312 0:0 917 l libdrm_intel.so.1 120777 21 0:0 -> libdrm_intel.so.1.0.0 918 - libdrm_intel.so.1.0.0 100644 43144 0:0 919 l libdrm_nouveau.so.1 120777 23 0:0 -> libdrm_nouveau.so.1.0.0 920 - libdrm_nouveau.so.1.0.0 100644 22640 0:0 921 l libdrm_radeon.so.1 120777 22 0:0 -> libdrm_radeon.so.1.0.0 922 - libdrm_radeon.so.1.0.0 100644 18664 0:0 923 l libe2p.so.2 120777 13 0:0 -> libe2p.so.2.3 924 - libe2p.so.2.3 100644 28072 0:0 925 l libext2fs.so.2 120777 16 0:0 -> libext2fs.so.2.4 926 - libext2fs.so.2.4 100644 184144 0:0 927 l libfuse.so.2 120777 16 0:0 -> libfuse.so.2.8.1 928 - libfuse.so.2.8.1 100644 217536 0:0 929 - libgcc_s.so.1 100644 92552 0:0 930 l libglib-2.0.so.0 120777 23 0:0 -> libglib-2.0.so.0.2400.1 931 - libglib-2.0.so.0.2400.1 100644 905480 0:0 932 l libhistory.so.6 120777 17 0:0 -> libhistory.so.6.1 933 - libhistory.so.6.1 100644 35040 0:0 934 - libm-2.11.1.so 100644 534832 0:0 935 l libm.so.6 120777 14 0:0 -> libm-2.11.1.so 936 - libmemusage.so 100644 18760 0:0 937 l libncurses.so.5 120777 17 0:0 -> libncurses.so.5.7 938 - libncurses.so.5.7 100644 274360 0:0 939 l libnih-dbus.so.1 120777 20 0:0 -> libnih-dbus.so.1.0.0 940 - libnih-dbus.so.1.0.0 100644 38952 0:0 941 l libnih.so.1 120777 15 0:0 -> libnih.so.1.0.0 942 - libnih.so.1.0.0 100644 92208 0:0 943 - libnsl-2.11.1.so 100644 97256 0:0 944 l libnsl.so.1 120777 16 0:0 -> libnsl-2.11.1.so 945 - libnss_compat-2.11.1.so 100644 35712 0:0 946 l libnss_compat.so.2 120777 23 0:0 -> libnss_compat-2.11.1.so 947 - libnss_dns-2.11.1.so 100644 22928 0:0 948 l libnss_dns.so.2 120777 20 0:0 -> libnss_dns-2.11.1.so 949 - libnss_files-2.11.1.so 100644 51712 0:0 950 l libnss_files.so.2 120777 22 0:0 -> libnss_files-2.11.1.so 951 - libnss_hesiod-2.11.1.so 100644 18864 0:0 952 l libnss_hesiod.so.2 120777 23 0:0 -> libnss_hesiod-2.11.1.so 953 - libnss_nis-2.11.1.so 100644 43552 0:0 954 l libnss_nis.so.2 120777 20 0:0 -> libnss_nis-2.11.1.so 955 - libnss_nisplus-2.11.1.so 100644 51704 0:0 956 l libnss_nisplus.so.2 120777 24 0:0 -> libnss_nisplus-2.11.1.so 957 l libntfs-3g.so.75 120777 20 0:0 -> libntfs-3g.so.75.0.0 958 - libntfs-3g.so.75.0.0 100644 266616 0:0 959 l libpam.so.0 120777 16 0:0 -> libpam.so.0.82.2 960 - libpam.so.0.82.2 100644 51776 0:0 961 l libpam_misc.so.0 120777 21 0:0 -> libpam_misc.so.0.82.0 962 - libpam_misc.so.0.82.0 100644 14576 0:0 963 l libpamc.so.0 120777 17 0:0 -> libpamc.so.0.82.1 964 - libpamc.so.0.82.1 100644 14584 0:0 965 l libparted.so.0 120777 18 0:0 -> libparted.so.0.0.1 966 - libparted.so.0.0.1 100644 485144 0:0 967 - libpcprofile.so 100644 6272 0:0 968 l libpcre.so.3 120777 17 0:0 -> libpcre.so.3.12.1 969 - libpcre.so.3.12.1 100644 186440 0:0 970 l libply-boot-client.so.2 120777 27 0:0 -> libply-boot-client.so.2.0.0 971 - libply-boot-client.so.2.0.0 100644 18656 0:0 972 l libply-splash-core.so.2 120777 27 0:0 -> libply-splash-core.so.2.0.0 973 - libply-splash-core.so.2.0.0 100644 68528 0:0 974 l libply-splash-graphics.so.2 120777 31 0:0 -> libply-splash-graphics.so.2.0.0 975 - libply-splash-graphics.so.2.0.0 100644 35416 0:0 976 l libply.so.2 120777 15 0:0 -> libply.so.2.0.0 977 - libply.so.2.0.0 100644 89192 0:0 978 l libpng12.so.0 120777 18 0:0 -> libpng12.so.0.42.0 979 - libpng12.so.0.42.0 100644 158736 0:0 980 l libpopt.so.0 120777 16 0:0 -> libpopt.so.0.0.0 981 - libpopt.so.0.0.0 100644 44008 0:0 982 - libproc-3.2.8.so 100644 76696 0:0 983 - libpthread-2.11.1.so 100755 135745 0:0 984 l libpthread.so.0 120777 20 0:0 -> libpthread-2.11.1.so 985 l libreadline.so.6 120777 18 0:0 -> libreadline.so.6.1 986 - libreadline.so.6.1 100644 261392 0:0 987 - libresolv-2.11.1.so 100644 93000 0:0 988 l libresolv.so.2 120777 19 0:0 -> libresolv-2.11.1.so 989 - librt-2.11.1.so 100644 31744 0:0 990 l librt.so.1 120777 15 0:0 -> librt-2.11.1.so 991 - libselinux.so.1 100644 117592 0:0 992 - libsepol.so.1 100644 244576 0:0 993 l libslang.so.2 120777 17 0:0 -> libslang.so.2.2.2 994 - libslang.so.2.2.2 100644 1063520 0:0 995 l libss.so.2 120777 12 0:0 -> libss.so.2.0 996 - libss.so.2.0 100644 27072 0:0 997 - libthread_db-1.0.so 100644 31472 0:0 998 l libthread_db.so.1 120777 19 0:0 -> libthread_db-1.0.so 999 l libtic.so.5 120777 13 0:0 -> libtic.so.5.7 1000 - libtic.so.5.7 100644 55904 0:0 1001 l libudev.so.0 120777 16 0:0 -> libudev.so.0.6.1 1002 - libudev.so.0.6.1 100644 47048 0:0 1003 l libulockmgr.so.1 120777 20 0:0 -> libulockmgr.so.1.0.1 1004 - libulockmgr.so.1.0.1 100644 10448 0:0 1005 l libusb-0.1.so.4 120777 19 0:0 -> libusb-0.1.so.4.4.4 1006 - libusb-0.1.so.4.4.4 100644 36032 0:0 1007 - libutil-2.11.1.so 100644 10648 0:0 1008 l libutil.so.1 120777 17 0:0 -> libutil-2.11.1.so 1009 l libuuid.so.1 120777 16 0:0 -> libuuid.so.1.3.0 1010 - libuuid.so.1.3.0 100644 19008 0:0 1011 l libz.so.1 120777 15 0:0 -> libz.so.1.2.3.3 1012 - libz.so.1.2.3.3 100644 92752 0:0 [ 0.759668] Kernel panic - not syncing: Attempted to kill init! [ 0.760300] Pid: 1, comm: init Not tainted 2.6.38-8-generic #42-Ubuntu [ 0.760970] Call Trace: [ 0.761265] [<ffffffff815bfece>] ? panic+0x91/0x19c [ 0.761795] [<ffffffff81069ac3>] ? forget_original_parent+0x263/0x270 [ 0.762464] [<ffffffff81069aeb>] ? exit_notify+0x1b/0x180 [ 0.763040] [<ffffffff810133af>] ? flush_ptrace_hw_breakpoint+0x1f/0x40 [ 0.763727] [<ffffffff8106a4b3>] ? do_exit+0x1d3/0x410 [ 0.764280] [<ffffffff811831e6>] ? mntput_no_expire+0x36/0xf0 [ 0.764880] [<ffffffff8106a8a8>] ? do_group_exit+0x58/0xd0 [ 0.765451] [<ffffffff8106a937>] ? sys_exit_group+0x17/0x20 [ 0.766032] [<ffffffff8100c002>] ? system_call_fastpath+0x16/0x1b [ 0.766741] Rebooting in 1 seconds..libguestfs: error: unexpected end of file when reading from daemon. See earlier debug messages. Or you can run 'libguestfs-test-tool' and post the complete output into a bug report or message to the libguestfs mailing list. libguestfs: child_cleanup: 0xa596c0: child process died libguestfs-test-tool: failed to launch appliance libguestfs: closing guestfs handle 0xa596c0 (state 0)
On Fri, Dec 23, 2011 at 03:34:43PM +0400, Syndicut wrote:
execl: /init: No such file or directory
This error (which is confusing) means: either /init doesn't exist in the appliance, or /bin/sh which /init uses doesn't exist, or some library that /bin/sh needs doesn't exist. We can see by looking at the debug output:
febootstrap: debug: listing directory / [...] 4289 - init 100755 3287 1000:1000
OK: /init exists.
febootstrap: debug: listing directory /bin 12 d . 040755 4096 1000:1000 2 d .. 040755 4096 0:0 783 - bash 100755 934336 0:0 [...] 831 l sh 120777 20 0:0 -> /etc/alternatives/sh
But this is odd. On my Ubuntu 10.04, /bin/sh points to /bin/dash. ----- Anyway, I think you need to compile from source on your machine (also a good reason because 1.13.11 is old, and has at least one known security issue and many known bugs). Just download the latest stable or development tarball, unpack it, and do: ./configure # check this succeeds debuild -i -uc -us -b And install the resultant *.deb files. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
23.12.2011 18:00, Richard W.M. Jones пишет:
Anyway, I think you need to compile from source on your machine (also a good reason because 1.13.11 is old, and has at least one known security issue and many known bugs).
Just download the latest stable or development tarball, unpack it, and do:
./configure # check this succeeds debuild -i -uc -us -b I've get the following weird error:
febootstrap: aptitude: error: no file was downloaded corresponding to package linux-image-2.6.32-37-generic make[3]: *** [stamp-supermin] Error 1 make[3]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8/appliance' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1340: dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed That what aptitude says when trying to download (although that package is normally installed): # aptitude download linux-image-2.6.32-37-generic Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Unable to find an archive "lucid" for the package "linux-image-2.6.32-37-generic"
And install the resultant *.deb files.
Rich.
Finally I managed to build it. I had to made following changes: diff -u ../orig/libguestfs-1.14.8/appliance/excludelist.in ./appliance/excludelist.in --- ../orig/libguestfs-1.14.8/appliance/excludelist.in 2011-07-13 17:16:13.000000000 +0400 +++ ./appliance/excludelist.in 2011-12-26 17:12:58.000000000 +0300 @@ -22,6 +22,7 @@ /* Basically the same with a few minor tweaks. */ #ifdef UBUNTU +^multiarch-support #define DEBIAN 1 #endif diff -u ../orig/libguestfs-1.14.8/appliance/packagelist.in ./appliance/packagelist.in --- ../orig/libguestfs-1.14.8/appliance/packagelist.in 2011-12-06 17:59:15.000000000 +0300 +++ ./appliance/packagelist.in 2011-12-26 17:09:16.000000000 +0300 @@ -59,7 +59,7 @@ hfsplus iproute libaugeas0 - linux-image + linux-image-2.6.32-21-generic nilfs-tools ntfs-3g ntfsprogs Installed packages (I've also specified dash as default sh), but still the same error: libguestfs: new guestfs handle 0x25e17b0 ===== Test starts here ===== LIBGUESTFS_DEBUG=1 TMPDIR=(not set) library version: 1.14.8 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_pgroup: 0 guestfs_get_qemu: /usr/bin/kvm guestfs_get_recovery_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout set to 600 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.32-37-generic is a directory picked vmlinuz-2.6.32-37-generic because modpath /lib/modules/2.6.32-37-generic exists checking modpath /lib/modules/2.6.32-21-generic is a directory picked vmlinuz-2.6.32-21-generic because modpath /lib/modules/2.6.32-21-generic exists checking modpath /lib/modules/2.6.32-042test006.1 is a directory picked vmlinuz-2.6.32-042test006.1 because modpath /lib/modules/2.6.32-042test006.1 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.32-31-generic is a directory picked vmlinuz-2.6.32-31-generic because modpath /lib/modules/2.6.32-31-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 [00014ms] visiting /usr/lib/guestfs/supermin.d/init.img supermin helper [00123ms] finished creating appliance libguestfs: [00128ms] begin testing qemu features libguestfs: [00152ms] finished testing qemu features libguestfs: accept_from_daemon: 0x25e17b0 g->state = 1 [00153ms] /usr/bin/kvm \ -global virtio-blk-pci.scsi=off \ -drive file=/tmp/libguestfs-test-tool-sda-J9iXjo,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/libguestfsy1OBDu/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-0/kernel.20156 \ -initrd /var/tmp/.guestfs-0/initrd.20156 \ -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ -drive file=/var/tmp/.guestfs-0/root.20156,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 no_timer_check 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 - 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: 00000000fffbc000 - 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 [ffff8800000f8990] f8990 [ 0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000 [ 0.000000] RAMDISK: 1f2ee000 - 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 -> 0x0000009f [ 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: 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:e0bbc000) [ 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: 126128 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check 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: 488792k/511988k available (5940k kernel code, 452k absent, 22744k 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] \tRCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] \tRCU-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 2833.432 MHz processor. [ 0.020000] Calibrating delay loop (skipped) preset value.. 5666.86 BogoMIPS (lpj=28334320) [ 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.020113] mce: CPU supports 10 MCE banks [ 0.020755] SMP alternatives: switching to UP code [ 0.104566] Freeing SMP alternatives: 20k freed [ 0.105118] ftrace: allocating 24314 entries in 96 pages [ 0.120134] Setting APIC routing to flat [ 0.122023] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.122647] CPU0: Intel QEMU Virtual CPU version 0.14.1 stepping 03 [ 0.240061] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only. [ 0.241793] Brought up 1 CPUs [ 0.242114] Total of 1 processors activated (5666.86 BogoMIPS). [ 0.243111] devtmpfs: initialized [ 0.244451] print_constraints: dummy: [ 0.244917] Time: 14:40:44 Date: 12/26/11 [ 0.245400] NET: Registered protocol family 16 [ 0.246047] PCI: Using configuration type 1 for base access [ 0.247228] bio: create slab <bio-0> at 0 [ 0.247720] ACPI: Interpreter disabled. [ 0.248166] vgaarb: loaded [ 0.248589] SCSI subsystem initialized [ 0.249075] usbcore: registered new interface driver usbfs [ 0.249666] usbcore: registered new interface driver hub [ 0.250021] usbcore: registered new device driver usb [ 0.250621] PCI: Probing PCI hardware [ 0.252469] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 0.253224] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB [ 0.256237] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000] [ 0.257036] NetLabel: Initializing [ 0.257405] NetLabel: domain hash size = 128 [ 0.257861] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.258389] NetLabel: unlabeled traffic allowed by default [ 0.259010] Switching to clocksource kvm-clock [ 0.259494] Switched to NOHz mode on CPU #0 [ 0.261467] AppArmor: AppArmor Filesystem Enabled [ 0.261994] pnp: PnP ACPI: disabled [ 0.263713] NET: Registered protocol family 2 [ 0.264242] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.265123] TCP established hash table entries: 16384 (order: 6, 262144 bytes) [ 0.266028] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.266849] TCP: Hash tables configured (established 16384 bind 16384) [ 0.267525] TCP reno registered [ 0.267858] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.268469] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.269162] NET: Registered protocol family 1 [ 0.269646] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.270287] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.270899] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.271674] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.272625] audit: initializing netlink socket (disabled) [ 0.273191] type=2000 audit(1324910444.270:1): initialized [ 0.283968] Trying to unpack rootfs image as initramfs... [ 0.286336] Freeing initrd memory: 1032k freed [ 0.287166] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.289539] VFS: Disk quotas dquot_6.5.2 [ 0.290054] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.291327] fuse init (API version 7.16) [ 0.291823] msgmni has been set to 956 [ 0.292523] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.293326] io scheduler noop registered [ 0.293756] io scheduler deadline registered [ 0.294308] io scheduler cfq registered (default) [ 0.294887] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.295482] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.296272] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.318761] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.320464] Linux agpgart interface v0.103 [ 0.322224] brd: module loaded [ 0.323155] loop: module loaded [ 0.323556] i2c-core: driver [adp5520] using legacy suspend method [ 0.324327] i2c-core: driver [adp5520] using legacy resume method [ 0.325575] scsi0 : ata_piix [ 0.325967] scsi1 : ata_piix [ 0.326322] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14 [ 0.327018] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15 [ 0.328237] Fixed MDIO Bus: probed [ 0.328622] PPP generic driver version 2.4.2 [ 0.329116] tun: Universal TUN/TAP device driver, 1.6 [ 0.329658] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 0.330396] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.331078] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.331729] uhci_hcd: USB Universal Host Controller Interface driver [ 0.332449] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 0.333835] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.334350] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.335176] mousedev: PS/2 mouse device common for all mice [ 0.336028] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 0.337162] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 0.337898] rtc0: alarms up to one day, 114 bytes nvram [ 0.338513] device-mapper: uevent: version 1.0.3 [ 0.339061] device-mapper: ioctl: 4.19.1-ioctl (2011-01-07) initialised: dm-devel@redhat.com [ 0.340085] device-mapper: multipath: version 1.2.0 loaded [ 0.340660] device-mapper: multipath round-robin: version 1.0.0 loaded [ 0.341497] cpuidle: using governor ladder [ 0.341931] cpuidle: using governor menu [ 0.342503] TCP cubic registered [ 0.342956] NET: Registered protocol family 10 [ 0.343815] NET: Registered protocol family 17 [ 0.344296] Registering the dns_resolver key type [ 0.344915] registered taskstats version 1 [ 0.345508] Magic number: 7:608:688 [ 0.345979] rtc_cmos rtc_cmos: setting system clock to 2011-12-26 14:40:44 UTC (1324910444) [ 0.346827] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 0.347443] EDD information not available. [ 0.491583] Freeing unused kernel memory: 956k freed [ 0.492507] Write protecting the kernel read-only data: 10240k [ 0.493907] Freeing unused kernel memory: 184k freed [ 0.498510] Freeing unused kernel memory: 1444k freed febootstrap: mounting /proc febootstrap: uptime: 0.50 0.26 febootstrap: ext2 mini initrd starting up febootstrap: mounting /sys febootstrap: internal insmod libcrc32c.ko febootstrap: internal insmod crc-itu-t.ko febootstrap: internal insmod crc-ccitt.ko febootstrap: internal insmod crc7.ko febootstrap: internal insmod scsi_transport_spi.ko febootstrap: internal insmod sym53c8xx.ko febootstrap: internal insmod sparse-keymap.ko febootstrap: internal insmod ideapad-laptop.ko insmod: init_module: ideapad-laptop.ko: No such device 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.528814] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 34 [ 0.545494] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 35 [ 0.548267] vda: unknown partition table [ 0.549063] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 35 [ 0.560373] vdb: unknown partition table febootstrap: internal insmod virtio_balloon.ko febootstrap: picked /sys/block/vdb/dev as root device febootstrap: creating /dev/root as block special 251:16 febootstrap: mounting new root on /root febootstrap: chroot /proc/uptime: No such file or directory execl: /init: No such file or directory febootstrap: debug: listing directory / 2 d . 040755 4096 0:0 2 d .. 040755 4096 0:0 11 d lost+found 040700 16384 0:0 12 d bin 040755 4096 0:0 13 d boot 040755 4096 0:0 14 d dev 040755 4096 0:0 15 d etc 040755 4096 0:0 180 d home 040755 4096 0:0 181 d lib 040755 4096 0:0 229 d mnt 040755 4096 0:0 230 d proc 040755 4096 0:0 231 d root 040700 4096 0:0 232 d sbin 040755 4096 0:0 233 d selinux 040755 4096 0:0 234 d tmp 040777 4096 0:0 235 d usr 040755 4096 0:0 775 d var 040755 4096 0:0 1310 l lib64 120777 4 0:0 -> /lib 4482 - init 100775 3470 0:0 febootstrap: debug: listing directory /bin 12 d . 040755 4096 0:0 2 d .. 040755 4096 0:0 798 - bash 100755 934336 0:0 799 - cat 100755 60064 0:0 800 - chgrp 100755 64128 0:0 801 - chmod 100755 60000 0:0 802 - chown 100755 64144 0:0 803 - cp 100755 109648 0:0 804 - cpio 100755 129320 0:0 805 - dash 100755 101608 0:0 806 - date 100755 68192 0:0 807 - dd 100755 60120 0:0 808 - df 100755 76568 0:0 809 - dir 100755 114032 0:0 810 - dmesg 100755 10432 0:0 811 - echo 100755 39328 0:0 812 - egrep 100755 105688 0:0 813 - false 100755 35216 0:0 814 - fgrep 100755 64600 0:0 815 - fuser 100755 31744 0:0 816 - fusermount 104755 31384 0:0 817 - grep 100755 113912 0:0 818 - gunzip 100755 63 0:0 819 - gzexe 100755 5874 0:0 820 - gzip 100755 64168 0:0 821 - ip 100755 226568 0:0 822 - kill 100755 18800 0:0 823 - ln 100755 55912 0:0 824 - ls 100755 114032 0:0 825 - lsmod 100755 6152 0:0 826 - mkdir 100755 43600 0:0 827 - mknod 100755 43488 0:0 828 - mktemp 100755 43600 0:0 829 - more 100755 35512 0:0 830 - mount 104755 82256 0:0 831 - mt-gnu 100755 39880 0:0 832 - mv 100755 97352 0:0 833 - netstat 100755 120184 0:0 834 - ntfs-3g 100755 52832 0:0 835 - ntfs-3g.probe 100755 10432 0:0 836 - ntfs-3g.secaudit 100755 55848 0:0 837 - ntfs-3g.usermap 100755 14640 0:0 838 - ps 100755 101232 0:0 839 - pwd 100755 39472 0:0 840 l rbash 120777 4 0:0 -> bash 841 - readlink 100755 47656 0:0 842 - rm 100755 64208 0:0 843 - rmdir 100755 39392 0:0 844 - run-parts 100755 19208 0:0 845 - sed 100755 69088 0:0 846 l sh 120777 20 0:0 -> /etc/alternatives/sh 847 - sleep 100755 39376 0:0 848 - stty 100755 64048 0:0 849 - sync 100755 35232 0:0 850 - tailf 100755 10552 0:0 851 - tar 100755 344688 0:0 852 - tempfile 100755 10376 0:0 853 - touch 100755 60016 0:0 854 - true 100755 35216 0:0 855 - ulockmgr_server 100755 14712 0:0 856 - umount 104755 56680 0:0 857 - uname 100755 39360 0:0 858 - uncompress 100755 63 0:0 859 - vdir 100755 114032 0:0 860 - which 100755 946 0:0 861 - zcat 100755 64 0:0 862 - zcmp 100755 69 0:0 863 - zdiff 100755 4424 0:0 864 - zegrep 100755 64 0:0 865 - zfgrep 100755 64 0:0 866 - zforce 100755 2015 0:0 867 - zgrep 100755 5597 0:0 868 - zless 100755 1733 0:0 869 - zmore 100755 2416 0:0 870 - znew 100755 4952 0:0 febootstrap: debug: listing directory /lib 181 d . 040755 4096 0:0 2 d .. 040755 4096 0:0 182 d cryptsetup 040755 4096 0:0 185 d firmware 040755 4096 0:0 217 d init 040755 4096 0:0 218 d lsb 040755 4096 0:0 219 d modules 040755 4096 0:0 220 d security 040755 4096 0:0 221 d udev 040755 4096 0:0 1019 - klibc-usBAintlt99f0TITo98H_trqH2c.so 100755 72048 0:0 1020 - ld-2.11.1.so 100755 136936 0:0 1021 l ld-linux-x86-64.so.2 120777 12 0:0 -> ld-2.11.1.so 1022 - libBrokenLocale-2.11.1.so 100644 6264 0:0 1023 l libBrokenLocale.so.1 120777 25 0:0 -> libBrokenLocale-2.11.1.so 1024 - libSegFault.so 100644 18680 0:0 1025 l libacl.so.1 120777 15 0:0 -> libacl.so.1.1.0 1026 - libacl.so.1.1.0 100644 31208 0:0 1027 l libaio.so.1 120777 15 0:0 -> libaio.so.1.0.1 1028 - libaio.so.1.0.1 100644 6128 0:0 1029 - libanl-2.11.1.so 100644 14920 0:0 1030 l libanl.so.1 120777 16 0:0 -> libanl-2.11.1.so 1031 l libattr.so.1 120777 16 0:0 -> libattr.so.1.1.0 1032 - libattr.so.1.1.0 100644 18704 0:0 1033 l libblkid.so.1 120777 17 0:0 -> libblkid.so.1.1.0 1034 - libblkid.so.1.1.0 100644 126536 0:0 1035 l libbsd.so.0 120777 15 0:0 -> libbsd.so.0.2.0 1036 - libbsd.so.0.2.0 100644 39560 0:0 1037 - libc-2.11.1.so 100755 1572232 0:0 1038 l libc.so.6 120777 14 0:0 -> libc-2.11.1.so 1039 - libcidn-2.11.1.so 100644 190840 0:0 1040 l libcidn.so.1 120777 17 0:0 -> libcidn-2.11.1.so 1041 l libcom_err.so.2 120777 17 0:0 -> libcom_err.so.2.1 1042 - libcom_err.so.2.1 100644 14584 0:0 1043 - libcrypt-2.11.1.so 100644 43296 0:0 1044 l libcrypt.so.1 120777 18 0:0 -> libcrypt-2.11.1.so 1045 l libdbus-1.so.3 120777 18 0:0 -> libdbus-1.so.3.4.0 1046 - libdbus-1.so.3.4.0 100644 256768 0:0 1047 - libdevmapper-event.so.1.02.1 100644 18752 0:0 1048 - libdevmapper.so.1.02.1 100644 121592 0:0 1049 - libdl-2.11.1.so 100644 14696 0:0 1050 l libdl.so.2 120777 15 0:0 -> libdl-2.11.1.so 1051 l libdrm.so.2 120777 15 0:0 -> libdrm.so.2.4.0 1052 - libdrm.so.2.4.0 100644 43312 0:0 1053 l libdrm_intel.so.1 120777 21 0:0 -> libdrm_intel.so.1.0.0 1054 - libdrm_intel.so.1.0.0 100644 43144 0:0 1055 l libdrm_nouveau.so.1 120777 23 0:0 -> libdrm_nouveau.so.1.0.0 1056 - libdrm_nouveau.so.1.0.0 100644 22640 0:0 1057 l libdrm_radeon.so.1 120777 22 0:0 -> libdrm_radeon.so.1.0.0 1058 - libdrm_radeon.so.1.0.0 100644 18664 0:0 1059 l libe2p.so.2 120777 13 0:0 -> libe2p.so.2.3 1060 - libe2p.so.2.3 100644 28072 0:0 1061 l libext2fs.so.2 120777 16 0:0 -> libext2fs.so.2.4 1062 - libext2fs.so.2.4 100644 184144 0:0 1063 l libfuse.so.2 120777 16 0:0 -> libfuse.so.2.8.1 1064 - libfuse.so.2.8.1 100644 217536 0:0 1065 - libgcc_s.so.1 100644 92552 0:0 1066 l libglib-2.0.so.0 120777 23 0:0 -> libglib-2.0.so.0.2400.1 1067 - libglib-2.0.so.0.2400.1 100644 905480 0:0 1068 l libhistory.so.6 120777 17 0:0 -> libhistory.so.6.1 1069 - libhistory.so.6.1 100644 35040 0:0 1070 - libm-2.11.1.so 100644 534832 0:0 1071 l libm.so.6 120777 14 0:0 -> libm-2.11.1.so 1072 - libmemusage.so 100644 18760 0:0 1073 l libncurses.so.5 120777 17 0:0 -> libncurses.so.5.7 1074 - libncurses.so.5.7 100644 274360 0:0 1075 l libnih-dbus.so.1 120777 20 0:0 -> libnih-dbus.so.1.0.0 1076 - libnih-dbus.so.1.0.0 100644 38952 0:0 1077 l libnih.so.1 120777 15 0:0 -> libnih.so.1.0.0 1078 - libnih.so.1.0.0 100644 92208 0:0 1079 - libnsl-2.11.1.so 100644 97256 0:0 1080 l libnsl.so.1 120777 16 0:0 -> libnsl-2.11.1.so 1081 - libnss_compat-2.11.1.so 100644 35712 0:0 1082 l libnss_compat.so.2 120777 23 0:0 -> libnss_compat-2.11.1.so 1083 - libnss_dns-2.11.1.so 100644 22928 0:0 1084 l libnss_dns.so.2 120777 20 0:0 -> libnss_dns-2.11.1.so 1085 - libnss_files-2.11.1.so 100644 51712 0:0 1086 l libnss_files.so.2 120777 22 0:0 -> libnss_files-2.11.1.so 1087 - libnss_hesiod-2.11.1.so 100644 18864 0:0 1088 l libnss_hesiod.so.2 120777 23 0:0 -> libnss_hesiod-2.11.1.so 1089 - libnss_nis-2.11.1.so 100644 43552 0:0 1090 l libnss_nis.so.2 120777 20 0:0 -> libnss_nis-2.11.1.so 1091 - libnss_nisplus-2.11.1.so 100644 51704 0:0 1092 l libnss_nisplus.so.2 120777 24 0:0 -> libnss_nisplus-2.11.1.so 1093 l libntfs-3g.so.75 120777 20 0:0 -> libntfs-3g.so.75.0.0 1094 - libntfs-3g.so.75.0.0 100644 266616 0:0 1095 l libpam.so.0 120777 16 0:0 -> libpam.so.0.82.2 1096 - libpam.so.0.82.2 100644 51776 0:0 1097 l libpam_misc.so.0 120777 21 0:0 -> libpam_misc.so.0.82.0 1098 - libpam_misc.so.0.82.0 100644 14576 0:0 1099 l libpamc.so.0 120777 17 0:0 -> libpamc.so.0.82.1 1100 - libpamc.so.0.82.1 100644 14584 0:0 1101 l libparted.so.0 120777 18 0:0 -> libparted.so.0.0.1 1102 - libparted.so.0.0.1 100644 485144 0:0 1103 - libpcprofile.so 100644 6272 0:0 1104 l libpcre.so.3 120777 17 0:0 -> libpcre.so.3.12.1 1105 - libpcre.so.3.12.1 100644 186440 0:0 1106 l libply-boot-client.so.2 120777 27 0:0 -> libply-boot-client.so.2.0.0 1107 - libply-boot-client.so.2.0.0 100644 18656 0:0 1108 l libply-splash-core.so.2 120777 27 0:0 -> libply-splash-core.so.2.0.0 1109 - libply-splash-core.so.2.0.0 100644 68528 0:0 1110 l libply-splash-graphics.so.2 120777 31 0:0 -> libply-splash-graphics.so.2.0.0 1111 - libply-splash-graphics.so.2.0.0 100644 35416 0:0 1112 l libply.so.2 120777 15 0:0 -> libply.so.2.0.0 1113 - libply.so.2.0.0 100644 89192 0:0 1114 l libpng12.so.0 120777 18 0:0 -> libpng12.so.0.42.0 1115 - libpng12.so.0.42.0 100644 158736 0:0 1116 l libpopt.so.0 120777 16 0:0 -> libpopt.so.0.0.0 1117 - libpopt.so.0.0.0 100644 44008 0:0 1118 - libproc-3.2.8.so 100644 76696 0:0 1119 - libpthread-2.11.1.so 100755 135745 0:0 1120 l libpthread.so.0 120777 20 0:0 -> libpthread-2.11.1.so 1121 l libreadline.so.6 120777 18 0:0 -> libreadline.so.6.1 1122 - libreadline.so.6.1 100644 261392 0:0 1123 - libresolv-2.11.1.so 100644 93000 0:0 1124 l libresolv.so.2 120777 19 0:0 -> libresolv-2.11.1.so 1125 - librt-2.11.1.so 100644 31744 0:0 1126 l librt.so.1 120777 15 0:0 -> librt-2.11.1.so 1127 - libselinux.so.1 100644 117592 0:0 1128 - libsepol.so.1 100644 244576 0:0 1129 l libslang.so.2 120777 17 0:0 -> libslang.so.2.2.2 1130 - libslang.so.2.2.2 100644 1063520 0:0 1131 l libss.so.2 120777 12 0:0 -> libss.so.2.0 1132 - libss.so.2.0 100644 27072 0:0 1133 - libthread_db-1.0.so 100644 31472 0:0 1134 l libthread_db.so.1 120777 19 0:0 -> libthread_db-1.0.so 1135 l libtic.so.5 120777 13 0:0 -> libtic.so.5.7 1136 - libtic.so.5.7 100644 55904 0:0 1137 l libudev.so.0 120777 16 0:0 -> libudev.so.0.6.1 1138 - libudev.so.0.6.1 100644 47048 0:0 1139 l libulockmgr.so.1 120777 20 0:0 -> libulockmgr.so.1.0.1 1140 - libulockmgr.so.1.0.1 100644 10448 0:0 1141 l libusb-0.1.so.4 120777 19 0:0 -> libusb-0.1.so.4.4.4 1142 - libusb-0.1.so.4.4.4 100644 36032 0:0 1143 - libutil-2.11.1.so 100644 10648 0:0 1144 l libutil.so.1 120777 17 0:0 -> libutil-2.11.1.so 1145 l libuuid.so.1 120777 16 0:0 -> libuuid.so.1.3.0 1146 - libuuid.so.1.3.0 100644 19008 0:0 1147 l libz.so.1 120777 15 0:0 -> libz.so.1.2.3.3 1148 - libz.so.1.2.3.3 100644 92752 0:0 febootstrap: debug: listing directory /lib64 181 d . 040755 4096 0:0 2 d .. 040755 4096 0:0 182 d cryptsetup 040755 4096 0:0 185 d firmware 040755 4096 0:0 217 d init 040755 4096 0:0 218 d lsb 040755 4096 0:0 219 d modules 040755 4096 0:0 220 d security 040755 4096 0:0 221 d udev 040755 4096 0:0 1019 - klibc-usBAintlt99f0TITo98H_trqH2c.so 100755 72048 0:0 1020 - ld-2.11.1.so 100755 136936 0:0 1021 l ld-linux-x86-64.so.2 120777 12 0:0 -> ld-2.11.1.so 1022 - libBrokenLocale-2.11.1.so 100644 6264 0:0 1023 l libBrokenLocale.so.1 120777 25 0:0 -> libBrokenLocale-2.11.1.so 1024 - libSegFault.so 100644 18680 0:0 1025 l libacl.so.1 120777 15 0:0 -> libacl.so.1.1.0 1026 - libacl.so.1.1.0 100644 31208 0:0 1027 l libaio.so.1 120777 15 0:0 -> libaio.so.1.0.1 1028 - libaio.so.1.0.1 100644 6128 0:0 1029 - libanl-2.11.1.so 100644 14920 0:0 1030 l libanl.so.1 120777 16 0:0 -> libanl-2.11.1.so 1031 l libattr.so.1 120777 16 0:0 -> libattr.so.1.1.0 1032 - libattr.so.1.1.0 100644 18704 0:0 1033 l libblkid.so.1 120777 17 0:0 -> libblkid.so.1.1.0 1034 - libblkid.so.1.1.0 100644 126536 0:0 1035 l libbsd.so.0 120777 15 0:0 -> libbsd.so.0.2.0 1036 - libbsd.so.0.2.0 100644 39560 0:0 1037 - libc-2.11.1.so 100755 1572232 0:0 1038 l libc.so.6 120777 14 0:0 -> libc-2.11.1.so 1039 - libcidn-2.11.1.so 100644 190840 0:0 1040 l libcidn.so.1 120777 17 0:0 -> libcidn-2.11.1.so 1041 l libcom_err.so.2 120777 17 0:0 -> libcom_err.so.2.1 1042 - libcom_err.so.2.1 100644 14584 0:0 1043 - libcrypt-2.11.1.so 100644 43296 0:0 1044 l libcrypt.so.1 120777 18 0:0 -> libcrypt-2.11.1.so 1045 l libdbus-1.so.3 120777 18 0:0 -> libdbus-1.so.3.4.0 1046 - libdbus-1.so.3.4.0 100644 256768 0:0 1047 - libdevmapper-event.so.1.02.1 100644 18752 0:0 1048 - libdevmapper.so.1.02.1 100644 121592 0:0 1049 - libdl-2.11.1.so 100644 14696 0:0 1050 l libdl.so.2 120777 15 0:0 -> libdl-2.11.1.so 1051 l libdrm.so.2 120777 15 0:0 -> libdrm.so.2.4.0 1052 - libdrm.so.2.4.0 100644 43312 0:0 1053 l libdrm_intel.so.1 120777 21 0:0 -> libdrm_intel.so.1.0.0 1054 - libdrm_intel.so.1.0.0 100644 43144 0:0 1055 l libdrm_nouveau.so.1 120777 23 0:0 -> libdrm_nouveau.so.1.0.0 1056 - libdrm_nouveau.so.1.0.0 100644 22640 0:0 1057 l libdrm_radeon.so.1 120777 22 0:0 -> libdrm_radeon.so.1.0.0 1058 - libdrm_radeon.so.1.0.0 100644 18664 0:0 1059 l libe2p.so.2 120777 13 0:0 -> libe2p.so.2.3 1060 - libe2p.so.2.3 100644 28072 0:0 1061 l libext2fs.so.2 120777 16 0:0 -> libext2fs.so.2.4 1062 - libext2fs.so.2.4 100644 184144 0:0 1063 l libfuse.so.2 120777 16 0:0 -> libfuse.so.2.8.1 1064 - libfuse.so.2.8.1 100644 217536 0:0 1065 - libgcc_s.so.1 100644 92552 0:0 1066 l libglib-2.0.so.0 120777 23 0:0 -> libglib-2.0.so.0.2400.1 1067 - libglib-2.0.so.0.2400.1 100644 905480 0:0 1068 l libhistory.so.6 120777 17 0:0 -> libhistory.so.6.1 1069 - libhistory.so.6.1 100644 35040 0:0 1070 - libm-2.11.1.so 100644 534832 0:0 1071 l libm.so.6 120777 14 0:0 -> libm-2.11.1.so 1072 - libmemusage.so 100644 18760 0:0 1073 l libncurses.so.5 120777 17 0:0 -> libncurses.so.5.7 1074 - libncurses.so.5.7 100644 274360 0:0 1075 l libnih-dbus.so.1 120777 20 0:0 -> libnih-dbus.so.1.0.0 1076 - libnih-dbus.so.1.0.0 100644 38952 0:0 1077 l libnih.so.1 120777 15 0:0 -> libnih.so.1.0.0 1078 - libnih.so.1.0.0 100644 92208 0:0 1079 - libnsl-2.11.1.so 100644 97256 0:0 1080 l libnsl.so.1 120777 16 0:0 -> libnsl-2.11.1.so 1081 - libnss_compat-2.11.1.so 100644 35712 0:0 1082 l libnss_compat.so.2 120777 23 0:0 -> libnss_compat-2.11.1.so 1083 - libnss_dns-2.11.1.so 100644 22928 0:0 1084 l libnss_dns.so.2 120777 20 0:0 -> libnss_dns-2.11.1.so 1085 - libnss_files-2.11.1.so 100644 51712 0:0 1086 l libnss_files.so.2 120777 22 0:0 -> libnss_files-2.11.1.so 1087 - libnss_hesiod-2.11.1.so 100644 18864 0:0 1088 l libnss_hesiod.so.2 120777 23 0:0 -> libnss_hesiod-2.11.1.so 1089 - libnss_nis-2.11.1.so 100644 43552 0:0 1090 l libnss_nis.so.2 120777 20 0:0 -> libnss_nis-2.11.1.so 1091 - libnss_nisplus-2.11.1.so 100644 51704 0:0 1092 l libnss_nisplus.so.2 120777 24 0:0 -> libnss_nisplus-2.11.1.so 1093 l libntfs-3g.so.75 120777 20 0:0 -> libntfs-3g.so.75.0.0 1094 - libntfs-3g.so.75.0.0 100644 266616 0:0 1095 l libpam.so.0 120777 16 0:0 -> libpam.so.0.82.2 1096 - libpam.so.0.82.2 100644 51776 0:0 1097 l libpam_misc.so.0 120777 21 0:0 -> libpam_misc.so.0.82.0 1098 - libpam_misc.so.0.82.0 100644 14576 0:0 1099 l libpamc.so.0 120777 17 0:0 -> libpamc.so.0.82.1 1100 - libpamc.so.0.82.1 100644 14584 0:0 1101 l libparted.so.0 120777 18 0:0 -> libparted.so.0.0.1 1102 - libparted.so.0.0.1 100644 485144 0:0 1103 - libpcprofile.so 100644 6272 0:0 1104 l libpcre.so.3 120777 17 0:0 -> libpcre.so.3.12.1 1105 - libpcre.so.3.12.1 100644 186440 0:0 1106 l libply-boot-client.so.2 120777 27 0:0 -> libply-boot-client.so.2.0.0 1107 - libply-boot-client.so.2.0.0 100644 18656 0:0 1108 l libply-splash-core.so.2 120777 27 0:0 -> libply-splash-core.so.2.0.0 1109 - libply-splash-core.so.2.0.0 100644 68528 0:0 1110 l libply-splash-graphics.so.2 120777 31 0:0 -> libply-splash-graphics.so.2.0.0 1111 - libply-splash-graphics.so.2.0.0 100644 35416 0:0 1112 l libply.so.2 120777 15 0:0 -> libply.so.2.0.0 1113 - libply.so.2.0.0 100644 89192 0:0 1114 l libpng12.so.0 120777 18 0:0 -> libpng12.so.0.42.0 1115 - libpng12.so.0.42.0 100644 158736 0:0 1116 l libpopt.so.0 120777 16 0:0 -> libpopt.so.0.0.0 1117 - libpopt.so.0.0.0 100644 44008 0:0 1118 - libproc-3.2.8.so 100644 76696 0:0 1119 - libpthread-2.11.1.so 100755 135745 0:0 1120 l libpthread.so.0 120777 20 0:0 -> libpthread-2.11.1.so 1121 l libreadline.so.6 120777 18 0:0 -> libreadline.so.6.1 1122 - libreadline.so.6.1 100644 261392 0:0 1123 - libresolv-2.11.1.so 100644 93000 0:0 1124 l libresolv.so.2 120777 19 0:0 -> libresolv-2.11.1.so 1125 - librt-2.11.1.so 100644 31744 0:0 1126 l librt.so.1 120777 15 0:0 -> librt-2.11.1.so 1127 - libselinux.so.1 100644 117592 0:0 1128 - libsepol.so.1 100644 244576 0:0 1129 l libslang.so.2 120777 17 0:0 -> libslang.so.2.2.2 1130 - libslang.so.2.2.2 100644 1063520 0:0 1131 l libss.so.2 120777 12 0:0 -> libss.so.2.0 1132 - libss.so.2.0 100644 27072 0:0 1133 - libthread_db-1.0.so 100644 31472 0:0 1134 l libthread_db.so.1 120777 19 0:0 -> libthread_db-1.0.so 1135 l libtic.so.5 120777 13 0:0 -> libtic.so.5.7 1136 - libtic.so.5.7 100644 55904 0:0 1137 l libudev.so.0 120777 16 0:0 -> libudev.so.0.6.1 1138 - libudev.so.0.6.1 100644 47048 0:0 1139 l libulockmgr.so.1 120777 20 0:0 -> libulockmgr.so.1.0.1 1140 - libulockmgr.so.1.0.1 100644 10448 0:0 1141 l libusb-0.1.so.4 120777 19 0:0 -> libusb-0.1.so.4.4.4 1142 - libusb-0.1.so.4.4.4 100644 36032 0:0 1143 - libutil-2.11.1.so 100644 10648 0:0 1144 l libutil.so.1 120777 17 0:0 -> libutil-2.11.1.so 1145 l libuuid.so.1 120777 16 0:0 -> libuuid.so.1.3.0 1146 - libuuid.so.1.3.0 100644 19008 0:0 1147 l libz.so.1 120777 15 0:0 -> libz.so.1.2.3.3 1148 - libz.so.1.2.3.3 100644 92752 0:0 [ 0.745088] Kernel panic - not syncing: Attempted to kill init! [ 0.745707] Pid: 1, comm: init Not tainted 2.6.38-8-generic #42-Ubuntu [ 0.746376] Call Trace: [ 0.746671] [<ffffffff815bfece>] ? panic+0x91/0x19c [ 0.747204] [<ffffffff81069ac3>] ? forget_original_parent+0x263/0x270 [ 0.747880] [<ffffffff81069aeb>] ? exit_notify+0x1b/0x180 [ 0.748458] [<ffffffff810133af>] ? flush_ptrace_hw_breakpoint+0x1f/0x40 [ 0.749151] [<ffffffff8106a4b3>] ? do_exit+0x1d3/0x410 [ 0.749745] [<ffffffff811831e6>] ? mntput_no_expire+0x36/0xf0 [ 0.750428] [<ffffffff8106a8a8>] ? do_group_exit+0x58/0xd0 [ 0.751005] [<ffffffff8106a937>] ? sys_exit_group+0x17/0x20 [ 0.751592] [<ffffffff8100c002>] ? system_call_fastpath+0x16/0x1b [ 0.752295] Rebooting in 1 seconds..libguestfs: error: unexpected end of file when reading from daemon. See earlier debug messages. Or you can run 'libguestfs-test-tool' and post the complete output into a bug report or message to the libguestfs mailing list. libguestfs: child_cleanup: 0x25e17b0: child process died libguestfs-test-tool: failed to launch appliance libguestfs: closing guestfs handle 0x25e17b0 (state 0)
On Mon, Dec 26, 2011 at 06:43:55PM +0400, Syndicut wrote:
execl: /init: No such file or directory
This error means that /init or /bin/bash or some library needed by /bin/bash doesn't exist in the appliance. You can try running ldd on /bin/bash (in the host) and see if the libraries it needs are all present in the appliance, using the debug information which was printed. Also make sure your apt configuration reflects what is in your host filesystem. Supermin appliances as used by the default build don't work unless the host filesystem and the appliance built by apt/febootstrap are very similar. Thus you can't mix and match apt configuration with a different host configuration - they have to be the same and the host has to be up to date (ie. apt-get dist-upgrade). http://libguestfs.org/febootstrap.8.html#supermin_appliances Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
02.01.2012 03:05, Richard W.M. Jones пишет:
execl: /init: No such file or directory This error means that /init or /bin/bash or some library needed by /bin/bash doesn't exist in the appliance. You can try running ldd on /bin/bash (in the host) and see if the libraries it needs are all
On Mon, Dec 26, 2011 at 06:43:55PM +0400, Syndicut wrote: present in the appliance, using the debug information which was printed.
Also make sure your apt configuration reflects what is in your host filesystem. Supermin appliances as used by the default build don't work unless the host filesystem and the appliance built by apt/febootstrap are very similar. Thus you can't mix and match apt configuration with a different host configuration - they have to be the same and the host has to be up to date (ie. apt-get dist-upgrade).
http://libguestfs.org/febootstrap.8.html#supermin_appliances
Rich.
Thanks for the help, I've already fixed all the issues and succesfully built and installed libguestfs package. There were two problems: 1) Default distribution set to "lucid" in apt config, which prevented aptitude from downloading the kernel (as it is in lucid-updates) 2) Mentioned symlink to /etc/alternatives/sh, which had to be changed to /bin/bash
On Mon, Jan 02, 2012 at 03:12:46AM +0400, Syndicut wrote:
02.01.2012 03:05, Richard W.M. Jones пишет:
execl: /init: No such file or directory This error means that /init or /bin/bash or some library needed by /bin/bash doesn't exist in the appliance. You can try running ldd on /bin/bash (in the host) and see if the libraries it needs are all
On Mon, Dec 26, 2011 at 06:43:55PM +0400, Syndicut wrote: present in the appliance, using the debug information which was printed.
Also make sure your apt configuration reflects what is in your host filesystem. Supermin appliances as used by the default build don't work unless the host filesystem and the appliance built by apt/febootstrap are very similar. Thus you can't mix and match apt configuration with a different host configuration - they have to be the same and the host has to be up to date (ie. apt-get dist-upgrade).
http://libguestfs.org/febootstrap.8.html#supermin_appliances
Rich.
Thanks for the help, I've already fixed all the issues and succesfully built and installed libguestfs package. There were two problems: 1) Default distribution set to "lucid" in apt config, which prevented aptitude from downloading the kernel (as it is in lucid-updates) 2) Mentioned symlink to /etc/alternatives/sh, which had to be changed to /bin/bash
Good ... building libguestfs on these old versions of Ubuntu is really quite hard, so full marks to you :-) 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
On Mon, Dec 26, 2011 at 06:43:55PM +0400, Syndicut wrote:
- linux-image + linux-image-2.6.32-21-generic
Actually, this is also (going to be) a problem. Linux 2.6.32 didn't have virtio-serial, so that kernel won't work with libguestfs. See my notes from compiling on Ubuntu 10.04 here: http://libguestfs.org/download/binaries/ubuntu1004-packages/README.txt For 10.04 you also need to apply the patches in: http://libguestfs.org/download/binaries/ubuntu1004-packages/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
On 12/26/2011 09:23 PM, Syndicut wrote:
23.12.2011 18:00, Richard W.M. Jones пишет:
Anyway, I think you need to compile from source on your machine (also a good reason because 1.13.11 is old, and has at least one known security issue and many known bugs).
Just download the latest stable or development tarball, unpack it, and do:
./configure # check this succeeds debuild -i -uc -us -b I've get the following weird error:
febootstrap: aptitude: error: no file was downloaded corresponding to package linux-image-2.6.32-37-generic make[3]: *** [stamp-supermin] Error 1 make[3]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8/appliance' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1340: dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed
That what aptitude says when trying to download (although that package is normally installed):
# aptitude download linux-image-2.6.32-37-generic Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Unable to find an archive "lucid" for the package "linux-image-2.6.32-37-generic"
I think there's something wrong with your aptitude config or source.list. It seems that the aptitude selected the package 2.6.32-37, but you can't download it from the source. Thanks -Wanlong Gao
And install the resultant *.deb files.
Rich.
_______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
27.12.2011 04:27, Wanlong Gao пишет:
On 12/26/2011 09:23 PM, Syndicut wrote:
23.12.2011 18:00, Richard W.M. Jones пишет:
Anyway, I think you need to compile from source on your machine (also a good reason because 1.13.11 is old, and has at least one known security issue and many known bugs).
Just download the latest stable or development tarball, unpack it, and do:
./configure # check this succeeds debuild -i -uc -us -b I've get the following weird error:
febootstrap: aptitude: error: no file was downloaded corresponding to package linux-image-2.6.32-37-generic make[3]: *** [stamp-supermin] Error 1 make[3]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8/appliance' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1340: dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed
That what aptitude says when trying to download (although that package is normally installed):
# aptitude download linux-image-2.6.32-37-generic Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Unable to find an archive "lucid" for the package "linux-image-2.6.32-37-generic"
I think there's something wrong with your aptitude config or source.list. It seems that the aptitude selected the package 2.6.32-37, but you can't download it from the source.
Thanks -Wanlong Gao
Yep, I had default release set to lucid, and this kernel was in lucid-updates. I fixed that issue with aptitude but I still have kernel panic (because of not finding /init).
participants (3)
-
Richard W.M. Jones -
Syndicut -
Wanlong Gao