DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54K8wZrw2689864 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 54K8wZrw2689864 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=rTnxkbMW X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E3F43858430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1747731513; bh=4YnoBm/FxSTY/wy59i398VXv12YLWJHwrUf9w2eQhHE=; 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=rTnxkbMWNR931dwpER6PrDYmoe0P8sUUjmJ1aMCgMPyUihehZbaA2cpncriKWQwqz 3eB2l0y8K9vLFsMqcIhyHfFrxk6WoiSm642mIBzq4Rz0ddTCQlnvH7jKIUi26xRoiC R6K4snGwkJEmKJBy50pFRoL3z06W0btu2hcvpQlM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C6EA63858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C6EA63858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747731041; cv=none; b=W4WmLRsNUgEdRP2YFG7RdPkg0IDQ+LBS/ck0UtWYo6z8Ek1HyVidWOD3FUwia+J1Ehkes0bE7+cTwp+GI429AYSReV2ldcF5WIDXbVeiSC1IJaH7j2k4GrDbDOE4LcqNdyJQSN12p1T8pXu3o/EHj73c6NjCvS6DpizLHJCIg6s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747731041; c=relaxed/simple; bh=CI/ZNl38Ed0l8in8/J7dWmMHdMfA3Gf4/BtQT3khWuk=; h=Subject:To:From:Message-ID:Date:MIME-Version; b=jQb2nO+XeUFREpUC+Dp6kdyJ/Eq1TjVOZLvkblx9wRi2Z/pTZE22ipZTbSG3SMAxBEKxcqG6M52OCdp68GtbDdw57lcQuDppi21qJsFqKvuP8N/JRq2eIGPmFac6etyF3C2aL26MiJ7bLY9vv8Yq0E/nBCsaBZARKwjh9XwEydo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6EA63858D20 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> Message-ID: <82cfaebc-7cce-83a4-7c15-b8f4807b90de@t-online.de> Date: Tue, 20 May 2025 10:50:38 +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: <7dbacf8f-52d3-6363-9222-ba78841f9e6b@cs.umass.edu> X-TOI-EXPURGATEID: 150726::1747731037-98FF75CE-AE70C5F7/0/0 CLEAN NORMAL X-TOI-MSGID: 006e1c62-7958-4651-8268-05a618ae9c1b 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 54K8wZrw2689864 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? The above output suggests that the driver does not support the NVMe extensions of IOCTL_STORAGE_QUERY_PROPERTY[1]. This is typical for drivers which also support RAID. For example Intel RST drivers provide vendor independent pass-through functionality for non-RAID SATA drives (IOCTL_ATA_PASS_THROUGH), but not for NVMe. There is a vendor specific NVMe pass-through ioctl available, but this is not yet implemented in smartctl. -- Regards, Christian [1] https://learn.microsoft.com/en-us/windows/win32/fileio/working-with-nvme-devices -- 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