linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Paul Mackerras <paulus@samba.org>
Cc: Pantelis Antoniou <panto@intracom.gr>,
	Dan Malek <dan@embeddededge.com>,
	Linuxppc-Embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: 2.6-7-rc1 8xx - No go
Date: Fri, 28 May 2004 16:43:13 -0700	[thread overview]
Message-ID: <20040528234313.GY6763@smtp.west.cox.net> (raw)
In-Reply-To: <16567.51701.749266.450133@cargo.ozlabs.ibm.com>


On Sat, May 29, 2004 at 09:23:33AM +1000, Paul Mackerras wrote:

> Pantelis Antoniou writes:
>
> > I'm reporting that my tree, after updating from 2.6.6 -> 2.6.7-rc1
> > does not work any more.
>
> You probably need this patch.  I changed things a bit so that we get
> the full registers set dumped on an oops due to a bad address in the
> kernel.
>
> Paul.
>
> diff -urN linuxppc-2.5/arch/ppc/kernel/head_8xx.S pmac-2.5/arch/ppc/kernel/head_8xx.S
> --- linuxppc-2.5/arch/ppc/kernel/head_8xx.S	2004-05-25 21:48:41.000000000 +1000
> +++ pmac-2.5/arch/ppc/kernel/head_8xx.S	2004-05-29 09:22:18.828955856 +1000
> @@ -228,9 +228,7 @@
>  	stw	r10,_DSISR(r11)
>  	mr	r5,r10
>  	mfspr	r4,DAR
> -	stw	r4,_DAR(r11)
> -	addi	r3,r1,STACK_FRAME_OVERHEAD
> -	EXC_XFER_EE_LITE(0x300, do_page_fault)
> +	EXC_XFER_EE_LITE(0x300, handle_page_fault)
>
>  /* Instruction access exception.
>   * This is "never generated" by the MPC8xx.  We jump to it for other
> @@ -242,7 +240,7 @@
>  	addi	r3,r1,STACK_FRAME_OVERHEAD
>  	mr	r4,r12
>  	mr	r5,r9
> -	EXC_XFER_EE_LITE(0x400, do_page_fault)
> +	EXC_XFER_EE_LITE(0x400, handle_page_fault)
>
>  /* External interrupt */
>  	EXCEPTION(0x500, HardwareInterrupt, do_IRQ, EXC_XFER_LITE)

It actually needs to remove that 'addi' as well.  We found that ~30
minutes ago.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2004-05-28 23:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-28  8:40 2.6-7-rc1 8xx - No go Pantelis Antoniou
2004-05-28 10:17 ` Pantelis Antoniou
2004-05-28 11:38   ` rdiz
2004-05-28 12:16     ` Robert P. J. Day
2004-05-28 12:59       ` Pantelis Antoniou
2004-05-28 12:24     ` Pantelis Antoniou
2004-05-28 12:38   ` RTC no longer exist on the 866/87x/88x David Ho
2004-05-28 12:45     ` Pantelis Antoniou
2004-05-28 13:29       ` Mark Chambers
2004-05-28 23:23 ` 2.6-7-rc1 8xx - No go Paul Mackerras
2004-05-28 23:43   ` Tom Rini [this message]

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=20040528234313.GY6763@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=dan@embeddededge.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=panto@intracom.gr \
    --cc=paulus@samba.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).