Bug 219144

Summary: smart information
Product: IO/Storage Reporter: Vladimir (vladimir2k9)
Component: Serial ATAAssignee: Tejun Heo (tj)
Status: RESOLVED ANSWERED    
Severity: normal CC: regressions, vladimyr0
Priority: P3    
Hardware: AMD   
OS: Linux   
Kernel Version: 6.10 Subsystem:
Regression: Yes Bisected commit-id: 28ab9769117ca944cb6eb537af5599aa436287a4

Description Vladimir 2024-08-09 15:19:36 UTC
after update to new kernel 6.10.3 smart information for sata drives not work. I cannot view temperature for all sata drives HDD and SSD. Also in programm gnome-disks there is no smart info
Comment 1 Artem S. Tashkinov 2024-08-10 19:38:29 UTC
If it's a kernel regression, please bisect.

https://docs.kernel.org/admin-guide/bug-bisect.html

I'm almost sure it's down to some user space upgrades that you've recently performed.
Comment 2 Vladimir 2024-08-11 04:32:35 UTC
It is difficult for me, I use precompiled kernel
Comment 3 Vladymir 2024-08-11 13:56:20 UTC
the same issue affected me too
Comment 4 The Linux kernel's regression tracker (Thorsten Leemhuis) 2024-08-12 09:28:55 UTC
This like is the same as https://lore.kernel.org/regressions/0bf3f2f0-0fc6-4ba5-a420-c0874ef82d64@heusel.eu/ and people are working on a fix;
Comment 5 Vladymir 2024-08-12 10:37:35 UTC
(In reply to The Linux kernel's regression tracker (Thorsten Leemhuis) from comment #4)
> This like is the same as
> https://lore.kernel.org/regressions/0bf3f2f0-0fc6-4ba5-a420-
> c0874ef82d64@heusel.eu/ and people are working on a fix;

is temperature being read via hdparm? 
I see this:
hdparm -h | grep temp
 -H   Read temperature from drive (Hitachi only)

and for my seagate drive hdparm shows temperature incorrectly. 

or do you mean, that before the temperature query, status check might return an error and thus no temp check was performed?

please also notice that Christian Heusel confirmed this issue on 6.11-rc2 while for me there was everything fine on 6.10.2 and the problem appeared only on 6.10.3 and 6.10.4 

also I have this problem in psensor app which asks temperature info via udisks2 (for sata drives). the data taken via lmsensor (nvme) still shown ok.
Comment 6 The Linux kernel's regression tracker (Thorsten Leemhuis) 2024-08-12 10:50:25 UTC
That temperature problem and the udisk aspect are mentioned in the thread and the commit that causes it was recently backported, so it's likely the same problem (but I might be wrong, not my area of expertise).
Comment 7 Vladimir 2024-08-12 12:30:50 UTC
also test on 6.11-rc2 and udisk cannot retrieve temperature on my system
Comment 8 Artem S. Tashkinov 2024-08-14 12:01:52 UTC
Should be fixed soon:

https://lore.kernel.org/linux-ide/20240812151517.1162241-2-cassel@kernel.org/