From owner-freebsd-stable@freebsd.org Thu Apr 16 21:06:31 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9D5962C83CB for ; Thu, 16 Apr 2020 21:06:31 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 493Bbp1WLdz47GR; Thu, 16 Apr 2020 21:06:29 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.206] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 72695470 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 16 Apr 2020 21:06:28 +0000 (UTC) Subject: Re: support of PCIe NVME drives To: Miroslav Lachman <000.fbsd@quip.cz>, Chuck Tuffli Cc: freebsd-stable@freebsd.org, Kurt Jaeger References: <5a20f111-b2f5-c1a1-acdf-86df43d79ace@quip.cz> <20200416180705.GB39563@home.opsec.eu> <36c9c502-f9b6-fd3d-3ac2-80ab18f8d420@quip.cz> <37408503-c462-97fa-e702-f23fed366f83@nomadlogic.org> From: Pete Wright Message-ID: Date: Thu, 16 Apr 2020 14:06:28 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 493Bbp1WLdz47GR X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.77)[ip: (-9.23), ipnet: 174.136.96.0/20(-4.14), asn: 25795(-0.42), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2020 21:06:31 -0000 On 4/16/20 1:57 PM, Miroslav Lachman wrote: > Chuck Tuffli wrote on 04/16/2020 22:29: >> On Thu, Apr 16, 2020 at 12:30 PM Miroslav Lachman <000.fbsd@quip.cz> >> wrote: >>> >>> Pete Wright wrote on 04/16/2020 20:23: >>>> >>>> >>>> On 4/16/20 11:12 AM, Miroslav Lachman wrote: >>>>> Kurt Jaeger wrote on 04/16/2020 20:07: >>> >>>> I would try booting via UEFI if you can.  I just installed a laptop >>>> yesterday which has a nvme root device, it was detected by the >>>> 12-STABLE >>>> snapshot I used to boot from.  no other modifications were >>>> necessary on >>>> my end. >>> >>> I changed BIOS settings to use UEFI boot method, booted 12.1 installer >>> ISO but without luck. Still no NVME disks :( >>> >>> You can see it on printscreen from iDRAC https://ibb.co/tPnymL7 >>> >>> Anything more I can test? >> >> Fair warning, I don't deal much with Dell, but it's curious that iDrac >> lists the device protocol as MI >>> Device Protocol:      NVMe-MI1.0 >> >> MI or the Management Interface is defined by NVMe, but it isn't the >> same as a block interface. MI typically uses SMBUS and not PCIe to >> communicate with the device. So it's possible that the device is >> visible to iDrac via SMBUS but may not be on the PCIe bus for >> $reasons. Does iDrac have any tools to interact with the device via >> MI? > > iDRAC does not allow me to do anything with the drives. > But I booted Linux SystemRescueCd and nvme devices are there visible > in /dev/ > printscreen https://ibb.co/sj22Nwg > > So I think the HW is OK, but FreeBSD does not recognize the controller? > might be interesting to see what the dmesg buffer and lspci output for this device is under linux.  that should give pointers to how the device is being presented to the kernel. -p -- Pete Wright pete@nomadlogic.org @nomadlogicLA