From owner-freebsd-current@freebsd.org Wed Jul 15 09:56:49 2020 Return-Path: Delivered-To: freebsd-current@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 9D74436092C for ; Wed, 15 Jul 2020 09:56:49 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B6CTX38vTz3Zfj; Wed, 15 Jul 2020 09:56:48 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id C08B929DBC; Wed, 15 Jul 2020 11:56:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WUZ5CBLVw42m; Wed, 15 Jul 2020 11:56:45 +0200 (CEST) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 3CBF629DB7; Wed, 15 Jul 2020 11:56:45 +0200 (CEST) Subject: Re: Current panics on connecting disks to a LSI-3108 controller To: mike tancsa , Andriy Gapon , Yuri Pankov , freebsd current References: <1406943a-6028-26ae-012f-e83903f2b299@digiware.nl> <266ce56a-0d95-b61a-4757-4ccdc2533ae2@yuripv.dev> <80510d48-adfe-3f9c-a7cd-81a7e88d9d71@digiware.nl> <22f905c8-40fc-793f-fc84-6bf2a8d3111a@digiware.nl> From: Willem Jan Withagen Message-ID: Date: Wed, 15 Jul 2020 11:56:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: nl X-Rspamd-Queue-Id: 4B6CTX38vTz3Zfj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wjw@digiware.nl designates 2001:4cb8:90:ffff::3 as permitted sender) smtp.mailfrom=wjw@digiware.nl X-Spamd-Result: default: False [-2.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.05)[-1.046]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ptr]; NEURAL_HAM_LONG(-0.96)[-0.963]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[digiware.nl]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.26)[-0.262]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:28878, ipnet:2001:4cb8::/29, country:NL]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2020 09:56:49 -0000 On 14-7-2020 22:59, mike tancsa wrote: > On 7/14/2020 5:14 AM, Willem Jan Withagen wrote: >> On 14-7-2020 07:45, Andriy Gapon wrote: >>> On 14/07/2020 03:39, Willem Jan Withagen wrote: >>>> And what I read from the manual page, mrsas plays even nicer with >>>> CAM which is a >>>> plus. >>> If by "nicer" you mean that mfi does not integrate with CAM at all, >>> then you are >>> right :-) >>> Also, last I looked mfi has some pretty serious bugs in its direct >>> interface to >>> GEOM.  We've seen all kinds of crashes with mfi at work. >> Right that was what I meant. >> Disadvantage is that mfiutil no longer works. >> But then if you JBOD, it does not really matter. >> Unless it still uses caching for JBODs and then I'd like to know the >> state of the >> battery. >> > Take a look from the ports storcli or MegaCli > > You can do pretty well everything you need with those 2 tools to talk to > mrsas attached disks > > eg > > MegaCli -CfgEachDskRaid0 WT NORA Direct CachedBadBBU -Automatic -a0 > or > storcli /c0 show all > storcli /c0 show help > storcli /c0 set jbod=on (enable jbod mode for drives) > storcli /c0/e252/s0 set jbod (sets a disk into jbod mode) Great suggestion. Seems storcli is a followup on MegaCli. So I just got the last one. A bit of a pain, since PKG does not do it, but it also does not tell you why. But you need to manually fetch the tar from Broadcom first. But then it works like a charm, actual upgrading whilest the system is running of that controller: root@quad-a:/usr/ports/sysutils/storcli # storcli /c0 download file=/tmp/smc3108.rom Download Completed. Flashing image to adapter... CLI Version = 007.1211.0000.0000 Nov 07, 2019 Operating system = FreeBSD 13.0-CURRENT Controller = 0 Status = Success Description = F/W Flash Completed. Please reboot the system for the changes to take effect Current package version = 24.9.0-0022 New package version = 24.21.0-0100 Thanx, --WjW