Re: [RESEND GIT PATCH tj-percpu] percpu: fix spurious alignment WARN in legacy SMP percpu allocator

2009-03-11 Thread Sachin P. Sant
but legacy SMP allocator was forgotten. Fix it. Signed-off-by: Tejun Heo t...@kernel.org Reported-by: Sachin P. Sant sach...@in.ibm.com --- Thanks. The patch fixes the warning. Tested-by : Sachin Sant sach...@in.ibm.com -- - Sachin Sant IBM Linux Technology Center

Re: 2.6.29-rc7-git2 : crash in kmem_list3_init()

2009-03-10 Thread Sachin P. Sant
Sachin P. Sant wrote: sure if this is a new problem or a recurring one. Will try booting some older kernels on this box and will report the results. I tried few older kernels till 2.6.28 and all of them had the same problem. I also tried using SLUB instead of SLAB. That also failed to boot

Next 10: Badness at mm/allocpercpu.c:123

2009-03-10 Thread Sachin P. Sant
While booting Next 20090310 on a powerpc box (Power6 9117-MMA) i observed the following badness : [0.339662] [ cut here ] [0.339666] Badness at mm/allocpercpu.c:123 [0.339670] NIP: c01129dc LR: c01129b8 CTR: [0.339676]

Re: 2.6.29-rc7-git2 : crash in kmem_list3_init()

2009-03-10 Thread Sachin P. Sant
Mel Gorman wrote: Well, the machine must have started with some kernel. What mainline version does that correspond to and can you bisect it? The last booted kernel was a 2.6.25 based kernel. I am trying to find out the last good kernel.org kernel. I should have that information by tomorrow.

Re: Next 10: Badness at mm/allocpercpu.c:123

2009-03-10 Thread Sachin P. Sant
Sachin P. Sant wrote: While booting Next 20090310 on a powerpc box (Power6 9117-MMA) i observed the following badness : [0.339662] [ cut here ] [0.339666] Badness at mm/allocpercpu.c:123 [0.339670] NIP: c01129dc LR: c01129b8 CTR

Re: [Powerpc] Next March 5 build failure: platform/pseries/msi.o

2009-03-05 Thread Sachin P. Sant
Michael Ellerman wrote: Dang it, that's my fault. Thanks for catching it Sachin. I assumed pseries always enabled EEH, but I see now you can disable it if you have EMBEDDED set (which your config does). It's a bit yucky making the MSI code depend on EEH, but the only other option would be to

2.6.29-rc6-git6 defconfig build failure

2009-03-03 Thread Sachin P. Sant
2.6.29-rc6-git6 ppc64_defconfig build fails with arch/powerpc/kernel/built-in.o: In function `.of_pci_phb_probe': of_platform.c:(.devinit.text+0xe0): undefined reference to `.pcibios_claim_one_bus' arch/powerpc/platforms/built-in.o: In function `.remove_phb_dynamic': (.text+0x120fc): undefined

Re: 2.6.29-rc6-git4 boot failure

2009-03-01 Thread Sachin P. Sant
Benjamin Herrenschmidt wrote: Ok, so I tried here on a dual G5 and couldn't reproduce with -rc6 g64e7130. Now, it would be nice if you guys stopped sending stripped down dmesg... the whole thing is potentially relevant. Also, which compiler version did you use to generate this kernel ? Hi

Re: Crash (ext3 ) during 2.6.29-rc6 boot

2009-02-25 Thread Sachin P. Sant
Mark Nelson wrote: Hi Sanchin and Geert, Does the patch below fix the problems you're seeing? If it does I'll send a properly written up and formatted patch to linuxppc-dev (as well as another one to fix the same problem in copy_tofrom_user()). This patch fixes the issue at my side. I tried

[Powerpc / eHEA] Circular dependency with 2.6.29-rc6

2009-02-23 Thread Sachin P. Sant
While booting 2.6.29-rc6 on a powerpc box came across this circular dependency with eHEA driver. === [ INFO: possible circular locking dependency detected ] 2.6.29-rc6 #2 --- ip/2174 is trying

Re: Crash (ext3 ) during 2.6.29-rc6 boot

