msgctl10 fails on Powerpc Linux-2.6.29.6

7 messages, 2 authors, 2009-07-23 · open the first message on its own page

msgctl10 fails on Powerpc Linux-2.6.29.6

From: srikanth krishnakar <hidden>
Date: 2009-07-21 09:33:49

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]

PREEMPT LTT NESTING LEVEL :
0

Virtex440

Modules linked
in:

NIP: c038178c LR: c0381640 CTR:
c02650bc

REGS: cafbbe70 TRAP: 0700   Tainted: G      D
(2.6.29.6)

MSR: 00029000 <EE,ME,CE>  CR: 48004224  XER:
20000008

TASK = cafa17f0[6435] 'msgctl10' THREAD:
cafba000

GPR00: 00000001 cafbbf20 cafa17f0 ffffffda 08000000 00000001 00000037
ffffffff
GPR08: cafa17f0 c04a0000 00021002 c0381594 28004222 1001f4bc bf93d950
100b0000
GPR16: 00000007 bf93d95c 100012a0 10005b84 00000067 100174e8 10017500
100174f8
GPR24: 00000000 00000001 103eaa50 00000000 00000000 00000000 08000000
cafbbf50
NIP [c038178c]
program_check_exception+0x1f8/0x5f4

LR [c0381640]
program_check_exception+0xac/0x5f4

Call
Trace:

[cafbbf20] [c0381640] program_check_exception+0xac/0x5f4
(unreliable)
[cafbbf40] [c000e78c]
ret_from_except_full+0x0/0x4c

Instruction
dump:

7d808120 4bc8ac20 2f830001 41beff38 2f83fff2 419e0024 77c00804
4182004c
3d20c04a 8809207c 2f800000 419e0080 <0fe00000> 48000000 80010024
3ca00003
---[ end trace fd0893c7d8cee1bd
]---

ROK  :  Unexpected signal 11
received.

msgctl10    1  FAIL  :  in read # = 21245,key =
533a

msgctl10    0  WARN  :  Verify error in child 13, *buf = f1, val = 6d, size
= 3
msgctl10    1  BROK  :  Unexpected signal 11
received.

msgctl10    1  BROK  :  Msgsnd error in child 14, key =   d344 errno  =
43
msgctl10    0  WARN  :  tst_rmdir(): rmobj(/tmp/msgNjyTEb) failed:
lstat(/tmp/msgNjyTEb) failed; errno=2: No such file or directory
msgctl10    0  WARN  :  tst_rmdir(): rmobj(/tmp/msgNjyTEb) failed:
lstat(/tmp/msgNjyTEb) failed; errno=2: No such file or directory
msgctl10    1  FAIL  :  in read # = 54260,key =
d46d

msgctl10    1  B------------[ cut here ]------------

Any clue ?

Thanks in Advance !
-- 
Srikanth Krishnakar
**********************

Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6

From: Kumar Gala <hidden>
Date: 2009-07-22 15:23:09

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

Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6

From: srikanth krishnakar <hidden>
Date: 2009-07-22 15:38:37

On Wed, Jul 22, 2009 at 8:52 PM, Kumar Gala [off-list ref]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
quoted
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.

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

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

Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6

From: Kumar Gala <hidden>
Date: 2009-07-22 15:44:19

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

On Wed, Jul 22, 2009 at 8:52 PM, Kumar Gala  
[off-list ref] 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

Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6

From: srikanth krishnakar <hidden>
Date: 2009-07-22 16:32:30

On Wed, Jul 22, 2009 at 9:14 PM, Kumar Gala [off-list ref]wrote:
On Jul 22, 2009, at 10:38 AM, srikanth krishnakar wrote:

quoted
On Wed, Jul 22, 2009 at 8:52 PM, Kumar Gala [off-list ref]
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. */


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

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

Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6

From: Kumar Gala <hidden>
Date: 2009-07-23 01:03:16

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

On Wed, Jul 22, 2009 at 9:14 PM, Kumar Gala  
[off-list ref] wrote:

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



On Wed, Jul 22, 2009 at 8:52 PM, Kumar Gala  
[off-list ref] 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

Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6

From: srikanth krishnakar <hidden>
Date: 2009-07-23 20:31:43

On Thu, Jul 23, 2009 at 6:33 AM, Kumar Gala [off-list ref]wrote:
On Jul 22, 2009, at 11:32 AM, srikanth krishnakar wrote:

quoted
On Wed, Jul 22, 2009 at 9:14 PM, Kumar Gala [off-list ref]
wrote:

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



On Wed, Jul 22, 2009 at 8:52 PM, Kumar Gala [off-list ref]
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
**********************
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help