Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 17:04:55 -0500
From:      Mark Johnston <markj@freebsd.org>
To:        freebsd-scsi@freebsd.org
Cc:        ambrisko@freebsd.org
Subject:   mfi(4) support for MegaRAID Fury cards
Message-ID:  <20131227220455.GA6027@charmander.home>

next in thread | raw e-mail | index | archive | help
Hello,

The patch here adds mfi(4) support for my LSI 9341-4i controller, which
has device ID 0x5f:

http://people.freebsd.org/~markj/patches/mfi_fury.diff

This diff was mostly obtained by going through the mrsas(4) code
specific to Invader (DID 0x5d) and Fury (DID 0x5f) controllers. The main
change is to add an end-of-list marker to scatter-gather DMA lists
before handing them to the firmware. Without this, large writes to an
mfi(4) volume result in a firmware crash loop, and the system needs to
be reset. The diff adds code for both Invader and Fury cards, as this is
what's done in mrsas(4); I haven't tested with an Invader card though,
as I don't have access to one. With this patch, I'm able to boot FreeBSD
8.2 off of a RAID 1 volume on my 9341-4i.

Would anyone be able to review or test this patch? I'm particularly
interested if anyone could try it out with an Invader or Fury card
(there shouldn't be any differences in driver behaviour with other
cards).

Thanks!
-Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131227220455.GA6027>