2009-02-23 Thread Sachin P. Sant
Andrew Morton wrote: hm, I wonder what could have caused that - we haven't altered fs/ext3/xattr.c in ages. What is the most recent kernel version you know of which didn't do this? Bear in mind that this crash might be triggered by the current contents of the filesystem, so if possible, please

Re: Crash (ext3 ) during 2.6.29-rc6 boot

2009-02-23 Thread Sachin P. Sant
Paul Mackerras wrote: It appears to have faulted on a load, implicating the source. The address being referenced (0xc0003f38) doesn't look outlandish. I wonder if this kernel has CONFIG_DEBUG_PAGEALLOC turned on, and what page size is selected? Yes CONFIG_DEBUG_PAGEALLOC is enabled

Re: Crash (ext3 ) during 2.6.29-rc6 boot

2009-02-23 Thread Sachin P. Sant
Jan Kara wrote: Hmm, OK. But then I'm not sure how that can happen. Obviously, memcpy somehow got beyond end of the page referenced by bh-b_data. So it means that le16_to_cpu(entry-e_value_offs) + size page_size. But ext3_xattr_find_entry() calls ext3_xattr_check_entry() which in particular

Re: next Feb 10: mm/slqb build break

2009-02-12 Thread Sachin P. Sant
Nick Piggin wrote: Actually, that's not the root cause here. You seem to have CONFIG_SMP disabled but CONFIG_NUMA enabled. That's not possible on x86 which makes me think it's a ppc kconfig bug. Hmm? If it is really a valid config, then we should be able to make slqb build with it... I

Re: [patch] powerpc/ps3: Use hard coded values for LV1 device type

2009-02-10 Thread Sachin P. Sant
James Bottomley wrote: Actually, I think the fix lies in scsi.h ... we can make that into a nicely independent protocol header file. Your current woes come because it pulls in scsi_cmnd.h ... perhaps just getting rid of this will fix it. Can the rest of linux-scsi verify that the fix below

2.6.29-rc4-git1 build break : cell/spu_profiler.o

2009-02-08 Thread Sachin P. Sant
2.6.29-rc4-git1 randconfig build on powerpc fails with CALLarch/powerpc/kernel/prom_init_check.sh CC [M] arch/powerpc/oprofile/cell/spu_profiler.o arch/powerpc/oprofile/cell/spu_profiler.c: In function set_spu_profiling_frequency: arch/powerpc/oprofile/cell/spu_profiler.c:52: error:

Re: 2.6.29-rc4-git1 build break : cell/spu_profiler.o

2009-02-08 Thread Sachin P. Sant
Stephen Rothwell wrote: See http://patchwork.ozlabs.org/patch/22628/ Thanks Stephen. The above patch fixed this build break. Regards -Sachin -- - Sachin Sant IBM Linux Technology Center India Systems and Technology Labs Bangalore, India

Re: [patch] powerpc/ps3: Use hard coded values for LV1 device type

2009-02-07 Thread Sachin P. Sant
Geoff Levand wrote: Change the PS3 platform code to use hard coded numbers for its LV1 device types. The PS3 platform code was incorrectly using some scsi block constants for the device type returned from the LV1 hypervisor. Fixes build errors like these when CONFIG_BLOCK=n: In file

2.6.29-rc3-git9 build break : arch/powerpc/platforms/ps3/setup.o

2009-02-06 Thread Sachin P. Sant
2.6.29-rc3-git9 randconfig build fails with CALLarch/powerpc/kernel/prom_init_check.sh CC arch/powerpc/platforms/ps3/setup.o In file included from include/scsi/scsi.h:12, from arch/powerpc/platforms/ps3/platform.h:25, from

2.6.29-rc3-git7 build break : drivers/serial/cpm_uart/

2009-02-05 Thread Sachin P. Sant
2.6.29-rc3-git7 randconfig build breaks with following error CC drivers/serial/cpm_uart/cpm_uart_core.o drivers/serial/cpm_uart/cpm_uart_core.c: In function cpm_put_poll_char: drivers/serial/cpm_uart/cpm_uart_core.c:992: error: implicit declaration of function cpm_uart_early_write

