Thread (3 messages) 3 messages, 2 authors, 2013-12-14

Tool to test soft and hardlockups.

From: Valdis.Kletnieks at vt.edu <hidden>
Date: 2013-12-13 14:30:48

On Thu, 12 Dec 2013 16:45:32 -0800, Vipul Jain said:
I would like  to enable softlockup and hardlockup option in Linux kernel
and would like to test it to make sure that when soft and hard lockup
condition arises we do see kernel taking configured action. Hence was
wondering if there is any tool to do the same (basically injecting the
errors).
Build your kernel with CONFIG_BOOTPARAM_HARDLOCKUP_PANIC and/or
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC and then stick an infinite loop
somewhere in the kernel.  See lib/Kconfig.debug under 'Debug Lockups and Hangs'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131213/e430a78b/attachment.bin 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help