hdparm and inappropriate ioctl for NVMe device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdparm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm working on a HP ProBook 640 G4 (https:/
Running `hdparm -tT /dev/nvme0n1` results in:
# hdparm -tT /dev/nvme0n1
/dev/nvme0n1:
Timing cached reads: 29318 MB in 1.99 seconds = 14752.57 MB/sec
HDIO_DRIVE_
Timing buffered disk reads: 8206 MB in 3.00 seconds = 2735.13 MB/sec
I believe hdparm should be able to communicate with the device since it uses a standard ATA interface. Reading through the web about the error, one source says the error is due to a down leve hdparm. Cf., https:/
Ubuntu supplies hdparm v9.58, but the latest is hdparm v9.62. hdparm v9.58 was released in October 2018, while hdparm v9.58 was released May 2021.
It may be a time to update hdparm.
-----
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
$ apt info hdparm
Package: hdparm
Version: 9.58+ds-4
Priority: standard
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-
Bugs: https:/
Installed-Size: 251 kB
Depends: libc6 (>= 2.14), lsb-base
Recommends: powermgmt-base
Homepage: http://
Task: standard
Download-Size: 94.8 kB
APT-Manual-
APT-Sources: http://
Description: tune hard disk parameters for high performance
Get/set device parameters for Linux SATA/IDE drives.