how to hard hang the kernel from userspace?

Daniel Walker danielwa at cisco.com
Fri Dec 8 10:03:26 EST 2017


On 12/07/2017 06:40 PM, valdis.kletnieks at vt.edu wrote:
> On Thu, 07 Dec 2017 15:12:15 -0800, Daniel Walker said:
>
>> So typically you have a process which updates the watchdog periodically
>> which I call a petting process. As I said the purpose is to trigger the
>> watchdog by starving the petting process (i.e. kick process) , then the
>> watchdog reboots the system.
> If you're doing the updating from userspace, a kill -9 will get the job done.
>

True, but that wasn't what I had in mind.. I was more interesting in 
simulating an actual lockup.


Daniel




More information about the Kernelnewbies mailing list