From: danielwa@cisco.com (Daniel Walker) Date: Fri, 8 Dec 2017 07:03:26 -0800 Subject: how to hard hang the kernel from userspace? In-Reply-To: <28195.1512700833@turing-police.cc.vt.edu> References: <2eb99417-bcd2-70e5-bb94-2dd68abd4f13@cisco.com> <11103.1512661767@turing-police.cc.vt.edu> <296f1e4e-7d27-0d7c-aed6-fc21a57e9d23@cisco.com> <28195.1512700833@turing-police.cc.vt.edu> Message-ID: <86e31b27-8e0b-e2e3-0fe5-66205705b4ae@cisco.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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