Project

General

Profile

Bug #38545

Avoid further CAM retries when drive asks for a recovery action which fails

Added by Alexander Motin 11 months ago. Updated 11 months ago.

Status:
Done
Priority:
No priority
Assignee:
Alexander Motin
Category:
Hardware
Target version:
Seen in:
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

While original error in this example does not imply retries, due to use of recovery actions ones are happening, taking additional time:

(da0:mpr0:0:25:0): MODE SENSE(6). CDB: 1a 00 3f 00 c0 00 
(da0:mpr0:0:25:0): SERVICE ACTION IN(16). CDB: 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 
(da0:mpr0:0:25:0): SERVICE ACTION IN(16). CDB: 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 
(da0:mpr0:0:25:0): CAM status: SCSI Status Error
(da0:mpr0:0:25:0): SCSI status: Check Condition
(da0:mpr0:0:25:0): SCSI sense: NOT READY asc:4,2 (Logical unit not ready, initializing command required)
(da0:mpr0:0:25:0): Field Replaceable Unit: 0
(da0:mpr0:0:25:0): Descriptor 0x80: f5 03
(da0:mpr0:0:25:0): Attempting to start unit
(da0:mpr0:0:25:0): START STOP UNIT. CDB: 1b 00 00 00 01 00 
(da0:mpr0:0:25:0): START STOP UNIT. CDB: 1b 00 00 00 01 00 
(da0:mpr0:0:25:0): CAM status: SCSI Status Error
(da0:mpr0:0:25:0): SCSI status: Check Condition
(da0:mpr0:0:25:0): SCSI sense: HARDWARE FAILURE asc:44,0 (Internal target failure)
(da0:mpr0:0:25:0): Field Replaceable Unit: 0
(da0:mpr0:0:25:0): Descriptor 0x80: f4 94
(da0:mpr0:0:25:0): Error 5, Unretryable error
(da0:mpr0:0:25:0): SERVICE ACTION IN(16). CDB: 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 
(da0:mpr0:0:25:0): SERVICE ACTION IN(16). CDB: 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 
(da0:mpr0:0:25:0): CAM status: SCSI Status Error
(da0:mpr0:0:25:0): SCSI status: Check Condition
(da0:mpr0:0:25:0): SCSI sense: NOT READY asc:4,2 (Logical unit not ready, initializing command required)
(da0:mpr0:0:25:0): Field Replaceable Unit: 0
(da0:mpr0:0:25:0): Descriptor 0x80: f5 03
(da0:mpr0:0:25:0): Attempting to start unit
(da0:mpr0:0:25:0): START STOP UNIT. CDB: 1b 00 00 00 01 00 
(da0:mpr0:0:25:0): START STOP UNIT. CDB: 1b 00 00 00 01 00 
(da0:mpr0:0:25:0): CAM status: SCSI Status Error
(da0:mpr0:0:25:0): SCSI status: Check Condition
(da0:mpr0:0:25:0): SCSI sense: HARDWARE FAILURE asc:44,0 (Internal target failure)
(da0:mpr0:0:25:0): Field Replaceable Unit: 0
(da0:mpr0:0:25:0): Descriptor 0x80: f4 94
(da0:mpr0:0:25:0): Error 5, Unretryable error
(da0:mpr0:0:25:0): SERVICE ACTION IN(16). CDB: 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 
(da0:mpr0:0:25:0): SERVICE ACTION IN(16). CDB: 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 
(da0:mpr0:0:25:0): CAM status: SCSI Status Error
(da0:mpr0:0:25:0): SCSI status: Check Condition
(da0:mpr0:0:25:0): SCSI sense: NOT READY asc:4,2 (Logical unit not ready, initializing command required)
(da0:mpr0:0:25:0): Field Replaceable Unit: 0
(da0:mpr0:0:25:0): Descriptor 0x80: f5 03
(da0:mpr0:0:25:0): Attempting to start unit

History

#1 Updated by Alexander Motin 11 months ago

  • Status changed from Unscreened to Screened

#2 Updated by Alexander Motin 11 months ago

  • Status changed from Screened to Ready for Testing
  • Target version changed from Backlog to 11.2-BETA2
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Commit 8a91181bc2f7 should reduce time of device open for writing from ~12 seconds to ~3. Testing requires the damaged disks, so I'll test it when image with this patch get built.

#3 Updated by Alexander Motin 11 months ago

Thinking again, if somebody wish to test this on real M- and Z-series -- please pass by me to get the disks and some guides.

#4 Updated by Dru Lavigne 11 months ago

  • Subject changed from Avoid further CAM retries when drive asks recovery action, but it fails hard. to Avoid further CAM retries when drive asks for a recovery action which fails

#5 Updated by Paul Walker 11 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

This is working as expected now.

#6 Updated by Dru Lavigne 11 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF