Gentoo livecd - unionfs module problem

Gentoo livecd - unionfs module problem

am 21.04.2005 20:13:03 von Antonio Nevado

Hi!

i=B4m 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=B4s 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=B4it (on the hard-disk) there=B4s 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-admin" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re:Gentoo livecd - unionfs module problem

am 24.04.2005 03:45:24 von Gustavo Serra

I am not sure what the problem is, but I know that modules
must be in ELF format. From my readings, ELF is the default
output format nowdays, perhaps your compiler is too old?
Anyway... check your compiler version and manual! ;)

If it is not the case, sorry, I do not know how to help!

> Hi!
>=20
> i=B4m 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:
>=20
> kernel-modules/'uname -r'/
>=20
> directory for a future use by the linux-live scripts.
>=20
> Then, the scipts copy unionfs.ko.gz to the initrd.
>=20
> The problem is: when the initrd boots and it try to load
> the module (from /tmp when it=B4s already gunzipped) returns
this
> message:
>=20
> insmod: cannot open module '/tmp/unionfs.ko' :
> Invalid module format(-1): Exec format error
>=20
> but if i try to load the module on the gentoo distribution
before
> create the .iso and burn=B4it (on the hard-disk) there=B4s no
> problem (i load it with the same 'busybox' binary that
uses the
> linuxrc script)
>=20
> Then, errors, kernel panic, goodbye...
>=20
> Help! Please...
>=20
> Thanks !!!
>=20
> ---nevy---
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at=20
http://vger.kernel.org/majordomo-info.html
=20
____________________________________________________________ ___________=
___
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - =C9 gr=E1tis!
http://antipopup.uol.com.br/


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html