svn commit: r341769 - head/sys/cam/scsi

Warner Losh imp at FreeBSD.org
Sun Dec 9 21:37:35 UTC 2018


Author: imp
Date: Sun Dec  9 21:37:34 2018
New Revision: 341769
URL: https://svnweb.freebsd.org/changeset/base/341769

Log:
  Send a START UNIT command when a disk responds with an ASC of 04/1C.
  This will hopefully spin up a disk that's in low-power mode.
  
  Sponsored by: Netflix
  Submitted by: scottl@

Modified:
  head/sys/cam/scsi/scsi_all.c

Modified: head/sys/cam/scsi/scsi_all.c
==============================================================================
--- head/sys/cam/scsi/scsi_all.c	Sun Dec  9 21:11:15 2018	(r341768)
+++ head/sys/cam/scsi/scsi_all.c	Sun Dec  9 21:37:34 2018	(r341769)
@@ -1165,7 +1165,7 @@ static struct asc_table_entry asc_table[] = {
 	{ SST(0x04, 0x1B, SS_RDEF,	/* XXX TBD */
 	    "Logical unit not ready, sanitize in progress") },
 	/* DT     MAEB    */
-	{ SST(0x04, 0x1C, SS_RDEF,	/* XXX TBD */
+	{ SST(0x04, 0x1C, SS_START | SSQ_DECREMENT_COUNT | ENXIO,
 	    "Logical unit not ready, additional power use not yet granted") },
 	/* D              */
 	{ SST(0x04, 0x1D, SS_RDEF,	/* XXX TBD */


More information about the svn-src-all mailing list