[PATCH libguestfs] add more missing include directives
by Jim Meyering
I'm going one patch per directory.
There are still more.
If you'd prefer, I'll put this and all remaining changes in one commit.
>From eb396e5e2187055e6312ac7df7cad6f273e37c92 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering(a)redhat.com>
Date: Wed, 13 Apr 2011 13:13:34 +0200
Subject: [PATCH libguestfs] add more missing include directives
* cat/virt-cat.c: Include string.h and libintl.h.
* cat/virt-filesystems.c: Likewise.
* cat/virt-ls.c: Likewise.
---
cat/virt-cat.c | 4 +++-
cat/virt-filesystems.c | 4 +++-
cat/virt-ls.c | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/cat/virt-cat.c b/cat/virt-cat.c
index dca9ef4..06bd8b1 100644
--- a/cat/virt-cat.c
+++ b/cat/virt-cat.c
@@ -1,5 +1,5 @@
/* virt-cat
- * Copyright (C) 2010 Red Hat Inc.
+ * Copyright (C) 2010-2011 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,11 +20,13 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <inttypes.h>
#include <unistd.h>
#include <getopt.h>
#include <locale.h>
#include <assert.h>
+#include <libintl.h>
#include "progname.h"
diff --git a/cat/virt-filesystems.c b/cat/virt-filesystems.c
index c6d52ac..10084de 100644
--- a/cat/virt-filesystems.c
+++ b/cat/virt-filesystems.c
@@ -1,5 +1,5 @@
/* virt-filesystems
- * Copyright (C) 2010 Red Hat Inc.
+ * Copyright (C) 2010-2011 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,6 +26,8 @@
#include <getopt.h>
#include <locale.h>
#include <assert.h>
+#include <string.h>
+#include <libintl.h>
#include "c-ctype.h"
#include "human.h"
diff --git a/cat/virt-ls.c b/cat/virt-ls.c
index e2700d2..b510f9a 100644
--- a/cat/virt-ls.c
+++ b/cat/virt-ls.c
@@ -1,5 +1,5 @@
/* virt-ls
- * Copyright (C) 2010 Red Hat Inc.
+ * Copyright (C) 2010-2011 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,6 +26,8 @@
#include <fcntl.h>
#include <locale.h>
#include <assert.h>
+#include <string.h>
+#include <libintl.h>
#include "progname.h"
--
1.7.5.rc1.228.g86d60b
13 years, 6 months
root use of yum (given "umask 077") causes build trouble
by Jim Meyering
FYI,
[cc'ing the yum list, because yum may want to make the permissions
of certain files it creates be independent of root's umask ]
When I do things as root, I have umask set to 077.
That appears to have led yum to set the permissions on all files in
/var/lib/yum/rpmdb-indexes/ to -rw-------.
That in turn makes commands run by non-root like "yum info libvirt" fail,
and it also makes libguestfs' build process fail like this:
febootstrap: external python program failed, see earlier error messages
The previous error it's referring to appears to be this:
IOError: [Errno 13] Permission denied: '//var/lib/yum/rpmdb-indexes/version'
I've just run this command (as root),
chmod go+r /var/lib/yum/rpmdb-indexes/*
the libguestfs build was finally able to complete.
And "yum info ..." became usable again.
This is on Fedora 15.
13 years, 6 months
[PATCH libguestfs] add missing include directives
by Jim Meyering
A few minor problems:
(more coming)
config.c:55:5: error: implicit declaration of function 'strlen' [-Werror=implicit-function-declaration]
config.c:55:11: error: incompatible implicit declaration of built-in function 'strlen' [-Werror]
...
keys.c:59:7: error: implicit declaration of function 'memcpy' [-Werror=implicit-function-declaration]
keys.c:59:7: error: incompatible implicit declaration of built-in function 'memcpy' [-Werror]
man.c:42:3: error: implicit declaration of function 'memset' [-Werror=implicit-function-declaration]
man.c:42:3: error: incompatible implicit declaration of built-in function 'memset' [-Werror]
Here's a patch:
>From abf6a50d39aa9015d5df0336a0ac61155e0df973 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering(a)redhat.com>
Date: Wed, 13 Apr 2011 12:57:54 +0200
Subject: [PATCH libguestfs] add missing include directives
* fish/config.c: Include string.h, for use of strlen.
* fish/keys.c: Likewise, but for use of memcpy.
* fish/man.c: Likewise, but for use of memset.
---
fish/config.c | 1 +
fish/keys.c | 3 ++-
fish/man.c | 3 ++-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/fish/config.c b/fish/config.c
index c1d34fb..66d2810 100644
--- a/fish/config.c
+++ b/fish/config.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_LIBCONFIG
#include <libconfig.h>
diff --git a/fish/keys.c b/fish/keys.c
index deb627f..ec15c8f 100644
--- a/fish/keys.c
+++ b/fish/keys.c
@@ -1,5 +1,5 @@
/* libguestfs - guestfish and guestmount shared option parsing
- * Copyright (C) 2010 Red Hat Inc.
+ * Copyright (C) 2010-2011 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <termios.h>
+#include <string.h>
#include "guestfs.h"
diff --git a/fish/man.c b/fish/man.c
index 1965b64..522a86c 100644
--- a/fish/man.c
+++ b/fish/man.c
@@ -1,5 +1,5 @@
/* guestfish - the filesystem interactive shell
- * Copyright (C) 2010 Red Hat Inc.
+ * Copyright (C) 2010-2011 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
+#include <string.h>
#include <sys/wait.h>
#include "fish.h"
--
1.7.5.rc1.228.g86d60b
13 years, 6 months
compilation nit
by Jim Meyering
I've just tried to build the latest from git, and it failed like this:
events.c: In function 'guestfs___call_callbacks_message':
events.c:128:7: error: implicit declaration of function 'strlen' [-Werror=implicit-function-declaration]
events.c:128:39: error: incompatible implicit declaration of built-in function 'strlen' [-Werror]
events.c:131:38: error: incompatible implicit declaration of built-in function 'strlen' [-Werror]
events.c:139:35: error: incompatible implicit declaration of built-in function 'strlen' [-Werror]
cc1: all warnings being treated as errors
make[3]: *** [libguestfs_la-events.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/h/j/w/co/libguestfs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/h/j/w/co/libguestfs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/h/j/w/co/libguestfs'
make: *** [all] Error 2
Applying this change got past it:
>From 8edaf5949f404b4fd94886ce5772d55f54ef3024 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering(a)redhat.com>
Date: Wed, 13 Apr 2011 11:10:08 +0200
Subject: [PATCH libguestfs] avoid warning about implicit declaration of
strlen
* src/events.c: Include <string.h>, for use of strlen.
---
src/events.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/events.c b/src/events.c
index 159862a..3894349 100644
--- a/src/events.c
+++ b/src/events.c
@@ -26,6 +26,7 @@
#include <inttypes.h>
#include <unistd.h>
#include <assert.h>
+#include <string.h>
#include "ignore-value.h"
--
1.7.5.rc1.228.g86d60b
13 years, 6 months
[ANNOUNCE] libguestfs 1.10.0 - tools for accessing and modifying VM disk images
by Richard W.M. Jones
I'm happy to announce that after 5 months of development, the new
stable version of libguestfs is available. libguestfs is a set of
tools and a library for accessing, creating and modifying the contents
of virtual machines and disk images.
Home page: http://libguestfs.org/
Binary packages for:
Fedora: http://koji.fedoraproject.org/koji/packageinfo?packageID=8391
(available within 24 hours)
Debian: http://libguestfs.org/download/binaries/debian-packages/
(coming in 1-2 days)
Ubuntu: http://libguestfs.org/download/binaries/ubuntu-packages/
(coming in 1-2 days)
The new stable 1.10.0 version brings many enhancements. The full
release notes are attached below, or you can read them on the website
at http://libguestfs.org/RELEASE-NOTES.txt
Release notes for libguestfs 1.10.0
-----------------------------------
These release notes only cover the differences from the previous
stable/dev branch split (1.8.0). For detailed changelogs, please see
the git repository, or the ChangeLog file distributed in the tarball.
New features
- libguestfs and tools can be used against live virtual machines.
See the 'guestfish --live' and 'guestmount --live' options, and (for
the low-level interface) the new APIs set-attach-method and
get-attach-method.
- New virt tools:
virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out.
- libguestfs can get the drive letter mappings for Windows guests.
- virt-inspector displays drive letter mappings for Windows guests.
- Drive letters can now be used in virt-edit and guestfish programs
when operating on Windows guests.
- virt-resize now works on 32 bit hosts.
- You can now inspect the install disks and live CDs of many different
operating systems.
- guestfish <! cmd which executes a shell cmd and inlines the result.
- guestfish, guestmount, virt-rescue now all support --ro and --rw
options, and the default for this can be chosen via a configuration
file (/etc/libguestfs-tools.conf).
- New event API allows more than one callback to be registered for
each event, makes it possible to call the API from other languages,
and allows nearly all log, debug and trace messages to be rerouted
from stderr.
- Greater FHS compliance for temporary files, including using /var/tmp
for large cached files that should survive reboot (instead of /tmp).
- guestfish, guestmount -m option allows mount options to be passed
through to the underlying filesystem.
- mkfs-opts allows filesystem features to be specified.
- More intelligent handling of mountpoints, allowing mkmountpoint, mount
and umount-all commands to work together properly.
- Trace messages are prefixed with a distinct string, allowing them to
be easily 'grepped' out from debug output.
- guestfs_launch (guestfish 'run' command) now produces progress
messages (a guestfish progress bar) if it takes longer than 5
seconds to run.
- Several long-running commands where we are unable to estimate time
to completion generate "pulse mode" progress events. Progress bar
in guestfish has been updated to display these.
- Publish new example code in: C, Perl, Python, OCaml, Ruby.
- New virt-dhcp-address example program.
- The Java and Ruby bindings have been improved greatly.
- Perl includes a way to get the errno of the last error.
- Python bindings now compatible with rpyc (thanks Erez Shinan).
- Transifex is now being used to manage translations.
http://www.transifex.net/projects/p/libguestfs/
- Inspection now supports Red Hat Desktop, Slackware distributions.
- Inspection no longer fails for Windows guests that have two or
more disks.
- Inspection can now tell the difference between Windows 2008 Server
and Windows 7.
- Inspection can detect 32 bit applications installed in 64 bit
Windows, running on the WOW64 emulator.
- A series of protocol fixes has fixed the old bug RHBZ#576879
which used to cause errors during the upload command to lose
protocol synchronization.
- New logo!
Security
[none]
New APIs
first-private, get-attach-method, inspect-get-drive-mappings,
inspect-get-product-variant,
inspect-get-windows-current-control-set, next-private, resize2fs-M,
set-attach-method.
Internals
- The 'HACKING' file is obsolete. The contents have been moved into
a section of the guestfs(3) manual page.
- libguestfs-test-tool simplified. It no longer needs the static
binary or tries to construct an ISO.
- rpcgen-generated files are compiled with -fno-strict-aliasing
which should be safer (thanks Matt Booth).
- virt-resize was rewritten in OCaml.
- guestfish and other tools tested with valgrind; some memory leaks
were fixed.
Bugs fixed
- 502533 Updated Polish translation of libguestfs
- 576879 libguestfs protocol loses synchronization if you 'upload' before mounting disks
- 599503 document that mkmountpoint and umount-all cannot be mixed
- 617440 guestfish: fails to tilde expand '~' when the $HOME env is unset
- 664558 RFE: Allow to set log callback in Ruby bindings
- 665358 Punjabi Translation Completed (pa_IN)
- 666577 libguestfs: unknown filesystem /dev/fd0
- 667610 Multiple bugs, memory leaks in libguestfs ruby bindings
- 668112 virt-filesystems command fails on guest with corrupt filesystem label
- 668574 guestfish -i is trying to mount all mounts from /etc/fstab and fails with an error when device doesn't exists
- 673479 Add a grep-friendly string to LIBGUESTFS_TRACE output
- 674130 Inspection code fails for Windows guest with two disks
- 682756 libguestfs trace segfaults when list-filesystems returns error
- 682979 libguestfs incorrectly detects Red Hat desktop as 'redhat-based' instead of 'redhat'
- 690819 mkfs fails creating a filesytem on a disk device when using a disk with 'ide' interface
- 691389 Extended attributes don't work over guestmount (FUSE)
- 691724 virt-inspector reports unknown filesystem /dev/vda1
- 692545 inspect-list-applications fails to detect 32 bit apps installed under WOW64 emulator on 64 bit Windows
- 693324 sfdisk's python interface only accepts lists of type 'list' for the lines parameter
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
13 years, 6 months
Error with part-add with bsd partition
by Nikita A Menkovich
Hello,I receive strange error
><fs> part-init /dev/vda bsd
><fs> part-add /dev/vda primary 64 -1
libguestfs: error: part_add: do_part_add: parted: /dev/vda: parted:
invalid token: primary
Error: Expecting a file system type.
but
><fs> part-init /dev/vda msdos
><fs> part-add /dev/vda primary 64 -1
runs ok
Log attached.
--
Nikita A Menkovich
http://libc6.org/
JID: menkovich(a)gmail.com
13 years, 6 months
Re: [Libguestfs] Guestfish errors (Running in VirtualBox)
by Chris Willmore
> That's the guestfish temporary files, nothing to do with the appliance
> cache. Try removing /tmp/.guestfs-* and/or /var/tmp/.guestfs-* instead.
Sorry, that was a typo. I did remove /tmp/.guestfs-*
> This looks good to me, except that from your original trace[1] the
> path would have been /usr/*local*/lib/...
Hmmm. I did a build on Monday, which matches the time stamp of /usr/lib, and a build yesterday which matches the timestamp of /usr/local/lib.
I can't think of any reason for the difference. cpio on /usr/local/lib/guestfs/supermin.d/init.img gives the same output as on /usr/lib/guestfs/supermin.d/init.img. I moved /usr/lib/guestfs out of the way with no noticeable difference, but not to say its presence could be indicative of other weirdness.
Below is the log from a run right after removing /tmp/.guestfs.
new guestfs handle 0x9d2f958
===== Test starts here =====
LIBGUESTFS_DEBUG=1
library version: 1.8.4
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_memsize: 500
guestfs_get_path: /usr/local/lib/guestfs
guestfs_get_qemu: /usr/bin/kvm
guestfs_get_verbose: 1
Launching appliance, timeout set to 120 seconds.
[00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/local/lib/guestfs/supermin.d' i686
supermin helper [00000ms] whitelist = (not specified), host_cpu = i686, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00006ms] inputs[0] = /usr/local/lib/guestfs/supermin.d
checking modpath /lib/modules/2.6.32-24-generic is a directory
picked vmlinuz-2.6.32-24-generic because modpath /lib/modules/2.6.32-24-generic exists
checking modpath /lib/modules/2.6.36-020636-generic is a directory
picked vmlinuz-2.6.36-020636-generic because modpath /lib/modules/2.6.36-020636-generic exists
supermin helper [00006ms] finished creating kernel
supermin helper [00008ms] visiting /usr/local/lib/guestfs/supermin.d
supermin helper [00008ms] visiting /usr/local/lib/guestfs/supermin.d/base.img
supermin helper [00009ms] visiting /usr/local/lib/guestfs/supermin.d/daemon.img
supermin helper [00009ms] visiting /usr/local/lib/guestfs/supermin.d/hostfiles
supermin helper [00079ms] visiting /usr/local/lib/guestfs/supermin.d/init.img
supermin helper [00286ms] finished creating appliance
[00299ms] begin building supermin appliance
[00300ms] run febootstrap-supermin-helper
[00302ms] febootstrap-supermin-helper \
--verbose \
-f ext2 /usr/local/lib/guestfs/supermin.d i686 /tmp/guestfs.7yEBV3/kernel /tmp/guestfs.7yEBV3/initrd /tmp/guestfs.7yEBV3/root
supermin helper [00000ms] whitelist = (not specified), host_cpu = i686, kernel = /tmp/guestfs.7yEBV3/kernel, initrd = /tmp/guestfs.7yEBV3/initrd, appliance = /tmp/guestfs.7yEBV3/root
supermin helper [00001ms] inputs[0] = /usr/local/lib/guestfs/supermin.d
checking modpath /lib/modules/2.6.32-24-generic is a directory
picked vmlinuz-2.6.32-24-generic because modpath /lib/modules/2.6.32-24-generic exists
checking modpath /lib/modules/2.6.36-020636-generic is a directory
picked vmlinuz-2.6.36-020636-generic because modpath /lib/modules/2.6.36-020636-generic exists
supermin helper [00002ms] finished creating kernel
supermin helper [03075ms] finished mke2fs
supermin helper [03076ms] visiting /usr/local/lib/guestfs/supermin.d
supermin helper [03077ms] visiting /usr/local/lib/guestfs/supermin.d/base.img
supermin helper [03101ms] visiting /usr/local/lib/guestfs/supermin.d/daemon.img
supermin helper [03134ms] visiting /usr/local/lib/guestfs/supermin.d/hostfiles
supermin helper [04155ms] visiting /usr/local/lib/guestfs/supermin.d/init.img
supermin helper [18630ms] finished creating appliance
[18951ms] finished building supermin appliance
[18951ms] begin testing qemu features
[21649ms] finished testing qemu features
accept_from_daemon: 0x9d2f958 g->state = 1
/dev/kvm: No such file or directory
[21666ms] /usr/bin/kvm \
-drive file=/tmp/libguestfs-test-tool-sda-T6QcbC,cache=off,format=raw,if=virtio \
-drive file=/tmp/libguestfs-test-tool-iso-wA9iro,snapshot=on,format=raw,if=virtio \
-nodefconfig \
-nodefaults \
-nographic \
-m 500 \
-no-reboot \
-no-hpet \
-device virtio-serial \
-serial stdio \
-chardev socket,path=/tmp/libguestfssJy6UP/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-kernel /tmp/.guestfs-1001/kernel.5377 \
-initrd /tmp/.guestfs-1001/initrd.5377 \
-append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
-drive file=/tmp/.guestfs-1001/root.5377,snapshot=on,if=virtio,cache=unsafe
recv_from_daemon: 0x9d2f958 g->state = 1, size_rtn = 0xbfe9640c, buf_rtn = 0xbfe96408
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.36-020636-generic (root@zinc) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #201010210905 SMP Thu Oct 21 10:17:53 UTC 2010
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
[ 0.000000] BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000001f3fd000 (usable)
[ 0.000000] BIOS-e820: 000000001f3fd000 - 000000001f400000 (reserved)
[ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[ 0.000000] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
[ 0.000000] DMI 2.4 present.
[ 0.000000] last_pfn = 0x1f3fd max_arch_pfn = 0x100000
[ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000001000 (reserved)
[ 0.000000] modified: 0000000000001000 - 0000000000002000 (usable)
[ 0.000000] modified: 0000000000002000 - 0000000000010000 (reserved)
[ 0.000000] modified: 0000000000010000 - 000000000009f400 (usable)
[ 0.000000] modified: 000000000009f400 - 00000000000a0000 (reserved)
[ 0.000000] modified: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 000000001f3fd000 (usable)
[ 0.000000] modified: 000000001f3fd000 - 000000001f400000 (reserved)
[ 0.000000] modified: 00000000fffc0000 - 0000000100000000 (reserved)
[ 0.000000] found SMP MP-table at [c00f8990] f8990
[ 0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000
[ 0.000000] RAMDISK: 1f27f000 - 1f3f0000
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 499MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 1f3fd000
[ 0.000000] low ram: 0 - 1f3fd000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000001 -> 0x00001000
[ 0.000000] Normal 0x00001000 -> 0x0001f3fd
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000001 -> 0x00000002
[ 0.000000] 0: 0x00000010 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x0001f3fd
[ 0.000000] Using APIC driver default
[ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[ 0.000000] Intel MultiProcessor Specification v1.4
[ 0.000000] Virtual Wire compatibility mode.
[ 0.000000] MPTABLE: OEM ID: BOCHSCPU
[ 0.000000] MPTABLE: Product ID: 0.1
[ 0.000000] MPTABLE: APIC at: 0xFEE00000
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] I/O APIC #1 Version 17 at 0xFEC00000.
[ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] Processors: 1
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: 0000000000002000 - 0000000000010000
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 1f400000 (gap: 1f400000:e0bc0000)
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 14 pages/cpu @c1400000 s32896 r0 d24448 u4194304
[ 0.000000] pcpu-alloc: s32896 r0 d24448 u4194304 alloc=1*4194304
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 126885
[ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm
[ 0.000000] Disabling memory control group subsystem
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] Subtract (40 early reservations)
[ 0.000000] #1 [0000001000 - 0000002000] EX TRAMPOLINE
[ 0.000000] #2 [0000100000 - 00009d5824] TEXT DATA BSS
[ 0.000000] #3 [001f27f000 - 001f3f0000] RAMDISK
[ 0.000000] #4 [00009d6000 - 00009d9049] BRK
[ 0.000000] #5 [000009f400 - 00000f8990] BIOS reserved
[ 0.000000] #6 [00000f8990 - 00000f89a0] MP-table mpf
[ 0.000000] #7 [00000f8a90 - 0000100000] BIOS reserved
[ 0.000000] #8 [00000f89a0 - 00000f8a90] MP-table mpc
[ 0.000000] #9 [0000010000 - 0000011000] TRAMPOLINE
[ 0.000000] #10 [0000011000 - 0000015000] ACPI WAKEUP
[ 0.000000] #11 [0000015000 - 0000016000] PGTABLE
[ 0.000000] #12 [0001000000 - 0001001000] BOOTMEM
[ 0.000000] #13 [0001001000 - 00013e9000] BOOTMEM
[ 0.000000] #14 [00013e9000 - 00013e9004] BOOTMEM
[ 0.000000] #15 [00013e9040 - 00013e9100] BOOTMEM
[ 0.000000] #16 [00013e9100 - 00013e9130] BOOTMEM
[ 0.000000] #17 [00013e9140 - 00013ea940] BOOTMEM
[ 0.000000] #18 [00013ea940 - 00013ea967] BOOTMEM
[ 0.000000] #19 [00013ea980 - 00013eaa7c] BOOTMEM
[ 0.000000] #20 [00013eaa80 - 00013eaac0] BOOTMEM
[ 0.000000] #21 [00013eaac0 - 00013eab00] BOOTMEM
[ 0.000000] #22 [00013eab00 - 00013eab40] BOOTMEM
[ 0.000000] #23 [00013eab40 - 00013eab80] BOOTMEM
[ 0.000000] #24 [00013eab80 - 00013eabc0] BOOTMEM
[ 0.000000] #25 [00013eabc0 - 00013eac00] BOOTMEM
[ 0.000000] #26 [00013eac00 - 00013eac10] BOOTMEM
[ 0.000000] #27 [00013eac40 - 00013eac50] BOOTMEM
[ 0.000000] #28 [00013eac80 - 00013ead02] BOOTMEM
[ 0.000000] #29 [00013ead40 - 00013eadc2] BOOTMEM
[ 0.000000] #30 [0001400000 - 000140e000] BOOTMEM
[ 0.000000] #31 [00013ece00 - 00013ece04] BOOTMEM
[ 0.000000] #32 [00013ece40 - 00013ece44] BOOTMEM
[ 0.000000] #33 [00013ece80 - 00013ece84] BOOTMEM
[ 0.000000] #34 [00013ecec0 - 00013ecec4] BOOTMEM
[ 0.000000] #35 [00013ecf00 - 00013ecfb0] BOOTMEM
[ 0.000000] #36 [00013ecfc0 - 00013ed068] BOOTMEM
[ 0.000000] #37 [00013eae00 - 00013ece00] BOOTMEM
[ 0.000000] #38 [000140e000 - 000144e000] BOOTMEM
[ 0.000000] #39 [000144e000 - 000146e000] BOOTMEM
[ 0.000000] Initializing HighMem for node 0 (00000000:00000000)
[ 0.000000] Memory: 496508k/511988k available (5000k kernel code, 15032k reserved, 2406k data, 740k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfff16000 - 0xfffff000 ( 932 kB)
[ 0.000000] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 0.000000] vmalloc : 0xdfbfd000 - 0xff7fe000 ( 508 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdf3fd000 ( 499 MB)
[ 0.000000] .init : 0xc083c000 - 0xc08f5000 ( 740 kB)
[ 0.000000] .data : 0xc05e2039 - 0xc083bb28 (2406 kB)
[ 0.000000] .text : 0xc0100000 - 0xc05e2039 (5000 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:2304 nr_irqs:256
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Fast TSC calibration failed
[ 0.000000] TSC: Unable to calibrate against PIT
[ 0.000000] TSC: No reference (HPET/PMTIMER) available
[ 0.000000] Marking TSC unstable due to could not calculate TSC khz
[ 0.048000] Calibrating delay loop... 171.52 BogoMIPS (lpj=343040)
[ 0.132000] pid_max: default: 32768 minimum: 301
[ 0.136000] Security Framework initialized
[ 0.160000] AppArmor: AppArmor initialized
[ 0.168000] Mount-cache hash table entries: 512
[ 0.216000] Initializing cgroup subsys ns
[ 0.220000] Initializing cgroup subsys cpuacct
[ 0.224000] Initializing cgroup subsys memory
[ 0.232000] Initializing cgroup subsys devices
[ 0.236000] Initializing cgroup subsys freezer
[ 0.240000] Initializing cgroup subsys net_cls
[ 0.260000] mce: CPU supports 10 MCE banks
[ 0.264000] Performance Events: AMD PMU driver.
[ 0.268000] ... version: 0
[ 0.272000] ... bit width: 48
[ 0.276000] ... generic registers: 4
[ 0.280000] ... value mask: 0000ffffffffffff
[ 0.288000] ... max period: 00007fffffffffff
[ 0.292000] ... fixed-purpose events: 0
[ 0.292000] ... event mask: 000000000000000f
[ 0.328000] SMP alternatives: switching to UP code
[ 0.512000] Freeing SMP alternatives: 20k freed
[ 0.520000] ftrace: converting mcount calls to 0f 1f 44 00 00
[ 0.528000] ftrace: allocating 26011 entries in 51 pages
[ 0.572000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.576000] ------------[ cut here ]------------
[ 0.584000] WARNING: at /home/kernel-ppa/COD/linux/arch/x86/kernel/apic/apic.c:1238 setup_local_APIC+0x3a5/0x3e0()
[ 0.592000] Hardware name: Bochs
[ 0.596000] Modules linked in:
[ 0.604000] Pid: 1, comm: swapper Not tainted 2.6.36-020636-generic #201010210905
[ 0.608000] Call Trace:
[ 0.616000] [<c05d5ab5>] ? setup_local_APIC+0x3a5/0x3e0
[ 0.620000] [<c014e4e1>] warn_slowpath_common+0x81/0xa0
[ 0.620000] [<c05d5ab5>] ? setup_local_APIC+0x3a5/0x3e0
[ 0.624000] [<c014e522>] warn_slowpath_null+0x22/0x30
[ 0.628000] [<c05d5ab5>] setup_local_APIC+0x3a5/0x3e0
[ 0.632000] [<c084c950>] ? verify_local_APIC+0x170/0x1a0
[ 0.636000] [<c0124d7c>] ? default_get_apic_id+0x1c/0x40
[ 0.640000] [<c084abb3>] native_smp_prepare_cpus+0x123/0x210
[ 0.644000] [<c0141f9e>] ? set_cpus_allowed_ptr+0x8e/0x120
[ 0.652000] [<c0102c46>] ? ret_from_fork+0x6/0x1c
[ 0.656000] [<c083cbb3>] kernel_init+0x63/0x110
[ 0.656000] [<c083cb50>] ? kernel_init+0x0/0x110
[ 0.664000] [<c010327e>] kernel_thread_helper+0x6/0x10
[ 0.672000] ---[ end trace a7919e7f17c0a725 ]---
[ 0.676000] CPU0: AMD QEMU Virtual CPU version 0.14.0 stepping 03
[ 0.860000] APIC timer disabled due to verification failure
[ 0.892000] Brought up 1 CPUs
[ 0.896000] Total of 1 processors activated (171.52 BogoMIPS).
[ 0.920000] devtmpfs: initialized
[ 0.956000] regulator: core version 0.5
[ 0.960000] Time: 16:50:16 Date: 04/08/11
[ 0.968000] NET: Registered protocol family 16
[ 0.984000] EISA bus registered
[ 0.996000] PCI: PCI BIOS revision 2.10 entry at 0xffe77, last bus=0
[ 1.000000] PCI: Using configuration type 1 for base access
[ 1.044000] bio: create slab <bio-0> at 0
[ 1.056000] ACPI: Interpreter disabled.
[ 1.068000] vgaarb: loaded
[ 1.084000] SCSI subsystem initialized
[ 1.096000] usbcore: registered new interface driver usbfs
[ 1.100000] usbcore: registered new interface driver hub
[ 1.104000] usbcore: registered new device driver usb
[ 1.120000] PCI: Probing PCI hardware
[ 1.132000] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
[ 1.136000] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
[ 1.164000] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[ 1.172000] NetLabel: Initializing
[ 1.176000] NetLabel: domain hash size = 128
[ 1.180000] NetLabel: protocols = UNLABELED CIPSOv4
[ 1.184000] NetLabel: unlabeled traffic allowed by default
[ 1.192000] Switching to clocksource pit
[ 1.383907] AppArmor: AppArmor Filesystem Enabled
[ 1.388022] pnp: PnP ACPI: disabled
[ 1.390539] PnPBIOS: Scanning system for PnP BIOS support...
[ 1.396956] PnPBIOS: Found PnP BIOS installation structure at 0xc00f7e40
[ 1.400977] PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xdf15, dseg 0xf0000
[ 1.409686] PnPBIOS: dev_node_info: function not supported on this system
[ 1.414844] PnPBIOS: Unable to get node info. Aborting.
[ 1.469793] NET: Registered protocol family 2
[ 1.478205] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.494906] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.499729] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.502236] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.506418] TCP reno registered
[ 1.513592] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 1.517809] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 1.522807] NET: Registered protocol family 1
[ 1.527469] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 1.531407] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 1.535734] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 1.549509] Trying to unpack rootfs image as initramfs...
[ 1.637436] Freeing initrd memory: 1476k freed
[ 1.660048] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 1.673110] cpufreq-nforce2: No nForce2 chipset.
[ 1.681147] Scanning for low memory corruption every 60 seconds
[ 1.702778] audit: initializing netlink socket (disabled)
[ 1.706709] type=2000 audit(1302281412.704:1): initialized
[ 1.814098] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[ 1.858764] VFS: Disk quotas dquot_6.5.2
[ 1.862937] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.881013] fuse init (API version 7.15)
[ 1.887120] msgmni has been set to 972
[ 1.930885] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 1.940654] io scheduler noop registered
[ 1.944231] io scheduler deadline registered
[ 1.948090] io scheduler cfq registered (default)
[ 1.953134] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 1.961525] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 1.997425] isapnp: Scanning for PnP cards...
[ 2.326093] isapnp: No Plug & Play device found
[ 2.334114] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.346828] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.401621] brd: module loaded
[ 2.427441] loop: module loaded
[ 2.449618] scsi0 : ata_piix
[ 2.456970] scsi1 : ata_piix
[ 2.471175] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
[ 2.475264] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
[ 2.521596] Fixed MDIO Bus: probed
[ 2.533904] PPP generic driver version 2.4.2
[ 2.538533] tun: Universal TUN/TAP device driver, 1.6
[ 2.542206] tun: (C) 1999-2004 Max Krasnyansky <maxk(a)qualcomm.com>
[ 2.550186] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.554465] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.557271] uhci_hcd: USB Universal Host Controller Interface driver
[ 2.568465] PNP: No PS/2 controller found. Probing ports directly.
[ 2.575010] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 2.580054] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 2.588286] mice: PS/2 mouse device common for all mice
[ 2.597210] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 2.606040] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 2.621048] rtc0: alarms up to one day, 114 bytes nvram
[ 2.634733] device-mapper: uevent: version 1.0.3
[ 2.645838] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel(a)redhat.com
[ 2.678347] device-mapper: multipath: version 1.1.1 loaded
[ 2.681322] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 2.690306] EISA: Probing bus 0 at eisa.0
[ 2.698672] EISA: Detected 0 cards.
[ 2.702480] cpuidle: using governor ladder
[ 2.705479] cpuidle: using governor menu
[ 2.717593] TCP cubic registered
[ 2.734994] NET: Registered protocol family 10
[ 2.748965] lo: Disabled Privacy Extensions
[ 2.765383] NET: Registered protocol family 17
[ 2.769384] Registering the dns_resolver key type
[ 2.773864] powernow-k8: Processor cpuid 623 not supported
[ 2.777645] Using IPI No-Shortcut mode
[ 2.787047] registered taskstats version 1
[ 2.789974] Magic number: 7:73:843
[ 2.801157] rtc_cmos rtc_cmos: setting system clock to 2011-04-08 16:50:20 UTC (1302281420)
[ 2.806875] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 2.810574] EDD information not available.
[ 2.823599] Freeing unused kernel memory: 740k freed
[ 2.874467] Write protecting the kernel text: 5004k
[ 2.879850] Write protecting the kernel read-only data: 2048k
/proc/uptime: No such file or directory
febootstrap: ext2 mini initrd starting up
febootstrap: mounting /sys
febootstrap: insmod crc-ccitt.ko
febootstrap: insmod crc-itu-t.ko
febootstrap: insmod crc32c-intel.ko
insmod: error inserting 'crc32c-intel.ko': -1 No such device
insmod: wait: File exists
febootstrap: insmod crc32c.ko
febootstrap: insmod crc7.ko
febootstrap: insmod libcrc32c.ko
febootstrap: insmod scsi_transport_spi.ko
febootstrap: insmod virtio.ko
febootstrap: insmod virtio_ring.ko
febootstrap: insmod sym53c8xx.ko
febootstrap: insmod virtio_pci.ko
[ 3.610220] virtio-pci 0000:00:02.0: found PCI INT A -> IRQ 10
[ 3.629275] virtio-pci 0000:00:03.0: found PCI INT A -> IRQ 11
[ 3.633601] virtio-pci 0000:00:04.0: found PCI INT A -> IRQ 11
[ 3.639019] virtio-pci 0000:00:05.0: found PCI INT A -> IRQ 10
febootstrap: insmod virtio-rng.ko
febootstrap: insmod virtio_net.ko
febootstrap: insmod virtio_blk.ko
[ 3.886935] vda: unknown partition table
[ 3.909493] vdb: unknown partition table
[ 3.930714] vdc: unknown partition table
febootstrap: insmod virtio_console.ko
febootstrap: insmod virtio_balloon.ko
febootstrap: picked /sys/block/vdc/dev as root device
febootstrap: creating /dev/root as block special 251:32
febootstrap: mounting new root on /root
febootstrap: chroot
/proc/uptime: No such file or directory
execl: /init: No such file or directory
[ 4.217919] Kernel panic - not syncing: Attempted to kill init!
[ 4.226647] Pid: 1, comm: init Tainted: G W 2.6.36-020636-generic #201010210905
[ 4.231469] Call Trace:
[ 4.231469] [<c014e62f>] panic+0x5f/0x190
[ 4.231469] [<c01506b1>] find_new_reaper+0x91/0xa0
[ 4.235493] [<c0151174>] forget_original_parent+0x34/0x180
[ 4.235493] [<c01b1c72>] ? call_rcu_sched+0x12/0x20
[ 4.239851] [<c01512d3>] exit_notify+0x13/0x140
[ 4.242398] [<c01529d5>] do_exit+0x1e5/0x340
[ 4.248054] [<c021f4e0>] ? vfs_write+0x140/0x160
[ 4.248905] [<c03e5c30>] ? redirected_tty_write+0x0/0x90
[ 4.248905] [<c0152b68>] do_group_exit+0x38/0xa0
[ 4.248905] [<c0152be4>] sys_exit_group+0x14/0x20
[ 4.248905] [<c05da8c4>] syscall_call+0x7/0xb
[ 4.256391] Rebooting in 1 seconds..libguestfs: error: unexpected end of file when reading from daemon
child_cleanup: 0x9d2f958: child process died
libguestfs-test-tool: failed to launch appliance
closing guestfs handle 0x9d2f958 (state 0)
________________________________
From: Richard W.M. Jones <rjones(a)redhat.com>
To: Chris Willmore <chris.willmore(a)yahoo.com>
Cc: "libguestfs(a)redhat.com" <libguestfs(a)redhat.com>
Sent: Friday, April 8, 2011 5:45 PM
Subject: Re: [Libguestfs] Guestfish errors (Running in VirtualBox)
On Fri, Apr 08, 2011 at 07:33:24AM -0700, Chris Willmore wrote:
> I removed /tmp/.guestfish-* and getting same error (ostensibly same
> error output).
That's the guestfish temporary files, nothing to do with the appliance
cache. Try removing /tmp/.guestfs-* and/or /var/tmp/.guestfs-* instead.
Note that in your original trace[1] the appliance had already been
cached, so w didn't get to see any errors from the build. Therefore
if it is still failing after removing the cached appliance, post the
output of libguestfs-test-tool on the first run after doing that
'rm -r'.
> willmore@sm-vm:~$ cpio -itv < /usr/lib/guestfs/supermin.d/init.img
> -rwxr-xr-x 1 willmore willmore 3280 Dec 10 19:34 init
> 7 blocks
This looks good to me, except that from your original trace[1] the
path would have been /usr/*local*/lib/.... Is it odd that this path
has changed? Are you running matching versions of the library and the
appliance? Do you have another version installed from some previous
attempt?
Rich.
[1] https://www.redhat.com/archives/libguestfs/2011-April/msg00028.html
--
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/
13 years, 6 months
Re: [Libguestfs] Guestfish errors (Running in VirtualBox)
by Chris Willmore
Hi Rich,
I removed /tmp/.guestfish-* and getting same error (ostensibly same error output).
willmore@sm-vm:~$ cpio -itv < /usr/lib/guestfs/supermin.d/init.img
-rwxr-xr-x 1 willmore willmore 3280 Dec 10 19:34 init
7 blocks
Regards,
Chris
________________________________
From: Richard W.M. Jones <rjones(a)redhat.com>
To: Chris Willmore <chris.willmore(a)yahoo.com>
Cc: "libguestfs(a)redhat.com" <libguestfs(a)redhat.com>
Sent: Friday, April 8, 2011 4:32 PM
Subject: Re: [Libguestfs] Guestfish errors (Running in VirtualBox)
On Fri, Apr 08, 2011 at 02:28:02PM +0100, Richard W.M. Jones wrote:
> On Fri, Apr 08, 2011 at 05:50:47AM -0700, Chris Willmore wrote:
> > execl: /init: No such file or directory
>
> What does this say:
>
> cpio -itv < /usr/lib64/guestfs/supermin.d/init.img
>
> (adjust path to your appliance as appropriate).
>
> I have a feeling that this was caused by something stupid such as
> /init not being executable.
Actually I was thinking of this bug which is different:
https://bugzilla.redhat.com/show_bug.cgi?id=666880
However still interested to see the output from the above command.
Also try forcing the appliance to get rebuilt. Remove the temporary
cache directory (usually in /tmp/.guestfs-* or /var/tmp/.guestfs-*).
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
13 years, 6 months
Re: [Libguestfs] Guestfish errors (Running in VirtualBox)
by Chris Willmore
Hi Rich,
Ext is compiled in (99% sure) and it is a standard Ubuntu kernel.
-Chris
________________________________
From: Richard W.M. Jones <rjones(a)redhat.com>
To: Chris Willmore <chris.willmore(a)yahoo.com>; libguestfs(a)redhat.com
Sent: Thursday, April 7, 2011 7:33 PM
Subject: Re: [Libguestfs] Guestfish errors (Running in VirtualBox)
[Please keep messages on the list]
On Thu, Apr 07, 2011 at 09:28:39AM -0700, Chris Willmore wrote:
> You were correct that I used the wrong insmod.static. I downloaded the 32bit and rebuilt.
> liguestfs-test-tool is still failing, albeit for a different reason.
>
> I'm running Ubuntu 10.10, Kernel 2.6.36
>
> Following my message is the new output.
>
> Many thanks for your help.
>
> -Chris
>
> new guestfs handle 0x83f8958
> ===== Test starts here =====
> LIBGUESTFS_DEBUG=1
> library version: 1.8.4
> guestfs_get_append: (null)
> guestfs_get_autosync: 1
> guestfs_get_memsize: 500
> guestfs_get_path: /usr/local/lib/guestfs
> guestfs_get_qemu: /usr/bin/kvm
> guestfs_get_verbose: 1
> Launching appliance, timeout set to 120 seconds.
> [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/local/lib/guestfs/supermin.d' i686
> supermin helper [00000ms] whitelist = (not specified), host_cpu = i686, kernel = (null), initrd = (null), appliance = (null)
> supermin helper [00001ms] inputs[0] = /usr/local/lib/guestfs/supermin.d
> checking modpath /lib/modules/2.6.32-24-generic is a directory
> picked vmlinuz-2.6.32-24-generic because modpath /lib/modules/2.6.32-24-generic exists
> checking modpath /lib/modules/2.6.36-020636-generic is a directory
> picked vmlinuz-2.6.36-020636-generic because modpath /lib/modules/2.6.36-020636-generic exists
> supermin helper [00002ms] finished creating kernel
> supermin helper [00004ms] visiting /usr/local/lib/guestfs/supermin.d
> supermin helper [00005ms] visiting /usr/local/lib/guestfs/supermin.d/base.img
> supermin helper [00005ms] visiting /usr/local/lib/guestfs/supermin.d/daemon.img
> supermin helper [00005ms] visiting /usr/local/lib/guestfs/supermin.d/hostfiles
> supermin helper [00093ms] visiting /usr/local/lib/guestfs/supermin.d/init.img
> supermin helper [00312ms] finished creating appliance
> [00340ms] begin testing qemu features
> [00474ms] finished testing qemu features
> /dev/kvm: No such file or directory
> accept_from_daemon: 0x83f8958 g->state = 1
> [00486ms] /usr/bin/kvm \
> -drive file=/tmp/libguestfs-test-tool-sda-jlHPvW,cache=off,format=raw,if=virtio \
> -drive file=/tmp/libguestfs-test-tool-iso-vfywgp,snapshot=on,format=raw,if=virtio \
> -nodefconfig \
> -nodefaults \
> -nographic \
> -m 500 \
> -no-reboot \
> -no-hpet \
> -device virtio-serial \
> -serial stdio \
> -chardev socket,path=/tmp/libguestfsRmtgLt/guestfsd.sock,id=channel0 \
> -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
> -kernel /tmp/.guestfs-1001/kernel.3907 \
> -initrd /tmp/.guestfs-1001/initrd.3907 \
> -append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
> -drive file=/tmp/.guestfs-1001/root.3907,snapshot=on,if=virtio,cache=unsafe
> recv_from_daemon: 0x83f8958 g->state = 1, size_rtn = 0xbf81eabc, buf_rtn = 0xbf81eab8
> open /dev/kvm: No such file or directory
> Could not initialize KVM, will disable KVM support
> [ 0.000000] Initializing cgroup subsys cpuset
> [ 0.000000] Initializing cgroup subsys cpu
> [ 0.000000] Linux version 2.6.36-020636-generic (root@zinc) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #201010210905 SMP Thu Oct 21 10:17:53 UTC 2010
> [ 0.000000] BIOS-provided physical RAM map:
> [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
> [ 0.000000] BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
> [ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> [ 0.000000] BIOS-e820: 0000000000100000 - 000000001f3fd000 (usable)
> [ 0.000000] BIOS-e820: 000000001f3fd000 - 000000001f400000 (reserved)
> [ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
> [ 0.000000] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
> [ 0.000000] DMI 2.4 present.
> [ 0.000000] last_pfn = 0x1f3fd max_arch_pfn = 0x100000
> [ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
> [ 0.000000] Scanning 1 areas for low memory corruption
> [ 0.000000] modified physical RAM map:
> [ 0.000000] modified: 0000000000000000 - 0000000000001000 (reserved)
> [ 0.000000] modified: 0000000000001000 - 0000000000002000 (usable)
> [ 0.000000] modified: 0000000000002000 - 0000000000010000 (reserved)
> [ 0.000000] modified: 0000000000010000 - 000000000009f400 (usable)
> [ 0.000000] modified: 000000000009f400 - 00000000000a0000 (reserved)
> [ 0.000000] modified: 00000000000f0000 - 0000000000100000 (reserved)
> [ 0.000000] modified: 0000000000100000 - 000000001f3fd000 (usable)
> [ 0.000000] modified: 000000001f3fd000 - 000000001f400000 (reserved)
> [ 0.000000] modified: 00000000fffc0000 - 0000000100000000 (reserved)
> [ 0.000000] found SMP MP-table at [c00f8990] f8990
> [ 0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000
> [ 0.000000] RAMDISK: 1f27f000 - 1f3f0000
> [ 0.000000] 0MB HIGHMEM available.
> [ 0.000000] 499MB LOWMEM available.
> [ 0.000000] mapped low ram: 0 - 1f3fd000
> [ 0.000000] low ram: 0 - 1f3fd000
> [ 0.000000] Zone PFN ranges:
> [ 0.000000] DMA 0x00000001 -> 0x00001000
> [ 0.000000] Normal 0x00001000 -> 0x0001f3fd
> [ 0.000000] HighMem empty
> [ 0.000000] Movable zone start PFN for each node
> [ 0.000000] early_node_map[3] active PFN ranges
> [ 0.000000] 0: 0x00000001 -> 0x00000002
> [ 0.000000] 0: 0x00000010 -> 0x0000009f
> [ 0.000000] 0: 0x00000100 -> 0x0001f3fd
> [ 0.000000] Using APIC driver default
> [ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
> [ 0.000000] Intel MultiProcessor Specification v1.4
> [ 0.000000] Virtual Wire compatibility mode.
> [ 0.000000] MPTABLE: OEM ID: BOCHSCPU
> [ 0.000000] MPTABLE: Product ID: 0.1
> [ 0.000000] MPTABLE: APIC at: 0xFEE00000
> [ 0.000000] Processor #0 (Bootup-CPU)
> [ 0.000000] I/O APIC #1 Version 17 at 0xFEC00000.
> [ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
> [ 0.000000] Processors: 1
> [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
> [ 0.000000] PM: Registered nosave memory: 0000000000002000 - 0000000000010000
> [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
> [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
> [ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
> [ 0.000000] Allocating PCI resources starting at 1f400000 (gap: 1f400000:e0bc0000)
> [ 0.000000] Booting paravirtualized kernel on bare hardware
> [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
> [ 0.000000] PERCPU: Embedded 14 pages/cpu @c1400000 s32896 r0 d24448 u4194304
> [ 0.000000] pcpu-alloc: s32896 r0 d24448 u4194304 alloc=1*4194304
> [ 0.000000] pcpu-alloc: [0] 0
> [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 126885
> [ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm
> [ 0.000000] Disabling memory control group subsystem
> [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
> [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> [ 0.000000] Enabling fast FPU save and restore... done.
> [ 0.000000] Enabling unmasked SIMD FPU exception support... done.
> [ 0.000000] Initializing CPU#0
> [ 0.000000] Subtract (40 early reservations)
> [ 0.000000] #1 [0000001000 - 0000002000] EX TRAMPOLINE
> [ 0.000000] #2 [0000100000 - 00009d5824] TEXT DATA BSS
> [ 0.000000] #3 [001f27f000 - 001f3f0000] RAMDISK
> [ 0.000000] #4 [00009d6000 - 00009d9049] BRK
> [ 0.000000] #5 [000009f400 - 00000f8990] BIOS reserved
> [ 0.000000] #6 [00000f8990 - 00000f89a0] MP-table mpf
> [ 0.000000] #7 [00000f8a90 - 0000100000] BIOS reserved
> [ 0.000000] #8 [00000f89a0 - 00000f8a90] MP-table mpc
> [ 0.000000] #9 [0000010000 - 0000011000] TRAMPOLINE
> [ 0.000000] #10 [0000011000 - 0000015000] ACPI WAKEUP
> [ 0.000000] #11 [0000015000 - 0000016000] PGTABLE
> [ 0.000000] #12 [0001000000 - 0001001000] BOOTMEM
> [ 0.000000] #13 [0001001000 - 00013e9000] BOOTMEM
> [ 0.000000] #14 [00013e9000 - 00013e9004] BOOTMEM
> [ 0.000000] #15 [00013e9040 - 00013e9100] BOOTMEM
> [ 0.000000] #16 [00013e9100 - 00013e9130] BOOTMEM
> [ 0.000000] #17 [00013e9140 - 00013ea940] BOOTMEM
> [ 0.000000] #18 [00013ea940 - 00013ea967] BOOTMEM
> [ 0.000000] #19 [00013ea980 - 00013eaa7c] BOOTMEM
> [ 0.000000] #20 [00013eaa80 - 00013eaac0] BOOTMEM
> [ 0.000000] #21 [00013eaac0 - 00013eab00] BOOTMEM
> [ 0.000000] #22 [00013eab00 - 00013eab40] BOOTMEM
> [ 0.000000] #23 [00013eab40 - 00013eab80] BOOTMEM
> [ 0.000000] #24 [00013eab80 - 00013eabc0] BOOTMEM
> [ 0.000000] #25 [00013eabc0 - 00013eac00] BOOTMEM
> [ 0.000000] #26 [00013eac00 - 00013eac10] BOOTMEM
> [ 0.000000] #27 [00013eac40 - 00013eac50] BOOTMEM
> [ 0.000000] #28 [00013eac80 - 00013ead02] BOOTMEM
> [ 0.000000] #29 [00013ead40 - 00013eadc2] BOOTMEM
> [ 0.000000] #30 [0001400000 - 000140e000] BOOTMEM
> [ 0.000000] #31 [00013ece00 - 00013ece04] BOOTMEM
> [ 0.000000] #32 [00013ece40 - 00013ece44] BOOTMEM
> [ 0.000000] #33 [00013ece80 - 00013ece84] BOOTMEM
> [ 0.000000] #34 [00013ecec0 - 00013ecec4] BOOTMEM
> [ 0.000000] #35 [00013ecf00 - 00013ecfb0] BOOTMEM
> [ 0.000000] #36 [00013ecfc0 - 00013ed068] BOOTMEM
> [ 0.000000] #37 [00013eae00 - 00013ece00] BOOTMEM
> [ 0.000000] #38 [000140e000 - 000144e000] BOOTMEM
> [ 0.000000] #39 [000144e000 - 000146e000] BOOTMEM
> [ 0.000000] Initializing HighMem for node 0 (00000000:00000000)
> [ 0.000000] Memory: 496508k/511988k available (5000k kernel code, 15032k reserved, 2406k data, 740k init, 0k highmem)
> [ 0.000000] virtual kernel memory layout:
> [ 0.000000] fixmap : 0xfff16000 - 0xfffff000 ( 932 kB)
> [ 0.000000] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
> [ 0.000000] vmalloc : 0xdfbfd000 - 0xff7fe000 ( 508 MB)
> [ 0.000000] lowmem : 0xc0000000 - 0xdf3fd000 ( 499 MB)
> [ 0.000000] .init : 0xc083c000 - 0xc08f5000 ( 740 kB)
> [ 0.000000] .data : 0xc05e2039 - 0xc083bb28 (2406 kB)
> [ 0.000000] .text : 0xc0100000 - 0xc05e2039 (5000 kB)
> [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
> [ 0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [ 0.000000] Hierarchical RCU implementation.
> [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
> [ 0.000000] RCU-based detection of stalled CPUs is disabled.
> [ 0.000000] Verbose stalled-CPUs detection is disabled.
> [ 0.000000] NR_IRQS:2304 nr_irqs:256
> [ 0.000000] Console: colour dummy device 80x25
> [ 0.000000] console [ttyS0] enabled
> [ 0.000000] Fast TSC calibration failed
> [ 0.000000] TSC: Unable to calibrate against PIT
> [ 0.000000] TSC: No reference (HPET/PMTIMER) available
> [ 0.000000] Marking TSC unstable due to could not calculate TSC khz
> [ 0.036000] Calibrating delay loop... 189.44 BogoMIPS (lpj=378880)
> [ 0.116000] pid_max: default: 32768 minimum: 301
> [ 0.120000] Security Framework initialized
> [ 0.128000] AppArmor: AppArmor initialized
> [ 0.136000] Mount-cache hash table entries: 512
> [ 0.152000] Initializing cgroup subsys ns
> [ 0.156000] Initializing cgroup subsys cpuacct
> [ 0.160000] Initializing cgroup subsys memory
> [ 0.164000] Initializing cgroup subsys devices
> [ 0.168000] Initializing cgroup subsys freezer
> [ 0.168000] Initializing cgroup subsys net_cls
> [ 0.172000] mce: CPU supports 10 MCE banks
> [ 0.180000] Performance Events: AMD PMU driver.
> [ 0.184000] ... version: 0
> [ 0.188000] ... bit width: 48
> [ 0.192000] ... generic registers: 4
> [ 0.192000] ... value mask: 0000ffffffffffff
> [ 0.196000] ... max period: 00007fffffffffff
> [ 0.200000] ... fixed-purpose events: 0
> [ 0.200000] ... event mask: 000000000000000f
> [ 0.220000] SMP alternatives: switching to UP code
> [ 0.376000] Freeing SMP alternatives: 20k freed
> [ 0.380000] ftrace: converting mcount calls to 0f 1f 44 00 00
> [ 0.384000] ftrace: allocating 26011 entries in 51 pages
> [ 0.420000] Enabling APIC mode: Flat. Using 1 I/O APICs
> [ 0.428000] ------------[ cut here ]------------
> [ 0.428000] WARNING: at /home/kernel-ppa/COD/linux/arch/x86/kernel/apic/apic.c:1238 setup_local_APIC+0x3a5/0x3e0()
> [ 0.432000] Hardware name: Bochs
> [ 0.432000] Modules linked in:
> [ 0.432000] Pid: 1, comm: swapper Not tainted 2.6.36-020636-generic #201010210905
> [ 0.436000] Call Trace:
> [ 0.436000] [<c05d5ab5>] ? setup_local_APIC+0x3a5/0x3e0
> [ 0.440000] [<c014e4e1>] warn_slowpath_common+0x81/0xa0
> [ 0.440000] [<c05d5ab5>] ? setup_local_APIC+0x3a5/0x3e0
> [ 0.444000] [<c014e522>] warn_slowpath_null+0x22/0x30
> [ 0.444000] [<c05d5ab5>] setup_local_APIC+0x3a5/0x3e0
> [ 0.448000] [<c084abb3>] native_smp_prepare_cpus+0x123/0x210
> [ 0.448000] [<c0141f9e>] ? set_cpus_allowed_ptr+0x8e/0x120
> [ 0.452000] [<c0102c46>] ? ret_from_fork+0x6/0x1c
> [ 0.452000] [<c083cbb3>] kernel_init+0x63/0x110
> [ 0.456000] [<c083cb50>] ? kernel_init+0x0/0x110
> [ 0.456000] [<c010327e>] kernel_thread_helper+0x6/0x10
> [ 0.460000] ---[ end trace a7919e7f17c0a725 ]---
> [ 0.464000] CPU0: AMD QEMU Virtual CPU version 0.14.0 stepping 03
> [ 0.604000] APIC timer disabled due to verification failure
> [ 0.628000] Brought up 1 CPUs
> [ 0.632000] Total of 1 processors activated (189.44 BogoMIPS).
> [ 0.648000] devtmpfs: initialized
> [ 0.676000] regulator: core version 0.5
> [ 0.676000] Time: 16:16:07 Date: 04/07/11
> [ 0.680000] NET: Registered protocol family 16
> [ 0.692000] EISA bus registered
> [ 0.708000] PCI: PCI BIOS revision 2.10 entry at 0xffe77, last bus=0
> [ 0.712000] PCI: Using configuration type 1 for base access
> [ 0.744000] bio: create slab <bio-0> at 0
> [ 0.752000] ACPI: Interpreter disabled.
> [ 0.764000] vgaarb: loaded
> [ 0.768000] SCSI subsystem initialized
> [ 0.776000] usbcore: registered new interface driver usbfs
> [ 0.780000] usbcore: registered new interface driver hub
> [ 0.784000] usbcore: registered new device driver usb
> [ 0.792000] PCI: Probing PCI hardware
> [ 0.800000] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
> [ 0.804000] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
> [ 0.820000] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
> [ 0.836000] NetLabel: Initializing
> [ 0.840000] NetLabel: domain hash size = 128
> [ 0.840000] NetLabel: protocols = UNLABELED CIPSOv4
> [ 0.844000] NetLabel: unlabeled traffic allowed by default
> [ 0.848000] Switching to clocksource pit
> [ 0.990649] AppArmor: AppArmor Filesystem Enabled
> [ 0.993292] pnp: PnP ACPI: disabled
> [ 0.993292] PnPBIOS: Scanning system for PnP BIOS support...
> [ 0.998110] PnPBIOS: Found PnP BIOS installation structure at 0xc00f7e40
> [ 1.002220] PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xdf15, dseg 0xf0000
> [ 1.005063] PnPBIOS: dev_node_info: function not supported on this system
> [ 1.009470] PnPBIOS: Unable to get node info. Aborting.
> [ 1.036554] NET: Registered protocol family 2
> [ 1.042298] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
> [ 1.044495] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
> [ 1.049938] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
> [ 1.054419] TCP: Hash tables configured (established 16384 bind 16384)
> [ 1.058710] TCP reno registered
> [ 1.060223] UDP hash table entries: 256 (order: 1, 8192 bytes)
> [ 1.060223] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
> [ 1.065855] NET: Registered protocol family 1
> [ 1.069301] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
> [ 1.072630] pci 0000:00:01.0: PIIX3: Enabling Passive Release
> [ 1.072630] pci 0000:00:01.0: Activating ISA DMA hang workarounds
> [ 1.079986] Trying to unpack rootfs image as initramfs...
> [ 1.116031] Freeing initrd memory: 1476k freed
> [ 1.133397] platform rtc_cmos: registered platform RTC device (no PNP device found)
> [ 1.142109] cpufreq-nforce2: No nForce2 chipset.
> [ 1.146561] Scanning for low memory corruption every 60 seconds
> [ 1.156734] audit: initializing netlink socket (disabled)
> [ 1.162547] type=2000 audit(1302192966.160:1): initialized
> [ 1.252406] HugeTLB registered 4 MB page size, pre-allocated 0 pages
> [ 1.293490] VFS: Disk quotas dquot_6.5.2
> [ 1.296587] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> [ 1.317600] fuse init (API version 7.15)
> [ 1.321113] msgmni has been set to 972
> [ 1.336571] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> [ 1.336571] io scheduler noop registered
> [ 1.342506] io scheduler deadline registered
> [ 1.344975] io scheduler cfq registered (default)
> [ 1.350014] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> [ 1.353752] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
> [ 1.362976] isapnp: Scanning for PnP cards...
> [ 1.667788] isapnp: No Plug & Play device found
> [ 1.681862] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> [ 1.691968] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [ 1.724339] brd: module loaded
> [ 1.743754] loop: module loaded
> [ 1.761855] scsi0 : ata_piix
> [ 1.764239] scsi1 : ata_piix
> [ 1.768823] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
> [ 1.772970] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
> [ 1.792319] Fixed MDIO Bus: probed
> [ 1.797813] PPP generic driver version 2.4.2
> [ 1.800967] tun: Universal TUN/TAP device driver, 1.6
> [ 1.803961] tun: (C) 1999-2004 Max Krasnyansky <maxk(a)qualcomm.com>
> [ 1.808018] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [ 1.812043] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [ 1.812043] uhci_hcd: USB Universal Host Controller Interface driver
> [ 1.817674] PNP: No PS/2 controller found. Probing ports directly.
> [ 1.824656] serio: i8042 KBD port at 0x60,0x64 irq 1
> [ 1.831568] serio: i8042 AUX port at 0x60,0x64 irq 12
> [ 1.844840] mice: PS/2 mouse device common for all mice
> [ 1.855215] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
> [ 1.856031] rtc0: alarms up to one day, 114 bytes nvram
> [ 1.860054] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
> [ 1.865561] device-mapper: uevent: version 1.0.3
> [ 1.875099] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel(a)redhat.com
> [ 1.879989] device-mapper: multipath: version 1.1.1 loaded
> [ 1.879989] device-mapper: multipath round-robin: version 1.0.0 loaded
> [ 1.886656] EISA: Probing bus 0 at eisa.0
> [ 1.888147] EISA: Detected 0 cards.
> [ 1.894867] cpuidle: using governor ladder
> [ 1.899180] cpuidle: using governor menu
> [ 1.901110] TCP cubic registered
> [ 1.904569] NET: Registered protocol family 10
> [ 1.912671] lo: Disabled Privacy Extensions
> [ 1.921463] NET: Registered protocol family 17
> [ 1.921463] Registering the dns_resolver key type
> [ 1.926794] powernow-k8: Processor cpuid 623 not supported
> [ 1.931206] Using IPI No-Shortcut mode
> [ 1.933182] registered taskstats version 1
> [ 1.937290] Magic number: 7:927:286
> [ 1.941274] ppp ppp: hash matches
> [ 1.941274] rtc_cmos rtc_cmos: setting system clock to 2011-04-07 16:16:08 UTC (1302192968)
> [ 1.945936] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
> [ 1.948365] EDD information not available.
> [ 1.955560] Freeing unused kernel memory: 740k freed
> [ 1.988242] Write protecting the kernel text: 5004k
> [ 1.993050] Write protecting the kernel read-only data: 2048k
> /proc/uptime: No such file or directory
> febootstrap: ext2 mini initrd starting up
> febootstrap: mounting /sys
> febootstrap: insmod crc-ccitt.ko
> febootstrap: insmod crc-itu-t.ko
> febootstrap: insmod crc32c-intel.ko
> insmod: error inserting 'crc32c-intel.ko': -1 No such device
> insmod: wait: File exists
> febootstrap: insmod crc32c.ko
> febootstrap: insmod crc7.ko
> febootstrap: insmod libcrc32c.ko
> febootstrap: insmod scsi_transport_spi.ko
> febootstrap: insmod virtio.ko
> febootstrap: insmod virtio_ring.ko
> febootstrap: insmod sym53c8xx.ko
> febootstrap: insmod virtio_pci.ko
> [ 2.467270] virtio-pci 0000:00:02.0: found PCI INT A -> IRQ 10
> [ 2.474949] virtio-pci 0000:00:03.0: found PCI INT A -> IRQ 11
> [ 2.477428] virtio-pci 0000:00:04.0: found PCI INT A -> IRQ 11
> [ 2.480629] virtio-pci 0000:00:05.0: found PCI INT A -> IRQ 10
> febootstrap: insmod virtio-rng.ko
> febootstrap: insmod virtio_net.ko
> febootstrap: insmod virtio_blk.ko
> [ 2.766849] vda: unknown partition table
> [ 2.792232] vdb: unknown partition table
> [ 2.803233] vdc: unknown partition table
> febootstrap: insmod virtio_console.ko
> febootstrap: insmod virtio_balloon.ko
> febootstrap: picked /sys/block/vdc/dev as root device
> febootstrap: creating /dev/root as block special 251:32
> febootstrap: mounting new root on /root
> febootstrap: chroot
> /proc/uptime: No such file or directory
> execl: /init: No such file or directory
It all looks perfect up to this last line.
I've seen this error before somewhere, but for the life of me I can't
exactly remember what caused it.
Is this a standard Ubuntu kernel? Does this kernel have ext2 compiled
in directly or as a module?
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/
13 years, 6 months