On Thu, Jul 23, 2009 at 6:33 AM, Kumar Gala <galak@kernel.crashing.org> wrote:

On Jul 22, 2009, at 11:32 AM, srikanth krishnakar wrote:



On Wed, Jul 22, 2009 at 9:14 PM, Kumar Gala <galak@kernel.crashing.org> wrote:

On Jul 22, 2009, at 10:38 AM, srikanth krishnakar wrote:



On Wed, Jul 22, 2009 at 8:52 PM, Kumar Gala <galak@kernel.crashing.org> wrote:
I'm not seeing any BUG* in traps.c @ line 904.


On Jul 21, 2009, at 4:33 AM, srikanth krishnakar wrote:

The LTP test case msgctl10.c fails on linux-2.6.29.6 for PowerPC architecture (ppc440)


msgctl10    1  B------------[ cut here ]------------
kernel BUG at arch/powerpc/kernel/traps.c:904!
Oops: Exception in kernel mode, sig: 5 [#9]

I'm not seeing any BUG* in traps.c @ line 904.  Do you have some other patches on top of 2.6.29.6?

- k


I have LTTng patches on top of linux-2.6.29.6.

Does it modify traps.c?  Can you see what the code around line 904 looks like and post that.

- k
 896
 897 #if defined(CONFIG_XILINX_VIRTEX_5_FXT) && defined(CONFIG_PPC_FPU)
 898         if (reason & REASON_ILLEGAL) {
 899                 if (excep_state < 1) {
 900                         excep_state++;
 901                         return;
 902                 }
 903                 /* should never get here */
 904                 BUG();
 905         }
 906 #endif
 907
 908         /* Try to emulate it if we should. */


Are you sure this is coming from the LTTng patches?  Which actual patch makes this change?

- k
Thanks kumar,

I've got the patch out which fixes the issues. But now.. seems there is some generic issue in PPC440 targets, I am observing that 
remap_file_pages01 and remap_file_pages02  test cases from LTP are failing since Linux-2.6.24 kernel to Linux-2.6.30. If you can give some pointers that would be greatly appreciated ! Or if you have results for this on any PPC44x would be helpful.

Arch : PowerPC
Target : Xilinx PowerPC440 virtex5

I've tried to test the cause for this but found that kernel throws error message of "segmentation fault".

Thanks in Advance.

-Srikant



--
"The Good You Do, The Best You GET"

Regards
Srikanth Krishnakar
**********************