From owner-freebsd-stable@freebsd.org Sat Apr 3 19:25:38 2021 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 936A85BCB57 for ; Sat, 3 Apr 2021 19:25:38 +0000 (UTC) (envelope-from kldunn@hiwaay.net) Received: from mail.hiwaay.net (mail.hiwaay.net [216.180.158.37]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCRhx5jvtz4qBN for ; Sat, 3 Apr 2021 19:25:37 +0000 (UTC) (envelope-from kldunn@hiwaay.net) Received: (qmail 36210 invoked from network); 3 Apr 2021 19:25:31 -0000 Received: from 50-83-57-148.client.mchsi.com (HELO naur.kad-hg.org) (kldunn@hiwaay.net@50.83.57.148) by mail.hiwaay.net with (DHE-RSA-AES256-GCM-SHA384 encrypted) SMTP (5a4e9aba-94b2-11eb-a9e5-77c9ee10b89c); Sat, 03 Apr 2021 15:25:31 -0400 Date: Sat, 3 Apr 2021 14:25:30 -0500 (CDT) From: Karl Dunn Reply-To: Karl Dunn To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org cc: kldunn@hiwaay.net Subject: Dell XPS 8940 SATA and NVMe disk controller not recognized Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-MagicMail-OS: FreeBSD 9.x or newer X-MagicMail-UUID: 5a4e9aba-94b2-11eb-a9e5-77c9ee10b89c X-MagicMail-Authenticated: kldunn@hiwaay.net X-MagicMail-SourceIP: 50.83.57.148 X-MagicMail-RegexMatch: 1 X-MagicMail-EnvelopeFrom: X-Rspamd-Queue-Id: 4FCRhx5jvtz4qBN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kldunn@hiwaay.net has no SPF policy when checking 216.180.158.37) smtp.mailfrom=kldunn@hiwaay.net X-Spamd-Result: default: False [-2.00 / 15.00]; HAS_REPLYTO(0.00)[kldunn@hiwaay.net]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[hiwaay.net]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[216.180.158.37:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[216.180.158.37:from]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:395532, ipnet:216.180.158.0/23, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 19:25:38 -0000 I have new Dell XPS 8940 that came with Windows 10 Home installed. I have created two partitions for FreeBSD, one on its NMVe 256GB SSD, and one on its WD 1TB HD. For now, I have 12.2-RELEASE-p4 GENERIC on a USB memstick, so I can do some limited testing. FreeBSD 12.2 does not recognize the SATA/RAID controller, which I assume is resposible (in Win10) for accising both drives. The relevant pcoconf line for the controlleris: none7@pci0:0:23:0: class=0x010400 card=0x09c51028 chip=0x06d68086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = mass storage subclass = RAID Because no net devices work (for FreeBSD), I put a pcie-x1 net card in the machine to get access, 15 bucks to Ebay, works great. I can't get the NVIDIA graphics card to work right, but that and the net devices are issues for sometime later. Here is a URL for info I collected from the machine, including from the hw-probe utility: http://home.hiwaay.net/~kldunn/XPS_8940_info.html That has a link for the results of hw-probe, the outputs of pciconf -lv and dmesg, and the content of /var/log/messages and rc.conf. The hw-probe report claims that Linux supports the SATA/RAID controller in 'drivers/ata/ahci.c', but that no version of FreeBSD knows about it (yet). I think FreeBSD might need a patch to sys/dev/ahci/ahci_pci.c, and maybe some other files too. Can somebody help me with disk access? -- Karl L. Dunn kldunn@hiwaay.net