From: Peter Hurley <peter@hurleysoftware.com>
To: sparclinux@vger.kernel.org
Subject: Re: RED state exception (trap type 0x64) on U5 reboot
Date: Wed, 23 Oct 2013 15:00:24 +0000 [thread overview]
Message-ID: <5267E488.9060606@hurleysoftware.com> (raw)
In-Reply-To: <alpine.SOC.1.00.1310151347070.902@math.ut.ee>
On 10/21/2013 04:58 AM, Meelis Roos wrote:
>> Somwehere between 3.11.0 and 3.12-rc2, my U5-360 has consistently been
>> >hanging on reboot. Today I connected a serial cable and learned about a
>> >RED state exception. 3.10.0 and 3.11.0 are OK, 3.12-rc2 and later hang
>> >reliably. I have not yet started bisecting since this will need remote
>> >power cycle setup.
> Another data point: the same problem happens on Sun Blade 100 with ALI
> IDE. Does not happen on Fire V100 and Netra X1 that are also ALI IDE
> based. The configs may be different too of course.
>
> I did a bisect for full tree. It landed into tty commits, some of them
> being untestable without a compile fix
Hi Meelis,
What tty commits required a compile fix?
> but it came out clearly finally
> (each bad commit was clearly bad, each good commit was tested for 3
> reboots without a problem). Bisect resulted in his commit being at
> fault:
>
> 8cb06c983822103da1cfe57b9901e60a00e61f67 is the first bad commit
> commit 8cb06c983822103da1cfe57b9901e60a00e61f67
> Author: Peter Hurley<peter@hurleysoftware.com>
> Date: Sat Jun 15 10:21:18 2013 -0400
>
> n_tty: Remove alias ptrs in __receive_buf()
>
> The char and flag buffer local alias pointers, p and f, are
> unnecessary; remove them.
>
> Signed-off-by: Peter Hurley<peter@hurleysoftware.com>
> Signed-off-by: Greg Kroah-Hartman<gregkh@linuxfoundation.org>
>
> :040000 040000 ddc901fe810f43bc06a64397735b469b11e403e8 96d92e4e242c4b2ff11b25c005bccd093865b350 M drivers
>
> Reading the commit suggests that commit is not at fault - it seems so
> unrelated. It just modifies on-stack function parameters instead of
> local copies.
As you note, this is an unlikely culprit. Does a repeat bisect from
different good/bad starts give the same result?
> Just reverting this patch in current master would not work, the code has
> changed a lot.
>
>
> Also, my matching with oops_enter was bad - the addresses differ by one
> more '5' so it has nothing to do with oops_enter. And there is no
> '00455c0' in System.map of these kernels so I have no idea what this TPC
> corresponds to.
>
>> >
>> >reboot: Restarting system
>> >
>> >RED State Exception
>> >
>> >TL\000.0000.0000.0005 TT\000.0000.0000.0064
>> > TPC\000.0000.f000.4c80 TnPC\000.0000.f000.4c84 TSTATE\000.0099.1104.1402
>> >TL\000.0000.0000.0004 TT\000.0000.0000.0064
>> > TPC\000.0000.f000.4c80 TnPC\000.0000.f000.4c84 TSTATE\000.0099.1104.1402
>> >TL\000.0000.0000.0003 TT\000.0000.0000.0064
>> > TPC\000.0000.f000.4c80 TnPC\000.0000.f000.4c84 TSTATE\000.0099.1104.1402
>> >TL\000.0000.0000.0002 TT\000.0000.0000.0064
>> > TPC\000.0000.f000.0c80 TnPC\000.0000.f000.0c84 TSTATE\000.0099.1104.1402
>> >TL\000.0000.0000.0001 TT\000.0000.0000.0064
>> > TPC\000.0000.f004.55c0 TnPC\000.0000.f004.55c4 TSTATE\000.0099.1100.1602
>> >
>> >Trap Type 0x64 seems to fast_instruction_access_MMU_miss. It keeps
>> >trapping until 5 levels deep. The first one is from f00455c0 that may
>> >be the System.map entry
>> >
>> >00000000004555c0 T oops_enter
>> >
>> >meaning we get late oops but the MMU setup has already been torn down?
>> >Is this a sensible way to decode this RED data (matching TPC against
>> >System.map)?
>> >
>> >Is full bisect recommended or does arch/sparc bisect look more
>> >promising?
Is any of the above exception information useful in diagnosing this?
Regards,
Peter Hurley
next prev parent reply other threads:[~2013-10-23 15:00 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-15 11:51 RED state exception (trap type 0x64) on U5 reboot Meelis Roos
2013-10-21 8:58 ` Meelis Roos
2013-10-23 15:00 ` Peter Hurley [this message]
2013-10-24 11:48 ` Meelis Roos
2013-11-17 20:35 ` Meelis Roos
2013-11-17 20:52 ` Meelis Roos
2013-11-18 6:21 ` Meelis Roos
2013-11-18 12:41 ` Peter Hurley
2013-11-18 13:51 ` Peter Hurley
2013-11-18 15:46 ` Meelis Roos
2013-11-19 14:23 ` Peter Hurley
2013-11-20 11:50 ` Peter Hurley
2013-11-27 17:39 ` Meelis Roos
2013-11-28 1:38 ` Meelis Roos
2013-11-28 16:47 ` Meelis Roos
2013-11-29 7:31 ` Meelis Roos
2013-11-30 21:42 ` Meelis Roos
2013-11-30 23:04 ` Peter Hurley
2013-11-30 23:07 ` Peter Hurley
2013-12-01 1:18 ` Peter Hurley
2013-12-01 1:31 ` Meelis Roos
2013-12-01 1:32 ` Meelis Roos
2013-12-01 2:07 ` Peter Hurley
2013-12-01 2:40 ` Peter Hurley
2013-12-01 8:16 ` Meelis Roos
2013-12-01 14:39 ` Peter Hurley
2013-12-03 16:11 ` Meelis Roos
2013-12-03 16:47 ` Peter Hurley
2013-12-04 15:35 ` Meelis Roos
2013-12-06 15:54 ` Peter Hurley
2014-06-16 9:21 ` Meelis Roos
2014-06-16 14:37 ` Peter Hurley
2014-06-16 15:14 ` Christoph Lameter
2014-06-17 10:38 ` Meelis Roos
2014-06-17 14:14 ` Christoph Lameter
2014-06-17 15:50 ` Meelis Roos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5267E488.9060606@hurleysoftware.com \
--to=peter@hurleysoftware.com \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.