linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Mike Strosaker <strosake@austin.ibm.com>
Cc: linuxppc-dev@ozlabs.org, Paul Mackeras <paulus@samba.org>
Subject: Re: [PATCH] reboot when panic_timout is set
Date: Fri, 25 Aug 2006 22:14:02 +0200	[thread overview]
Message-ID: <20060825201402.GA28214@aepfle.de> (raw)
In-Reply-To: <44EF428B.8010100@austin.ibm.com>

On Fri, Aug 25, Mike Strosaker wrote:

> Olaf Hering wrote:
> 
> >Only call into RTAS when booted with panic=0 because the RTAS call does 
> >not return.
> >The system has to be rebooted via the HMC or via the management console 
> >right now.
> >This is cumbersome and not what the default panic=180 is supposed to do.
> > 
> >
> The os-term call is supposed to indicate to the platform that it should 
> follow it's abnormal OS termination policy.  I normally set my 
> partitions to reboot immediately after an os-term call.  I believe that 
> "/usr/sbin/serv_config -b" (installed with powerpc-utils-papr) is used 
> to set that policy from the command line.

That doesnt help me at all if the kernel crashes before it reaches
/init. And if one has to call a binary anyway to set or upgrade the
policy, this binary can also set /proc/sys/kernel/panic to 0.

Do I have to set it for each boot, or is a change permanent?

  reply	other threads:[~2006-08-25 20:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-21 16:11 [PATCH] reboot when panic_timout is set Olaf Hering
2006-08-25 18:33 ` Mike Strosaker
2006-08-25 20:14   ` Olaf Hering [this message]
2006-08-30 22:13     ` 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=20060825201402.GA28214@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=strosake@austin.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).