[Libguestfs] Invalid module format errors, supermin waits forever for /sys/block/sdb/dev to appear
Richard W.M. Jones
rjones at redhat.com
Thu Mar 12 19:11:01 UTC 2015
On Thu, Mar 12, 2015 at 02:29:46PM -0400, Lee Revell wrote:
> After failing to get things to work on a Ubuntu 14.04 host I build a
> fedora 21 environment to see if Ubuntu may have been the problem and
> didn't get quite as far so here's an official report per the FAQ
> directions:
>
> - Trying to get guests to build and have network access so package
> management actions can be done before uploading to openstack image
> service.
>
> - I ran ./run virt-builder fedora-18 -v -x (also tried fedora-21,
> same issue)
>
> - Using supermin 5.1.2, libguestfs 1.29.29 both built from source on
> fedora 21 host with all updates. "yum-builddep libguestfs" was run
> first to pull dependencies.
>
> Short version is that I get a bunch of Invalid module format errors
> then supermin waiting for /sys/block/sdb/dev to appear and it never
> does. Full output attached.
[...]
> supermin: internal insmod libcrc32c.ko.xz
> insmod: init_module: libcrc32c.ko.xz: Invalid module format
> [ 1.234236] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2
> supermin: waiting another 1024000000 ns for /sys/block/sdb/dev to appear
> supermin: waiting another 2048000000 ns for /sys/block/sdb/dev to appear
> supermin: waiting another 4096000000 ns for /sys/block/sdb/dev to appear
> supermin: waiting another 8192000000 ns for /sys/block/sdb/dev to appear
> supermin: waiting another 16384000000 ns for /sys/block/sdb/dev to appear
> supermin: waiting another 32768000000 ns for /sys/block/sdb/dev to appear
> supermin: waiting another 65536000000 ns for /sys/block/sdb/dev to appear
> supermin: waiting another 131072000000 ns for /sys/block/sdb/dev to appear
These errors are caused because supermin isn't compiled with xz-static
support. Did you compile supermin by hand? There's a version in
Fedora itself which should work fine. If you're building it by hand,
then most likely you didn't run `yum-builddep supermin' first to
install all the build dependencies, including the optional ones such
as xz.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
More information about the Libguestfs
mailing list