Subject: Re: crash in init_ipic_sysfs on efika

From: Benjamin Herrenschmidt <[email-masked]>
Date: Fri, 21 Mar 2008 22:18:35 +1100

On Thu, 2008-03-20 at 11:32 +0000, Matt Sealey wrote:
> subsys_initcall(init_ipic_sysfs); <-- this, in my eyes, is the culprit. If
> init_ipic() runs, init_ipic_sysfs should be called from that, not left for
> some further subsystem to blindly try and register sysfs nodes for devices
> which may not even be present..
> 
> I'd love someone to explain to me how this works and why, and why it isn't
> braindead? :D

init_ipic() is called way too early to be able to manpipulate sysfs.

Ben.