Sunday, November 22, 2015

Windows: Event ID 153: The IO operation at logical block address {block_address} for Disk 0 (PDO name: {device name/number}) was retried.

If you see an event logged with information similar to the following, you may or may not have a failing disk. I could be a bad driver, cable, or port on the motherboard or add-in card.  You may see sluggishness on access a drive or as I did Steam was having issues writing to a disk and was writing a about 900k instead of multiple megabytes as  expected.
The IO operation at logical block address 0x5d7a68 for Disk 0 (PDO name: \Device\00000032) was retried.

You can determine what command failed and the basic reason why from the Details tab on the event record. This applies to Windows 7 and newer. It may apply to Windows Vista and Windows XP as well. I did not have resources to verify.

At the time of writing, Windows 10 is current and the information below if from Windows 10 with the November 2015 update..

To get to the event viewer, right click on My Computer, Computer, This Computer, or This PC and select Manage. There are other ways of getting to the same location. I find this method easiest.






Under Computer Management, expand Windows Logs and select System.

 
Select a 153 event and then click on the Details tab. Note the disk number on the General tab as you will need it to find which disk is having the issue.

Refer to the graphic above. Make sure the Friendly View radio button is selected. In the In Bytes section, the second byte of line 0028: contains the SCSI command status, SRB status, and SCSI command code. SCSI command status indicates whether the command finished successfully from the drive or device driver perspective whether immediately or with retries. SRB status is the status of the request block used to track and initiate the command. The SCSI command code is the particular disk operation involved as a SCSI command. Even though in most cases the Storport or similar driver is in use (Microsoft provided), SCSI is used for the commands.

In the example above, the SCSI command status is 00 indicating the command did finally complete although it took at least one retry and thus the reason the event was logged. The SRB status of 04 indicates the request completed with any other error than standard errors, and SCSI command code of 8A is a WRITE(16).

  • SCSI command status codes can be found on Wikipedia:

    https://en.wikipedia.org/wiki/SCSI_Status_Code

    and the T10 documentation:

    http://www.t10.org/lists/2status.htm
  • SRB status codes can be found on MSDN:

    https://msdn.microsoft.com/en-us/library/dn721875.aspx?f=255&MSPPError=-2147217396
  • SCSI Operation Codes are found in the T10 documentation:

    http://www.t10.org/lists/op-alph.htm


What this means is a write of 16 bytes was sent to the drive and an OS provided driver timed out the command at least once but it finally completed with an error that is not known. The 04 status may indicate it could not determine if the command really completed even though the SCSI command status is good.

In this case, I was getting a lot of them on a Western Digital Green drive where Steam was installed (to isolate my games from the rest of the system storage). Many IO operation errors occurred at various logical blocks on Disk 0. To determine which drive, click on Disk Management in the Manage window and find the disk noted in the Event ID 153. In this case it was my Steam drive.

I have a good image backup so I restored to another drive and verified Steam works properly there. Every download in Steam or Steam disk write generates an event.

I formatted the drive and did a complete surface scan. No errors found but any programs or applications attempting writes trigger the event. New firmware is not available for the drive and I have another like it running the same version of drivers. Time to replace the drive.

2 comments:

  1. This didn't help me but it is interesting! I will be taking mine in to see the doctor. Hoping its not the drive.

    ReplyDelete

Please be respectful and on topic. The proprietor of this BLOG reserves the right to remove comments found to be off topic, rude, harmful, or illegal (or for any reasonable reason).