Public bug reported:

Ubuntu 18.04.5 (Linux Mint 19.3)
hddtemp 0.3-beta15-53, amd64

I see that hddtemp tool cannot work with NVMe (SSD disk).
I test with WD "Blue" SN550 - 1TB, NVMe drive.

$ sudo hddtemp /dev/nvme0
ERROR: /dev/nvme0: can't determine bus type (or this bus type is unknown)

$ sudo hddtemp /dev/nvme0n1 
ERROR: /dev/nvme0n1: can't determine bus type (or this bus type is unknown)


hddtemp can report temperature of my SATA drives:

$ sudo hddtemp /dev/sda /dev/sdb
/dev/sda: CHN-25SATAC3-120: 40°C
/dev/sdb: WDC WD5000AAKX-75U6AA0: 41°C

================================================

Utility `smartctl` reports temperature of NVMe drive:

$ sudo smartctl -iA /dev/nvme0
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-5.0.0-32-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       WDC WDS100T2B0C-00PXH0
Serial Number:                      2052FQSECRET
Firmware Version:                   211070WD
PCI Vendor/Subsystem ID:            0x15b7
IEEE OUI Identifier:                0x001b44
Total NVM Capacity:                 1 000 204 886 016 [1,00 TB]
Unallocated NVM Capacity:           0
Controller ID:                      1
Number of Namespaces:               1
Namespace 1 Size/Capacity:          1 000 204 886 016 [1,00 TB]
Namespace 1 Formatted LBA Size:     512
Local Time is:                      Thu May 27 19:37:08 2021 CEST

=== START OF SMART DATA SECTION ===
SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:                   0x00
Temperature:                        54 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    104 158 [53,3 GB]
Data Units Written:                 2 213 638 [1,13 TB]
Host Read Commands:                 455 476
Host Write Commands:                2 417 674
Controller Busy Time:               46
Power Cycles:                       6
Power On Hours:                     2
Unsafe Shutdowns:                   2
Media and Data Integrity Errors:    0
Error Information Log Entries:      1
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0

===============================================

** Affects: hddtemp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929856

Title:
  hddtemp doesn't work with NVMe drive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hddtemp/+bug/1929856/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to