public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bruce Hill, Jr." <daddy@happypenguincomputers.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How can I trigger kernel panic?
Date: Sat, 17 Mar 2012 00:41:20 -0400 (EDT)	[thread overview]
Message-ID: <234804285.844216.1331959280238.JavaMail.open-xchange@email.1and1.com> (raw)
In-Reply-To: <CAEYRpng4K9t_jWJCU3SvwZDr40Q7=u0bLbXSxMMLTW7nTpNSnA@mail.gmail.com>




On March 14, 2012 at 2:41 PM "ZHANG, Le" <r0bertz@gentoo.org> wrote:

> On Wed, Mar 14, 2012 at 11:23 AM, Jarry <mr.jarry@gmail.com> wrote:
>
> > Hi,
> >
> > my question might seem silly, but I have reason for it:
> > I have heard there is way to auto-reboot linux after kernel
> > panic using "kernel.panic=<time>" in /etc/sysctl.conf.
> >
> > This might come handy as my server is far from me and I do
> > not have any remote console. But I would like to test it
> > and see if it works (first on my desktop).
> >
> > So my question is: Can I somehow deliberately trigger
> > "kernel panic" (or "kernel oops")?
>
>
> For panic, echo c > /proc/sysrq-trigger
>
> --
> Zhang Le, Robert
> Gentoo/Loongson(龙芯) Developer
> http://zhangle.is-a-geek.org


Nasty way to do it, but I thought that should be:

echo b > / proc / sysrq-trigger

Isn't b for reboot?
--
Happy Penguin Computers    >`)
126 Fenco Drive            ( \
Tupelo, MS 38801            ^^
662-269-2706; 662-491-8613
support at happypenguincomputers dot com
http://www.happypenguincomputers.com



  parent reply	other threads:[~2012-03-17  4:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 18:23 [gentoo-user] How can I trigger kernel panic? Jarry
2012-03-14 18:41 ` ZHANG, Le
2012-03-15 16:55   ` Jarry
2012-03-15 17:02     ` Michael Mol
2012-03-15 19:17       ` Mick
2012-03-15 19:25         ` Michael Mol
2012-03-15 19:33           ` Neil Bothwick
2012-03-15 19:36           ` Paul Hartman
2012-03-15 19:43             ` Mick
2012-03-15 19:45             ` Claudio Roberto França Pereira
2012-03-15 19:51               ` [gentoo-user] " Nikos Chantziaras
2012-03-15 20:35               ` [gentoo-user] " Paul Hartman
2012-03-16 12:03               ` Dale
2012-03-17  4:41   ` Bruce Hill, Jr. [this message]
2012-03-14 18:48 ` Michael Orlitzky

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=234804285.844216.1331959280238.JavaMail.open-xchange@email.1and1.com \
    --to=daddy@happypenguincomputers.com \
    --cc=gentoo-user@lists.gentoo.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