Re: [Regression] Crash in load_module() while freeing args

From: Rafael J. Wysocki
Date: Tue May 25 2010 - 18:53:58 EST


On Tuesday 25 May 2010, Rafael J. Wysocki wrote:
> Hi,
>
> Recent -git kernels crash for me quite often during boot, reporting that kernel
> paging request could not be satisfied at load_module+0x18e4, which
> corresponds to line 2483 of kernel/module.c for the kernel in question (however
> the same call trace says IP is at precpu_modfree+0x1 at the moment of the
> crash, which seems to point to line 2481 of the same file). It doesn't happen
> every time, but it does happen often enough to be annoying and the call
> trace is always exactly the same.
>
> I'm going to revert post-2.6.34 commits that touch kernel/module.c directly
> and see what happens.

I'm not able to reproduce the issue with the following commit reverted:

commit 480b02df3aa9f07d1c7df0cd8be7a5ca73893455
Author: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Date: Wed May 19 17:33:39 2010 -0600

module: drop the lock while waiting for module to complete initialization.

Thanks,
Rafael
--
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/