Re: Current panics on connecting disks to a LSI-3108 controller

From: Willem Jan Withagen <wjw_at_digiware.nl>
Date: Wed, 15 Jul 2020 11:56:43 +0200
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_at_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
Received on Wed Jul 15 2020 - 07:56:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC