Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 11:06:21 +0100
From:      Borja Marcos <borjam@sarenet.es>
To:        freebsd-scsi@freebsd.org
Subject:   ServeRAID M5210e passthroughand syspd corruption
Message-ID:  <E8F5E131-F51D-448A-9035-646FEFF686F3@sarenet.es>

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

Hello,

I'm trying to make this card work. As  I am going to use ZFS, I need it =
in passthrough mode. However, both in 10-STABLE and 11-CURRENT
it's corrupting data.

The card is detected as follows:
mfi0: <Invader> port 0x4f00-0x4fff mem =
0x913f0000-0x913fffff,0x91400000-0x914fffff irq 34 at device 0.0 on =
pci22
mfi0: Using MSI
mfi0: Megaraid SAS driver Ver 4.23=20
mfi0: FW MaxCmds =3D 240, limiting to 128
mfi0: MaxCmd =3D 240, Drv MaxCmd =3D 128, MaxSgl =3D 70, state =3D =
0xb73c00f0
mfi0: 10016 (446833719s/0x0020/info) - Shutdown command received from =
host
mfi0: 10017 (boot + 10s/0x0020/info) - Firmware initialization started =
(PCI ID 005d/1000/045b/1014)
mfi0: 10018 (boot + 10s/0x0020/info) - Firmware version 4.200.21-2840
mfi0: 10019 (boot + 12s/0x0020/info) - Package version 24.0.2-0013
mfi0: 10020 (boot + 12s/0x0020/info) - Board Revision  00AL055
mfi0: 10021 (boot + 30s/0x0004/info) - Enclosure (SES) discovered on PD =
08(c Port 0 - 3/p1)
mfi0: 10022 (boot + 30s/0x0004/info) - Enclosure (SES) discovered on PD =
0c(c Port 0 - 3/p2)
mfi0: 10023 (boot + 30s/0x0004/info) - Enclosure PD 08(c Port 0 - 3/p1) =
communication restored
mfi0: 10024 (boot + 30s/0x0004/info) - Enclosure PD 0c(c Port 0 - 3/p2) =
communication restored
mfi0: 10025 (boot + 30s/0x0002/info) - Inserted: Encl PD 08
mfisyspd0 on mfi0

And according to mfiutil,
root@merde:/home/borjam # mfiutil show adapter
mfi0 Adapter:
    Product Name: ServeRAID M5210e
   Serial Number: XXXXX
        Firmware: 24.0.2-0013
     RAID Levels: JBOD, RAID0, RAID1, RAID10
  Battery Backup: not present
           NVRAM: 32K
  Onboard Memory: 0M
  Minimum Stripe: 64K
  Maximum Stripe: 64K


Curiously, other mfi cards which don't officially support syspd mode =
work in passthrough without problems. And indeed
mfisyspd is not adequate to use SSDs. It's much better to use =
passthrough and the "da" driver.

Is there any download I can try for the "mrsas" driver to test under =
FreeBSD 10 and 11? I'd like to know if mrsas can
make it work properly.

Also, I am wondering. Is it possible that syspd support in the driver =
may have caused trouble? I was considering purging it and
try again.


Thanks!




Borja.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E8F5E131-F51D-448A-9035-646FEFF686F3>