From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-136330-garchives=archives.gentoo.org@lists.gentoo.org>) id 1S7t9u-0007Aj-Ab for garchives@archives.gentoo.org; Wed, 14 Mar 2012 18:42:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E522FE0AAF; Wed, 14 Mar 2012 18:42:40 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 24EBDE089D for <gentoo-user@lists.gentoo.org>; Wed, 14 Mar 2012 18:41:37 +0000 (UTC) Received: by eaa1 with SMTP id 1so1328483eaa.40 for <gentoo-user@lists.gentoo.org>; Wed, 14 Mar 2012 11:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=fXhPCtNQoTBcho/aQFlSBqvKpbNeehMJBY0L+ZzFofM=; b=OZ6lBig7fr2PSzI0AlafO91iqLvvuJGGxTenNw89izb08jl3AjEv18O43MRqM8ZRrp 5grlW38LLPreVq9TH4rJIYJbnnPVkarcI3PQg3DvroIgKA1+TqkC/1Q4iv+uMBCC/GE0 DI8zPMwVjj9AhOUdhM/i8lf6u0vG29VajVVnUVxuogAyFJDg3Qrjsatm40oACZqP0Shx CBIseCjkWnCJaV72qnP5d8d3tEx30OZDxorSmAL/VgZaJPB/+zGKoFlTL3n6W8KjG7tN DIDYz5mCGb01STJRHV3PX4iOSsNBP2BLeb63lk0AZzP95zTyrYibjvRX88jrF7QkIPh7 ey0g== Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.50.202.38 with SMTP id kf6mr6479933igc.30.1331750496586; Wed, 14 Mar 2012 11:41:36 -0700 (PDT) Sender: robert.zhangle@gmail.com Received: by 10.42.135.2 with HTTP; Wed, 14 Mar 2012 11:41:36 -0700 (PDT) In-Reply-To: <4F60E22D.3060409@gmail.com> References: <4F60E22D.3060409@gmail.com> Date: Wed, 14 Mar 2012 11:41:36 -0700 X-Google-Sender-Auth: PTw443VHvE07AWdtMy2eZCOXxUs Message-ID: <CAEYRpng4K9t_jWJCU3SvwZDr40Q7=u0bLbXSxMMLTW7nTpNSnA@mail.gmail.com> Subject: Re: [gentoo-user] How can I trigger kernel panic? From: "ZHANG, Le" <r0bertz@gentoo.org> To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=f46d0447a123474acc04bb385393 X-Archives-Salt: 7d0699d9-f3e1-433d-a8cd-bfb21570cba4 X-Archives-Hash: 78fd69e86c4673d65d28ebac0822a8ee --f46d0447a123474acc04bb385393 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3D<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 > > > Jarry > -- > ______________________________**______________________________**___ > This mailbox accepts e-mails only from selected mailing-lists! > Everything else is considered to be spam and therefore deleted. > > --=20 Zhang Le, Robert Gentoo/Loongson(=E9=BE=99=E8=8A=AF) Developer http://zhangle.is-a-geek.org --f46d0447a123474acc04bb385393 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <br><br><div class=3D"gmail_quote">On Wed, Mar 14, 2012 at 11:23 AM, Jarry = <span dir=3D"ltr"><<a href=3D"mailto:mr.jarry@gmail.com">mr.jarry@gmail.= com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar= gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,<br> <br> my question might seem silly, but I have reason for it:<br> I have heard there is way to auto-reboot linux after kernel<br> panic using "kernel.panic=3D<time>" in /etc/sysctl.conf.<br= > <br> This might come handy as my server is far from me and I do<br> not have any remote console. But I would like to test it<br> and see if it works (first on my desktop).<br> <br> So my question is: Can I somehow deliberately trigger<br> "kernel panic" (or "kernel oops")?</blockquote><div><br= ></div><div>For panic,=C2=A0echo c > /proc/sysrq-trigger</div><div>=C2= =A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde= r-left:1px #ccc solid;padding-left:1ex"> <span class=3D"HOEnZb"><font color=3D"#888888"><br> <br> Jarry<br> -- <br> ______________________________<u></u>______________________________<u></u>_= __<br> This mailbox accepts e-mails only from selected mailing-lists!<br> Everything else is considered to be spam and therefore deleted.<br> <br> </font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b= r>Zhang Le, Robert<br>Gentoo/Loongson(=E9=BE=99=E8=8A=AF) Developer<br><a h= ref=3D"http://zhangle.is-a-geek.org" target=3D"_blank">http://zhangle.is-a-= geek.org</a><br> --f46d0447a123474acc04bb385393--