From: linas@austin.ibm.com (Linas Vepstas)
To: Will Schmidt <will_schmidt@vnet.ibm.com>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH] powerpc: fix os-term usage on kernel panic
Date: Wed, 28 Nov 2007 14:18:38 -0600 [thread overview]
Message-ID: <20071128201838.GH19584@austin.ibm.com> (raw)
In-Reply-To: <1196208960.11297.26.camel@farscape.rchland.ibm.com>
On Tue, Nov 27, 2007 at 06:15:59PM -0600, Will Schmidt 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?
I beleive the patch
http://www.nabble.com/-PATCH--powerpc-pseries:-tell-phyp-to-auto-restart-t4847604.html
will cure this problem.
>From that patch:
+/**
+ * pSeries_auto_restart - tell hypervisor that boot succeeded.
+ *
+ * The pseries hypervisor attempts to detect and prevent an
+ * infinite loop of kernel crashes and auto-reboots. It does
+ * so by refusing to auto-reboot unless we indicate that the
+ * current boot was sucessful. So, indicate success late in
+ * the boot sequence.
+ */
FYI, I am leaving IBM in just a few days now, and won't really
have much of a chance to debug this, if there are other problems.
This pair of patches was required to make hypervisor-assisted
dump work, viz, we need to tell the hypervisor about when we
crashed, or didn't crash, so that if we crashed, the dump can
be taken appropriately.
It occurs to me that, as I write this, that maybe xmon 'zr'
command should be modified to call pSeries_auto_restart just
in case, so that it actually reboots. There might be another
funky code path that I can't think of right now.
--linas
next prev parent reply other threads:[~2007-11-28 20:18 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 [this message]
2007-11-29 17:19 ` Will Schmidt
2007-11-30 5:56 ` Stephen Rothwell
2007-11-30 16:11 ` Will Schmidt
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=20071128201838.GH19584@austin.ibm.com \
--to=linas@austin.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=will_schmidt@vnet.ibm.com \
/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).