Kernel locks up after calling kernel_execve()

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Nov 11 14:55:40 EST 2007


On Sat, 2007-11-10 at 18:11 +0100, Gerhard Pircher wrote:
> -------- Original-Nachricht --------
> > Datum: Fri, 09 Nov 2007 18:50:29 +1100
> > Von: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> > An: Gerhard Pircher <gerhard_pircher at gmx.net>
> > CC: linuxppc-dev at ozlabs.org
> > Betreff: Re: Kernel locks up after calling kernel_execve()
> 
> > 
> > > I tried to use /bin/sh as init program and was able to enter a command,
> > > but then the machine locked up, too.
> > > Could that be a problem with a CPU sleeping/idle code?
> > 
> > That's possibly an issue, try disabling power save if any for that CPU
> > type. If it worked and broke, you may have to bisect tho.
> I disabled the powersaving code by adding powersave=off to the kernel's
> command line, but it didn't help. It seems to lockup whenever it tries to
> access a filesystem.
> Is there a way to debug it without a hardware debugger or can you
> recommend a cheap hardware debugger?

There are ways, sure, which probably involve adding prink's all over the
place to figure it out... could be some DMA issue for example, could be
pretty much anything. Have you tried booting an initrd with no disk
access ?

Ben.





More information about the Linuxppc-dev mailing list