linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: benh@kernel.crashing.org
Cc: linuxppc-dev@ozlabs.org
Subject: Re: starting with 2.6.26-rc1 cell_defconfig fails on QS22
Date: Tue, 24 Jun 2008 03:40:36 +0200	[thread overview]
Message-ID: <fbe00e06a9ca1745126a5b9cb9849290@kernel.crashing.org> (raw)
In-Reply-To: <1214215255.8011.257.camel@pasglop>

>> Finalizing device tree... using OF tree (promptr=0e1004c4)
>>
>>
>> ( 700 ) Program Exception [ e1004c4 ]
>
> The program check exception happens at 0xe1004c4 ? That looks like the
> OF entry point (promptr)... could it be possible that it got corrupted
> somewhat ? The only thing I see above there would be the stack but
> I fail to see how it would use that much...

I don't know what this [ e1004c4 ] is, if I read the current public
SLOF code (for JS2x) correctly it seems to be whatever was on the
stack (or just below the stack) below the error code that was thrown.
Maybe some errors put something interesting there, dunno.

/me looks deeper...  Nastiness :-)  So, a decrementer exception gives
the current decrementer value as reason code; an external exception
reads some BE-specific registers (on any system!); and all other
exceptions use whatever was in GPR4?

Anyway, the register dump shows:

>>     CR / XER           LR / CTR          SRR0 / SRR1        DAR / 
>> DSISR
>>         80000022   00000000014073e8   000000000189e99c 
>> 0000000000000000
>> 0000000020000000   0000000001400000   9000000000083000 00000000

so SRR0 is 0189e99c, which is where the exception happened.  Does
objdump show what's going on?  It seems to happen almost immediately
after the kernel starts, given the CTR value.  If the SRR0 address
doesn't help, the LR address should.

>> I have tried it with gcc-3.4.2, gcc-4.1.1 and gcc-4.2.4.

The binutils version is more interesting here.  2.18?


Segher

  reply	other threads:[~2008-06-24  1:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23  9:45 starting with 2.6.26-rc1 cell_defconfig fails on QS22 Adrian Reber
2008-06-23 10:00 ` Benjamin Herrenschmidt
2008-06-24  1:40   ` Segher Boessenkool [this message]
2008-06-23 23:45 ` Jeremy Kerr
2008-06-24 12:29   ` Adrian Reber
2008-06-25 15:59     ` Segher Boessenkool
2008-06-26  7:21       ` Adrian Reber

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=fbe00e06a9ca1745126a5b9cb9849290@kernel.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.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 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).