From: Will Schmidt <will_schmidt@vnet.ibm.com>
To: Linas Vepstas <linas@austin.ibm.com>, Olaf Hering <olaf@aepfle.de>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH] powerpc: fix os-term usage on kernel panic
Date: Thu, 29 Nov 2007 11:19:50 -0600 [thread overview]
Message-ID: <1196356790.11297.36.camel@farscape.rchland.ibm.com> (raw)
In-Reply-To: <20071128201838.GH19584@austin.ibm.com>
On Wed, 2007-11-28 at 14:18 -0600, Linas Vepstas wrote:
> 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.
It does not. this code is getting called, but still turns the box into
a doorstop at /sbin/reboot.
It does clear up if I apply this patch, which is a revert of part of
your earlier patch.
My js2X also turns into a doorstop after /sbin/reboot.. Though I'm
not going through a panic path, I wonder if the panic portion is OK and
this is what Olaf is hitting.
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index fdeefe5..c9fac5a 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -508,7 +508,7 @@ define_machine(pseries) {
.power_off = pSeries_power_off,
.halt = rtas_halt,
.panic = rtas_panic_msg,
- .machine_shutdown = rtas_os_term,
+/* .machine_shutdown = rtas_os_term,*/
.get_boot_time = rtas_get_boot_time,
.get_rtc_time = rtas_get_rtc_time,
.set_rtc_time = rtas_set_rtc_time,
next prev parent reply other threads:[~2007-11-29 17:20 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 [this message]
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=1196356790.11297.36.camel@farscape.rchland.ibm.com \
--to=will_schmidt@vnet.ibm.com \
--cc=linas@austin.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=olaf@aepfle.de \
--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).