DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54KIrcZA3018746
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 54KIrcZA3018746
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=kol4JFoA
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11B29385840F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1747767216;
	bh=Q3TWCa0MZMWIC7mJjWGRvetqo64q5vFYLBxWwu8HdTE=;
	h=Date:Subject:To:Cc:References:In-Reply-To:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=kol4JFoAfAtT1N0LLoLVZ4UbJmuOKKo/OAE9+r1N1Ux7i0YSDf+JAJgeviA2gx6u2
	 8xnW/0T9YNyfkU1t5JXk9+5bb54dMZUt5AyH+h7ufXPHGq/l5jino/wGopohyY9mru
	 a/hqT1BnRkHd/9SBqzqhB43IuIBa1FwxM8IDFWVg=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 63C67385840F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 63C67385840F
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747767187; cv=none;
 b=nBglU1OqHPrKrD97MFrDM0m9tGJg2KY1kZkmp7Tl9PRTiwhWtm3nlfJGxH+7QSWn41BYn7wdg9Dm4RVFY2Vf3YlJ7atg65KyqWqoBHHbQbY2YcOBw1FDLCl8YWL/zrH47Vg8+Fc9xZghup/voms75anBOqMUujxXMz9fzeZUyOQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1747767187; c=relaxed/simple;
 bh=gpAaPsc58xtm5OhurFUX+D0rwvLKW87jrC0poEXU2jY=;
 h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
 b=NVYo1YrW/kAwTP19HlN0nsLtCiVGiD4jJsNX7SDLglztu+CmhAmdiG6OhqfuAg/XuOGav3Mm9D9w77eU8WY+X8FoH524/eaWahdoQLrB9/Xa+QkVMWSguoaz2hT/+Gde2N42y8gQrYRCtTC8HrzSxQiL7BLTMUzwJHKbgGopL54=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63C67385840F
X-ASG-Debug-ID: 1747767185-24039d235f7f2ab0001-w5GHUG
X-Barracuda-Envelope-From: moss@cs.umass.edu
X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136
DKIM-Filter: OpenDKIM Filter v2.11.0 mailsrv.cs.umass.edu 547135BDC8
X-Barracuda-RBL-Trusted-Forwarder: 172.26.64.86
Message-ID: <d355dcab-bce4-05ee-e4dc-56cfa3335e54@cs.umass.edu>
Date: Tue, 20 May 2025 14:53:04 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.15.1
Subject: Re: smartmontools 7.5-1
Content-Language: en-US
X-ASG-Orig-Subj: Re: smartmontools 7.5-1
To: cygwin@cygwin.com
Cc: Christian Franke <Christian.Franke@t-online.de>
References: <6d9e35d4-bbe3-4a29-8063-f40de46fbcc5@t-online.de>
 <7dbacf8f-52d3-6363-9222-ba78841f9e6b@cs.umass.edu>
 <82cfaebc-7cce-83a4-7c15-b8f4807b90de@t-online.de>
 <70cedcf4-d834-a66a-d361-6f7e6895941a@cs.umass.edu>
 <d4dc3f0a-e5df-c518-2832-629ba49f73f7@t-online.de>
 <7369b6d8-cf1a-3f89-24ec-850a93e99001@cs.umass.edu>
 <25a533b3-6ed5-94ac-b40e-b37fac5518b7@t-online.de>
In-Reply-To: <25a533b3-6ed5-94ac-b40e-b37fac5518b7@t-online.de>
X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136]
X-Barracuda-Start-Time: 1747767185
X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384
X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at cs.umass.edu
X-Barracuda-Scan-Msg-Size: 2667
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0
 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.141675
 Rule breakdown below
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Eliot Moss via Cygwin <cygwin@cygwin.com>
Reply-To: Eliot Moss <moss@cs.umass.edu>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 54KIrcZA3018746

On 5/20/2025 1:00 PM, Christian Franke via Cygwin wrote:
> 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.

Thank you for the diagnosis!  I'll watch future updates for that enhanced support.

Regards - Eliot

-- 
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

