From owner-freebsd-questions@freebsd.org Sat Apr 3 22:09:32 2021 Return-Path: Delivered-To: freebsd-questions@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 0DEBB5C0F04 for ; Sat, 3 Apr 2021 22:09:32 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCWL26svKz3GqF for ; Sat, 3 Apr 2021 22:09:30 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sat, 3 Apr 2021 15:09:22 -0700 Subject: Re: Dell XPS 8940 SATA and NVMe disk controller not recognized To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: Date: Sat, 3 Apr 2021 15:09:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4FCWL26svKz3GqF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-0.10 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[184.105.128.27:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[184.105.128.27:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 22:09:32 -0000 On 4/3/21 12:25 PM, Karl Dunn wrote: > 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? Try adjusting CMOS setup settings: 1. System Configuration -> SATA Operation -- Dell typically sets to 'RAID On'. Try 'AHCI'. 2. Boot -> Secure Boot and related -- Dell typically enables. Try disabling: https://www.dell.com/support/kbdoc/en-us/000133480/uefi-and-secure-boot-faqs David