I believe you can use simple helloworld kernel module and just dereference a null pointer
any where in your code that will give to kernel crash for analysis.
(Below is very beautiful article written by Rob Day that can be helpful...You don't have to change kernel.. : ) )
http://linux.com/learn/linux-training/26428-the-kernel-newbie-corner-loadable-kernel-modules-coming-and-going
HTH,
Regards,
Vipul.
On Mon, Jul 20, 2009 at 8:54 AM, H M Thalib <hmthalib@xxxxxxxxx> wrote:
I want to test my kernel for stability. Can you help me in artificially
simulating the kernel crash, kernel panic scenarios. Is there any
standard way to simulate it. maybe by running applications, scripts. but
I dont want to modify anything in the kernel space.
--
H M Thalib
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