Bug 61771

Summary: Support for LSI Logic / Symbios Logic M1064E MegaRAID SAS
Product: SCSI Drivers Reporter: Leonardo Amaral (contato)
Component: OtherAssignee: scsi_drivers-other
Status: CLOSED WILL_NOT_FIX    
Severity: normal CC: alan, aradford, azamat.hackimov
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.8.13-gentoo Subsystem:
Regression: No Bisected commit-id:
Attachments: Informations of hardware.

Description Leonardo Amaral 2013-09-21 00:19:28 UTC
Created attachment 109031 [details]
Informations of hardware.

Requesting support for M1064E MegaRAID SAS support. 

Informations attached
Comment 1 Adam Radford 2013-09-21 00:41:57 UTC
04:00.0 SCSI storage controller: LSI Logic / Symbios Logic M1064E MegaRAID SAS (rev 04)
04:00.0 0100: 1000:0057 (rev 04)

LSI MegaRAID device id 0x57 is really an old "software raid" embedded solution.

Support for this device existed in a closed source driver called "megasr", and will not be added to the open source megaraid_sas drivers.

-Adam Radford @ LSI
Comment 2 Leonardo Amaral 2013-09-21 00:52:18 UTC
Adam, my board is a S5000XVN and supports AXXRAKSW5 for RAID5 and im worried about the expansibility of this board. Will this megasr support or some another module support?

Also, the closed-source megasr will compile in Kernel 3.11 and forward?
Comment 3 Azamat H. Hackimov 2014-05-16 07:54:00 UTC
Hello.
There one trick with mptsas driver from recent kernel. Since this is unofficial, there NO WARRANTY big warning. I not checked for already existing RAID with data only on just created RAID. Before any actions on actual data perform backup first!

Turns out, some LSI / Symbios Logic fakeraid cards can be recognized my mptsas with additional pciids. All you need is find pciids for you card. My card is

lspci -nn | grep LSI
08:00.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic M1064E MegaRAID SAS [1000:0057] (rev 04)

Where [1000:0057] is PCI ID. Next you need do follow:

echo "1000 0057" > /sys/bus/pci/drivers/mptsas/new_id

Add this row to /etc/rc.conf or somewhere else for applying to next boot.

If all goes right, you physical disks will be appear in system (check dmesg). For RAID capabilities you need to install mdadm. It autodetects partitions as /dev/mdX:

# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md126 : active raid1 sde[1] sdd[0]
      142577664 blocks super external:/md127/0 [2/2] [UU]
      [=======>.............]  resync = 39.3% (56174464/142577664) finish=1351.1min speed=1065K/sec