Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2020 11:56:43 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        mike tancsa <mike@sentex.net>, Andriy Gapon <avg@FreeBSD.org>, Yuri Pankov <yuripv@yuripv.dev>, freebsd current <freebsd-current@freebsd.org>
Subject:   Re: Current panics on connecting disks to a LSI-3108 controller
Message-ID:  <b43f293d-7674-1301-436d-7274dcfe701d@digiware.nl>
In-Reply-To: <f71eb175-62c6-015e-3871-55e8650073ce@sentex.net>
References:  <1406943a-6028-26ae-012f-e83903f2b299@digiware.nl> <266ce56a-0d95-b61a-4757-4ccdc2533ae2@yuripv.dev> <80510d48-adfe-3f9c-a7cd-81a7e88d9d71@digiware.nl> <a31155f7-b357-b13c-8e33-e04538651960@FreeBSD.org> <22f905c8-40fc-793f-fc84-6bf2a8d3111a@digiware.nl> <f71eb175-62c6-015e-3871-55e8650073ce@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b43f293d-7674-1301-436d-7274dcfe701d>