hdparm: SG_IO: bad/missing sense data

tristank

Active Member
Apr 24, 2020
36
7
28
24
There is currently bug in the kernel which breaks tools like hdparm and hddtemp.

Code:
$ hdparm -y /dev/sdb


/dev/sdb:

 issuing standby command

SG_IO: bad/missing sense data, sb[]:  f0 00 01 00 50 00 00 0a 80 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

AFAICS, this has now been reverted upstream with fa0db8e56878 ("Revert
"ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error"")
in 6.11-rc4 and the revert was as well backported to stable releases
(5.15.165, 6.1.106, 6.6.47 and 6.10.6)
Source

Is there any way to backport the changes to the current stable kernel 6.8.12-2-pve or when will the fix be available in Proxmox?

Related links:

- https://forum.manjaro.org/t/lm-sens...t-showing-temperature-of-sata-drives/166492/7
- https://forums.unraid.net/bug-reports/stable-releases/61212-harddrives-cant-be-spun-down-r3191/
- https://forum.manjaro.org/t/lm-sens...t-showing-temperature-of-sata-drives/166492/7
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!