How can I activate nmi_watchdog?

Hello,

I have seen this article. I need to have nmi_watchdog active.

I used something like echo 1 > /proc/sys/kernel/nmi_watchdog and like sysctl kernel.nmi_watchdog=1
but it doesn’t work for me

Do I have missed something?

nmi_watchdog kernel parameter has to be added to the defargs environment variable in u-boot. It needs to be nmi_watchdog=1.

Hello,
it doesn’t work for me.

root@imx6-colibri:~# cat /proc/interrupts 
           CPU0       
 16:       1249       GPC  55 Level     i.MX Timer Tick
 18:          0       GPC  20 Level     snvs-secvio
 23:          2       GPC  34 Level     2014000.ecspi
 24:        529       GPC  26 Level     2020000.serial
 75:          0  gpio-mxc   5 Edge      2190000.usdhc cd
 92:          0  gpio-mxc  22 Edge      Wake-Up
226:          0  gpio-mxc  20 Level     stmpe
252:          0  gpio-mxc  12 Edge      usbc_det
272:          0       GPC  80 Level     20bc000.wdog
275:          0       GPC  49 Level     imx_thermal
280:          0       GPC  19 Level     rtc alarm
285:          0       GPC   2 Level     sdma
287:          0       GPC  43 Level     2184000.usb
288:          0       GPC  40 Level     2184200.usb
289:        233       GPC 118 Level     2188000.ethernet
290:          0       GPC 119 Level     2188000.ethernet
291:       2861       GPC  22 Level     mmc1
292:        330       GPC  24 Level     mmc0
293:        214       GPC  37 Level     21a4000.i2c
294:          1       GPC  38 Level     21a8000.i2c
297:          0       GPC  27 Level     21e8000.serial
298:          0       GPC  28 Level     21ec000.serial
301:          0       GPC 107 Level     mmdc_1
306:          0     stmpe   1 Edge      stmpe-ts
307:          0     stmpe   5 Edge      stmpe-adc
308:          0     stmpe   6 Edge      stmpe-adc
309:          2       GIC 137 Level     2101000.jr0
310:          0       GIC 138 Level     2102000.jr1
IPI0:          0  CPU wakeup interrupts
IPI1:          0  Timer broadcast interrupts
IPI2:          0  Rescheduling interrupts
IPI3:          0  Function call interrupts
IPI4:          0  Single function call interrupts
IPI5:          0  CPU stop interrupts
IPI6:          0  IRQ work interrupts
IPI7:          0  completion interrupts
Err:          0

No answer? @sanchayan.tx

I have added nmi_watchdog=1 to uboot env. as i know the nmi_watchdog should shown under cat /proc/interrupts

Am currently checking this at my end.

Sorry but I could not find much information on this online in any of the documentation or from my testing. The kernel parameter note here and here perhaps points to the fact that this is only available for x86.