[lkml]   [2010]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Provide ways of crashing the kernel through debugfs
On Tue, Jan 26, 2010 at 5:56 PM, Simon Kagstrom
<> wrote:
> For development and testing it's sometimes useful to crash or injure the
> kernel in various ways. This patch adds a debugfs interface to provoke
> null-pointer dereferences, stack corruption, panics, bugons etc. For
> example:
>  mount -t debugfs debugfs /mnt
>  echo 1 > /mnt/provoke-crash/null_dereference
> Signed-off-by: Simon Kagstrom <>
> ---
> Obviously this feature is for debugging and testing only, and of
> interest to fairly few people. I've used it for testing the kmsg_dump
> stuff (hence the CC:s above) and kdump, and have found it fairly useful.
> If it's not of interest, at least this mail will be in the archives if
> someone else needs something like it :-)

Hey, we already have /proc/sysrq-trigger, you need to state why
it is better than using /proc/sysrq-trigger.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2010-01-26 11:11    [W:0.043 / U:3.976 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site