Subject: Re: crash in init_ipic_sysfs on efika

From: Olaf Hering <[email-masked]>
Date: Thu, 20 Mar 2008 07:45:42 +0100

On Wed, Mar 19, Paul Mackerras wrote:

> Olaf Hering writes:
> 
> > I cant reproduce this bug on my board, but:
> > 
> > The global primary_ipic in arch/powerpc/sysdev/ipic.c can remain NULL if
> > ipic_init() fails. init_ipic_sysfs() will crash in that case.
> > 
> > Something like this may fix it:
> 
> Is this needed for 2.6.25?  Is the system at all usable if ipic_init
> fails?

CONFIG_PPC_MPC51* needs to be disabled for pmac/chrp/bplan .configs.

A full featured ppc32_defconfig will probably catch such errors.