Re: Problem Ethernet Initialization MPC5200 + LXT971A

2010-11-08 Thread tiejun.chen
Stefan Strobl wrote: > Hi > > I'm having a Problem with the Initialization of my Ethernet PHY > (FEC_MPC5200 + LXT971A Phy). I'm using latest U-Boot and Linux 2.6.37 > from Denx. > > Once in Linux I can ping my own IP-Address but not any other device in > my network. The Link LED is on when conne

[PATCH] ucc_geth: Fix hung tasks.

2010-11-08 Thread Joakim Tjernlund
We noticed a few hangs like this: INFO: task ifconfig:572 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. ifconfig D 0ff65760 0 572369 0x Call Trace: [c6157be0] [c6008460] 0xc6008460 (unreliable) [c6157ca0] [c00086

Re: Problem Ethernet Initialization MPC5200 + LXT971A

2010-11-08 Thread Stefan Strobl
Hi Tiejun tiejun.chen wrote: > Stefan Strobl wrote: >> To workaround I could make u-boot run eth_init() always but that doesn't >> seem the right approach to this. > > Yes. Often we shouldn't depend the bootloader do this when we use NIC. But its > worth tracking eth_init in detail to check what

Re: [PATCH] powerpc: Add jump label support

2010-11-08 Thread Steven Rostedt
On Mon, 2010-11-08 at 15:12 +1100, Michael Ellerman wrote: > This patch adds support for the new "jump label" feature. Darn it! I wanted to port this!!! ;-) > > Built for 64 & 32 bit, tested on 64 bit. Survives a kernel build under > perf with all tracepoints enabled, and manual inspection of t

INFO: task snmpd:398 blocked for more than 120 seconds.

2010-11-08 Thread Joakim Tjernlund
I can't make out what is causing this hang every now an then: INFO: task snmpd:398 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. snmpd D 0fad1760 0 398 1 0x Call Trace: [c7b5fc70] [c7a49a80] 0xc7a49a80 (unre

RE: INFO: task snmpd:398 blocked for more than 120 seconds.

2010-11-08 Thread David Laight
> I can't make out what is causing this hang every now an then: > > INFO: task snmpd:398 blocked for more than 120 seconds. My problem with that 'error' message is that there is no way for a driver to disable it on a per-process basis. We have some processes whose 'normal state' is to sleep uni

RE: INFO: task snmpd:398 blocked for more than 120 seconds.

2010-11-08 Thread Joakim Tjernlund
> > > I can't make out what is causing this hang every now an then: > > > > INFO: task snmpd:398 blocked for more than 120 seconds. > > My problem with that 'error' message is that there is no way > for a driver to disable it on a per-process basis. > We have some processes whose 'normal state' is

Better performance when CONFIG_DEBUG_KERNEL is on

2010-11-08 Thread Jean-Michel Hautbois
Hi everybody, I am using a mpc5200 chip with a linux 2.6.33.7-rt29. I am using the ELDK toolchain : ppc_6xx-gcc -v Target: powerpc-linux Configured with: /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/configu

PowerMac8600 help ...

2010-11-08 Thread kevin diggs
Hi, Sorry for the noise but I am having trouble getting the latest kernel built for a PowerMac8600 with a 750GX processor card. If this is not an appropriate topic for the list please tell me (and hopefully point me in the correct direction). I have narrowed the problem down to the compiler. YDL

Re: INFO: task snmpd:398 blocked for more than 120 seconds.

2010-11-08 Thread Joakim Tjernlund
linuxppc-dev-bounces+joakim.tjernlund=transmode...@lists.ozlabs.org wrote on 2010/11/08 16:05:30: > From: Joakim Tjernlund > To: linuxppc-...@ozlabs.org > Date: 2010/11/08 16:12 > Subject: INFO: task snmpd:398 blocked for more than 120 seconds. > Sent by: linuxppc-dev-bounces+joakim.tjernlund=

Re: INFO: task snmpd:398 blocked for more than 120 seconds.

2010-11-08 Thread Joakim Tjernlund
> > linuxppc-dev-bounces+joakim.tjernlund=transmode...@lists.ozlabs.org wrote on > 2010/11/08 16:05:30: > > > From: Joakim Tjernlund > > To: linuxppc-...@ozlabs.org > > Date: 2010/11/08 16:12 > > Subject: INFO: task snmpd:398 blocked for more than 120 seconds. > > Sent by: linuxppc-dev-bounces+jo

