Re: [PATCH] 2.0.35 insmod change appraisal request

=?ISO-8859-1?Q?Bj=F6rn?= Ekwall (bj0rn@plox.blox.se)
Wed, 20 Jan 1999 14:25:04 +0100 (CET)


Hi!

Your module problem caught my eye...
The patch is not correct, since you actually miss the last longword of
the module image. That is: if the value of codesize is correct...
Also: the code for determining the actual number of pages is correct as is.

So, why are you having a problem?

The critical thing in all this is the value of "codesize".
Since you have such a big difference in the values from the different
versions of the module support utilities, I suspect that you are using
some of the advanced features that were added after my time.
I think that you might be using the __initfunc feature, or something
similar, and for some reason your module makes the newer insmod a bit
confused with regard to the real size.

Am I close?

Björn <bj0rn@blox.se>

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