Date: Sun, 27 Jul 2008 23:28:29 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_autoconf.c Message-ID: <200807272328.m6RNSbA4090987@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807272328.m6RNSbA4090987>
