Re: Invalid module format in Fedora core2

From: Horst von Brand
Date: Fri Feb 25 2005 - 11:56:33 EST


linux-os <linux-os@xxxxxxxxxxxx> said:
> On Fri, 25 Feb 2005, Payasam Manohar wrote:
> > I tried to insert a sample module into Fedora core 2 , But it is giving
> > an error message that " no module in the object"
> > The same module was inserted successfully into Redhat linux 9.

> > Is there any changes from RH 9 to Fedora Core 2 with respect to the module
> > writing and insertion.

> Yes. Fedora Core 2 should have the new module tools. It also has
> a new kernel. These new kernels load a module called "module.ko"
> instead of "module.o".

Right up to here.

> Inside the new module is some code used
> to obfuscate the new module mechanism where 'insmod' and friends
> has been moved inside the kernel, further bloating the kernel

AFAIR, the resulting code in-kernel is even smaller than before, and diong
it in-kernel is the only sane way to avoid all kinds of nasty races.

> and, incidentally, making it necessary for modules to be
> "politically correct", i.e., policy moved into the kernel.

Is this FUD really necesary?
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
-
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/