From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Date: Wed, 7 Nov 2007 13:42:54 -0700 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Jon Smirl" Subject: Re: mpc5200, sysctl table check failed In-Reply-To: <9e4733910711071239v6e646590s906f22cb7a9564bb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <9e4733910711071224v7bf643bahba0fd23eb2d16ee1@mail.gmail.com> <9e4733910711071239v6e646590s906f22cb7a9564bb@mail.gmail.com> Cc: PowerPC dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 11/7/07, Jon Smirl wrote: > On 11/7/07, Grant Likely wrote: > > On 11/7/07, Jon Smirl 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@secretlab.ca (403) 399-0195