]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move dashutdown from SHUTDOWN_PRI_DEFAULT to SHUTDOWN_PRI_FIRST.
authorPeter Wemm <peter@FreeBSD.org>
Mon, 6 Jan 2003 08:28:15 +0000 (08:28 +0000)
committerPeter Wemm <peter@FreeBSD.org>
Mon, 6 Jan 2003 08:28:15 +0000 (08:28 +0000)
commit9bae481c37523007b14a8989816168809d33dd4d
tree59cb5553fb902d3ef27317d8782822548e9681a8
parent8b823408c63c4b96732fd45f1a94ec5317f1b3f9
Move dashutdown from SHUTDOWN_PRI_DEFAULT to SHUTDOWN_PRI_FIRST.
Otherwise, the scsi devices that it is trying to issue commands to may
have gone away.  This is what caused shutdown to hang on ia64 systems
with mpt scsi controllers.  The bus system has torn down the device tree
and reset the mpt controller etc, and suddenly along comes dashutdown
and wants to issue a few more scsi commands....  <HANG!>

This shouldn't work on i386 either, but it seems to work solely due
to luck.
sys/cam/scsi/scsi_da.c