[Cbe-oss-dev] Kernel >2.6.39 on PS3 with SMP

Peter Zijlstra a.p.zijlstra at chello.nl
Sat Jul 16 19:34:45 EST 2011


On Sat, 2011-07-16 at 09:38 +0200, Andre Heider wrote:
> Hi,
> 
> when I boot a recent kernel I'm getting hangs early in the boot process.
> 
> The kernel boots most of the time, but when /sbin/init kicks in it
> waits forever for something. I only get a few lines of output, mostly
> udev related.
> When the kernel does not boot, it seems to hang somewhere when mapping
> the irqs (at least that's what the last lines of ps3fb output
> suggest).
> I can run into both situation with the same kernel binary. It's also
> consistent with two userlands, I tried debian stable and testing.
> 
> When this happens, I can't interact with the system, so I don't have
> much more info.
> 
> I bisected this to:
> 
> commit 317f394160e9beb97d19a84c39b7e5eb3d7815a8
> Author: Peter Zijlstra <a.p.zijlstra at chello.nl>
> Date:   Tue Apr 5 17:23:58 2011 +0200
> 
>     sched: Move the second half of ttwu() to the remote cpu
> 
> All kernels including this patch only work for me when booted with 'nosmp'.
> 
> Any ideas?

Verify 184748cc50b2dceb8287f9fb657eda48ff8fcfe7 does indeed cover your
PPC flavour. It has some ppc changes, but I could have missed PS3 if its
'special'.

Another thing to check is if your sched IPI handler calls
irq_enter()/irq_exit(), if not try that.




More information about the cbe-oss-dev mailing list