cvs commit: src/sys/kern subr_autoconf.c
rwatson 2008-07-27 23:28:29 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
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
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
126.96.36.199 +66 -2 src/sys/kern/subr_autoconf.c
Received on Sun Jul 27 2008 - 23:28:42 UTC