Date: Wed, 30 Jun 2010 15:03:40 -0700 From: Xin LI <delphij@delphij.net> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no> Cc: freebsd-hackers@freebsd.org, Matthew Jacob <mj@feral.com> Subject: Re: Supermicro BIOS's watchdog feature? Message-ID: <4C2BBF3C.4070503@delphij.net> In-Reply-To: <86lj9wmbrz.fsf@ds4.des.no> References: <4C2B07F5.6030801@delphij.net> <4C2B4D35.8060903@feral.com> <86lj9wmbrz.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010/06/30 14:49, Dag-Erling Smørgrav wrote: > Matthew Jacob <mj@feral.com> writes: >> Xin LI <delphij@delphij.net> writes: >>> It seems that ICH10R's watchdog is supported by ichwd(4) but >>> Supermicro BIOS needs some special treatments which is beyond what >>> ichwd(4) and watchdogd(8) would do... >> What do mean "special" treatment? > > The watchdog timer can be disabled in hardware (by pulling the speaker > pin high during boot, IIRC). Even if it is enabled, it can be caught > and ignored by the SMM firmware. Some BIOSes have options to enable or > disable the watchdog timer, which I assume means that they flip a bit > that tells the firmware to either catch it or pass it through. > > Unfortunately, although it is possible for the ichwd driver to detect > programatically (by checking an MSR) if the watchdog timer is disabled > in hardware, it is not possible to determine whether it is disabled in > firmware. Hmm... Sorry I think I didn't described the behavior accurately. Currently if I enable the "Watch Dog" option in BIOS, the system reboots after ~5 mins regardless whether I have ichwd(4) and watchdogd(8) loaded. Looking at the boot -v output, ichwd would disable the watchdog and watchdogd would enable it, pat it as expected, but this won't stop the system from rebooting by the watchdog. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iQEcBAEBCAAGBQJMK788AAoJEATO+BI/yjfBPHkH/jWIZEX9/tmL50AgXzkfEEXU zNn+d2CAGA/+6wUt73aizKq1dk0eIz5ze9V+RR59cjJH4ftXLg2Tn34Ed2OYNTZZ JxFP7go4RIO1P5a3WIM6A8MVykUCIv+JhfXR3yG8Fy0h9DbmL2zwLPlqYPLBAXOK y+2DKYXqmA94qetPmrrm8b4WDRD9a7dwH26E+D8AslPJcABynjrdv0Ou8MLKC3g7 K+3YcgaCP2dowyy0gJzfNi2WTJyPmEtLsmFGzw14enP5tpDNU0t6yR4rkPbHkQSM 6BRF7gwZiAQoa4Az/S72RvjVR+OXehJGNNJLM6YRTH4fB2QiZ3YdmJ3WyeUE/TU= =EA7X -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C2BBF3C.4070503>