Another virt-p2v blew up
by Greg Scott
One day I'm going to run a virt-p2v that works to completion. But evidently not today.
The source physical machine is Windows 2003. This one copied the whole system drive and then died at the end and deleted the virtual disk it made. Here is the top and bottom of the trace log file on the conversion server. If the email garbles what I'm pasting in below, I can email the log as an attachment.
[root@Fedora16-64P2V log]#
[root@Fedora16-64P2V log]# more virt-p2v-server.1324939070.log
libguestfs: new guestfs handle 0x2e7b760
libguestfs: trace: add_drive_opts "/tmp/IlYDJL6AnS/20f9ecae-9c8a-4316-9154-db868
e02b4b8/v2v.i7n4vOKJ/1f1f3b28-ebf7-453e-8dbf-f1c5ad18a28e/415ca08c-e69d-449b-b9b
e-7b64715f376d" "format:raw" "iface:ide" "name:cciss/c0d0"
libguestfs: trace: add_drive_opts = 0
libguestfs: trace: add_drive_opts "/tmp/mU2Uk2VTkP" "readonly:true" "format:raw"
"iface:ide"
libguestfs: trace: add_drive_opts = 0
libguestfs: trace: set_network true
libguestfs: trace: set_network = 0
libguestfs: trace: launch
libguestfs: [00028ms] febootstrap-supermin-helper --verbose -u 36 -g 36 -f check
sum '/usr/lib64/guestfs/supermin.d' x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel
= (null), initrd = (null), appliance = (null)
supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d
checking modpath /lib/modules/3.1.0-7.fc16.x86_64 is a directory
picked vmlinuz-3.1.0-7.fc16.x86_64 because modpath /lib/modules/3.1.0-7.fc16.x86
_64 exists
checking modpath /lib/modules/3.1.1-2.fc16.x86_64 is a directory
picked vmlinuz-3.1.1-2.fc16.x86_64 because modpath /lib/modules/3.1.1-2.fc16.x86
_64 exists
checking modpath /lib/modules/3.1.2-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.2-1.fc16.x86_64 because modpath /lib/modules/3.1.2-1.fc16.x86
_64 exists
supermin helper [00036ms] finished creating kernel
supermin helper [00036ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00045ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [00108ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [00109ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [01348ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [02596ms] finished creating appliance
libguestfs: [02728ms] begin building supermin appliance
libguestfs: [02734ms] run febootstrap-supermin-helper
libguestfs: [02734ms] febootstrap-supermin-helper --verbose -u 36 -g 36 -f ext2
/usr/lib64/guestfs/supermin.d x86_64 /var/tmp/guestfs.Q8Z0Mp/kernel /var/tmp/gue
stfs.Q8Z0Mp/initrd /var/tmp/guestfs.Q8Z0Mp/root
supermin helper [00001ms] whitelist = (not specified), host_cpu = x86_64, kernel
= /var/tmp/guestfs.Q8Z0Mp/kernel, initrd = /var/tmp/guestfs.Q8Z0Mp/initrd, appl
iance = /var/tmp/guestfs.Q8Z0Mp/root
supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d
checking modpath /lib/modules/3.1.0-7.fc16.x86_64 is a directory
picked vmlinuz-3.1.0-7.fc16.x86_64 because modpath /lib/modules/3.1.0-7.fc16.x86
_64 exists
checking modpath /lib/modules/3.1.1-2.fc16.x86_64 is a directory
picked vmlinuz-3.1.1-2.fc16.x86_64 because modpath /lib/modules/3.1.1-2.fc16.x86
_64 exists
checking modpath /lib/modules/3.1.2-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.2-1.fc16.x86_64 because modpath /lib/modules/3.1.2-1.fc16.x86
_64 exists
supermin helper [00001ms] finished creating kernel
supermin helper [01516ms] finished mke2fs
supermin helper [01516ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [01516ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [04258ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [04315ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [16809ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [33056ms] finished creating appliance
libguestfs: [35797ms] finished building supermin appliance
libguestfs: [35878ms] begin testing qemu features
libguestfs: [36361ms] finished testing qemu features
libguestfs: accept_from_daemon: 0x2e7b760 g->state = 1
[36363ms] /usr/bin/qemu-kvm \
-drive file=/tmp/IlYDJL6AnS/20f9ecae-9c8a-4316-9154-db868e02b4b8/v2v.i7n4vOK
J/1f1f3b28-ebf7-453e-8dbf-f1c5ad18a28e/415ca08c-e69d-449b-b9be-7b64715f376d,cach
e=off,format=raw,if=ide \
-drive file=/tmp/mU2Uk2VTkP,snapshot=on,format=raw,if=ide \
-nodefconfig \
-machine accel=kvm:tcg \
-nodefaults \
-nographic \
-m 500 \
-no-reboot \
-no-hpet \
-device virtio-serial \
-serial stdio \
-chardev socket,path=/tmp/libguestfsp3fCOS/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-netdev user,id=usernet,net=169.254.0.0/16 \
-device virtio-net-pci,netdev=usernet \
-kernel /var/tmp/.guestfs-36/kernel.1299 \
-initrd /var/tmp/.guestfs-36/initrd.1299 \
-append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off print
k.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=linux ' \
-drive file=/var/tmp/.guestfs-36/root.1299,snapshot=on,if=virtio,cache=unsaf
eCould not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
Back to tcg accelerator.
Could not open option rom 'sgabios.bin': No such file or directory
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.2-1.fc16.x86_64 (mockbuild(a)x86-04.phx2.fedorapr
oject.org) (gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC) ) #1 SMP Tue Nov
22 09:00:57 UTC 2011
[ 0.000000] Command line: panic=1 console=ttyS0 udevtimeout=300 no_timer_chec
k acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=
linux
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
[ 0.000000] BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000001f3fd000 (usable)
[ 0.000000] BIOS-e820: 000000001f3fd000 - 000000001f400000 (reserved)
[ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[ 0.000000] 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] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] found SMP MP-table at [ffff8800000fdaf0] fdaf0
[ 0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000
[ 0.000000] RAMDISK: 1f2ec000 - 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 [000000001f2d8000 - 000000001f2ebfff]
[ 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 -> 0x0000009d
[ 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: 000000000009d000 - 000000000009e000
[ 0.000000] PM: Registered nosave memory: 000000000009e000 - 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:e0bc
0000)
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_nod
e_ids:1
[ 0.000000] PERCPU: Embedded 27 pages/cpu @ffff88001f000000 s81024 r8192 d213
76 u2097152
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pag
es: 125877
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=300 no_tim
er_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=
1 TERM=linux
[ 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: 487824k/511988k available (4873k kernel code, 460k absent
, 23704k reserved, 6776k data, 944k init)
[ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, N
--More--(2%)
.
.
.
libguestfs: recv_from_daemon: 8200 bytes: 00 00 00 00 | 00 00 20 00 | 00 00 00 0
0 | 00 00 00 00 | 00 00 00 00 | ...
libguestfs: recv_from_daemon: 8 bytes: 00 00 00 00 | 00 00 00 00 |
libguestfs: trace: download = 0
hivex_open: successfully read Windows Registry hive file:
pages: 1179 [sml: 4096, lge: 20480]
blocks: 80149 [sml: 8, avg: 65, lge: 16352]
blocks used: 77155
bytes used: 4254352
libguestfs: trace: list_devices
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 07 | 00 00 00 00 | ...
guestfsd: main_loop: proc 67 (download) took 0.71 seconds
guestfsd: main_loop: new request, len 0x28
libguestfs: recv_from_daemon: 68 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07
| 00 00 00 01 | 00 12 34 3e | ...
libguestfs: trace: list_devices = ["/dev/sda", "/dev/sdb"]
libguestfs: trace: pread_device "/dev/sda" 4 440
libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 |
00 00 01 14 | 00 00 00 00 | ...
guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 14
| 00 00 00 01 | 00 12 34 3f | ...
libguestfs: trace: pread_device = "c\xc0c\xc0"
libguestfs: trace: part_list "/dev/sda"
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 d5 | 00 00 00 00 | ...
guestfsd: main_loop: proc 276 (pread_device) took 0.00 seconds
guestfsd: main_loop: new request, len 0x34
parted -s -m /dev/null
parted -m -- /dev/sda unit b print
libguestfs: recv_from_daemon: 72 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d5
| 00 00 00 01 | 00 12 34 40 | ...
libguestfs: trace: part_list = <struct guestfs_partition_list *>
libguestfs: trace: list_devices
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 07 | 00 00 00 00 | ...
guestfsd: main_loop: proc 213 (part_list) took 0.12 seconds
guestfsd: main_loop: new request, len 0x28
libguestfs: recv_from_daemon: 68 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07
| 00 00 00 01 | 00 12 34 41 | ...
libguestfs: trace: list_devices = ["/dev/sda", "/dev/sdb"]
libguestfs: trace: pread_device "/dev/sda" 4 440
libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 |
00 00 01 14 | 00 00 00 00 | ...
guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 14
| 00 00 00 01 | 00 12 34 42 | ...
libguestfs: trace: pread_device = "c\xc0c\xc0"
libguestfs: trace: pread_device "/dev/sdb" 4 440
libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 |
00 00 01 14 | 00 00 00 00 | ...
guestfsd: main_loop: proc 276 (pread_device) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 14
| 00 00 00 01 | 00 12 34 43 | ...
libguestfs: trace: pread_device = "\x00\x00\x00\x00"
hivex_close
libguestfs: trace: umount_all
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 2f | 00 00 00 00 | ...
guestfsd: main_loop: proc 276 (pread_device) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
umount /sysroot
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f
| 00 00 00 01 | 00 12 34 44 | ...
libguestfs: trace: umount_all = 0
libguestfs: trace: available "lvm2"
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 d8 | 00 00 00 00 | ...
guestfsd: main_loop: proc 47 (umount_all) took 0.35 seconds
guestfsd: main_loop: new request, len 0x34
guestfsd: main_loop: proc 216 (available) took 0.00 seconds
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8
| 00 00 00 01 | 00 12 34 45 | ...
libguestfs: trace: available = 0
libguestfs: trace: lvs
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 0b | 00 00 00 00 | ...
guestfsd: main_loop: new request, len 0x28
lvm lvs -o vg_name,lv_name --noheadings --separator /
No volume groups found
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 0b
| 00 00 00 01 | 00 12 34 46 | ...
libguestfs: trace: lvs = []
libguestfs: trace: inspect_os = ["/dev/sda1"]
libguestfs: trace: inspect_get_mountpoints "/dev/sda1"
libguestfs: trace: inspect_get_mountpoints = ["/", "/dev/sda1"]
libguestfs: trace: mount_options "" "/dev/sda1" "/"
libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 4a | 00 00 00 00 | ...
guestfsd: main_loop: proc 11 (lvs) took 0.05 seconds
guestfsd: main_loop: new request, len 0x44
mount -o /dev/sda1 /sysroot/
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 4a
| 00 00 00 01 | 00 12 34 47 | ...
libguestfs: trace: mount_options = 0
libguestfs: trace: mkdtemp "/transferXXXXXX"
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 75 | 00 00 00 00 | ...
guestfsd: main_loop: proc 74 (mount_options) took 0.51 seconds
guestfsd: main_loop: new request, len 0x3c
libguestfs: recv_from_daemon: 60 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 75
| 00 00 00 01 | 00 12 34 48 | ...
libguestfs: trace: mkdtemp = "/transferZcKAPK"
libguestfs: trace: list_devices
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 07 | 00 00 00 00 | ...
guestfsd: main_loop: proc 117 (mkdtemp) took 0.01 seconds
guestfsd: main_loop: new request, len 0x28
libguestfs: recv_from_daemon: 68 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07
| 00 00 00 01 | 00 12 34 49 | ...
libguestfs: trace: list_devices = ["/dev/sda", "/dev/sdb"]
libguestfs: trace: mount_ro "/dev/sdb" "/transferZcKAPK"
libguestfs: send_to_daemon: 76 bytes: 00 00 00 48 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 49 | 00 00 00 00 | ...
guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds
guestfsd: main_loop: new request, len 0x48
mount -o ro /dev/sdb /sysroot/transferZcKAPK
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49
| 00 00 00 01 | 00 12 34 4a | ...
libguestfs: trace: mount_ro = 0
libguestfs: trace: inspect_get_type "/dev/sda1"
libguestfs: trace: inspect_get_type = "windows"
libguestfs: trace: inspect_get_product_name "/dev/sda1"
libguestfs: trace: inspect_get_product_name = "Microsoft Windows Server 2003"
libguestfs: trace: inspect_get_major_version "/dev/sda1"
libguestfs: trace: inspect_get_major_version = 5
libguestfs: trace: inspect_get_minor_version "/dev/sda1"
libguestfs: trace: inspect_get_minor_version = 2
libguestfs: trace: inspect_get_arch "/dev/sda1"
libguestfs: trace: inspect_get_arch = "i386"
libguestfs: trace: exists "/transferZcKAPK//usr/share/virtio-win/drivers/i386/Wi
n2003"
libguestfs: send_to_daemon: 108 bytes: 00 00 00 68 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 24 | 00 00 00 00 | ...
guestfsd: main_loop: proc 73 (mount_ro) took 0.08 seconds
guestfsd: main_loop: new request, len 0x68
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 24
| 00 00 00 01 | 00 12 34 4b | ...
libguestfs: trace: exists = 1
libguestfs: trace: case_sensitive_path "/windows/system32/drivers"
libguestfs: send_to_daemon: 76 bytes: 00 00 00 48 | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 c5 | 00 00 00 00 | ...
guestfsd: main_loop: proc 36 (exists) took 0.00 seconds
guestfsd: main_loop: new request, len 0x48
guestfsd: error: windows: no file or directory found with this name
libguestfs: recv_from_daemon: 100 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5
| 00 00 00 01 | 00 12 34 4c | ...
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: umount "/transferZcKAPK"
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 2d | 00 00 00 00 | ...
guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds
guestfsd: main_loop: new request, len 0x3c
umount /sysroot/transferZcKAPK
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2d
| 00 00 00 01 | 00 12 34 4d | ...
libguestfs: trace: umount = 0
libguestfs: trace: rmdir "/transferZcKAPK"
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 1e | 00 00 00 00 | ...
guestfsd: main_loop: proc 45 (umount) took 0.07 seconds
guestfsd: main_loop: new request, len 0x3c
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 1e
| 00 00 00 01 | 00 12 34 4e | ...
libguestfs: trace: rmdir = 0
libguestfs: trace: close
libguestfs: closing guestfs handle 0x2e7b760 (state 2)
libguestfs: trace: internal_autosync
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 |
00 00 01 1a | 00 00 00 00 | ...
guestfsd: main_loop: proc 30 (rmdir) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
umount /sysroot
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 1a
| 00 00 00 01 | 00 12 34 4f | ...
libguestfs: trace: internal_autosync = 0
libguestfs: trace: kill_subprocess
libguestfs: sending SIGTERM to process 1386
libguestfs: trace: kill_subprocess = 0
virt-v2v: Died at /usr/bin/virt-p2v-server line 390, <> line 7.
[root@Fedora16-64P2V log]#
12 years, 10 months
[hivex] [PATCH 1/1] hivexml: Change value type output to standard names
by Alex Nelson
Signed-off-by: Alex Nelson <ajnelson(a)cs.ucsc.edu>
---
xml/hivexml.c | 42 ++++++++++++++++++++++++++++++++++--------
1 files changed, 34 insertions(+), 8 deletions(-)
diff --git a/xml/hivexml.c b/xml/hivexml.c
index d38e9d4..1a75593 100644
--- a/xml/hivexml.c
+++ b/xml/hivexml.c
@@ -247,6 +247,32 @@ node_end (hive_h *h, void *writer_v, hive_node_h node, const char *name)
return 0;
}
+/*
+ * Hive type names retrieved from:
+ * https://secure.wikimedia.org/wikipedia/en/wiki/Windows_Registry#Keys_and_...
+ * (Retrieved 2011-10-09)
+ * Caller should not free return value.
+ */
+static char *
+value_type_windows_string (hive_type t)
+{
+ switch (t) {
+ case 0: return "REG_NONE"; break;
+ case 1: return "REG_SZ"; break;
+ case 2: return "REG_EXPAND_SZ"; break;
+ case 3: return "REG_BINARY"; break;
+ case 4: return "REG_DWORD_LITTLE_ENDIAN"; break;
+ case 5: return "REG_DWORD_BIG_ENDIAN"; break;
+ case 6: return "REG_LINK"; break;
+ case 7: return "REG_MULTI_SZ"; break;
+ case 8: return "REG_RESOURCE_LIST"; break;
+ case 9: return "REG_FULL_RESOURCE_DESCRIPTOR"; break;
+ case 10: return "REG_RESOURCE_REQUIREMENTS_LIST"; break;
+ case 11: return "REG_QWORD"; break;
+ default: return "unknown"; break;
+ }
+}
+
static void
start_value (xmlTextWriterPtr writer,
const char *key, const char *type, const char *encoding)
@@ -294,7 +320,7 @@ value_string (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
type = "unknown";
}
- start_value (writer, key, type, NULL);
+ start_value (writer, key, value_type_windows_string (t), NULL);
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteString, (writer, BAD_CAST str));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
@@ -308,7 +334,7 @@ value_multiple_strings (hive_h *h, void *writer_v, hive_node_h node,
const char *key, char **argv)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
- start_value (writer, key, "string-list", NULL);
+ start_value (writer, key, value_type_windows_string (t), NULL);
size_t i;
for (i = 0; argv[i] != NULL; ++i) {
@@ -350,7 +376,7 @@ value_string_invalid_utf16 (hive_h *h, void *writer_v, hive_node_h node,
type = "unknown";
}
- start_value (writer, key, type, "base64");
+ start_value (writer, key, value_type_windows_string (t), "base64");
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteBase64, (writer, str, 0, len));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
@@ -364,7 +390,7 @@ value_dword (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, int32_t v)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
- start_value (writer, key, "int32", NULL);
+ start_value (writer, key, value_type_windows_string (t), NULL);
XML_CHECK (xmlTextWriterWriteFormatAttribute, (writer, BAD_CAST "value", "%" PRIi32, v));
end_value (writer);
return 0;
@@ -375,7 +401,7 @@ value_qword (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, int64_t v)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
- start_value (writer, key, "int64", NULL);
+ start_value (writer, key, value_type_windows_string (t), NULL);
XML_CHECK (xmlTextWriterWriteFormatAttribute, (writer, BAD_CAST "value", "%" PRIi64, v));
end_value (writer);
return 0;
@@ -386,7 +412,7 @@ value_binary (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, const char *v)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
- start_value (writer, key, "binary", "base64");
+ start_value (writer, key, value_type_windows_string (t), "base64");
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteBase64, (writer, v, 0, len));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
@@ -399,7 +425,7 @@ value_none (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, const char *v)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
- start_value (writer, key, "none", "base64");
+ start_value (writer, key, value_type_windows_string (t), "base64");
if (len > 0) {
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteBase64, (writer, v, 0, len));
@@ -436,7 +462,7 @@ value_other (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
type = "unknown";
}
- start_value (writer, key, type, "base64");
+ start_value (writer, key, value_type_windows_string (t), "base64");
if (len > 0) {
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteBase64, (writer, v, 0, len));
--
1.7.6.4
12 years, 10 months
[hivex] [PATCH 0/1] hivexml: Revise type names in output
by Alex Nelson
This patch revises the value type information printed. It is also
somewhat a test of how open to revision the output of a program is
according to RedHat's policies, of which I am not very aware beyond
strongly guaranteeing ABI compatability.
Alex Nelson (1):
Change value type output to standard names
xml/hivexml.c | 42 ++++++++++++++++++++++++++++++++++--------
1 files changed, 34 insertions(+), 8 deletions(-)
--
1.7.6.4
12 years, 10 months
[hivex] [PATCH 2/2] hivex: Expose embedded hive file name
by Alex Nelson
Signed-off-by: Alex Nelson <ajnelson(a)cs.ucsc.edu>
---
generator/generator.ml | 6 ++++++
lib/hivex.c | 6 ++++++
xml/hivexml.c | 9 +++++++++
3 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/generator/generator.ml b/generator/generator.ml
index fc7b483..9e53f4e 100755
--- a/generator/generator.ml
+++ b/generator/generator.ml
@@ -159,6 +159,12 @@ but instead are lost. See L<hivex(3)/WRITING TO HIVE FILES>.";
"\
Return root node of the hive. All valid hives must contain a root node.";
+ "name", (RString, [AHive]),
+ "return the name stored in the hive header",
+ "\
+Return hive file name stored in the hive header, null on error. Caller
+is responsible for freeing returned string.";
+
"major_version", (RInt32, [AHive]),
"return the major version of the hive",
"\
diff --git a/lib/hivex.c b/lib/hivex.c
index 455202f..11468f9 100644
--- a/lib/hivex.c
+++ b/lib/hivex.c
@@ -634,6 +634,12 @@ hivex_last_modified (hive_h *h)
return timestamp_check (h, 0, h->last_modified);
}
+char *
+hivex_name (hive_h *h)
+{
+ return (h && h->hdr) ? windows_utf16_to_utf8 (h->hdr->name, 64) : NULL;
+}
+
int32_t
hivex_major_version (hive_h *h)
{
diff --git a/xml/hivexml.c b/xml/hivexml.c
index 3a4d9b7..059da56 100644
--- a/xml/hivexml.c
+++ b/xml/hivexml.c
@@ -160,6 +160,15 @@ main (int argc, char *argv[])
}
}
+ char *hive_name = hivex_name (h);
+ if (hive_name) {
+ XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "name"));
+ XML_CHECK (xmlTextWriterWriteString, (writer, BAD_CAST hive_name));
+ XML_CHECK (xmlTextWriterEndAttribute, (writer));
+ free (hive_name);
+ hive_name = NULL;
+ }
+
int64_t hive_mtime = hivex_last_modified (h);
if (hive_mtime >= 0) {
char *timebuf = filetime_to_8601 (hive_mtime);
--
1.7.6.4
12 years, 10 months
[hivex] [PATCH 1/2] hivex: Expose hive major and minor version
by Alex Nelson
The major and minor version were being reported in a debug message.
This patch adds the version information to the ABI and reports with
hivexml.
Signed-off-by: Alex Nelson <ajnelson(a)cs.ucsc.edu>
---
generator/generator.ml | 10 ++++++++++
lib/hivex.c | 32 +++++++++++++++++++++++++++-----
xml/hivexml.c | 24 ++++++++++++++++++++++++
3 files changed, 61 insertions(+), 5 deletions(-)
diff --git a/generator/generator.ml b/generator/generator.ml
index 065c25d..fc7b483 100755
--- a/generator/generator.ml
+++ b/generator/generator.ml
@@ -159,6 +159,16 @@ but instead are lost. See L<hivex(3)/WRITING TO HIVE FILES>.";
"\
Return root node of the hive. All valid hives must contain a root node.";
+ "major_version", (RInt32, [AHive]),
+ "return the major version of the hive",
+ "\
+Return major version stored in the hive header, -1 on error.";
+
+ "minor_version", (RInt32, [AHive]),
+ "return the minor version of the hive",
+ "\
+Return minor version stored in the hive header, -1 on error.";
+
"last_modified", (RInt64, [AHive]),
"return the modification time from the header of the hive",
"\
diff --git a/lib/hivex.c b/lib/hivex.c
index bf1a860..455202f 100644
--- a/lib/hivex.c
+++ b/lib/hivex.c
@@ -64,7 +64,7 @@ struct ntreg_header {
uint32_t sequence2;
int64_t last_modified;
uint32_t major_ver; /* 1 */
- uint32_t minor_ver; /* 3 */
+ uint32_t minor_ver; /* Seen as 3 in XP, 5 in Vista */
uint32_t unknown5; /* 0 */
uint32_t unknown6; /* 1 */
uint32_t offset; /* offset of root key record - 4KB */
@@ -303,7 +303,7 @@ hivex_open (const char *filename, int flags)
}
/* Check major version. */
- uint32_t major_ver = le32toh (h->hdr->major_ver);
+ int32_t major_ver = hivex_major_version (h);
if (major_ver != 1) {
fprintf (stderr,
"hivex: %s: hive file major version %" PRIu32 " (expected 1)\n",
@@ -312,6 +312,16 @@ hivex_open (const char *filename, int flags)
goto error;
}
+ /* Check minor version; if unable to decode, terminate. */
+ int32_t minor_ver = hivex_minor_version (h);
+ if (minor_ver < 0) {
+ fprintf (stderr,
+ "hivex: %s: could not decode hive minor version\n",
+ filename);
+ errno = EINVAL;
+ goto error;
+ }
+
h->bitmap = calloc (1 + h->size / 32, 1);
if (h->bitmap == NULL)
goto error;
@@ -328,11 +338,11 @@ hivex_open (const char *filename, int flags)
h->last_modified = le64toh ((int64_t) h->hdr->last_modified);
if (h->msglvl >= 2) {
- char *name = windows_utf16_to_utf8 (h->hdr->name, 64);
+ char *name = hivex_name (h);
fprintf (stderr,
"hivex_open: header fields:\n"
- " file version %" PRIu32 ".%" PRIu32 "\n"
+ " file version %" PRIi32 ".%" PRIi32 "\n"
" sequence nos %" PRIu32 " %" PRIu32 "\n"
" (sequences nos should match if hive was synched at shutdown)\n"
" last modified %" PRIu64 "\n"
@@ -342,7 +352,7 @@ hivex_open (const char *filename, int flags)
" root offset 0x%x + 0x1000\n"
" end of last page 0x%x + 0x1000 (total file size 0x%zx)\n"
" checksum 0x%x (calculated 0x%x)\n",
- major_ver, le32toh (h->hdr->minor_ver),
+ major_ver, minor_ver,
le32toh (h->hdr->sequence1), le32toh (h->hdr->sequence2),
h->last_modified,
name ? name : "(conversion failed)",
@@ -624,6 +634,18 @@ hivex_last_modified (hive_h *h)
return timestamp_check (h, 0, h->last_modified);
}
+int32_t
+hivex_major_version (hive_h *h)
+{
+ return (h && h->hdr) ? (int32_t) le32toh (h->hdr->major_ver) : -1;
+}
+
+int32_t
+hivex_minor_version (hive_h *h)
+{
+ return (h && h->hdr) ? (int32_t) le32toh (h->hdr->minor_ver) : -1;
+}
+
int64_t
hivex_node_timestamp (hive_h *h, hive_node_h node)
{
diff --git a/xml/hivexml.c b/xml/hivexml.c
index d38e9d4..3a4d9b7 100644
--- a/xml/hivexml.c
+++ b/xml/hivexml.c
@@ -136,6 +136,30 @@ main (int argc, char *argv[])
XML_CHECK (xmlTextWriterStartDocument, (writer, NULL, "utf-8", NULL));
XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "hive"));
+ /* Report the version. */
+ int32_t hive_major_version = hivex_major_version (h);
+ int32_t hive_minor_version = hivex_minor_version (h);
+ if (hive_major_version < 0) {
+ fprintf (stderr, _("hive_major_version: failed to determine major version\n"));
+ exit (EXIT_FAILURE);
+ } else if (hive_minor_version < 0) {
+ fprintf (stderr, _("hive_minor_version: failed to determine minor version\n"));
+ exit (EXIT_FAILURE);
+ } else {
+ char *hive_version_buf = (char *) calloc (8, sizeof (char));
+ if (hive_version_buf == NULL) {
+ fprintf (stderr, _("calloc: failed to allocate version buffer\n"));
+ exit (EXIT_FAILURE);
+ } else {
+ snprintf (hive_version_buf, 8, "%" PRIu32 ".%" PRIu32, hive_major_version, hive_minor_version);
+ XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "hive_version"));
+ XML_CHECK (xmlTextWriterWriteString, (writer, BAD_CAST hive_version_buf));
+ XML_CHECK (xmlTextWriterEndAttribute, (writer));
+ free (hive_version_buf);
+ hive_version_buf = NULL;
+ }
+ }
+
int64_t hive_mtime = hivex_last_modified (h);
if (hive_mtime >= 0) {
char *timebuf = filetime_to_8601 (hive_mtime);
--
1.7.6.4
12 years, 10 months
[hivex] [PATCH 8/8] hivexml: Add byte run reporting functions
by Alex Nelson
This patch adds value_byte_runs and node_byte_runs. Each byte run
represents the offset and length of a data structure within the hive,
one per node, and one or two per value depending on the length of the
value data.
These byte run functions also add additional data sanity checks as a
hive is being parsed, mainly checking that a node address actually
points to a node, and similarly for values.
Signed-off-by: Alex Nelson <ajnelson(a)cs.ucsc.edu>
---
xml/hivexml.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 95 insertions(+), 9 deletions(-)
diff --git a/xml/hivexml.c b/xml/hivexml.c
index d38e9d4..6591c98 100644
--- a/xml/hivexml.c
+++ b/xml/hivexml.c
@@ -210,6 +210,34 @@ filetime_to_8601 (int64_t windows_ticks)
return ret;
}
+#define BYTE_RUN_BUF_LEN 32
+
+static int
+node_byte_runs (hive_h *h, void *writer_v, hive_node_h node)
+{
+ xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
+ char buf[1+BYTE_RUN_BUF_LEN];
+ errno = 0;
+ size_t node_struct_length = hivex_node_struct_length (h, node);
+ if (errno) {
+ if (errno == EINVAL) {
+ fprintf (stderr, "node_byte_runs: Invoked on what does not seem to be a node (%zu).\n", node);
+ }
+ return -1;
+ }
+ /* A node has one byte run. */
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_runs"));
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_run"));
+ memset (buf, 0, 1+BYTE_RUN_BUF_LEN);
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%d", node);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "file_offset", BAD_CAST buf));
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%d", node_struct_length);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "len", BAD_CAST buf));
+ XML_CHECK (xmlTextWriterEndElement, (writer));
+ XML_CHECK (xmlTextWriterEndElement, (writer));
+ return 0;
+}
+
static int
node_start (hive_h *h, void *writer_v, hive_node_h node, const char *name)
{
@@ -236,7 +264,8 @@ node_start (hive_h *h, void *writer_v, hive_node_h node, const char *name)
}
}
- return 0;
+ ret = node_byte_runs (h, writer_v, node);
+ return ret;
}
static int
@@ -268,11 +297,53 @@ end_value (xmlTextWriterPtr writer)
}
static int
+value_byte_runs (hive_h *h, void *writer_v, hive_value_h value) {
+ xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
+ char buf[1+BYTE_RUN_BUF_LEN];
+ size_t value_data_cell_length;
+ errno = 0;
+ size_t value_data_structure_length = hivex_value_struct_length (h, value);
+ if (errno != 0) {
+ if (errno == EINVAL) {
+ fprintf (stderr, "value_byte_runs: Invoked on what does not seem to be a value (%zu).\n", value);
+ }
+ return -1;
+ }
+ hive_value_h value_data_cell_offset = hivex_value_data_cell_offset (h, value, &value_data_cell_length);
+ if (errno != 0)
+ return -1;
+
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_runs"));
+ memset (buf, 0, 1+BYTE_RUN_BUF_LEN);
+
+ /* Write first byte run for data structure */
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_run"));
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%d", value);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "file_offset", BAD_CAST buf));
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%d", value_data_structure_length);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "len", BAD_CAST buf));
+ XML_CHECK (xmlTextWriterEndElement, (writer));
+
+ /* Write second byte run for longer values */
+ if (value_data_cell_length > 4) {
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_run"));
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%d", value_data_cell_offset);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "file_offset", BAD_CAST buf));
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%d", value_data_cell_length);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "len", BAD_CAST buf));
+ XML_CHECK (xmlTextWriterEndElement, (writer));
+ }
+ XML_CHECK (xmlTextWriterEndElement, (writer));
+ return 0;
+}
+
+static int
value_string (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, const char *str)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
const char *type;
+ int ret = 0;
switch (t) {
case hive_t_string: type = "string"; break;
@@ -298,8 +369,9 @@ value_string (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteString, (writer, BAD_CAST str));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
+ ret = value_byte_runs (h, writer_v, value);
end_value (writer);
- return 0;
+ return ret;
}
static int
@@ -308,6 +380,7 @@ value_multiple_strings (hive_h *h, void *writer_v, hive_node_h node,
const char *key, char **argv)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
+ int ret = 0;
start_value (writer, key, "string-list", NULL);
size_t i;
@@ -317,8 +390,9 @@ value_multiple_strings (hive_h *h, void *writer_v, hive_node_h node,
XML_CHECK (xmlTextWriterEndElement, (writer));
}
+ ret = value_byte_runs (h, writer_v, value);
end_value (writer);
- return 0;
+ return ret;
}
static int
@@ -329,6 +403,7 @@ value_string_invalid_utf16 (hive_h *h, void *writer_v, hive_node_h node,
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
const char *type;
+ int ret = 0;
switch (t) {
case hive_t_string: type = "bad-string"; break;
@@ -354,9 +429,10 @@ value_string_invalid_utf16 (hive_h *h, void *writer_v, hive_node_h node,
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteBase64, (writer, str, 0, len));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
+ ret = value_byte_runs (h, writer_v, value);
end_value (writer);
- return 0;
+ return ret;
}
static int
@@ -364,10 +440,12 @@ value_dword (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, int32_t v)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
+ int ret = 0;
start_value (writer, key, "int32", NULL);
XML_CHECK (xmlTextWriterWriteFormatAttribute, (writer, BAD_CAST "value", "%" PRIi32, v));
+ ret = value_byte_runs (h, writer_v, value);
end_value (writer);
- return 0;
+ return ret;
}
static int
@@ -375,10 +453,12 @@ value_qword (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, int64_t v)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
+ int ret = 0;
start_value (writer, key, "int64", NULL);
XML_CHECK (xmlTextWriterWriteFormatAttribute, (writer, BAD_CAST "value", "%" PRIi64, v));
+ ret = value_byte_runs (h, writer_v, value);
end_value (writer);
- return 0;
+ return ret;
}
static int
@@ -386,12 +466,14 @@ value_binary (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, const char *v)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
+ int ret = 0;
start_value (writer, key, "binary", "base64");
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteBase64, (writer, v, 0, len));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
+ ret = value_byte_runs (h, writer_v, value);
end_value (writer);
- return 0;
+ return ret;
}
static int
@@ -399,14 +481,16 @@ value_none (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
hive_type t, size_t len, const char *key, const char *v)
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
+ int ret = 0;
start_value (writer, key, "none", "base64");
if (len > 0) {
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteBase64, (writer, v, 0, len));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
+ ret = value_byte_runs (h, writer_v, value);
}
end_value (writer);
- return 0;
+ return ret;
}
static int
@@ -415,6 +499,7 @@ value_other (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
{
xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v;
const char *type;
+ int ret = 0;
switch (t) {
case hive_t_none:
@@ -441,8 +526,9 @@ value_other (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value,
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteBase64, (writer, v, 0, len));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
+ ret = value_byte_runs (h, writer_v, value);
}
end_value (writer);
- return 0;
+ return ret;
}
--
1.7.6.4
12 years, 10 months
[PATCH] gitignore: ignore the git related files
by Wanlong Gao
*.eml for email picked patches
other for orginal git patch related files.
Signed-off-by: Wanlong Gao <gaowanlong(a)cn.fujitsu.com>
---
.gitignore | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 4d4556e..682bf29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -368,3 +368,10 @@ tools/virt-*.pl
.git-module-status
.guestfs-*
guestfs.*
+
+*.eml
+*.patch
+*.rej
+*.orig
+*.diff
+.gitattributes
--
1.7.8
12 years, 10 months
[PATCH] fish: fix the Ctrl-\ causes guestfish to abort bug(RHBZ#596761)
by Wanlong Gao
Handle SIGQUIT by guestfish, so that it can't be terminated.
Signed-off-by: Wanlong Gao <gaowanlong(a)cn.fujitsu.com>
---
fish/fish.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fish/fish.c b/fish/fish.c
index efd6b0b..b782b7c 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -402,6 +402,7 @@ main (int argc, char *argv[])
sa.sa_handler = user_cancel;
sa.sa_flags = SA_RESTART;
sigaction (SIGINT, &sa, NULL);
+ sigaction (SIGQUIT, &sa, NULL);
guestfs_set_pgroup (g, 1);
}
--
1.7.8
12 years, 10 months
Kernel panic on Ubuntu 10.04
by Syndicut
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(a)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(a)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)
12 years, 10 months