linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* msgctl10 fails on Powerpc Linux-2.6.29.6
@ 2009-07-21  9:33 srikanth krishnakar
  2009-07-22 15:22 ` [LTP] " Kumar Gala
  0 siblings, 1 reply; 7+ messages in thread
From: srikanth krishnakar @ 2009-07-21  9:33 UTC (permalink / raw)
  To: Linuxppc-dev; +Cc: Ltp-list

[-- Attachment #1: Type: text/plain, Size: 2019 bytes --]

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
**********************

[-- Attachment #2: Type: text/html, Size: 4491 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6
  2009-07-21  9:33 msgctl10 fails on Powerpc Linux-2.6.29.6 srikanth krishnakar
@ 2009-07-22 15:22 ` Kumar Gala
  2009-07-22 15:38   ` srikanth krishnakar
  0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2009-07-22 15:22 UTC (permalink / raw)
  To: srikanth krishnakar; +Cc: Linuxppc-dev, Ltp-list

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6
  2009-07-22 15:22 ` [LTP] " Kumar Gala
@ 2009-07-22 15:38   ` srikanth krishnakar
  2009-07-22 15:44     ` Kumar Gala
  0 siblings, 1 reply; 7+ messages in thread
From: srikanth krishnakar @ 2009-07-22 15:38 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Linuxppc-dev, Ltp-list

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

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.

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

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

[-- Attachment #2: Type: text/html, Size: 1257 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6
  2009-07-22 15:38   ` srikanth krishnakar
@ 2009-07-22 15:44     ` Kumar Gala
  2009-07-22 16:32       ` srikanth krishnakar
  0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2009-07-22 15:44 UTC (permalink / raw)
  To: srikanth krishnakar; +Cc: Linuxppc-dev, Ltp-list


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6
  2009-07-22 15:44     ` Kumar Gala
@ 2009-07-22 16:32       ` srikanth krishnakar
  2009-07-23  1:03         ` Kumar Gala
  0 siblings, 1 reply; 7+ messages in thread
From: srikanth krishnakar @ 2009-07-22 16:32 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Linuxppc-dev, Ltp-list

[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]

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. */


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

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

[-- Attachment #2: Type: text/html, Size: 2104 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6
  2009-07-22 16:32       ` srikanth krishnakar
@ 2009-07-23  1:03         ` Kumar Gala
  2009-07-23 20:31           ` srikanth krishnakar
  0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2009-07-23  1:03 UTC (permalink / raw)
  To: srikanth krishnakar; +Cc: Linuxppc-dev, Ltp-list


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] msgctl10 fails on Powerpc Linux-2.6.29.6
  2009-07-23  1:03         ` Kumar Gala
@ 2009-07-23 20:31           ` srikanth krishnakar
  0 siblings, 0 replies; 7+ messages in thread
From: srikanth krishnakar @ 2009-07-23 20:31 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Linuxppc-dev, Ltp-list

[-- Attachment #1: Type: text/plain, Size: 2308 bytes --]

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
**********************

[-- Attachment #2: Type: text/html, Size: 4558 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-07-23 20:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-21  9:33 msgctl10 fails on Powerpc Linux-2.6.29.6 srikanth krishnakar
2009-07-22 15:22 ` [LTP] " Kumar Gala
2009-07-22 15:38   ` srikanth krishnakar
2009-07-22 15:44     ` Kumar Gala
2009-07-22 16:32       ` srikanth krishnakar
2009-07-23  1:03         ` Kumar Gala
2009-07-23 20:31           ` srikanth krishnakar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).