summaryrefslogtreecommitdiffstats
path: root/sys/cam/ata/ata_xpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cam/ata/ata_xpt.c')
-rw-r--r--sys/cam/ata/ata_xpt.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/cam/ata/ata_xpt.c b/sys/cam/ata/ata_xpt.c
index 584b75d..dadac0e 100644
--- a/sys/cam/ata/ata_xpt.c
+++ b/sys/cam/ata/ata_xpt.c
@@ -743,6 +743,16 @@ out:
goto noerror;
/*
+ * Some old WD SATA disks have broken SPINUP handling.
+ * If we really fail to spin up the disk, then there will be
+ * some media access errors later on, but at least we will
+ * have a device to interact with for recovery attempts.
+ */
+ } else if (softc->action == PROBE_SPINUP &&
+ status == CAM_ATA_STATUS_ERROR) {
+ goto noerror;
+
+ /*
* Some HP SATA disks report supported DMA Auto-Activation,
* but return ABORT on attempt to enable it.
*/
OpenPOWER on IntegriCloud