Support for MegaRAID SAS on FreeBSD

Stephane LAPIE stephane.lapie at darkbsd.org
Sat Nov 5 18:38:02 UTC 2011


Hi,

The SAS 9240 controller works fine with the mfi driver provided by LSI,
however there is no driver to my knowledge in the default FreeBSD tree
that handles this controller, which is kind of annoying.

So you have to build a custom kernel or module beforehand for it.

I have two servers using this driver right now (one running on
8.2-STABLE and one on 9.0-RC1.

(Yes, I know this does not help at all for installation time unless you
have a full live filesystem, or engineer your own releases yourself... :/)

However, for FreeBSD 9.X, it requires a quick modification to the source
for it to build (following enclosed instructions) :
- Remove the default /usr/src/sys/dev/mfi (by renaming it, for instance)
- Put the driver source provided by LSI in its place
- Modify mfi.c, the call to psignal() on line 1603 must be altered to
kern_psignal() (only step required for FreeBSD 9.X)
- After that modification : cd /usr/src/sys/dev/mfi; make
- You can then kldload the resulting mfi.ko module.

So, to sum up, the LSI driver works, yes. :)

Cheers,

On 11/06/2011 01:59 AM, linux freaker wrote:
> I am facing issue while installing FreeBSD 9.1 RC1 on Dell PowerEdge Server
> with MegaRAID SAS 9240 driver.
> It is unable to detect the controller.Any idea how to troubleshoot?
> I can see that it has mfi.1 driver loaded.(I am not sure if thats mfi/mps).
> Do I need to rebuilt the kernel with this new driver.If yes, what steps I
> need to follow.
> I can see that LSI does provide the new 3.98_FreeBSD_x86_and_x64_drivers
> but uncertain if that would work.
> _______________________________________________
> freebsd-hardware at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> To unsubscribe, send any mail to "freebsd-hardware-unsubscribe at freebsd.org"

-- 
Stephane LAPIE, EPITA SRS, Promo 2005
"Even when they have digital readouts, I can't understand them."
--MegaTokyo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hardware/attachments/20111105/b3ec2fb3/signature.pgp


More information about the freebsd-hardware mailing list