next 2009 Feb 5 build break:arch/powerpc/kernel/built-in.o

2009-02-05 Thread Sachin P. Sant
Hi Stephen, Next 20090205 build fails with following error: ld: arch/powerpc/kernel/built-in.o section .text exceeds stub group size ld: arch/powerpc/kernel/head_64.o section .text exceeds stub group size arch/powerpc/kernel/built-in.o: In function `.of_pci_phb_probe':

next-20090204 build break : ftrace

2009-02-04 Thread Sachin P. Sant
Hi Stephen, 20090204 randconfig build on powerpc fails with : CC arch/powerpc/kernel/ftrace.o arch/powerpc/kernel/ftrace.c: In function __ftrace_make_nop: arch/powerpc/kernel/ftrace.c:204: error: dereferencing pointer to incomplete type arch/powerpc/kernel/ftrace.c: In function

2.6.29-rc3-git5 build failure : drivers/staging/panel

2009-02-03 Thread Sachin P. Sant
2.6.29-rc3-git5 randconfig build on powerpc fails with following error CALLarch/powerpc/kernel/systbl_chk.sh CALLarch/powerpc/kernel/prom_init_check.sh CC [M] drivers/staging/panel/panel.o drivers/staging/panel/panel.c:625: error: conflicting types for set_bits

[Patch] fix lcd panel driver build failure

2009-02-03 Thread Sachin P. Sant
* Fix build break for lcd panel driver. Signed-off-by : Sachin Sant sach...@in.ibm.com --- * Fix build break for lcd panel driver. Signed-off-by : Sachin Sant sach...@in.ibm.com --- diff -Naurp a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c ---

Re: [PowerPC] 2.6.29-rc3-git4 build break : truncated relocation

2009-02-03 Thread Sachin P. Sant
Stephen Rothwell wrote: Hi Sachin, To make allyesconfig build currently, you need to turn CONFIG_PROFILE_ALL_BRANCHES off. It makes drivers/built-in.o too large (increases the text size from about 32M to 47M) and the linker can't add the usual trampolines because we prelink it. Ok will

[Patch] 2.6.29-rc3-git2 - Fix net/ipv6/ip6mr.o build break

2009-01-30 Thread Sachin P. Sant
allmodconfig build breaks with following error. CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm - include/asm-powerpc CALLscripts/checksyscalls.sh CHK include/linux/compile.h CALLarch/powerpc/kernel/systbl_chk.sh CALL

[PATCH] powerpc/kdump: Fix /dev/oldmem interface

2008-07-31 Thread Sachin P. Sant
This patch fixes the /dev/oldmem interface for kdump on ppc64. The patch originally came from Michael Ellerman hence have retained the signed-off line. I just rediffed/tested against latest git. Michael has ack'ed this patch. Ben this is not a must for 2.6.27 but would be good if it's included.

Re: [PATCH] powerpc/kdump: Fix /dev/oldmem interface

2008-07-31 Thread Sachin P. Sant
Michael Ellerman wrote: Heh, do I get a prize for being neurotic? ;) .. Or just stupid, ahem. I think you should also sign off on it Sachin, see clause (c) of the developers cert (http://lwn.net/Articles/139918/) Here is a signed-off from me. Let me know if i need to resubmit the patch

Re: [PATCH] powerpc: Fix /dev/oldmem for kdump

2008-07-03 Thread Sachin P. Sant
Michael Ellerman wrote: Even though I wrote this, it was so long ago I can't really vouch for it. If you've tested it and it works Sachin then we should merge it. Is this fix in distros or does it not apply? Yes, i have tested this on couple of power boxes and the patch works fine. [ i can

[PATCH] powerpc: Fix /dev/oldmem for kdump

2008-06-26 Thread Sachin P. Sant
This one has been pending for a long time. Somehow never made it upstream. Resending the patch which fixes /dev/oldmem interface for kdump. Tested with 2.6.26-rc8. Signed-off-by : Michael Ellerman [EMAIL PROTECTED] Fix /dev/oldmem for kdump A change to __ioremap() broke reading /dev/oldmem