From: valdis.kletnieks@vt.edu (valdis.kletnieks at vt.edu) Date: Thu, 07 Dec 2017 10:49:27 -0500 Subject: how to hard hang the kernel from userspace? In-Reply-To: <2eb99417-bcd2-70e5-bb94-2dd68abd4f13@cisco.com> References: <2eb99417-bcd2-70e5-bb94-2dd68abd4f13@cisco.com> Message-ID: <11103.1512661767@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, 06 Dec 2017 16:32:26 -0800, Daniel Walker said: > and it works sometimes on UP, but it doesn't work on SMP. I also tried Thinking about *why* that hangs a UP should explain why it doesn't work on SMP. > adding in "taskset" to pin multiple version of the "yes" command to each > cpu in the system, but that just resulted in lots of rcu warnings. That's.... unexpected. > The goal is to make the watchdog trigger by starving out the watchdog > petting process. Anyone have any ideas? I'd rather not make a kernel module. What are you trying to achieve by doing that? Have you tried just pointing a 'kill -9' at the watchdog monitor process? Are you using in-kernel watchdogd, or one in userspace? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 486 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171207/ec60fe15/attachment.bin