Systemd shutdown fails to set the Intel TCO watchdog timeout to 10 minutes, resulting in a kernel panic on RHEL9.8

Solution Verified - Updated -

Issue

  • A system running RHEL-9.8 with kernel 5.14.0-687.31.1.el9_8 or later and the Intel TCO watchdog enabled may encounter a kernel panic during a normal reboot or shutdown.
  • The following messages are reported during shutdown:
[82342.886646] watchdog: watchdog0: watchdog did not stop!
[82342.889572] systemd-shutdown[1]: Using hardware watchdog 'iTCO_wdt', version 6, device /dev/watchdog0
[82342.889709] systemd-shutdown[1]: Failed to set timeout to 10min: Invalid argument
[82342.890097] systemd-shutdown[1]: Failed to disable hardware watchdog, ignoring: Operation not permitted
[82342.890504] watchdog: watchdog0: watchdog did not stop!
...
[82372.890758] Kernel panic - not syncing: watchdog pretimeout event
[82372.898239] CPU: 15 PID: 0 Comm: swapper/15 Kdump: loaded Tainted: GS --------- 5.14.0-687.41.1.el9_8.x86_64 #1
[82372.912729] Hardware name: Dell Inc. PowerEdge R770/03TJR3, BIOS 0.5.66 04/01/2025
[82372.922037] Call Trace:
[82372.925057]  <IRQ>
[82372.927581]  dump_stack_lvl+0x33/0x50
[82372.932102]  vpanic+0x129/0x2f0
[82372.936008]  ? __pfx_watchdog_hrtimer_pretimeout+0x10/0x10
[82372.942742]  panic+0x58/0x60
[82372.946295]  pretimeout_panic+0x11/0x20
[82372.951036]  watchdog_notify_pretimeout+0x2c/0x50
[82372.956835]  watchdog_hrtimer_pretimeout+0x11/0x20
[82372.962750]  __hrtimer_run_queues+0x10f/0x2b0
[82372.968139]  hrtimer_interrupt+0xff/0x240
[82372.973067]  __sysvec_apic_timer_interrupt+0x51/0x120
[82372.979307]  sysvec_apic_timer_interrupt+0x6d/0x90
[82372.985189]  </IRQ>
[82372.987780]  <TASK>
[82372.990398]  asm_sysvec_apic_timer_interrupt+0x16/0x20
[82372.996719] RIP: 0010:acpi_safe_halt+0x1a/0x20

Environment

  • Red Hat Enterprise Linux 9.8
  • Kernel: 5.14.0-687.31.1.el9_8 or later
  • Intel TCO Watchdog Timer Driver (iTCO_wdt)
  • systemd with the default RebootWatchdogSec=10min

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content