One of the last things the system does before it tries to mount root is
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 4 Feb 2005 02:57:20 +0000 (02:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 4 Feb 2005 02:57:20 +0000 (02:57 +0000)
commita1e26a0c4a66c6d461a479d664dbb00405874d15
tree98b157a468dd2e5e885d6db96adda37f1c1aa2c3
parented1bd994448e646571a71a23bcd79ff868334b01
One of the last things the system does before it tries to mount root is
wait for interrupt-driven configuration hooks to finish.  This is one of
the common places where the system locks up due to e.g. blown interrupt
routing.

Wait up to 60 seconds for interrupt driven hooks to complete.  Generate
a warning every 10 seconds listing the hooks that have not yet completed.
Name all the hook structures to make the listing meaningful.  After 60
seconds, give up and continue booting.  The system might actually
be useable enough to aid in debugging depending on which device failed.
12 files changed:
sys/bus/cam/cam_xpt.c
sys/dev/disk/ata/ata-all.c
sys/dev/disk/isp/isp_freebsd.c
sys/dev/raid/aac/aac.c
sys/dev/raid/amr/amr.c
sys/dev/raid/ips/ips_pci.c
sys/dev/raid/pst/pst-iop.c
sys/dev/raid/twa/twa_freebsd.c
sys/dev/raid/twe/twe_freebsd.c
sys/dev/sound/pci/ich.c
sys/kern/subr_autoconf.c
sys/sys/kernel.h