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

> On Wed, Mar 14, 2012 at 11:23 AM, Jarry <mr.ja...@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

Reply via email to