From owner-p4-projects Mon Jan 6 0: 9:36 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1DFC837B406; Mon, 6 Jan 2003 00:09:35 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA01837B401 for ; Mon, 6 Jan 2003 00:09:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEF1F43EB2 for ; Mon, 6 Jan 2003 00:09:33 -0800 (PST) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0689Xfh030757 for ; Mon, 6 Jan 2003 00:09:33 -0800 (PST) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0689XXt030754 for perforce@freebsd.org; Mon, 6 Jan 2003 00:09:33 -0800 (PST) Date: Mon, 6 Jan 2003 00:09:33 -0800 (PST) Message-Id: <200301060809.h0689XXt030754@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 23259 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=23259 Change 23259 by peter@peter_itanic2 on 2003/01/06 00:09:07 This gets pluto1.freebsd.org to reboot without locking up. It is amazing how the mpt driver finds it hard to issue a sync cache command to the driver after it has been reset by the device_shutdown method. Affected files ... .. //depot/projects/ia64/sys/cam/scsi/scsi_da.c#25 edit Differences ... ==== //depot/projects/ia64/sys/cam/scsi/scsi_da.c#25 (text+ko) ==== @@ -927,7 +927,7 @@ /* Register our shutdown event handler */ if ((EVENTHANDLER_REGISTER(shutdown_post_sync, dashutdown, - NULL, SHUTDOWN_PRI_DEFAULT)) == NULL) + NULL, SHUTDOWN_PRI_FIRST)) == NULL) printf("dainit: shutdown event registration failed!\n"); } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message