fsl elbc driver causes corruption with bus monitor timeouts while simultaneously access on Nor / Nand mtd partitions

2011-04-14 Thread emre kara
Hi Scott, Roy. Scott's mtd: eLBC NAND: increase bus timeout to maximum patch is excluded from kernel with Roy's P4080/eLBC: Make Freescale elbc interrupt common to elbc devices patch. I don't know the reason for it but this causes bus monitor timeouts and corrupts nand flash while using

Re: [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac

2011-04-14 Thread Michel Dänzer
On Mit, 2011-04-13 at 18:43 -0500, kevin diggs wrote: On Wed, Apr 13, 2011 at 6:21 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2011-04-13 at 12:52 -0500, kevin diggs wrote: Actually I do get a crash in X later on... something in the radeon DRM interrupt code

Re: Where is CONFIG_BOOT_LOAD ?

2011-04-14 Thread Guillaume Dargaud
On Tuesday 12 April 2011 19:03:09 Joachim Förster wrote: Note that the default 0x400... is the link address of the zImage wrapper rather than the one of THE kernel. Yes, and I need more space for the uncompression to take place when using a ramdisk. Currently the link address seems to be

Re: fsl elbc driver causes corruption with bus monitor timeouts while simultaneously access on Nor / Nand mtd partitions

2011-04-14 Thread Felix Radensky
Hi, Adding linux-mtd list to CC. On 04/14/2011 10:06 AM, emre kara wrote: Hi Scott, Roy. Scott's "mtd: eLBC NAND: increase bus timeout to maximum" patch is excluded from kernel with Roy's "P4080/eLBC: Make Freescale elbc interrupt common to elbc devices"

Re: FTrace on MPC8xx

2011-04-14 Thread Stefan Roese
Hi Joakim, On Wednesday 13 April 2011 17:38:03 Joakim Tjernlund wrote: How big was the size to copy_tofrom_user()? Did it mange to copy any bytes? The size in __copy_tofrom_user is 4. And its the first call in ftrace_modify_code() that fails directly. This works just fine on a

Re: PowerMacintosh BW G3 boot failure - linux-2.6.36.x

2011-04-14 Thread acrux
On Thu, 14 Apr 2011 12:49:16 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2011-04-13 at 20:27 +0200, acrux wrote: i guess it's a different problem from the PegasosI G3 but i could be wrong. I'd like to receive feedbacks and a working kernel config if someone

Re: FTrace on MPC8xx

2011-04-14 Thread Joakim Tjernlund
Stefan Roese m...@stefan-roese.de wrote on 2011/04/14 17:59:30: Hi Joakim, On Wednesday 13 April 2011 17:38:03 Joakim Tjernlund wrote: How big was the size to copy_tofrom_user()? Did it mange to copy any bytes? The size in __copy_tofrom_user is 4. And its the first call in

Re: FTrace on MPC8xx

2011-04-14 Thread Joakim Tjernlund
Stefan Roese m...@stefan-roese.de wrote on 2011/04/14 17:59:30: Hi Joakim, On Wednesday 13 April 2011 17:38:03 Joakim Tjernlund wrote: How big was the size to copy_tofrom_user()? Did it mange to copy any bytes? The size in __copy_tofrom_user is 4. And its the first call

Re: [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac

2011-04-14 Thread Hugh Dickins
On Thu, Apr 14, 2011 at 2:02 AM, Michel Dänzer mic...@daenzer.net wrote: On Mit, 2011-04-13 at 18:43 -0500, kevin diggs wrote: On Wed, Apr 13, 2011 at 6:21 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2011-04-13 at 12:52 -0500, kevin diggs wrote: Actually I do get a

Re: [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac

2011-04-14 Thread Benjamin Herrenschmidt
On Thu, 2011-04-14 at 14:25 -0700, Hugh Dickins wrote: Something worth trying: turn off CONFIG_IDE. That's what I need to boot 2.6.39-rc[1-3] on PowerPC G5. I know Jens has been fixing problems with IDE versus his plug/unplug changes, but it's still not fixed for me in rc3. In other

Re: [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac

2011-04-14 Thread Mikael Pettersson
On Thu, 14 Apr 2011 14:25:31 -0700, Hugh Dickins wrote: Mikael, Something worth trying: turn off CONFIG_IDE. That's what I need to boot 2.6.39-rc[1-3] on PowerPC G5. I know Jens has been fixing problems with IDE versus his plug/unplug changes, but it's still not fixed for me in rc3.

[PATCH] powerpc: Define 'crash_kexec_wait_realmode' for Non-SMP systems.

2011-04-14 Thread Shaun Ruffell
This fixes a regression from b987812b3fcaf70fdf0037589e5d2f5f2453e6ce powerpc/kexec: Fix mismatched ifdefs for PPC64/SMP which resulted in arch/powerpc/kernel/crash.c: In function ‘default_machine_crash_shutdown’: arch/powerpc/kernel/crash.c:349: error: implicit declaration of function

Non-console UART issues with 8xx

2011-04-14 Thread Eran Duchan
Hey list I have a custom MPC875 board running 2.6.37. SMC1 is the console, SCC4 is a general purpose UART (DTS is set up accordingly). No hardware or software flow control for either. The issue is simple: the non-console UART transmits garbled characters at the end of the transmission. For

Re: [PATCH] powerpc: Define 'crash_kexec_wait_realmode' for Non-SMP systems.

2011-04-14 Thread Paul Gortmaker
On 11-04-14 06:27 PM, Shaun Ruffell wrote: This fixes a regression from b987812b3fcaf70fdf0037589e5d2f5f2453e6ce A fix was already sent yesterday: http://lists.ozlabs.org/pipermail/linuxppc-dev/2011-April/089559.html which relocates the stub function to where it needs to be. Your fix below

Re: [PATCH] powerpc: Define 'crash_kexec_wait_realmode' for Non-SMP systems.

2011-04-14 Thread Shaun Ruffell
On 4/14/11 6:59 PM, Paul Gortmaker wrote: On 11-04-14 06:27 PM, Shaun Ruffell wrote: This fixes a regression from b987812b3fcaf70fdf0037589e5d2f5f2453e6ce A fix was already sent yesterday: http://lists.ozlabs.org/pipermail/linuxppc-dev/2011-April/089559.html which relocates the stub

[PATCH 2/2] powerpc: Add an ePAPR compliant boot wrapper

2011-04-14 Thread Michael Ellerman
From: David Gibson d...@au1.ibm.com This is a first cut at making bootwrapper code which will produce a zImage compliant with the requirements set down by ePAPR. This is a very simple bootwrapper, taking the device tree blob supplied by the ePAPR boot program and passing it on to the kernel. It

Re: PCI Memory mapping

2011-04-14 Thread koteswararaom
Hi, I have come across this forum, and I have a question. I am working on PCI device driver, I am trying to insert the pci card in to the pci slot of the main computer, I am finding a problem here, when I insert the card in to the pci slot, my pci device ID and vendor Id are not getting