From owner-freebsd-stable@freebsd.org Tue Dec 18 14:11:44 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 510041352A00 for ; Tue, 18 Dec 2018 14:11:44 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene.sentex.ca (unknown [IPv6:2607:f3e0:0:3::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pyroxene.sentex.ca", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AECB6E61E for ; Tue, 18 Dec 2018 14:11:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [192.168.43.26] ([192.168.43.26]) by pyroxene.sentex.ca (8.15.2/8.15.2) with ESMTP id wBIEBc9d064728; Tue, 18 Dec 2018 09:11:39 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: mps and LSI SAS2308: controller resets on 12.0 - IOC Fault 0x40000d04, Resetting To: Jan Martin Mikkelsen Cc: Mark Martinec , freebsd-stable@freebsd.org References: <515deae15368aaa8c8deb241e71f87db@ijs.si> <4587c653-d2f0-0bd1-dd9b-dd2f5421c7cd@sentex.net> <8A43948F-5902-4ED8-B062-D5419B7671FB@transactionware.com> From: Mike Tancsa Openpgp: preference=signencrypt Autocrypt: addr=mike@sentex.net; prefer-encrypt=mutual; keydata= mQENBEzcA24BCACpwI/iqOrs0GfQSfhA1v6Z8AcXVeGsRyKEKUpxoOYxXWc2z3vndbYlIP6E YJeifzKhS/9E+VjhhICaepLHfw865TDTUPr5D0Ed+edSsKjlnDtb6hfNJC00P7eoiuvi85TW F/gAxRY269A5d856bYrzLbkWp2lKUR3Bg6NnORtflGzx9ZWAltZbjYjjRqegPv0EQNYcHqWo eRpXilEo1ahT6nmOU8V7yEvT2j4wlLcQ6qg7w+N/vcBvyd/wei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oskLg2RyRP4uXqL7Mp2ezNtVY5F 9nu3fj4ydpHCSaqKy5xd70A8D50PfZsFgkrsa5gdQhPiGGEdxhq/XSeAAnZ4uVLJKarH+mj5 MEhgZPEBWkGrbDZpezl9qbFcUem/uT9x8FYT/JIztMVh9qDcdP5tzANW5J7nvgXjska+VFGY ryZK4SPDczh74mn6GI/+RBi7OUzXXPgpPBrhS5FByjwCqjjsSpTjTds+NGIY Organization: Sentex Communications Message-ID: <27f52574-5f79-bc70-d4f9-2f4afd7b4dd9@sentex.net> Date: Tue, 18 Dec 2018 09:11:37 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <8A43948F-5902-4ED8-B062-D5419B7671FB@transactionware.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 9AECB6E61E X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:3::18 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-1.46 / 15.00]; ARC_NA(0.00)[]; RDNS_NONE(1.00)[]; NEURAL_HAM_LONG(-0.98)[-0.984,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f3e0::/32]; IP_SCORE(-1.77)[ipnet: 2607:f3e0::/32(-4.96), asn: 11647(-3.83), country: CA(-0.09)]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sentex.net]; TO_DN_SOME(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: smtp.sentex.ca]; NEURAL_HAM_SHORT(-0.90)[-0.897,0]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; HFILTER_HOSTNAME_UNKNOWN(2.50)[]; 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: Tue, 18 Dec 2018 14:11:44 -0000 On 12/18/2018 4:05 AM, Jan Martin Mikkelsen wrote: >> On 17 Dec 2018, at 20:14, Mike Tancsa wrote: >> >> On 12/17/2018 10:52 AM, Mark Martinec wrote: >>> Anyone else seen problems with mps driver and LSI SAS2308 controller? >>> >>> (btw, on another machine the mps driver with LSI SAS2004 is working >>> just fine under 12.0) >> >> Sort of ran into this as well, but with the mfi driver. The same card in >> *some* machines would boot just fine, but in others, it would hang at >> boot time. Not sure if its related or not >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231432 >> >> I was able to get a MegaRAID SAS-3 3108 [Invader] card working by >> forcing it to use the mrsas driver instead of the mfi. However, my >> 9240s fail with the mfi and they will not work with the mrsas >> > Interesting. I have a machine with a 9240 and a 9261 that I have just upgraded to 12.0 from 10.2 and is working fine with the mfi driver. > > However, the standard machine build procedure here includes: > > hw.mfi.msi=“1” > > in /boot/loader.conf. This was added to our build procedure back in 2011 to deal with the 9261 not working on FreeBSD 9.0. > > I wonder if using MSI interrupts would help with your problem? Hmmm, that seems to be the default on 11 and 12 % sysctl -A hw.mfi.msi hw.mfi.msi: 1 -- ------------------- Mike Tancsa, tel +1 519 651 3400 x203 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada