Jump to content

Driver for LSI MegaRAID SAS family

RAID LSI

  • Please log in to reply
382 replies to this topic

#361
fitman

fitman

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

I have a D2607-A11 card and flash into LSI 9211-8i IT mode, can it be used in Sierra using this SASMegaRAID.kext driver?



#362
jfive

jfive

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts

I have a D2607-A11 card and flash into LSI 9211-8i IT mode, can it be used in Sierra using this SASMegaRAID.kext driver?

 

From what I've read over the years, this will not work with card in IT mode. You can try it but the OS might not recognize the drives. If you use IT mode to gain JBOD, you might use RAID 0 instead.



#363
blackrunnero

blackrunnero

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

Hi everyone

 

Just Installed a perc h310 into my mac pro 3,1. the adapter shows up in the scsi section using the sasmegaraid kext, drives are visible in mfiutil only BUT i have no acces to the drives. I tried to build a volume through mfiutil but is not possible, it says: current driver configuration won't allow any changes.

I have a PC and I tried to replace the dell firmware with lasi9211 but the PC won.t boot unless I cover the pins 4 and 5 on the adapter and when I do this the H310 won't show up at all.

 

any ideas?

I need to create a raid0 from two ssd

 

thank you



#364
maleorderbride

maleorderbride

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 583 posts
  • Gender:Male

Is the 9285CV-8e a Fusion-based card?

If so, any recommendations on an external card?

 

 

OK, so the 9285CV appears to be SAS2208, so no go.

 

Looks like 9200-8e or 9280-8e for me!



#365
AppleIIGuy

AppleIIGuy

    InsanelyMac Sage

  • Donators
  • 436 posts
  • Gender:Male
  • Location:Portland, OR

Hi everyone

 

Just Installed a perc h310 into my mac pro 3,1. the adapter shows up in the scsi section using the sasmegaraid kext, drives are visible in mfiutil only BUT i have no acces to the drives. I tried to build a volume through mfiutil but is not possible, it says: current driver configuration won't allow any changes.

I have a PC and I tried to replace the dell firmware with lasi9211 but the PC won.t boot unless I cover the pins 4 and 5 on the adapter and when I do this the H310 won't show up at all.

 

any ideas?

I need to create a raid0 from two ssd

 

thank you

Have you tried booting in legacy mode to access the perc bios and setup the array that way?



#366
ccozmo

ccozmo

    InsanelyMac Protégé

  • Members
  • PipPip
  • 70 posts

Will this driver work for High Sierra ? or is there anyway to modify it to ? I'm currently using it on Sierra and don't want to upgrade to High Sierra if it doesn't work.

 

Thanks



#367
maleorderbride

maleorderbride

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 583 posts
  • Gender:Male

What RAID manager is installed with this package? I can't seem to find it for some reason.

 

Or does someone have a link to a working RAID manager? I am having a hard time finding it on Broadcom's website.



#368
AppleIIGuy

AppleIIGuy

    InsanelyMac Sage

  • Donators
  • 436 posts
  • Gender:Male
  • Location:Portland, OR

You create the raid in bios. You must boot in Legacy Mode and access the bios of the card.



#369
kurbads

kurbads

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

Hi, I have both LSI 9211-8i and PERC H310 cards. None of them show up in El Capitan. Do I need to upgrade to Sierra? If read somewhere High Sierra has it's own driver for LSI / Poweredge.

 

Regardless of if I put the kext in SLE or Clover EFI or both. The kext shows as not loaded in System Report.  

 

The card shows in during boot and shows number of attached disks. 

 

Do I have to create array of disks even for card to show up?

 

I only have one 8TB SAS drive to attach. That's what the second card was bought for.

 

I use the first one to test SSDs before sale on eBay, 8 at a time. Both cards seem to be pretty well supported by your driver. Is it OS version independent?

 

David

 

Edit: I run the sudo kextutil -v /System/Library/Extensions/SASMegaRAID.kext with fellowing results

 

Defaulting to kernel file '/System/Library/Kernels/kernel'
Diagnostics for /System/Library/Extensions/SASMegaRAID.kext:
Code Signing Failure: not code signed
/System/Library/Extensions/SASMegaRAID.kext appears to be loadable (not including linkage for on-disk libraries).
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/SASMegaRAID.kext"
kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/SASMegaRAID.kext"
Loading /System/Library/Extensions/SASMegaRAID.kext.
/System/Library/Extensions/SASMegaRAID.kext successfully loaded (or already loaded).

 

After this kext shows as loaded in Profiler extensions but no cards show up anywhere and it shows up as not loaded after restart.


Edited by kurbads, 07 October 2017 - 04:51 PM.


#370
ccozmo

ccozmo

    InsanelyMac Protégé

  • Members
  • PipPip
  • 70 posts

I see it's based on a LSISAS2208 (aka Thunderbolt), so unfortunately no (see https://github.com/d...raid/README.mkd)

 

dZihan,

 

No, but i've just followed my guide to you for the test, and got sleep working. So there's something wrong on your side.

That's what i did:

