linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Help about Freescale p2020ds problem under cpu load test
@ 2010-03-29  4:11 Li.Wang
  2010-03-29  6:24 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Li.Wang @ 2010-03-29  4:11 UTC (permalink / raw)
  To: benh, linuxppc-dev; +Cc: Lans Zhang, Xiong, Wei

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

Hi Benjamin Herrenschmidt,

I use Freescale p2020ds board and kernel linux 2.6.33.
Under cpu load test which test case is in attachment
(#./cpu_load_multi.sh 500),
the follow issues happen after a long time:
=======================
find: md5sum terminated by signal 6

find: md5sum terminated by signal 11
=======================

If use kernel linux 2.6.27(porting p2020ds bsp to it), it's easy to 
reproduce the issue:
=======================
find: ../nptl/sysdeps/unix/sysv/linux/powerpc/../i386/../fork.c:138:
__libc_fork: Assertion `((void)(self), (((struct pthread *)
(__thread_register - 0x7000 - (sizeof (struct pthread) + ((sizeof
(tcbhead_t) + __alignof__ (struct pthread) - 1)&   ~(__alignof__ (struct
pthread) - 1))))))->tid) != ppid' failed.

find: md5sum terminated by signal 6

find: md5sum terminated by signal 11

./cpu_load.sh: line 6:  7944 Segmentation fault      find /usr -type f
-exec md5sum {} \;>    /dev/null
=======================

If turn off CONFIG_SMP, the issue disappear.

If use Freescale 8572ds board, the issue disappear, too.
I know the two board is same about cpu(e500v2), but their version have a 
little difference:
===================
fsl_8572ds:
cpu        : e500v2
revision    : 3.0 (pvr 8021 0030)

fsl_p2020ds:
cpu        : e500v2
revision    : 4.0 (pvr 8021 1040)
===================

Please help me to check the problem.
Thanks,
LiWang.

[-- Attachment #2: cpu_load.sh --]
[-- Type: application/x-shellscript, Size: 84 bytes --]

[-- Attachment #3: cpu_load_multi.sh --]
[-- Type: application/x-shellscript, Size: 93 bytes --]

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

* Re: Help about Freescale p2020ds problem under cpu load test
  2010-03-29  4:11 Help about Freescale p2020ds problem under cpu load test Li.Wang
@ 2010-03-29  6:24 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2010-03-29  6:24 UTC (permalink / raw)
  To: Li.Wang; +Cc: Xiong, Wei, Lans Zhang, linuxppc-dev

On Mon, 2010-03-29 at 12:11 +0800, Li.Wang wrote:
> Hi Benjamin Herrenschmidt,

Well, I'm sure you'll have more chance with this one asking somebody
from Freescale :-)

It does look like there may be a coherency problem but I don't know
those chips well enough to tell

Cheers,
Ben.

> I use Freescale p2020ds board and kernel linux 2.6.33.
> Under cpu load test which test case is in attachment
> (#./cpu_load_multi.sh 500),
> the follow issues happen after a long time:
> =======================
> find: md5sum terminated by signal 6
> 
> find: md5sum terminated by signal 11
> =======================
> 
> If use kernel linux 2.6.27(porting p2020ds bsp to it), it's easy to 
> reproduce the issue:
> =======================
> find: ../nptl/sysdeps/unix/sysv/linux/powerpc/../i386/../fork.c:138:
> __libc_fork: Assertion `((void)(self), (((struct pthread *)
> (__thread_register - 0x7000 - (sizeof (struct pthread) + ((sizeof
> (tcbhead_t) + __alignof__ (struct pthread) - 1)&   ~(__alignof__ (struct
> pthread) - 1))))))->tid) != ppid' failed.
> 
> find: md5sum terminated by signal 6
> 
> find: md5sum terminated by signal 11
> 
> ./cpu_load.sh: line 6:  7944 Segmentation fault      find /usr -type f
> -exec md5sum {} \;>    /dev/null
> =======================
> 
> If turn off CONFIG_SMP, the issue disappear.
> 
> If use Freescale 8572ds board, the issue disappear, too.
> I know the two board is same about cpu(e500v2), but their version have a 
> little difference:
> ===================
> fsl_8572ds:
> cpu        : e500v2
> revision    : 3.0 (pvr 8021 0030)
> 
> fsl_p2020ds:
> cpu        : e500v2
> revision    : 4.0 (pvr 8021 1040)
> ===================
> 
> Please help me to check the problem.
> Thanks,
> LiWang.

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

end of thread, other threads:[~2010-03-29  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-29  4:11 Help about Freescale p2020ds problem under cpu load test Li.Wang
2010-03-29  6:24 ` Benjamin Herrenschmidt

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).