public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [bug report] dead lock (?) occur on ap325 board
@ 2009-01-23  9:04 morimoto.kuninori
  2009-01-26  2:20 ` Paul Mundt
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: morimoto.kuninori @ 2009-01-23  9:04 UTC (permalink / raw)
  To: linux-sh


Hi Paul.

I found dead lock (? freeze?) bug again on
------------------------------------------------
commit 77ba93a7ac5fb0d9338bffbf97c787b8efe00806
Author: Paul Mundt <lethal@linux-sh.org>
Date:   Mon Dec 8 11:25:50 2008 +0900

    sh: Fix up the SH-4A mutex fastpath semantics.
------------------------------------------------

I get dead lock even if following patch is added
(this bug will be fixed on 06be3724548a443a99d703ff79f43d6f1e2975f0)
----------------
Author: Paul Mundt <lethal@linux-sh.org>
Date:   Mon Dec 8 17:01:40 2008 +0900

    sh: Fix an off-by-1 check in __mutex_fastpath_unlock().
----------------

c6f17cb2272121475c87592560534b157b17544e is OK for me.
(but YOSHII-san's patch (3b041227f7ef7c7e97f205c68c6069c0c62e5204)
 is still needed.)

*** My envilonment ****

board:     ap325
gcc:       gcc 4.1.2 (Gentoo 4.1.2 p1.0.2)
defconfig: ap325_defconfig

*** Reproduction method ***

> git checkout 77ba93a7ac5fb0d9338bffbf97c787b8efe00806
> patch -p1 < 3b041227f7ef7c7e97f205c68c6069c0c62e5204.patch
> patch -p1 < 06be3724548a443a99d703ff79f43d6f1e2975f0.patch
> make

copy following string by consol application.
-------------
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
HOGE="Morimoto is stupid"
-------------

paste string many times on ap325 board.
------------
> HOGE="Morimoto is stupid"  <= paste string
> HOGE="Morimoto is stupid"
> HOGE="Morimoto is stupid"
...
> HOGE="Morimoto is stupid"  <= paste string
> HOGE="Morimoto is stupid"
> HOGE="Morimoto is stupid"
...
> HOGE="Morimoto is stupid"  <= paste string
> HOGE="Morimoto is stupid"
> HOG                        <= freeze
------------

/Morimoto

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

end of thread, other threads:[~2009-01-29 23:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23  9:04 [bug report] dead lock (?) occur on ap325 board morimoto.kuninori
2009-01-26  2:20 ` Paul Mundt
2009-01-26  5:01 ` morimoto.kuninori
2009-01-27  8:26 ` morimoto.kuninori
2009-01-27  8:32 ` Paul Mundt
2009-01-27  8:46 ` morimoto.kuninori
2009-01-27  8:49 ` Paul Mundt
2009-01-28  1:25 ` morimoto.kuninori
2009-01-28  9:29 ` Takashi Yoshii
2009-01-28 10:03 ` Paul Mundt
2009-01-29  0:34 ` yoshii.takashi
2009-01-29 23:54 ` morimoto.kuninori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox