From: Milton Miller <miltonm@bga.com>
To: ppcdev <linuxppc-dev@ozlabs.org>
Cc: Andrew Morton <akpm@osdl.org>,
Balbir Singh <balbir@linux.vnet.ibm.com>,
Paul Mackerras <paulus@samba.org>,
Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Subject: Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench
Date: Fri, 18 Jan 2008 09:41:19 -0600 [thread overview]
Message-ID: <2f04d94d12c17206c76178541f8127c1@bga.com> (raw)
In-Reply-To: <18320.32058.370817.762911@cargo.ozlabs.ibm.com>
Paul Mackerras writes:
> Kamalesh Babulal writes:
>
> > I tried reproducing the problem and was successful with following
> trace
> > in which the pc is at 0x4570 as the above one
>
> What did you do to trigger it?
>
> > c000000000004544 <unrecov_slb>:
> > c000000000004544: 71 8a 40 00 andi. r10,r12,16384
> > c000000000004548: 7c 2a 0b 78 mr r10,r1
> > c00000000000454c: 38 21 fd 10 addi r1,r1,-752
> > c000000000004550: 41 82 00 08 beq- c000000000004558
> <unrecov_slb+0x14>
> > c000000000004554: e8 2d 01 a8 ld r1,424(r13)
> > c000000000004558: 2c a1 00 00 cmpdi cr1,r1,0
> > c00000000000455c: 40 84 00 08 bge- cr1,c000000000004564
> <unrecov_slb+0x20>
> > c000000000004560: 48 00 00 10 b c000000000004570
> <unrecov_slb+0x2c>
> > c000000000004564: 38 20 41 00 li r1,16640
> > c000000000004568: b0 2d 01 c8 sth r1,456(r13)
> > c00000000000456c: 4b ff fb 18 b c000000000004084
> <bad_stack>
> > c000000000004570: f9 21 01 a0 std r9,416(r1)
>
> So it's in the code that gets called on an unrecoverable SLB fault.
> That's bad, we should never get those. Does this happen with mainline
> too, or only with -rc8-mm1? I don't understand why we should start
> seeing this problem unless something has changed in
> arch/powerpc/kernel or arch/powerpc/mm (well I suppose a bug somewhere
> else could cause memory corruption which might be able to lead to
> this).
The reason we get the fault here instead of a nice oops is that
unrecov_slb is supposed to be called after the switch to virtual mode,
but no code was added when the real mode slb handling was added.
However, its not simply adding code, as iSeries calls the same slb
reload code in virtual mode (as it always runs virtual), so the code
will have to check if translation is already on.
(I had found this in a previous audit, but as Paul said, its not
supposed to happen, and I haven't pursued a patch).
>
> Does it still happen if you take git-powerpc.patch out of the series?
>
> Paul.
next prev parent reply other threads:[~2008-01-18 15:41 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080117023514.9df393cf.akpm@linux-foundation.org>
2008-01-17 18:18 ` 2.6.24-rc8-mm1: powerpc: include/asm/nvram.h:62: error: field 'partition' has incomplete type Mariusz Kozlowski
2008-01-17 19:27 ` Andrew Morton
2008-01-17 19:06 ` 2.6.24-rc8-mm1 powerpc build errors Olof Johansson
2008-01-17 19:35 ` Andrew Morton
2008-01-17 22:00 ` Greg KH
2008-01-17 22:15 ` 2.6.24-rc8-mm1: powerpc oopses Mariusz Kozlowski
2008-01-17 22:51 ` Andrew Morton
2008-01-17 23:39 ` Matt Mackall
2008-01-18 0:05 ` Andrew Morton
2008-01-18 0:12 ` Matt Mackall
2008-01-18 0:29 ` Andrew Morton
2008-01-18 0:47 ` Matt Mackall
2008-01-18 1:07 ` Andrew Morton
2008-01-18 1:16 ` Matt Mackall
2008-01-18 17:23 ` Mariusz Kozlowski
2008-01-18 17:33 ` Matt Mackall
2008-01-18 7:09 ` 2.6.24-rc8-mm1 build failure on headers_check Kamalesh Babulal
2008-01-18 7:38 ` Andrew Morton
2008-01-18 8:36 ` 2.6.24-rc8-mm1 Kernel oops will running kernbench Kamalesh Babulal
2008-01-18 8:44 ` Andrew Morton
2008-01-18 9:01 ` Paul Mackerras
2008-01-18 9:34 ` Kamalesh Babulal
2008-01-18 10:19 ` Paul Mackerras
2008-01-18 15:41 ` Milton Miller [this message]
2008-01-18 10:26 ` Paul Mackerras
2008-01-18 10:44 ` Kamalesh Babulal
2008-01-18 10:54 ` Balbir Singh
2008-01-25 6:05 ` 2.6.24 Kernel oops will running kernbench regression from 2.6.24-rc8-mm1 Kamalesh Babulal
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=2f04d94d12c17206c76178541f8127c1@bga.com \
--to=miltonm@bga.com \
--cc=akpm@osdl.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=kamalesh@linux.vnet.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--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).