Debian: dmesg USB disk DID_ERROR/DRIVER_SENSE

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....

Debian: dmesg USB disk DID_ERROR/DRIVER_SENSE

Postby ^rooker » Thu Apr 11, 2019 12:46 am

[PROBLEM]

On Debian 8.6 (Jessie), I get the following error messages in syslog/dmesg:
[Fri Apr 5 20:26:22 2019] sd 9:0:0:0: [sdh] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[Fri Apr 5 20:26:22 2019] sd 9:0:0:0: [sdh] tag#0 Sense Key : Hardware Error [current] [descriptor]
[Fri Apr 5 20:26:22 2019] sd 9:0:0:0: [sdh] tag#0 Add. Sense: No additional sense information
[Fri Apr 5 20:26:22 2019] sd 9:0:0:0: [sdh] tag#0 CDB: ATA command pass through(16) 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00
[Fri Apr 5 20:26:22 2019] sd 9:0:0:0: [sdh] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[Fri Apr 5 20:26:22 2019] sd 9:0:0:0: [sdh] tag#0 Sense Key : Hardware Error [current] [descriptor]
[Fri Apr 5 20:26:22 2019] sd 9:0:0:0: [sdh] tag#0 Add. Sense: No additional sense information
[Fri Apr 5 20:26:22 2019] sd 9:0:0:0: [sdh] tag#0 CDB: ATA command pass through(16) 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00


At first my heart stopped, as these are external USB harddrives used for backups! :shock:
...but there's a time pattern:
The message appears every hour at 26/56 minutes

[SOLUTION]
Then I found this answer by Colin Ian King:

I believe from what I understand from this fix and the errors being seen is that ATA pass-through commands with opcodes 0x85 "ATA command pass through(16)" and 0xa1 "ATA command pass through(12)/Blank" are being now (possibly erroneously) issued and hence causing these error messages.

Looking at the ATA pass-through command data, it looks like a SMART (Self-Monitoring, Analysis and Reporting Technology) ATA command is being issued (command code 0xb0), I'm speculating perhaps this H/W is not able to handle this.


My kernel's version is:
Linux 4.4.19-1-pve #1 SMP Wed Sep 14 14:33:50 CEST 2016 x86_64 GNU/Linux


I'm going to update this system soon to Debian 9 (Stretch) anyways, and I'll report if the error messages are gone with a more recent kernel.
Thanks Colin for saving me from a heart attack :D
  • 0

Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
User avatar
^rooker
Site Admin
 
Posts: 1449
Joined: Fri Aug 29, 2003 8:39 pm
Reputation: 0

Return to Knowledge Base

Who is online

Users browsing this forum: No registered users and 1 guest

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: No registered users and 15 guests

cron
Reputation System ©'