Jump to content
dukzcry

Driver for LSI MegaRAID SAS family

384 posts in this topic

Recommended Posts

I do not know how to do it, but am wondering if anyone has had any luck with modifying the kext to work with the newer 93XX cards in High Sierra?

Share this post


Link to post
Share on other sites
Advertisement

Found them, they work!

 

EDIT:  SUCCESS!  See next post ;)

 

Hi everyone.  I'm trying to get an LSI 92XX (non-MegaRAID) card working in my Hackintosh, and unfortunately I'm not quite so lucky.  Or I'm doing something wrong - which is very likely.  I've tried both the OP MegaSAS package, and the Antek*.kext files uploaded as "2308 drivers" by kurbads.

 

I'm on macOS 10.13.3 using the latest Clover (4411).  Full specs are in my sig.

 

I am testing with two LSI cards:  an LSI 9205-8e (2308 controller) and an LSI 9201-8i (2008 controller).  Both are on the latest available FW (version 20), and both are in IT mode (non-RAID).  The LSI cards are known to be working fine.  I have tested both with a drive connected to the card, and with no cables connected.  I have tried two different PCIe 2.0 x8 slots, just to rule that out as a potential cause.

 

Here's what I've tried:

 

1. Installed MegaSAS package mentioned in the OP.  This boots OK, but I see no card or drives, and System Report shows "SASMegaRAid" as Loaded=No and Loadable=No.  I have added kext-dev-mode=1 to my Clover boot settings, as per instructions for 10.10 and later.  However I do note that in System Report that as well as Loadable=No, it says "Signature Validation Errors: Not Signed".  I don't know if this a problem, given I do have kext-dev-mode=1?

 

2. The drivers uploaded by kurbads, labelled as being for 2308 cards.  First I copied the files  - AstekFusion2Adapter.kext and AstekFusion2Family.kext - into EFI/CLOVER/kexts/Other . This resulted in a KP on boot when an LSI was installed, but not if it wasn't.  

 

Then I tried copying them to /System/Library/Extensions.  This didn't give a KP, but it still didn't work with either card (9201-8i and 9205-8e).  And again, System Report showed the two extensions as Loaded=No, Loadable=No, and again said they had Signature Validation Errors = Not Signed.  This is what I see for one of the kexts:

A7auX70.png

 

Maybe my kext-dev-mode=1 is not working?  I enabled it in Clover config, under Boot - it is one of the predefined options.  I don't know how to verify for sure it's activated.

 

3. I also tried:  sudo kextutil -v /System/Library/Extensions/AstekFusion2Adapter.kext and got a KP.  It displayed some text first, but too quick for me to see before everything went back.  I could capture this I suppose to a text file I suppose.  But clearly something is broke if it's doing this, and maybe that means that I would get this KP on boot if the kexts weren't Loadable=No.

 

I'd be most grateful if anyone could tell me if I've done something wrong - or not done something I need to - or otherwise help me debug this.  It'd be great to get an LSI controller working as I now have three 6GB/s SSDs, and my motherboard only has two SATA3 ports.   I could get a basic Syba card or something, but that'd be a shame when I have powerful LSI cards just gathering dust on a shelf :)

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Yay!

 

lotGXmX.png

 

The issue was simple: the drivers posted above by kurbads don't work in Sierra or High Sierra.  After much tearing of teeth and gnashing of hair, I found the correctly updated drivers.. elsewhere on this forum :)

 

The wonderful person that is despeinao patched the Astek drivers to work on 10.12+.  He uploaded them in this post in a thread related to getting a working Hackintosh on an HP Z820 workstation.

 

These drivers need to be copied to EFI/CLOVER/kexts/Other or EFI/CLOVER/kexts/10.13.  And that's it.

 

Thanks so much to kurbads for first mentioning the drivers in this thread, and despeinao for getting them working on later versions.  (I wish this forum had mentions!)

Share this post


Link to post
Share on other sites

The next challenge is to work out if there's any way to boot from my LSI 9201-8i (2008 controller) card?   I do not have a UEFI BIOS, and I am not sure if that's a problem.

 

EDIT:  It's not the motherboard, it's Clover generating this screen.  I found references to some of the strings in Clover files.   So I suppose Clover can't find any disks,  or more likely it can't continue its boot even to the point of looking for disks.

 

