Gentoo livecd - unionfs module problem

From: Antonio Nevado
Date: Thu Apr 21 2005 - 12:03:41 EST


Hi!

i´m working on a linux livecd gentoo-based using the
linux-live scripts.

Ok, then, i use the gentoo kernel 2.6.11 with squashfs support
(not module, incore) and i compile the unionfs.ko module.
I gzip the module unionfs.ko and i copy it to the:

kernel-modules/'uname -r'/

directory for a future use by the linux-live scripts.

Then, the scipts copy unionfs.ko.gz to the initrd.

The problem is: when the initrd boots and it try to load
the module (from /tmp when it´s already gunzipped) returns this
message:

insmod: cannot open module '/tmp/unionfs.ko' :
Invalid module format(-1): Exec format error

but if i try to load the module on the gentoo distribution before
create the .iso and burn´it (on the hard-disk) there´s no
problem (i load it with the same 'busybox' binary that uses the
linuxrc script)

Then, errors, kernel panic, goodbye...

Help! Please...

Thanks !!!

---nevy---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/