GSmartControl & NVME drive

Bug #1929851 reported by psl
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gsmartcontrol (Ubuntu)
Confirmed
Undecided
Unassigned
udisks2 (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Ubuntu 18.04.5 (Linux Mint 19.3)
gsmartcontrol 1.1.3-1, amd64

I see that GSmartControl cannot work with NVME (SSD disk) correctly. I test with WD SN550 - 1TB, blue NVME drive.

Problem:
gsmartcontrol list my drive as /dev/nvme0n1. That is OK, but there is parent drive (/dev/nvme0) and that is not listed. /dev/nvme0 has some important information related to SMART, including value of TBW.

Other issue is that gsmartcontrol cannot identify NVME disk, it list it as "Unknown model".

I dump here output from GSmartControl and after that dump from tool smartctl.

=======================================================================
## gsmartcontrol (detail of /dev/nvme0n1 - 'Unknown model')

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 18:31:08 2021 CEST
Firmware Updates (0x14): 2 Slots, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL *Other*
Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat *Other*
Maximum Data Transfer Size: 128 Pages
Warning Comp. Temp. Threshold: 80 Celsius
Critical Comp. Temp. Threshold: 85 Celsius
Namespace 1 Features (0x02): NA_Fields

Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
 0 + 3.50W 2.90W - 0 0 0 0 0 0
 1 + 2.70W 1.80W - 0 0 0 0 0 0
 2 + 1.90W 1.50W - 0 0 0 0 0 0
 3 - 0.0200W - - 3 3 3 3 3900 11000
 4 - 0.0050W - - 4 4 4 4 5000 39000

Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
 0 + 512 0 2
 1 - 4096 0 1

=== START OF SMART DATA SECTION ===
Read NVMe SMART/Health Information failed: NVMe Status 0x4002

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

$ sudo smartctl -a /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 18:33:33 2021 CEST
Firmware Updates (0x14): 2 Slots, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL *Other*
Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat *Other*
Maximum Data Transfer Size: 128 Pages
Warning Comp. Temp. Threshold: 80 Celsius
Critical Comp. Temp. Threshold: 85 Celsius
Namespace 1 Features (0x02): NA_Fields

Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
 0 + 3.50W 2.90W - 0 0 0 0 0 0
 1 + 2.70W 1.80W - 0 0 0 0 0 0
 2 + 1.90W 1.50W - 0 0 0 0 0 0
 3 - 0.0200W - - 3 3 3 3 3900 11000
 4 - 0.0050W - - 4 4 4 4 5000 39000

Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
 0 + 512 0 2
 1 - 4096 0 1

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning: 0x00
Temperature: 41 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 0%
Data Units Read: 19 655 [10,0 GB]
Data Units Written: 1 953 526 [1,00 TB]
Host Read Commands: 136 955
Host Write Commands: 1 907 740
Controller Busy Time: 43
Power Cycles: 6
Power On Hours: 1
Unsafe Shutdowns: 2
Media and Data Integrity Errors: 0
Error Information Log Entries: 1
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0

Error Information (NVMe Log 0x01, max 256 entries)
No Errors Logged

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

$ sudo smartctl -a /dev/nvme0n1

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 18:34:03 2021 CEST
Firmware Updates (0x14): 2 Slots, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL *Other*
Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat *Other*
Maximum Data Transfer Size: 128 Pages
Warning Comp. Temp. Threshold: 80 Celsius
Critical Comp. Temp. Threshold: 85 Celsius
Namespace 1 Features (0x02): NA_Fields

Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
 0 + 3.50W 2.90W - 0 0 0 0 0 0
 1 + 2.70W 1.80W - 0 0 0 0 0 0
 2 + 1.90W 1.50W - 0 0 0 0 0 0
 3 - 0.0200W - - 3 3 3 3 3900 11000
 4 - 0.0050W - - 4 4 4 4 5000 39000

Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
 0 + 512 0 2
 1 - 4096 0 1

=== START OF SMART DATA SECTION ===
Read NVMe SMART/Health Information failed: NVMe Status 0x4002

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gsmartcontrol (Ubuntu):
status: New → Confirmed
Revision history for this message
saber716rus (79625490833-r) wrote :

I raised the issue in the upstream.

https://github.com/ashaduri/gsmartcontrol/issues/44

Revision history for this message
saber716rus (79625490833-r) wrote :

smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-73-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number: MSI M450 500GB
Serial Number: 511230216095001755
Firmware Version: EJFM32.1
PCI Vendor/Subsystem ID: 0x1987
IEEE OUI Identifier: 0x6479a7
Controller ID: 0
NVMe Version: 1.4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 500,107,862,016 [500 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 6479a7 754a306f71
Local Time is: Fri Jun 9 14:43:26 2023 MSK
Firmware Updates (0x12): 1 Slot, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x1e): Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Pers_Ev_Lg
Maximum Data Transfer Size: 64 Pages
Warning Comp. Temp. Threshold: 84 Celsius
Critical Comp. Temp. Threshold: 88 Celsius

Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
 0 + 5.00W - - 0 0 0 0 0 0
 1 + 2.40W - - 1 1 1 1 0 0
 2 + 1.92W - - 2 2 2 2 0 0
 3 - 0.0700W - - 3 3 3 3 1000 1000
 4 - 0.0050W - - 4 4 4 4 10000 40000

Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
 0 + 512 0 1
 1 - 4096 0 0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

Revision history for this message
saber716rus (79625490833-r) wrote :
Revision history for this message
saber716rus (79625490833-r) wrote :
no longer affects: udisks2 (Ubuntu)
Revision history for this message
saber716rus (79625490833-r) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you check with a udisk git master build as upstream requested?

Changed in udisks2 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
saber716rus (79625490833-r) wrote :

unfortunately, there is no way to get out of the master branch, but they released an upstream release with a bugfix.
https://github.com/storaged-project/udisks/issues/1121#issuecomment-1611711834

Revision history for this message
saber716rus (79625490833-r) wrote :

but before the release, a test version for the linux mint fork will be needed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.