I have Clover installed in Legacy mode on my X58-UD3R motherboard.  This works fine to boot from the internal SATA.  I tried putting my boot SSD onto my newly-working LSI controller, and got a really weird result:  at the point where the Clover UI should have appeared, I instead got this screen I'd never seen before, which I think may be generated by my motherboard (certainly it knows a lot about my hardware):

 

UkeDthxl.jpg

 

It looks maybe like some kind of EFI setup, but my motherboard doesn't support EFI..  at least not properly.  It does have some EFI support for CD/DVD, apparently.  But I tried disabling that and got the same screen.

 

I've read through the whole thread, and at least with the MegaRAID, several people are talking about booting from it fine.  But in my case I can't even get into Clover.    I can get to Clover, but then it's non-functional..   I do have the Astek files in EFI/CLOVER/kexts/Other but I guess that doesn't help Clover itself.  But then, how are MegaRAID users booting OK?  Maybe they're using EFI boot, which I don't have?

 

I suppose I could try a USB boot of Clover and see if that can then see the drive to boot from.  But I'm doubtful that would make any difference.

 

I know the non-RAID 2308/2008 controllers are little OT from the OP's original post, but if anyone does have any thoughts I'd be grateful.

Share this post


Link to post
Share on other sites

The next challenge is to work out if there's any way to boot from my LSI 9201-8i (2008 controller) card?   I do not have a UEFI BIOS, and I am not sure if that's a problem.

 

 

Turns out that booting from an LSI controller (or MegaRAID I expect) without an EFI capable motherboard requires a special patch to Clover's boot loader.  User despeinao has made the required patch for LSI Fusion cards (2008 and 2308), which can be found in this post in the Clover forum.  The patch requires that the LSI card has been flashed with both the standard Legacy BIOS and the also the LSI EFI BIOS.  Download locations can be found in this post.

 

I am now booted from my LSI card and it is awesome :)

Share this post


Link to post
Share on other sites

I have an LSI 9361-8i, but it appears it is not supported. I would like to run a 12Gb/s SAS controller in High Sierra. Does anyone know of a board that will work?

 

Thanks!

Share this post


Link to post
Share on other sites

I have an LSI 9361-8i, but it appears it is not supported. I would like to run a 12Gb/s SAS controller in High Sierra. Does anyone know of a board that will work?

 

Thanks!

 

I have no personal experience, but this card appears to support 12Gb/s with macOS drivers: HighPoint RocketRaid 3740A.  It's fairly expensive.  You'd have to check further to be sure it also works in a Hackintosh.  But I have heard other users mention using HighPoint cards.

Share this post


Link to post
Share on other sites

I have no personal experience, but this card appears to support 12Gb/s with macOS drivers: HighPoint RocketRaid 3740A.  It's fairly expensive.  You'd have to check further to be sure it also works in a Hackintosh.  But I have heard other users mention using HighPoint cards.

Thanks!

 

That's actually the card that I thought might work also. Too bad because the LSI boards are better than the High Point boards, but if it doesn't work, that doesn't do me any good. They make an OEM version with only 8 ports called the 3720a, but not sure who the oem is. I haven't been able to identify it so far.

Share this post


Link to post
Share on other sites
Posted (edited)

After a few days' trying. It works on my High sierra 10.13.4 with LSI MegaRaid 9260-8i (RAID 10, 6 x 2TB Disk) & XFX 7970Ghz & E3-1230v2. Thanks!

 

And now I want to share a strange problem with 7970Ghz grahics card and LSI RaidCard ( Maybe helpful to someone ).

and this problem spend me few days to pass... 

 

Stuation: 

7970 using DVI Output without LSIRaidCard  ->  System WORKS.

7970 using DVI Output with LSIRaidCard -> System boot into black screen.

7970 using DP Output with LSIRaidCard -> System WORKS.

 

SO BE CAREFUL LSI raid card maybe something conflict with 7970 graphics card's dvi output.:) 