Re: [RFC PATCH 0/7 v2] ppc: enable dynamic dma window support

2010-11-08 Thread Nishanth Aravamudan
Hi all, On 26.10.2010 [20:35:10 -0700], Nishanth Aravamudan wrote: > The following series, which builds upon the series of cleanups I posted > on 9/15 and 10/18 as "ppc iommu cleanups", enables the pseries firmware > feature dynamic dma windows. This feature will allow future devices to > have a 6

Re: PowerMac8600 help ...

2010-11-08 Thread Benjamin Herrenschmidt
On Mon, 2010-11-08 at 10:43 -0600, kevin diggs wrote: > > Sorry for the noise but I am having trouble getting the latest kernel > built for a PowerMac8600 with a 750GX processor card. If this is not > an appropriate topic for the list please tell me (and hopefully point > me in the correct directi

[PATCH 01/17][trivial] powerpc: Remove unnecessary casts of void ptr returning alloc function return values

2010-11-08 Thread Jesper Juhl
Hi, The [vk][cmz]alloc(_node) family of functions return void pointers which it's completely unnecessary/pointless to cast to other pointer types since that happens implicitly. This patch removes such casts from arch/powerpc/ Signed-off-by: Jesper Juhl --- pgtable_32.c |2 +- 1 file chang

Re: [PATCH] powerpc: Consolidate obj-y assignments

2010-11-08 Thread Michael Ellerman
On Mon, 2010-11-08 at 08:23 +0100, Peter Korsgaard wrote: > > "Michael" == Michael Ellerman writes: > > Michael> No need to have three of them. > Michael> Signed-off-by: Michael Ellerman > Michael> --- > Michael> arch/powerpc/kernel/Makefile |9 - > Michael> 1 files changed

Re: [PATCH] powerpc: Add jump label support

2010-11-08 Thread Stephen Rothwell
Hi Michael, Just a trivial note ... On Mon, 8 Nov 2010 15:12:46 +1100 (EST) Michael Ellerman wrote: > > diff --git a/arch/powerpc/include/asm/jump_label.h > b/arch/powerpc/include/asm/jump_label.h > new file mode 100644 > index 000..feffb86 > --- /dev/null > +++ b/arch/powerpc/include/asm

[PATCH] powerpc: Consolidate obj-y assignments

2010-11-08 Thread Michael Ellerman
No need to have three of them. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/Makefile |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 36c30f3..3bb2a3e 100644 --- a/arch/powerpc/kernel/Mak

Re: [PATCH] powerpc: Add jump label support

2010-11-08 Thread Michael Ellerman
On Mon, 2010-11-08 at 09:18 -0500, Steven Rostedt wrote: > On Mon, 2010-11-08 at 15:12 +1100, Michael Ellerman wrote: > > This patch adds support for the new "jump label" feature. > > Darn it! I wanted to port this!!! > > ;-) Sorry! I've been locked in a dark room for ages and this was a nice ch

Re: [PATCH] powerpc: Add jump label support

2010-11-08 Thread Michael Ellerman
On Tue, 2010-11-09 at 13:35 +1100, Stephen Rothwell wrote: > Hi Michael, > > Just a trivial note ... > > On Mon, 8 Nov 2010 15:12:46 +1100 (EST) Michael Ellerman > wrote: > > > > diff --git a/arch/powerpc/include/asm/jump_label.h > > b/arch/powerpc/include/asm/jump_label.h > > new file mode 1

Re: [PATCH] powerpc: Add jump label support

2010-11-08 Thread Steven Rostedt
On Tue, 2010-11-09 at 14:33 +1100, Michael Ellerman wrote: > > You don't need this protection in a file that is not exported to user > > space. > > Ah true. I'll respin after I've heard if anyone has tested it :) Don't wait for me. I'm stuck debugging some other crap. Getting a 4.5 PPC compiler

Re: [PATCH] powerpc: Add jump label support

2010-11-08 Thread Michael Ellerman
On Mon, 2010-11-08 at 22:41 -0500, Steven Rostedt wrote: > On Tue, 2010-11-09 at 14:33 +1100, Michael Ellerman wrote: > > > > You don't need this protection in a file that is not exported to user > > > space. > > > > Ah true. I'll respin after I've heard if anyone has tested it :) > > Don't wait