svn commit: r350706 - stable/12/sys/cam/scsi
Alexander Motin
mav at FreeBSD.org
Thu Aug 8 00:22:16 UTC 2019
Author: mav
Date: Thu Aug 8 00:22:15 2019
New Revision: 350706
URL: https://svnweb.freebsd.org/changeset/base/350706
Log:
MFC r341769 (by imp):
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.
Modified:
stable/12/sys/cam/scsi/scsi_all.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/cam/scsi/scsi_all.c
==============================================================================
--- stable/12/sys/cam/scsi/scsi_all.c Thu Aug 8 00:19:45 2019 (r350705)
+++ stable/12/sys/cam/scsi/scsi_all.c Thu Aug 8 00:22:15 2019 (r350706)
@@ -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-stable
mailing list