Further info on this:

On 25/11/2010 15:30, Philip Nye wrote:
I'm getting a slub crash when loading a module:

"BUG: failure at .../mm/slub.c:2771/kfree()!"

The test at this location is BUG_ON(!PageCompound(page));

This seems to occur when the kernel tries to dump my modules init function -
if I don't mark the function __init the crash doesn't happen.

Well it didn't before, but now I've put more code in and the module is bigger, it is crashing at the same BUG despite the __init being off.

It is crashing on "insmod" before any attempt is made to actually run any of the code except possibly the init function and without any debug messages that I can catch other than the BUG itself. Could it be related to module size? is there a limit?

Philip
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to