cvs commit: src/sys/kern subr_autoconf.c
Robert Watson
rwatson at FreeBSD.org
Sun Jul 27 23:28:42 UTC 2008
rwatson 2008-07-27 23:28:29 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern subr_autoconf.c
Log:
SVN rev 180855 on 2008-07-27 23:28:29Z by rwatson
Merge r180610, r180616, r180673 from head to stable/7:
Add DDB "show conifhk" command, which lists hooks currently waiting
for completion in run_interrupt_driven_config_hooks(). This is
helpful when trying to figure out which device drivers have gone
into la-la land during boot-time autoconfiguration.
Rather than simply waiting silently and indefinitely for all
interrupt-driven configuration handlers to complete, print out a
diagnostic message every 60 second indicating which handlers are
still running. Do this at most 5 times per run so as to avoid
scrolling out any useful information from the kernel message
buffer.
The interval of 60 seconds was selected based on a best guess as
to the nature of "long enough" and may want to be tuned higher
or lower depending on real-world tolerances.
If run_interrupt_driven_config_hooks() waits 360 seconds and INVARIANTS
is compiled into the kernel, then panic.
Discussed with: scottl
Revision Changes Path
1.23.2.3 +66 -2 src/sys/kern/subr_autoconf.c
More information about the cvs-src
mailing list