Re: Why does one "stw" fail with address translation disabled in PPC405EP?

2008-08-23 Thread Zhou Rui
在 2008-08-22五的 14:42 -0400,Josh Boyer写道: > On Fri, Aug 22, 2008 at 08:27:15PM +0200, Zhou Rui wrote: > >Hi, all: > >I think I meet an odd problem with PPC405EP (PPChameleonEVB Board). > > What kernel version are you using? linux-2.6.19.2 from ELDK4.1 > > >I am running a kernel module wh

Re: checkpatch nits ...

2008-08-23 Thread Arnd Bergmann
On Saturday 23 August 2008, Kevin Diggs wrote: > WARNING: externs should be avoided in .c files > #1137: FILE: powerpc/kernel/cpu/pll_if.c:369: > +       __asm__ __volatile__ ( > > ??? I don't know what this is? > > The entire block is: > > __asm__ __volatile__ ( > "addi

Random crashes with 2.6.27-rc3 on PPC

2008-08-23 Thread Michael Buesch
I am seeing random kernel and userland application crashes on a Powerbook running a 2.6.27-rc3 based kernel (wireless-testing.git). The crashes did recently appear. It might be the case that they were introduced with the merge of 2.6.27-rc1 into wireless-testing. I'm not sure on that one, however.

Re: [PATCH v2 1/2] powerpc: Board support for GE Fanuc SBC610

2008-08-23 Thread Kumar Gala
On Aug 22, 2008, at 12:11 PM, Scott Wood wrote: On Fri, Aug 22, 2008 at 12:26:01PM +0100, Martyn Welch wrote: drop device_type. Ah - _all_ device_type! Um, not all - just the ones where the name of the block matches the device type(?) All except "cpu" and "memory". I think "network"

Re: [PATCH v2 1/2] powerpc: Board support for GE Fanuc SBC610

2008-08-23 Thread Kumar Gala
On Aug 22, 2008, at 6:11 AM, Martyn Welch wrote: +static void __init +gef_sbc610_init_irq(void) +{ + struct mpic *mpic1; + struct device_node *np; + struct resource res; + + /* Determine PIC address. */ + np = of_find_node_by_type(NULL, "open-pic"); + if (np

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-23 Thread Arnaud Ebalard
Hi, Michael Buesch <[EMAIL PROTECTED]> writes: > I am seeing random kernel and userland application > crashes on a Powerbook running a 2.6.27-rc3 based kernel > (wireless-testing.git). > > The crashes did recently appear. It might be the case that they were > introduced with the merge of 2.6.27-

compile testing: cpufreq stats driver?

2008-08-23 Thread Kevin Diggs
Hi, When I tried building my cpufreq driver into the kernel, the cpufreq stats driver quit working? Anyone know if I screwed something up? Or is this normal (2.6.26)? Also, I thought, apparently incorrectly, That module parameters became boot parameters when the module was built

Re: Why does one "stw" fail with address translation disabled in PPC405EP?

2008-08-23 Thread Zhou Rui
在 2008-08-22五的 14:42 -0400,Josh Boyer写道: > On Fri, Aug 22, 2008 at 08:27:15PM +0200, Zhou Rui wrote: > >Hi, all: > >I think I meet an odd problem with PPC405EP (PPChameleonEVB Board). > > What kernel version are you using? > > >I am running a kernel module which will execute a user space

Re: Why does one "stw" fail with address translation disabled in PPC405EP?

2008-08-23 Thread Benjamin Herrenschmidt
On Sat, 2008-08-23 at 10:26 +0200, Zhou Rui wrote: > My board only has 32MB DRAM. Do you mean 32MB is not enough for that? > The same codes can run well in a PPC440EP (Yosemite Board) which owns > 256MB DRAM. At the beginning of my work, I thought memory size may be > the cause of failure. But I di

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-23 Thread Benjamin Herrenschmidt
On Sat, 2008-08-23 at 16:10 +0200, Michael Buesch wrote: > I am seeing random kernel and userland application > crashes on a Powerbook running a 2.6.27-rc3 based kernel > (wireless-testing.git). > > The crashes did recently appear. It might be the case that they were > introduced with the merge o