[DragonFlyBSD - Bug #2683] HAMMER data corruption with rebranded LSI RAID adapters

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Jun 14 05:25:47 PDT 2014

Issue #2683 has been updated by swildner.

We don't know if it is really related to the mfi(4) driver. But it might be a theory worth checking out.

I have committed a new driver from FreeBSD for Thunderbolt, Invader and Fury series adapters, mrsas(4):


If you want to try it out, make sure it is loaded (by putting mrsas_load=yes into your loader.conf or adding "device mrsas" to the kernel configuration you are using and either disable loading or compiling in of mfi(4) entirely or setting hw.mfi.mrsas_enable=1 in /boot/loader.conf, which will allow mrsas(4) to be taken for these adapters.

Note that the disk device nodes for mrsas(4) follow CAM nomenclature and are /dev/da?, while the mfi(4) driver uses /dev/mfid?. It is recommended to take the appropriate nodes in /dev/serno to allow for a smooth transition.

Also note that there is no mfiutil(8) like tool for mrsas(4).

If you need this driver on 3.8, do 'git cherry-pick 6d743f0468a9bd40d1cedc939569228864d0614f' in your 3.8 branch.

Bug #2683: HAMMER data corruption with rebranded LSI RAID adapters

* Author: ftigeot
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
Two different machines running DragonFly 3.6.x had the kernel report HAMMER CRC32 data corruption and then panic.

After a reboot, the kernel couldn't repair and mount the HAMMER volumes where these CRC32 errors occurred due to massive amounts of data corruption.

The systems had these elements in common:
- DragonFly 3.6.x
- Dell rack servers
- HAMMER filesystem on a hardware RAID volume managed by the mfi(4) LSI MegaRAID SAS driver

The two different machines were apparently using the same kind of rebranded LSI RAID adapter.

PCI id from one of the cards:
mfi0 at pci0:3:0:0:        class=0x010400 card=0x1f341028 chip=0x005b1000 rev=0x05 hdr=0x00

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list