linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Will Schmidt <will_schmidt@vnet.ibm.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH] powerpc: fix os-term usage on kernel panic
Date: Fri, 30 Nov 2007 10:11:32 -0600	[thread overview]
Message-ID: <1196439093.11297.52.camel@farscape.rchland.ibm.com> (raw)
In-Reply-To: <20071130165651.b1b7c16c.sfr@canb.auug.org.au>


On Fri, 2007-11-30 at 16:56 +1100, Stephen Rothwell wrote:
> On Tue, 27 Nov 2007 18:15:59 -0600 Will Schmidt <will_schmidt@vnet.ibm.com> wrote:
> >
> > (resending with the proper "from" addr this time). 
> > 
> > 
> > I'm seeing some funky behavior on power5/power6 partitions with this
> > patch.    A "/sbin/reboot" is now behaving much more like a
> > "/sbin/halt".
> > 
> > Anybody else seeing this, or is it time for me to call an exorcist for
> > my boxes? 
> 
> On my Power5+ box, I get an error (code B200A101) logged every time I
> reboot and about half the time, the machine does not reboot but need to
> be power cycled. Removing the cited patch makes the error not by logged
> and reboots work fine.
> 
> Paul and I have been having a look at this and Paul has asked the
> architects for clarification of when os-term should be used.

The architects will have the correct answer of course.   

>From my reading of the papr, I've got the impression that there are two
possibilities.    

First, the os-term never returns, and it's up to the service processor
to do whatever it's going to do.  (call home, dump, something else).
Nothing we can do there. 

Second, os-term returns, and it's up to the OS to call into power-off or
system-reboot.
I think this is more likely.   I havn't followed the path back from
machine_restart to see exactly how we got there, but probably means a
bit more logic to decide whether to call into rtas_restart() or
pSeries_power_off() after the call to machine_shutdown.

  reply	other threads:[~2007-11-30 16:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-20  1:28 [PATCH] powerpc: fix os-term usage on kernel panic Linas Vepstas
2007-11-28  0:15 ` Will Schmidt
2007-11-28 11:00   ` Olaf Hering
2007-11-28 20:09     ` Linas Vepstas
2007-11-29 10:41       ` Olaf Hering
2007-12-03 19:32         ` Linas Vepstas
2007-11-28 20:18   ` Linas Vepstas
2007-11-29 17:19     ` Will Schmidt
2007-11-30  5:56   ` Stephen Rothwell
2007-11-30 16:11     ` Will Schmidt [this message]
2007-11-30 19:26       ` Mike Strosaker

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=1196439093.11297.52.camel@farscape.rchland.ibm.com \
    --to=will_schmidt@vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=sfr@canb.auug.org.au \
    /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).