watchdog: how to enable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Please keep me in CC as I'm not subscribed to the list]

Hi All,

My kernel is built with the following options:

$ cat /boot/config-5.0.1 | grep NO_HZ
CONFIG_NO_HZ_COMMON=y
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_NO_HZ=y
CONFIG_RCU_FAST_NO_HZ=y

I booted with watchdog enabled(nmi_watchdog=1) as given below:

BOOT_IMAGE=/boot/vmlinuz-5.0.1
root=UUID=f65454ae-3f1d-4b9e-b4be-74a29becbe1e ro debug
ignore_loglevel console=ttyUSB0,115200 console=tty0 console=tty1
console=ttyS2,115200 memmap=1M!1023M nmi_watchdog=1
crashkernel=384M-:128M

When the system is frozen or the kernel is locked up(I noticed that in
this state kernel is not responding for ALT-SysRq-<command key>) but
watchdog is not triggered. So I want to understand how to enable the
watchdog timer and how to verify the basic watchdog functionality
behavior?

Any pointers on this will be greatly appreciated.

--
Thanks,
Sekhar



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux