mpc5200, sysctl table check failed
Grant Likely
grant.likely at secretlab.ca
Thu Nov 8 07:42:54 EST 2007
On 11/7/07, Jon Smirl <jonsmirl at gmail.com> wrote:
> On 11/7/07, Grant Likely <grant.likely at secretlab.ca> wrote:
> > On 11/7/07, Jon Smirl <jonsmirl at gmail.com> wrote:
> > > I'm porting mpc5200 support for the Phytec pcm030 onto current git
> > > head. When booting I get this:
> > >
> > > sysctl table check failed: /kernel .1 Writable sysctl directory
> > > Call Trace:
> > > [c0817ee0] [c0008034] show_stack+0x50/0x184 (unreliable)
> > > [c0817f00] [c003cfc8] set_fail+0x50/0x68
> > > [c0817f20] [c003d630] sysctl_check_table+0x650/0x6a0
> > > [c0817f50] [c002a9b8] register_sysctl_table+0x64/0xb4
> > > [c0817f70] [c02dee70] register_powersave_nap_sysctl+0x18/0x2c
> > > [c0817f80] [c02d81d0] kernel_init+0xb4/0x270
> > > [c0817ff0] [c0011be0] kernel_thread+0x44/0x60
> > >
> > > What's going on? I get all the way through boot and user space doesn't
> > > start, this is probably why.
> >
> > I see the same thing on the latest git (or at least latest as of last
> > night); except for me I have no problem with userspace starting. This
> > is on a Xilinx Virtex 405.
>
> Olof's patch fixes it.
> http://patchwork.ozlabs.org/linuxppc/patch?id=14612
>
> Phytec pcm030.c depended on mpc52xx_setup_cpu which got removed. I
> fixed it up by copying the old version into pcm030.c. There must be
> more to the fix.
Do "git log arch/powerpc/platforms/52xx" to see the when it got
removed and why. You should match that change in your pcm030.c.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
More information about the Linuxppc-dev
mailing list