Re: Kernel locks up after calling kernel_execve()

2007-11-15 Thread Gerhard Pircher
Original-Nachricht > Datum: Thu, 15 Nov 2007 08:54:32 +1100 > Von: Paul Mackerras <[EMAIL PROTECTED]> > An: "Gerhard Pircher" <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED], linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling ke

Re: Kernel locks up after calling kernel_execve()

2007-11-14 Thread Paul Mackerras
Gerhard Pircher writes: > Yeah, the northbridge hates the M bit! Thus the AmigaOne platform code Wow. > masks out the CPU_FTR_NEED_COHERENT flag and disables the L2 cache > prefetch engines (I don't care about the performance loss). > I couldn't find any other code that sets the M bit, except fo

Re: Kernel locks up after calling kernel_execve()

2007-11-14 Thread Gerhard Pircher
Original-Nachricht > Datum: Wed, 14 Nov 2007 21:04:57 +1100 > Von: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > An: Gerhard Pircher <[EMAIL PROTECTED]> > CC: linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling kernel_execve() > On

Re: Kernel locks up after calling kernel_execve()

2007-11-14 Thread Benjamin Herrenschmidt
On Wed, 2007-11-14 at 10:39 +0100, Gerhard Pircher wrote: > Yeah, the northbridge hates the M bit! Thus the AmigaOne platform code > masks out the CPU_FTR_NEED_COHERENT flag and disables the L2 cache > prefetch engines (I don't care about the performance loss). > I couldn't find any other code tha

Re: Kernel locks up after calling kernel_execve()

2007-11-14 Thread Gerhard Pircher
Original-Nachricht > Datum: Wed, 14 Nov 2007 10:37:52 +1100 > Von: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > An: Gerhard Pircher <[EMAIL PROTECTED]> > CC: linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling kernel_execve() > Add

Re: Kernel locks up after calling kernel_execve()

2007-11-13 Thread Benjamin Herrenschmidt
On Tue, 2007-11-13 at 23:06 +0100, Gerhard Pircher wrote: > Well, I only disabled power saving with powersave=off. Are there any > other > 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 spi

Re: Kernel locks up after calling kernel_execve()

2007-11-13 Thread Gerhard Pircher
Original-Nachricht > Datum: Wed, 14 Nov 2007 08:43:38 +1100 > Von: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > An: Gerhard Pircher <[EMAIL PROTECTED]> > CC: linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling kernel_execve() > Wel

Re: Kernel locks up after calling kernel_execve()

2007-11-13 Thread Benjamin Herrenschmidt
On Tue, 2007-11-13 at 22:23 +0100, Gerhard Pircher wrote: > > 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

Re: Kernel locks up after calling kernel_execve()

2007-11-13 Thread Gerhard Pircher
Original-Nachricht > Datum: Sun, 11 Nov 2007 14:55:40 +1100 > Von: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > An: Gerhard Pircher <[EMAIL PROTECTED]> > CC: linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling kernel_execve() >

Re: Kernel locks up after calling kernel_execve()

2007-11-10 Thread Benjamin Herrenschmidt
zlabs.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

Re: Kernel locks up after calling kernel_execve()

2007-11-10 Thread Gerhard Pircher
Original-Nachricht > Datum: Fri, 09 Nov 2007 18:50:29 +1100 > Von: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > An: Gerhard Pircher <[EMAIL PROTECTED]> > CC: linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling kernel_execve() >

Re: Kernel locks up after calling kernel_execve()

2007-11-08 Thread Benjamin Herrenschmidt
> 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

Re: Kernel locks up after calling kernel_execve()

2007-11-08 Thread Gerhard Pircher
Original-Nachricht > Datum: Fri, 09 Nov 2007 10:20:17 +1100 > Von: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > An: Gerhard Pircher <[EMAIL PROTECTED]> > CC: linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling kernel_execve() >

Re: Kernel locks up after calling kernel_execve()

2007-11-08 Thread Benjamin Herrenschmidt
On Thu, 2007-11-08 at 22:47 +0100, Gerhard Pircher wrote: > Hi, > > I tested my patches for the AmigaOne platform with the lastest 2.6.24-rc2 > kernel snapshot. The kernel runs through all initcalls, but locks up > completely after calling INIT (/sbin/init) by kernel_execve(). Thus I > couldn't c

Kernel locks up after calling kernel_execve()

2007-11-08 Thread Gerhard Pircher
Hi, I tested my patches for the AmigaOne platform with the lastest 2.6.24-rc2 kernel snapshot. The kernel runs through all initcalls, but locks up completely after calling INIT (/sbin/init) by kernel_execve(). Thus I couldn't capture any kernel oops or panic output. Also the magic sysrq key doesn'