Disk "SMART Data" no more accessible since installation of kernel 6.10.3

Hello All,
Since the last upgrade of my f40 kernel to 6.10.3, I have no more access to the “SMART Data & Self-Tests” and “Drives Settings” in the disk utilities (the topics are greyed). The disk temperature also disappeared !

  • My local drives are traditional rotating drives WD (EXT4) and SEAGATE (NTFS) connected to SATA ports
  • Motherboard : ASUSTEK B650M-E WIFI
  • OS : Fedora Linux 40 (Workstation Edition) x86_64
  • Kernel : 6.10.3-200.fc40.x86_64

On the other hand, these topics (SMART, drive settings and temperature) are still accessible with removable disks (unless this disk has been formatted in EXT4).

Any idea ?
Thanks in advance.

Hello @meganeura and welcome.
Mh. I don’t think that it is related to the kernel version. In my case such option is grayed out also on 6.9.7
Are you sure that in the past it was available?
This finding is interesting: Gnome-disk-utility: “smart data & self tests” option greyed out, and there are many other reports searching the web.

Added gnome, gnome-disks

Hello @alciregi
Thanks for your quick reply ! Yes, I am pretty sure of it as I am looking at those data almost every day ; especially with those high temperatures :slight_smile:

It was perfectly operational with my previous kernel 6.9.12-200

Mh. Are you able to boot with such previous kernel? Maybe some other component was updated, just to exclude or confirm that the cause is the kernel.

The temperature sensors that are available on your system can be retrieved from console like this:

$ cat /sys/class/hwmon/hwmon*/name

ACAD
acpitz
BAT1
nvme
amdgpu
k10temp
mt7921_phy0

You can compare the output of that command on both kernels to see if anything changed.

Thanks @litemotiv

The command returns the following:
amdgpu
asus
k10temp
hidpp_battery_0

I am new to Linux and Fedora ! I still don’t know how to boot on another kernel … And I don’t want to break everything !

On first sight it appears there is no sensor for the harddisk detected on this kernel, the ones found are:

amdgpu → graphics card
asus → motherboard
k10temp → cpu
hidpp → battery

When you start up your computer, do you see a menu with a few options that automatically continues after a few seconds? That is the kernel selection where you can use the up/down arrows to select another kernel.

You won’t have to worry about messing anything up there, when you restart the computer it will automatically select the top entry again (the newest kernel, currently 6.10.3)

No, I don’t see any menu when I boot my computer (only “Fedora” at the very bottom of the screen and the rotating arrow). Is there any “short key” to make it appear ?

Yes usually you can force the menu to show up by either holding the shift key when the computer starts up, or alternatively by pressing the esc key.

It believe the key it responds to depends on the type of motherboard/bios that is in the computer, i am not super familiar with this myself since i always have the menu visible.

Or when you click on restart and the confirmation spoke appears, press the Alt keystroke on the keyboard. Restart become Boot options; during the reboot a menu should appear offering to boot with a previous kernel version.
scr
(Sorry for the bad quality of the video).

2 Likes

Thank you very much Alessio and Olivier ! I didn’t know these tricks.
I just rebooted my computer to kernel 6.9.12-200 and yes, the SMART data and drive settings are now accessible:

1 Like

Excellent, that means it’s a so called “regression” bug, something that used to work before but stopped working. Usually these types of bugs are caught quite quickly and the following kernel update(s) will bring a fix. In case it doesn’t get fixed quickly, we can file a bugreport for it so that developers can have a look at the problem.

Can you perhaps run that command once more to see what the name is of the harddrive temperature sensor that is now available?

1 Like

I get exactly the same as before:

amdgpu
k10temp
asus
hidpp_battery_0

That’s interesting, then there must be another kernel driver providing additional information from another location.

Well it’s not really important right now, the most important part is that you got it working again and you know the kernel number that has the working version. If a developer needs to look at it later they will know how to dig deeper for clues. :+1:

1 Like

Thanks again, Alessio and Olivier, for your help !

2 Likes

I’m not sure, but this is valid if you are looking for nvme devices. If you have a sata drive it looks like you have to load a specific module: https://www.baeldung.com/linux/hdd-ssd-temperature#read-temperature-without-installing-any-package

@meganeura in addition you could try smartmoontools from the command line in order to see if it is affected as well
sudo dnf in smartmontools
sudo smartctl -i /dev/sda
sudo smartctl -H /dev/sda

That’s possible yes, perhaps the only option with sata is to read the temperature out using a s.m.a.r.t. module. I’m not sure either…

I tried with smartmontools, but there is no difference with the results:

With kernel 6.9.12-200

smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.9.12-200.fc40.x86_64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Hitachi/HGST Ultrastar 7K2
Device Model: HGST HUS722T1TALA604
Serial Number: xxxx
LU WWN Device Id: xxxx
Firmware Version: RAGNWA09
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5528
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Aug 14 23:06:34 2024 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

With kernel 6.10.3-200

smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.10.3-200.fc40.x86_64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Hitachi/HGST Ultrastar 7K2
Device Model: HGST HUS722T1TALA604
Serial Number: xxxx
LU WWN Device Id: xxxx
Firmware Version: RAGNWA09
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5528
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Aug 14 23:12:59 2024 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

And yes, the temperature can be read from the SMART data.

Hi, you’re hitting this bug which should be fixed in the next kernel update.

4 Likes