- Done an install from package Release.zip http://www.osx86.net...asmegaraidkext/

- Tested, no sleep

- Got plist from Unsafe settings unlocked.zip http://www.osx86.net...asmegaraidkext/, changed AllowSleep preference from 'false' to 'true' and overwritten kext's Info.plist by it, run kext utility, rebooted

- Tested, tied to console (opened a terminal and issued 'tail -f /var/log/system.log | grep SAS' command), sleep works! Waked up the machine, waited a bit, a console message 'Resumed after sleep' appeared. Used a volume on the controller a bit for the test, done reboot, repeated this step. All OK!

Hi,

 

The links to these files, have been deleted. Does anyone know where I can get them from ? I want to be able to put my system to sleep and I can't due to "System sleep preventers: SASMegaRAID"

 

Does anyone have this working ? And could help me out ?

 

Thanks !



#371
ccozmo

ccozmo

    InsanelyMac Protégé

  • Members
  • PipPip
  • 70 posts

I downloaded the "Unsafe sleep enabled.zip" from the following link

http://www.insanelym...asmegaraidkext/

 

Installed the Release/SASMegaRAID.kext in /S/L/E instead of the original kext and now my system will sleep 

 

I also asked earlier if this kext would work on High Sierra and i can confirm it's working fine



#372
kurbads

kurbads

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

Bought this LSI 9211-8i on eBay. Loaded it with the latest firmware and bios. Created a RAID array on Windows on the same machine. Boot into Mac - nothing, as if there was no sign of it. Edited dukzcry kext 0x73001000 to 0x72001000 no luck. The prefer MSI is already set to 'false'. Is this my destiny?

 

MegaRAID.png
2X256gbRAID.png
Screen Shot 2017-11-13 at 21.05.05.png
Screen Shot 2017-11-13 at 21.08.05.png

Attached Files



#373
kurbads

kurbads

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

does anyone know how to use the commercial drivers from astek?  

Would you mind sharing where to get them? Or could you please host them somewhere?



#374
kurbads

kurbads

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

Found them, they work!

 

Dukzcry, please add these drivers to your main page as people who look for these will find your page first. Also because you are paying so much attention to aspect that your driver is not for 'fusion' cards, please explain what it is and how does it matter. Point out that there is a driver for fusion cards.

 

Here is the device list the driver works with

 

<key>IOPCIPrimaryMatch</key>
   <string>0x00641000&amp;0xFFFFFFFF 0x00651000&amp;0xFFFFFFFF 0x00701000&amp;0xFFFFFFFF 0x00721000&amp;0xFFFFFFFF 0x007E1000&amp;0xFFFFFFFF 0x00861000&amp;0xFFFFFFFF 0x00871000&amp;0xFFFFFFFF 0x006E1000&amp;0xFFFFFFFF</string>

 

Attached File  LSI_2308_DRIVERS.zip   213.38KB   38 downloads

 

Cheers!

David

Attached Files



#375
perljammer

perljammer

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Hello all! I have installed the supplied kext and it has worked beautifully, thank you to dukzcry for ll of your hard work on this. I am now seeing all of the hard disk on my external server individually.

 

I am trying to figure out how to access this card from boot to configure RAID, or if this is even possible from my motherboard. I have an ASUS x79 GENE IV, which is an 1150 board. I've been hunting around to see if anyone else has attempted to access a PCIe boot configuration from this board,m but I'm not finding much. Any advice you could give me on how to do this would be greatly appreciated. The boot section that seems most appicable has the following options:
 

LAUNCH CSM:

--ENABLE

--DISABLE

 

--BOOT DEVICE CONTROL:

-----UEFI AND LEGACY OPROM

-----LEGACY OPROM ONLY

-----UEFI ONLY

 

--BOOT FROM NETWORK DEVICES

----ENABLED

----DISABLED

 

--BOOT FROM STORAGE DEVICES

----BOTH, LEGACY OPROM FIRST

----BOTH UEFI FIRST

----LEGACY OPROM FIRST

----UEFI DRIVER FIRST

----IGNORE

 

BOOT FROM PCIe EXPANSION DEVICES

--OPROM FIRST

--UEFI FIRST

 

I've tried both options for PCIe as well as combinations of the other options, but I don't seem to get any prompt for the card. I also do not see the drives as boot options in the BIOS.

 

I've seen suggestions that Ctrl-h or ctrl-l at boot might access the boot option, but that doesn't seem to work on my computer.

 

I have pictures of all this and can get other pictures as well. Any hints on what I should try to research next would be greatly appreciated.

 

This looked like it might be tangentially related, but I don't quite understand everything in it. I can study it more if you guys think it might be heading in the right direction:
https://www.win-raid...-UEFI-BIOS.html



#376
vpac

vpac

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 107 posts
  • Gender:Male

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?



#377
TheBloke

TheBloke

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Brighton, UK

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.



#378
TheBloke

TheBloke

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Brighton, UK

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!)



#379
TheBloke

TheBloke

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Brighton, UK

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.



#380
TheBloke

TheBloke

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Brighton, UK

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 :)








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy