DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54KH19hB2965548 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 54KH19hB2965548 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=MsZ+0leG X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5629D3858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1747760466; bh=QGTCesYgP4sfByn+mili3nNMLaAsu8Gyco8M6hhRQAo=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=MsZ+0leGj8Nn03AE9nxi1zcTCGZ/htwm0Pt6Cx/HXiE6JLy9ujCW11yuKZhRjVFmb 3BwId1IGqzL3krfjjO8gpyB/CfeziEsjdyfo7fTcpscMxYIRDGVltr4NXsptWtJ4tT nBVTzxOktC4gVaTLbseZUojKYhOw/D53DBbO7C1k= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3FB483858C2D ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3FB483858C2D ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747760440; cv=none; b=xkPUttj1j2tYNLLSRA8OMflwTYelJ/VHyc/BtvdRJLdB8um7MKrWfX9YwZC2Lrg+ki0rGYg2njmHYJLKiWDWlkKN8i0jO1A3Y0533Rui/WqH6Q4/Lhja0nYrkk2Z2/UZQVR1/qqEuut3dfZIm31BRBULd/qzUXSMT8pgfPkm7Y0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747760440; c=relaxed/simple; bh=RnQCVTNibp/VbM/PTBgDSlkMK9GCKcAvZ/b96bVeRrI=; h=Subject:To:From:Message-ID:Date:MIME-Version; b=CNb9Hp5n3fGdcHIxYzbdLLylIiGZVTGtB7EKvJ1CaXeoRwIfCkp+ht/i6mtaqoRStJRk+iIRCCr3tf+JJZbgIzfrOqLBOtFD6DFIy8tGxFDDggkZ4/iMGVdSPBc3thL/fMI5pm2hmjapgOFVt9l607srY9wE+XrBhk40TH2g81I= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FB483858C2D Subject: Re: smartmontools 7.5-1 To: cygwin AT cygwin DOT com References: <6d9e35d4-bbe3-4a29-8063-f40de46fbcc5 AT t-online DOT de> <7dbacf8f-52d3-6363-9222-ba78841f9e6b AT cs DOT umass DOT edu> <82cfaebc-7cce-83a4-7c15-b8f4807b90de AT t-online DOT de> <70cedcf4-d834-a66a-d361-6f7e6895941a AT cs DOT umass DOT edu> <7369b6d8-cf1a-3f89-24ec-850a93e99001 AT cs DOT umass DOT edu> Message-ID: <25a533b3-6ed5-94ac-b40e-b37fac5518b7@t-online.de> Date: Tue, 20 May 2025 19:00:37 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 SeaMonkey/2.53.20 MIME-Version: 1.0 In-Reply-To: <7369b6d8-cf1a-3f89-24ec-850a93e99001@cs.umass.edu> X-TOI-EXPURGATEID: 150726::1747760437-99FF14E5-F8AF3D8C/0/0 CLEAN NORMAL X-TOI-MSGID: 30a1578d-be7a-47e1-91f1-f310c0481e4d X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Christian Franke via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Christian Franke Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 54KH19hB2965548 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