Page MenuHomeFreeBSD

ichwd: Don't disable watchdog when rebooting
AbandonedPublic

Authored by jhibbits on Dec 12 2025, 6:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 18, 9:49 PM
Unknown Object (File)
Mon, Jul 13, 8:29 PM
Unknown Object (File)
Mon, Jul 13, 8:29 PM
Unknown Object (File)
Sun, Jul 12, 4:42 AM
Unknown Object (File)
Sun, Jul 12, 2:33 AM
Unknown Object (File)
Fri, Jul 3, 7:29 AM
Unknown Object (File)
Thu, Jul 2, 8:26 AM
Unknown Object (File)
Tue, Jun 30, 12:23 PM
Subscribers

Details

Reviewers
avg
kib
imp
Summary

The ichwd driver shares ichwd_detach for both detach and shutdown, since
some operations are necessary in both cases. However, this causes the
watchdog to be disabled for shutdown/reboot, so any problems during the
reboot process could hang until manual intervention. To fix this, keep
the shared handler, but only disable the watchdog when not rebooting.

Sponsored by: Hewlett-Packard Enterprise

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69215
Build 66098: arc lint + arc unit

Event Timeline

I think users must have ability to get back to the previous behavior. Might be add a sysctl to tweak it.

rebooting != rebooting, but rather 'going through shutdown path'.