Eliot Moss via Cygwin wrote:
On 5/20/2025 9:44 AM, Christian Franke via Cygwin wrote:
Eliot Moss via Cygwin wrote:
On 5/20/2025 4:50 AM, Christian Franke via Cygwin wrote:
Eliot Moss via Cygwin wrote:
On 5/19/2025 9:14 AM, Christian Franke wrote:
The following package has been uploaded to the Cygwin distribution:

* smartmontools-7.5-1

Thank you for this!  It works fine on an attached HDD, but with my built-in NVMe, I get this, in response to /usr/sbin/smartctl -r ioctl,2 -i /dev/sda

smartctl 7.5 2025-04-30 r5714 [x86_64-pc-cygwin-w11-24H2] (cygwin-7.5-1) Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

 \\.\PhysicalDrive0: successfully opened
  IOCTL_STORAGE_QUERY_PROPERTY returns:
    Vendor:   "NVMe"
    Product:  "KXG80ZN84T09 NVMe KIOXIA 4096GB"
    Revision: "11304103"
    Removable: No
    BusType:   0x11
  \\.\PhysicalDrive0: successfully opened
 [NVMe call: opcode=0x06, size=0x1000, nsid=0x00000000, cdw10=0x00000001]   [STORAGE_QUERY_PROPERTY: Id=49, Type=1, Value=0x00000001, SubVal=0x00000000]   [STORAGE_QUERY_PROPERTY: ReturnData=0x00000000, Reserved[3]={0x0, 0x0, 0x0}]
 [Duration: 0.000109s]
 [NVMe call failed: IOCTL_STORAGE_QUERY_PROPERTY(NVMe) failed, Error=1] Read NVMe Identify Controller failed: IOCTL_STORAGE_QUERY_PROPERTY(NVMe) failed, Error=1



Which NVMe driver is used according to devmgmt.msc?

It's the Microsoft system disk driver 10.0.26100.3912 from 6/21/2006,
at least that's what the devmgmt.msc device manager shows for the drive.
Is that informative?  :-)

AFAIK this is a generic protocol independent disk driver which sits on top
of the protocol specific drivers.

Is there another driver listed in the "Storage Controller" section? In
particular one with "NVMe" or "Intel RST VMD" in its name?

Aha - yes!

Intel RST VMD Controller A77F
Driver 19.5.1.1040 of 8/25/2022

Intel RST VMD Managed Controller 09AB
Driver 19.5.1.1040 of 8/25/2022


Unfortunately Intel RST drivers do not support the vendor independed NVMe pass-through ioctl mentioned before. Its vendor specific variant will possibly be implemented in a future version of smartmontools.

--
Regards,
Christian


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to