* [gentoo-user] How can I trigger kernel panic?
@ 2012-03-14 18:23 Jarry
2012-03-14 18:41 ` ZHANG, Le
2012-03-14 18:48 ` Michael Orlitzky
0 siblings, 2 replies; 15+ messages in thread
From: Jarry @ 2012-03-14 18:23 UTC (permalink / raw
To: gentoo-user
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")?
Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
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-17 4:41 ` Bruce Hill, Jr.
2012-03-14 18:48 ` Michael Orlitzky
1 sibling, 2 replies; 15+ messages in thread
From: ZHANG, Le @ 2012-03-14 18:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 902 bytes --]
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
>
>
> Jarry
> --
> ______________________________**______________________________**___
> This mailbox accepts e-mails only from selected mailing-lists!
> Everything else is considered to be spam and therefore deleted.
>
>
--
Zhang Le, Robert
Gentoo/Loongson(龙芯) Developer
http://zhangle.is-a-geek.org
[-- Attachment #2: Type: text/html, Size: 1518 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
2012-03-14 18:23 [gentoo-user] How can I trigger kernel panic? Jarry
2012-03-14 18:41 ` ZHANG, Le
@ 2012-03-14 18:48 ` Michael Orlitzky
1 sibling, 0 replies; 15+ messages in thread
From: Michael Orlitzky @ 2012-03-14 18:48 UTC (permalink / raw
To: gentoo-user
On 03/14/12 14:23, Jarry 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")?
If you want to test the auto-reboot, try appending root=/dev/random to
the command line.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
2012-03-14 18:41 ` ZHANG, Le
@ 2012-03-15 16:55 ` Jarry
2012-03-15 17:02 ` Michael Mol
2012-03-17 4:41 ` Bruce Hill, Jr.
1 sibling, 1 reply; 15+ messages in thread
From: Jarry @ 2012-03-15 16:55 UTC (permalink / raw
To: gentoo-user
On 14-Mar-12 19:41, ZHANG, Le wrote:
>
> > So my question is: Can I somehow deliberately trigger
> > "kernel panic" (or "kernel oops")?
>
> For panic, echo c > /proc/sysrq-trigger
After I issued the above mentioned command, my system
instantly "froze to death". Nothing changed on screen,
no "kernel panic" or "Ooops" screen. Just frozen...
No reaction to keyboard or mouse. No auto-reboot either.
The only thing I could do is to press "Reset". Not exactly
what I have been expecting...
Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
2012-03-15 16:55 ` Jarry
@ 2012-03-15 17:02 ` Michael Mol
2012-03-15 19:17 ` Mick
0 siblings, 1 reply; 15+ messages in thread
From: Michael Mol @ 2012-03-15 17:02 UTC (permalink / raw
To: gentoo-user
On Thu, Mar 15, 2012 at 12:55 PM, Jarry <mr.jarry@gmail.com> wrote:
> On 14-Mar-12 19:41, ZHANG, Le wrote:
>>
>>
>> > So my question is: Can I somehow deliberately trigger
>> > "kernel panic" (or "kernel oops")?
>>
>> For panic, echo c > /proc/sysrq-trigger
>
>
> After I issued the above mentioned command, my system
> instantly "froze to death". Nothing changed on screen,
> no "kernel panic" or "Ooops" screen. Just frozen...
>
> No reaction to keyboard or mouse. No auto-reboot either.
> The only thing I could do is to press "Reset". Not exactly
> what I have been expecting...
Were you running under X? The panic would have killed X, which
wouldn't have released control over the video hardware.
There's a SysRq sequence to get around this, but I don't remember it.
--
:wq
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
2012-03-15 17:02 ` Michael Mol
@ 2012-03-15 19:17 ` Mick
2012-03-15 19:25 ` Michael Mol
0 siblings, 1 reply; 15+ messages in thread
From: Mick @ 2012-03-15 19:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1045 bytes --]
On Thursday 15 Mar 2012 17:02:15 Michael Mol wrote:
> On Thu, Mar 15, 2012 at 12:55 PM, Jarry <mr.jarry@gmail.com> wrote:
> > On 14-Mar-12 19:41, ZHANG, Le wrote:
> >> > So my question is: Can I somehow deliberately trigger
> >> > "kernel panic" (or "kernel oops")?
> >>
> >> For panic, echo c > /proc/sysrq-trigger
> >
> > After I issued the above mentioned command, my system
> > instantly "froze to death". Nothing changed on screen,
> > no "kernel panic" or "Ooops" screen. Just frozen...
> >
> > No reaction to keyboard or mouse. No auto-reboot either.
> > The only thing I could do is to press "Reset". Not exactly
> > what I have been expecting...
>
> Were you running under X? The panic would have killed X, which
> wouldn't have released control over the video hardware.
>
> There's a SysRq sequence to get around this, but I don't remember it.
Ctrl+Alt+
R E I S U B
(busier in reverse)
After a E or I you should be back into a console, unless things are badly
screwed.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
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
0 siblings, 2 replies; 15+ messages in thread
From: Michael Mol @ 2012-03-15 19:25 UTC (permalink / raw
To: gentoo-user
On Thu, Mar 15, 2012 at 3:17 PM, Mick <michaelkintzios@gmail.com> wrote:
> On Thursday 15 Mar 2012 17:02:15 Michael Mol wrote:
>> On Thu, Mar 15, 2012 at 12:55 PM, Jarry <mr.jarry@gmail.com> wrote:
>> > On 14-Mar-12 19:41, ZHANG, Le wrote:
>> >> > So my question is: Can I somehow deliberately trigger
>> >> > "kernel panic" (or "kernel oops")?
>> >>
>> >> For panic, echo c > /proc/sysrq-trigger
>> >
>> > After I issued the above mentioned command, my system
>> > instantly "froze to death". Nothing changed on screen,
>> > no "kernel panic" or "Ooops" screen. Just frozen...
>> >
>> > No reaction to keyboard or mouse. No auto-reboot either.
>> > The only thing I could do is to press "Reset". Not exactly
>> > what I have been expecting...
>>
>> Were you running under X? The panic would have killed X, which
>> wouldn't have released control over the video hardware.
>>
>> There's a SysRq sequence to get around this, but I don't remember it.
>
> Ctrl+Alt+
>
> R E I S U B
>
> (busier in reverse)
>
> After a E or I you should be back into a console, unless things are badly
> screwed.
Is that Ctrl+Alt+SysRq+(R E I S U B), or is the SysRq key not actually used?
--
:wq
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
2012-03-15 19:25 ` Michael Mol
@ 2012-03-15 19:33 ` Neil Bothwick
2012-03-15 19:36 ` Paul Hartman
1 sibling, 0 replies; 15+ messages in thread
From: Neil Bothwick @ 2012-03-15 19:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
On Thu, 15 Mar 2012 15:25:43 -0400, Michael Mol wrote:
> Is that Ctrl+Alt+SysRq+(R E I S U B), or is the SysRq key not actually
> used?
Alt+SysReq+{R E I S U B}
--
Neil Bothwick
Did you know that eskimos have 17 different words for linguist?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
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
1 sibling, 2 replies; 15+ messages in thread
From: Paul Hartman @ 2012-03-15 19:36 UTC (permalink / raw
To: gentoo-user
On Thu, Mar 15, 2012 at 2:25 PM, Michael Mol <mikemol@gmail.com> wrote:
> On Thu, Mar 15, 2012 at 3:17 PM, Mick <michaelkintzios@gmail.com> wrote:
>> On Thursday 15 Mar 2012 17:02:15 Michael Mol wrote:
>>> On Thu, Mar 15, 2012 at 12:55 PM, Jarry <mr.jarry@gmail.com> wrote:
>>> > On 14-Mar-12 19:41, ZHANG, Le wrote:
>>> >> > So my question is: Can I somehow deliberately trigger
>>> >> > "kernel panic" (or "kernel oops")?
>>> >>
>>> >> For panic, echo c > /proc/sysrq-trigger
>>> >
>>> > After I issued the above mentioned command, my system
>>> > instantly "froze to death". Nothing changed on screen,
>>> > no "kernel panic" or "Ooops" screen. Just frozen...
>>> >
>>> > No reaction to keyboard or mouse. No auto-reboot either.
>>> > The only thing I could do is to press "Reset". Not exactly
>>> > what I have been expecting...
>>>
>>> Were you running under X? The panic would have killed X, which
>>> wouldn't have released control over the video hardware.
>>>
>>> There's a SysRq sequence to get around this, but I don't remember it.
>>
>> Ctrl+Alt+
>>
>> R E I S U B
>>
>> (busier in reverse)
>>
>> After a E or I you should be back into a console, unless things are badly
>> screwed.
>
> Is that Ctrl+Alt+SysRq+(R E I S U B), or is the SysRq key not actually used?
Sysrq is definitely required :) Ctrl, on the other hand, is optional.
And AltGr may be substituted for Alt.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
2012-03-15 19:36 ` Paul Hartman
@ 2012-03-15 19:43 ` Mick
2012-03-15 19:45 ` Claudio Roberto França Pereira
1 sibling, 0 replies; 15+ messages in thread
From: Mick @ 2012-03-15 19:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1637 bytes --]
On Thursday 15 Mar 2012 19:36:16 Paul Hartman wrote:
> On Thu, Mar 15, 2012 at 2:25 PM, Michael Mol <mikemol@gmail.com> wrote:
> > On Thu, Mar 15, 2012 at 3:17 PM, Mick <michaelkintzios@gmail.com> wrote:
> >> On Thursday 15 Mar 2012 17:02:15 Michael Mol wrote:
> >>> On Thu, Mar 15, 2012 at 12:55 PM, Jarry <mr.jarry@gmail.com> wrote:
> >>> > On 14-Mar-12 19:41, ZHANG, Le wrote:
> >>> >> > So my question is: Can I somehow deliberately trigger
> >>> >> > "kernel panic" (or "kernel oops")?
> >>> >>
> >>> >> For panic, echo c > /proc/sysrq-trigger
> >>> >
> >>> > After I issued the above mentioned command, my system
> >>> > instantly "froze to death". Nothing changed on screen,
> >>> > no "kernel panic" or "Ooops" screen. Just frozen...
> >>> >
> >>> > No reaction to keyboard or mouse. No auto-reboot either.
> >>> > The only thing I could do is to press "Reset". Not exactly
> >>> > what I have been expecting...
> >>>
> >>> Were you running under X? The panic would have killed X, which
> >>> wouldn't have released control over the video hardware.
> >>>
> >>> There's a SysRq sequence to get around this, but I don't remember it.
> >>
> >> Ctrl+Alt+
> >>
> >> R E I S U B
> >>
> >> (busier in reverse)
> >>
> >> After a E or I you should be back into a console, unless things are
> >> badly screwed.
> >
> > Is that Ctrl+Alt+SysRq+(R E I S U B), or is the SysRq key not actually
> > used?
>
> Sysrq is definitely required :) Ctrl, on the other hand, is optional.
> And AltGr may be substituted for Alt.
Oops! yes, I meant to write SysRq ... sorry!
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
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
` (2 more replies)
1 sibling, 3 replies; 15+ messages in thread
From: Claudio Roberto França Pereira @ 2012-03-15 19:45 UTC (permalink / raw
To: gentoo-user
Just to be sure, r e i s u b may be input in low case, without shift, right?
Like hold Alt + SysRq and type r e i s u b then release Alt + SysRq?
^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-user] Re: How can I trigger kernel panic?
2012-03-15 19:45 ` Claudio Roberto França Pereira
@ 2012-03-15 19:51 ` Nikos Chantziaras
2012-03-15 20:35 ` [gentoo-user] " Paul Hartman
2012-03-16 12:03 ` Dale
2 siblings, 0 replies; 15+ messages in thread
From: Nikos Chantziaras @ 2012-03-15 19:51 UTC (permalink / raw
To: gentoo-user
On 15/03/12 21:45, Claudio Roberto França Pereira wrote:
> Just to be sure, r e i s u b may be input in low case, without shift, right?
>
> Like hold Alt + SysRq and type r e i s u b then release Alt + SysRq?
http://en.wikipedia.org/wiki/Magic_SysRq_key
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
2012-03-15 19:45 ` Claudio Roberto França Pereira
2012-03-15 19:51 ` [gentoo-user] " Nikos Chantziaras
@ 2012-03-15 20:35 ` Paul Hartman
2012-03-16 12:03 ` Dale
2 siblings, 0 replies; 15+ messages in thread
From: Paul Hartman @ 2012-03-15 20:35 UTC (permalink / raw
To: gentoo-user
On Thu, Mar 15, 2012 at 2:45 PM, Claudio Roberto França Pereira
<spideybr@gmail.com> wrote:
> Just to be sure, r e i s u b may be input in low case, without shift, right?
>
> Like hold Alt + SysRq and type r e i s u b then release Alt + SysRq?
>
correct! :)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
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
2 siblings, 0 replies; 15+ messages in thread
From: Dale @ 2012-03-16 12:03 UTC (permalink / raw
To: gentoo-user
Claudio Roberto França Pereira wrote:
> Just to be sure, r e i s u b may be input in low case, without shift, right?
>
> Like hold Alt + SysRq and type r e i s u b then release Alt + SysRq?
>
>
As the most experienced user of SysReq, that is correct. Thank hal for
all the experience too. That #$*%^ *$&%^#*$&% piece of software. I
hope udev follows that thing. ROFL
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!
Miss the compile output? Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] How can I trigger kernel panic?
2012-03-14 18:41 ` ZHANG, Le
2012-03-15 16:55 ` Jarry
@ 2012-03-17 4:41 ` Bruce Hill, Jr.
1 sibling, 0 replies; 15+ messages in thread
From: Bruce Hill, Jr. @ 2012-03-17 4:41 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2012-03-17 4:42 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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.
2012-03-14 18:48 ` Michael Orlitzky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox