freebsd-nq/sys/conf
Robert Watson a632deec30 Add an "options MP_WATCHDOG" to i386. This option allows one of the
logical CPUs on a system to be used as a dedicated watchdog to cause a
drop to the debugger and/or generate an NMI to the boot processor if
the kernel ceases to respond.  A sysctl enables the watchdog running
out of the processor's idle thread; a callout is launched to reset a
timer in the watchdog.  If the callout fails to reset the timer for ten
seconds, the watchdog will fire.  The sysctl allows you to select which
CPU will run the watchdog.

A sample "debug.leak_schedlock" is included, which causes a sysctl to
spin holding sched_lock in order to trigger the watchdog.  On my Xeons,
the watchdog is able to detect this failure mode and break into the
debugger, which cannot otherwise be done without an NMI button.

This option does not currently work with sched_ule due to ule's push
notion of scheduling, similar to machdep.hlt_logical_cpus failing to
work with that scheduler.

On face value, this might seem somewhat inefficient, but there are a
lot of dual-processor Xeons with HTT around, so using one as a watchdog
for testing is not as inefficient as one might fear.
2004-08-15 18:02:09 +00:00
..
defines
files Add geom_uzip -- geom class that implements read-only compressed disks. 2004-08-13 09:40:58 +00:00
files.alpha Break out the MI part of the /dev/[k]mem and /dev/io drivers into 2004-08-01 11:40:54 +00:00
files.amd64 Oops. Didn't commit this as part of the mem module fix. 2004-08-04 20:49:43 +00:00
files.arm Remove libkern/mem* 2004-05-14 23:42:54 +00:00
files.i386 Add an "options MP_WATCHDOG" to i386. This option allows one of the 2004-08-15 18:02:09 +00:00
files.ia64 Break out the MI part of the /dev/[k]mem and /dev/io drivers into 2004-08-01 11:40:54 +00:00
files.pc98 MFi386: revision 1.502. 2004-08-05 13:00:11 +00:00
files.powerpc - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
files.sparc64 sio(4), which never really worked on sparc64, was removed in favour of 2004-08-15 00:10:59 +00:00
kern.mk Define INLINE_LIMIT for arm. 2004-05-14 13:35:46 +00:00
kern.post.mk We don't need GEN_M_CFILES. Fold it into GEN_CFILES definition and 2004-06-27 23:03:43 +00:00
kern.pre.mk Removed COPTS support from kmod.mk and kern.pre.mk. 2004-08-13 14:30:26 +00:00
kmod_syms.awk Our awk does not implement the ARGIND variable, so we were attempting 2002-08-06 19:31:04 +00:00
kmod.mk Add sparc64/pci/ofw_pci_if.m to the list of MFILES so modules can use 2004-08-14 23:53:04 +00:00
ldscript.alpha Don't override the standard SYSTEM_LD setting from kern.pre.mk. 2004-02-13 12:28:53 +00:00
ldscript.amd64 Provide the _start_ctors and _stop_ctors symbols. As on i386, the addresses 2004-05-29 01:09:00 +00:00
ldscript.arm Add config magic for arm. 2004-05-14 11:49:40 +00:00
ldscript.i386 Align the .ctors section correctly. 2003-12-03 07:40:03 +00:00
ldscript.ia64 Fix the following error: 2004-06-20 22:32:19 +00:00
ldscript.powerpc
ldscript.sparc64 Use the same SEARCH_DIR as other platforms. 2003-06-07 18:23:50 +00:00
majors 1. Spell Cronyx Sigma-ISA and Cronyx Tau-ISA correctly. 2004-05-05 13:09:11 +00:00
majors.awk Add necessary awk magic to create a table of major numbers allocated 2003-02-27 08:52:11 +00:00
Makefile.alpha Change required config(8) version. 2004-05-09 22:29:38 +00:00
Makefile.amd64 Change required config(8) version. 2004-05-09 22:29:38 +00:00
Makefile.arm Add config magic for arm. 2004-05-14 11:49:40 +00:00
Makefile.i386 Change required config(8) version. 2004-05-09 22:29:38 +00:00
Makefile.ia64 Change required config(8) version. 2004-05-09 22:29:38 +00:00
Makefile.pc98 Change required config(8) version. 2004-05-09 22:29:38 +00:00
Makefile.powerpc Removed COPTS support from kmod.mk and kern.pre.mk. 2004-08-13 14:30:26 +00:00
Makefile.sparc64 Change required config(8) version. 2004-05-09 22:29:38 +00:00
makeLINT.mk Implemented "nooption" and "nomakeoption" config(8) tokens. 2003-02-26 23:36:59 +00:00
makeLINT.sed Implemented "nooption" and "nomakeoption" config(8) tokens. 2003-02-26 23:36:59 +00:00
newvers.sh When building a kernel or the loader, let the hostname be overridden 2004-07-01 06:40:12 +00:00
NOTES Add hme(4) here now that it's MI. 2004-08-14 22:38:50 +00:00
options Get rid of the RANDOM_IP_ID option and make it a sysctl. NetBSD 2004-08-14 15:32:40 +00:00
options.alpha Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
options.amd64 MFp4: comment out options that don't exist so that they cannot be 2004-03-13 22:16:34 +00:00
options.arm Add config magic for arm. 2004-05-14 11:49:40 +00:00
options.i386 Add an "options MP_WATCHDOG" to i386. This option allows one of the 2004-08-15 18:02:09 +00:00
options.ia64 Add LOG2_ID_PAGE_SIZE to the mix of options on ia64. 2003-09-09 18:30:20 +00:00
options.pc98 MFi386: Add NETGRAPH_CRONYX. 2004-05-18 11:56:24 +00:00
options.powerpc Catch up with sparc64 OFWCONS_POLL_HZ change 2004-06-25 13:44:34 +00:00
options.sparc64 Better OFW console support on Sun Ultra2 machines. 2004-06-24 02:57:11 +00:00
systags.sh Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00