Re: KVM induced panic on 2.6.38[2367] & 2.6.39

Borislav Petkov
2011-05-31T10:38:08Z

On Tue, May 31, 2011 at 05:26:10PM +0800, Brad Campbell wrote:
> On 31/05/11 13:47, Borislav Petkov wrote:
> >Looks like a KSM issue. Disabling CONFIG_KSM should at least stop your
> >machine from oopsing.
> >
> >Adding linux-mm.
> >
>
> I initially thought that, so the second panic was produced with KSM
> disabled from boot.
>
> echo 0 > /sys/kernel/mm/ksm/run
>
> If you still think that compiling ksm out of the kernel will prevent
> it then I'm willing to give it a go.

Ok, from looking at the code, when KSM inits, it starts the ksm kernel
thread and it looks like your oops comes from the function that is run
in the kernel thread - ksm_scan_thread.

So even if you disable it from sysfs, it runs at least once.

Let's add some more people to Cc and see what happens :).

--
Regards/Gruss,
Boris.