Re: [gentoo-user] How can I trigger kernel panic?

2012-03-16 Thread Dale
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



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-16 Thread Bruce Hill, Jr.



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



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Jarry

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.



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Michael Mol
On Thu, Mar 15, 2012 at 12:55 PM, Jarry mr.ja...@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



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Mick
On Thursday 15 Mar 2012 17:02:15 Michael Mol wrote:
 On Thu, Mar 15, 2012 at 12:55 PM, Jarry mr.ja...@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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Michael Mol
On Thu, Mar 15, 2012 at 3:17 PM, Mick michaelkintz...@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.ja...@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



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Neil Bothwick
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?


signature.asc
Description: PGP signature


Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Paul Hartman
On Thu, Mar 15, 2012 at 2:25 PM, Michael Mol mike...@gmail.com wrote:
 On Thu, Mar 15, 2012 at 3:17 PM, Mick michaelkintz...@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.ja...@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.



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Mick
On Thursday 15 Mar 2012 19:36:16 Paul Hartman wrote:
 On Thu, Mar 15, 2012 at 2:25 PM, Michael Mol mike...@gmail.com wrote:
  On Thu, Mar 15, 2012 at 3:17 PM, Mick michaelkintz...@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.ja...@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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Claudio Roberto França Pereira
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?



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Paul Hartman
On Thu, Mar 15, 2012 at 2:45 PM, Claudio Roberto França Pereira
spide...@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! :)



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-14 Thread ZHANG, Le
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




 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


Re: [gentoo-user] How can I trigger kernel panic?

2012-03-14 Thread Michael Orlitzky
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.