I also have a Fujitsu D3116 controller (mine is chip revision C1) and I also couldn't get sas2flash to recognize the adapter. Here is what I tried
- Backup SBR and SDP
- megarec -writesbr 0 sbrempty.bin
- megarec -cleanflash 0
- Reboot
But when running sas2flash -list it'll always tell me he didn't find any LSI controllers. I tried different versions of sas2flash (P5, P7, P14, P15, P16, P17, P18, P19, P20) even on different mainboards, one with DOS only and one with UEFI and even tried the Linux versions. But all the same. I also tried lsirec instead of sas2flash:
- lsirec 0000:05:00.0 unbind
- lsirec 0000:05:00.0 halt
- lsirec 0000:05:00.0 hostboot 9207-8.bin
But when trying to hostboot lsirec will always fail with "IOC failed to become ready" and I stil can't crossflash the Fujitsu controller. Any help/advice much appreciated. I attached the SBR I backed up (should hopefully be a stock D3116 SBR) and the output of megarec -adpallinfo -a0 (before I started to mess around with the controller)
[Edit]
Interesting fact that I noticed is, that my SBR is 512byte and all sbrempty.bin I could find are only 256byte, so maybe writing a 256byte SBR won't clear everything?
[Edit 2]
I recovered my controller by doing a megarec -m0flash with the 2208_16.ROM I found in this
thread and by restoring my original SBR. And now it boots again, but something is different now. It shows LSI BIOS (was Avago before) and controller's vendor name is also LSI (was also Avago before) but product identifier is the old Fujitsu one "RAID Ctrl something" which kinda makes sense I think because I flashed a (stock) LSI firmware and used the Fujitsu SBR. So it seems I now have a Fujitsu controller booting with (stock) LSI firmware. But still sas2flash won't find any LSI controller.