From owner-freebsd-stable@freebsd.org Wed Nov 6 21:13:31 2019 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 2EC801788E9 for ; Wed, 6 Nov 2019 21:13:31 +0000 (UTC) (envelope-from cross@distal.com) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254:11::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pix.net", Issuer "Pix.Com Technologies LLC CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 477fQf1wPxz4fDw for ; Wed, 6 Nov 2019 21:13:30 +0000 (UTC) (envelope-from cross@distal.com) Received: from mail.distal.com (mail.distal.com [IPv6:2001:470:e24c:200:0:0:0:ae25]) (authenticated bits=0) by hydra.pix.net (8.15.2/8.15.2) with ESMTPSA id xA6LDLes022469 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 6 Nov 2019 16:13:29 -0500 (EST) (envelope-from cross@distal.com) Received: from westeros.distal.com (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail.distal.com (8.15.2/8.15.2) with ESMTPS id xA6LCmbe016143 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 6 Nov 2019 16:12:48 -0500 (EST) (envelope-from cross@westeros.distal.com) Received: (from cross@localhost) by westeros.distal.com (8.15.2/8.15.2/Submit) id xA6LCm6u016142; Wed, 6 Nov 2019 16:12:48 -0500 (EST) (envelope-from cross) Date: Wed, 6 Nov 2019 16:12:48 -0500 From: Chris Ross To: Chris Ross Cc: Dewayne Geraghty , FreeBSD Stable Subject: Re: Cisco 12G SAS RAID support ? Message-ID: <20191106211248.GM1177@westeros.distal.com> References: <20191105183448.GE1177@westeros.distal.com> <65e90493-a038-5668-45e9-5101c52c23eb@quip.cz> <20191105201942.GF1177@westeros.distal.com> <20191105210409.GG1177@westeros.distal.com> <20191105220441.GH1177@westeros.distal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191105220441.GH1177@westeros.distal.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mail.distal.com [IPv6:::1]); Wed, 06 Nov 2019 16:12:49 -0500 (EST) X-Rspamd-Queue-Id: 477fQf1wPxz4fDw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of cross@distal.com designates 2001:470:e254:11::4 as permitted sender) smtp.mailfrom=cross@distal.com X-Spamd-Result: default: False [-3.71 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[distal.com]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.41)[ip: (-3.87), ipnet: 2001:470::/32(-4.62), asn: 6939(-3.49), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[freebsd]; FREEMAIL_CC(0.00)[gmail.com] 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: Wed, 06 Nov 2019 21:13:31 -0000 On Tue, Nov 05, 2019 at 05:04:41PM -0500, Chris Ross wrote: > > However, if you've already placed > > mpr_load="YES" in your /etc/loader.conf and rebooted your device, then you > > probably need to move into a diagnostic phase. > > Yeah. I think I see what PCI id is missing in the driver, after digging > around in the sources. I was just hoping it was a process/human error. > I'll get another machine running a build, and see if I can stub it in. Okay. Well, the simple try didn't magically work. I added a few lines in dev/mpr/mpr_pci.c in releng/12.0, built a new ISO, and booted. Now it recognizes the part, but says the following: pcib7: [...] pci7: numa-domain 0 on pcib7 mpr0: port 0x7000-0x70ff mem 0xb8000000-0xb80fffff,0xb7f00000-0xb7ffffff,0xb7e00000-0xb7efffff at device 0.0 numa-domain 0 on pci7 mpr0: IOC in fault state 0x0, resetting mpr0: IOC in fault state 0x0, resetting mpr0: IOC in fault state 0x0, resetting mpr0: IOC in fault state 0x0, resetting mpr0: IOC in fault state 0x0, resetting mpr0: IOC in fault state 0x0, resetting There is about a 4 second pause between each of the "in fault state, resetting" lines. This may not be a freebsd-stable converstion any longer. I'm going to switch over to freebsd-drivers, unless someone has a suggestion of a better list for trying to figure out if small adjustments can be made to the mpr driver to accept this device. Thanks all. - Chris