#[IRRELEVANT] HDD control: SG_IO: bad/missing sense data

3 messages · Page 1 of 1 (latest)

prisma violet
#

Some time ago I noticed that some menu items in gnome-disks became unavailable for all my HDDs. And it doesn't show the suspend state of HDDs(zzz icon) anymore. Also, hdparm -C /dev/sda command returns

/dev/sda:
SG_IO: bad/missing sense data, sb[]:  f0 00 01 00 50 40 ff 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 drive state is:  unknown

It was working fine before. Switching to LTS kernel didn't help. I tested it on debian 12, and there is no such problem.
However hdparm -y /dev/sda works, - the HDD goes to suspend mode, but with an similar error:

/dev/sda:
 issuing standby command
SG_IO: bad/missing sense data, sb[]:  f0 00 01 00 50 40 00 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
#

Output of hdparm /dev/sda (without params):

/dev/sda:
 multcount     =  0 (off)
 IO_support    =  1 (32-bit)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 243201/255/63, sectors = 3907029168, start = 0
prisma violet
#

It have been self-fixed recently