Skip to main content
12 events
when toggle format what by license comment
Mar 22, 2015 at 19:29 comment added syntaxerror @MichaelMrozek Oh, inducing this by force can be a great technique for people who use the kernel in embedded applications. Think of copy-protection mechanisms, respectively people using counterfeit / illegally modified hardware. The whole thinking behind to me seems very 80s, though: it reminds me of CBM Amiga times when they caused the "Guru" to blink if some copy protection was bypassed in erroneous (i. e. amateurish) ways ;)
Jan 1, 2014 at 19:44 comment added user37607 Kernel panic can also be achieved by using sh as init and then typing exit.
Jan 1, 2014 at 19:03 answer added Erkin Alp Güney timeline score: 1
Aug 2, 2013 at 20:49 comment added Lekensteyn @derobert Dereferencing NULL will give an Oops which only ends up being a panic if the kernel is configured as such (CONFIG_PANIC_ON_OOPS=y). To trigger a panic... simply load a module that calls panic()!
Aug 2, 2013 at 20:39 answer added jsbillings timeline score: 0
Aug 2, 2013 at 20:32 comment added jsbillings the sysrq method does create a kernel crash, but you probably don't have anything set up to handle the crashdump, and you aren't looking at the console where the crash information is sent.
Aug 2, 2013 at 19:48 comment added derobert You could load a kernel module which immediately tries to dereference NULL. That should give a fairly safe kernel panic. Or you could just have the module call panic. A kernel panic isn't just one, solitary thing—its a whole range of errors. You're asking something similar to "is there some way I can make a program crash?"
Aug 2, 2013 at 18:59 vote accept tkbx
Aug 2, 2013 at 18:47 comment added tkbx @MichaelMrozek just to experiment. Although I imagine it could be useful to kernel developers.
Aug 2, 2013 at 18:47 answer added slm timeline score: 6
Aug 2, 2013 at 18:46 comment added Michael Mrozek Why would you need this?
Aug 2, 2013 at 18:39 history asked tkbx CC BY-SA 3.0