Kernel locks up after calling kernel_execve()
benh at kernel.crashing.org
Wed Nov 14 10:37:52 EST 2007
On Tue, 2007-11-13 at 23:06 +0100, Gerhard Pircher wrote:
> Well, I only disabled power saving with powersave=off. Are there any
> ways to disable idle? What do you mean with instrumenting locks or
> irq enable/disable?
Add printk's to things :-) It's a UP kernel so there should be no
Best is to try to get a 100% reprocase and printk your way toward the
origin of the problem if you don't have a HW debugger. Unless you manage
to sneak in an irq to xmon but if you are totally locked up, you
Could also be something you do that your buggy northbridge doesn't like.
For example, maybe it dislikes M bit in the hash table and you end up
with it set due to other reasons (I know we had changes in this area).
> > Also, did you try booting with all kernel debug options enabled ?
> I compiled in almost all kernel debugging options and booted the
> with driver_debug, initcall_debug and debug. I didn't notice any
> error messages so far. Not sure however, if I missed a debug option.
> > Finally, since the problem seem to have started around a specific
> > version, can you try to bisect the patch that causes it ?
> Hmm, I'm not sure how to do this (only worked on platform code so
> I guess you think about checking out a kernel version from the git
> repository, which doesn't contain the patch for kernel_execve().
> I still suspect the kernel_execve() function (which was introduced in
> 2.6.17) because the kernel locks up after starting the first user
> AFAIK kernel threads should be running much earlier.
They are but they cause a lot less MMU pressure, could be an
More information about the Linuxppc-dev