Edited by vivienicepig

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Taruga
      Problem solved 

      This is the way I did it

      Lets suppose that disk16 and disk17 are the disks to create the Raid 0 

      After the first command to create the raid, 2 extra disks (disk18 and disk19) will show up if you do a diskutil list
      diskutil appleRaid create stripe raid0 apfs disk16 disk17
 diskutil unmountDisk disk18 diskutil unmountDisk disk19 sudo gpt create disk18 sudo gpt add -b 40 -s 409600 -i 1 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk18 sudo gpt add -b 409640 -i 2 -t 7C3457EF-0000-11AA-AA11-00306543ECAC disk18 sudo newfs_apfs disk18s2
 diskutil mountDisk disk19  
      This is diskutil list output before the above commands
       
      dev/disk16 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk16 1: EFI EFI 209.7 MB disk16s1 2: Apple_HFS Sem nome 319.6 GB disk16s2 /dev/disk17 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk17 1: EFI EFI 209.7 MB disk17s1 2: Apple_HFS Sem nome 319.6 GB disk17s2  
       
      After diskutil appleRaid create stripe raid0 apfs disk16 disk17 , diskutil list displays:
       
      dev/disk16 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk16 1: EFI EFI 209.7 MB disk16s1 2: Apple_RAID 319.7 GB disk16s2 3: Apple_Boot Boot OS X 134.2 MB disk16s3 /dev/disk17 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk17 1: EFI EFI 209.7 MB disk17s1 2: Apple_RAID 319.7 GB disk17s2 3: Apple_Boot Boot OS X 134.2 MB disk17s3 /dev/disk18 (external, virtual): #: TYPE NAME SIZE IDENTIFIER 0: Apple_APFS +639.5 GB disk18 /dev/disk19 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +639.5 GB disk19 Physical Store disk18 1: APFS Volume raid0 839.7 KB disk19s1  
      And after the rest of the commands, diskutil list displays:
       
      dev/disk16 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk16 1: EFI EFI 209.7 MB disk16s1 2: Apple_RAID 319.7 GB disk16s2 3: Apple_Boot Boot OS X 134.2 MB disk16s3 /dev/disk17 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk17 1: EFI EFI 209.7 MB disk17s1 2: Apple_RAID 319.7 GB disk17s2 3: Apple_Boot Boot OS X 134.2 MB disk17s3 /dev/disk18 (external, virtual): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme +639.5 GB disk18 1: EFI 209.7 MB disk18s1 2: Apple_APFS Container disk19 639.2 GB disk18s2 /dev/disk19 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +639.2 GB disk19 Physical Store disk18s2 1: APFS Volume untitled 897.0 KB disk19s1
      Now, disk18 has a GUID_partition_scheme  which it didn't had before.
      And disk19 it's the APFS formated volume ready to install the OS.
       
      ---------------------------

      Obs:
       
      sudo gpt add -b 40 -s 409600 -i 1 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk18 sudo gpt add -b 409640 -i 2 -t 7C3457EF-0000-11AA-AA11-00306543ECAC disk18
      The above GUID's used were taken from https://en.wikipedia.org/wiki/GUID_Partition_Table
       
      EFI System partition C12A7328-F81F-11D2-BA4B-00A0C93EC93B Apple APFS 7C3457EF-0000-11AA-AA11-00306543ECAC -------------- And for HFS+, if anyone needs: Hierarchical File System Plus (HFS+) partition 48465300-0000-11AA-AA11-00306543ECAC But with HFS+, then instead of: diskutil appleRaid create stripe raid0 apfs disk16 disk17 sudo newfs_apfs disk18s2 Should be used: diskutil appleRaid create stripe raid0 JHFS+ disk16 disk17 sudo newfs_hfs -v raid0 disk18s2

      Video demo link:

      Youtube



       
    • By dukzcry
      This is kext for LSI MegaRAID SAS family of controllers
      Topic: https://www.insanelymac.com/forum/topic/285197-driver-for-lsi-megaraid-sas-family/
       
    • By Dallastyle
      Hello Insanelymac,
      I've successfully installed Mac OS X Sierra on 2 32gb flash drives with them as a JBOD Raid. I can only get into the hackintosh if I use another USB flash drive with Clover installed on it. I've tried using a clover installer however that just installs on my Raid Disk. I've also noticed that when I open clover configurator, there are 2 EFI partitions but both of them were empty. I've tried moving the contents of the EFI on my Raid disk that clover installed but my BIOS does not detect it. Also when I use the other flash drive to boot into clover, there is another volume called "BOOT OS X" right next to my Raid Disk Volume that I use to boot from. I just want to install and boot off of my Raid usb flash drives. Really running out of options, Thanks guys.
    • By Jarek Januszewski
      This project is actually two years old, but despite the aging SATA standard, still current as an idea.
      And of course - conforming hackintosh different thinking.
       
      I invite you to my shop for a short film of the "Do it yourself" series.
×