Jump to content

Driver for LSI MegaRAID SAS family

RAID LSI

  • Please log in to reply
209 replies to this topic

#201
MrSTiMPy

MrSTiMPy

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts

I've tried a lot to attempt to get it authenticated but no anvil. 

Thanks I will try reaching him, or somebody else to to an XCode build for me, or I'll build it on attempt to build it on Mavericks. 

 

Hi guys,

 

I am currently using it with 10.10 DP5 and have been using it with all of the previous DP versions. The trick is to use it with Clover bootloader in the EFI/Clover/kexts/10.10 folder, this way you don't need to use any kernel parameters to force OSX to load the unsigned kexts.

 

Cheers!



#202
rmcmanus

rmcmanus

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Sorry if this is a stupid question but I was wondering if this kext will work with OS X 10.9.2 on a Z87 motherboard and a Dell Perc 5i 8 port card.  I don't really need RAID - just a good solid SATA controller.

 

 

It works fine at OS X 10.9.x with Perc 5. This card provides RAID mode only, but you can just make RAIDs consisting of single drives, so you'll able to achieve your goal.

 

 

Hi - don't know if this thread is still active, but if so, firstly, hello and much kudos to you, dukzcry.

 

I'm in a similar situation to brickbat - trying to build an 8-bay media rig to run Mavericks and ZFS - bought a RR2720SGL which initially runs fine and all disks pass through happily enough, but it seems to only work properly under Windoze - keeps spitting out disks under load if used in OSX, UnRAID etc.

 

I would happily go down the better-known (more expensive) HBA route, if I could figure out which of the current LSI (or rebranded) cards would be supported by the AppleLSIFusionMPT kext.

 

I know this is off-topic for this thread, being a non-RAID question, but was hoping you or someone else may have a recommendation as to a potential card for this use-case, as I have been searching for hours and getting not very far... seems info relating to Mavericks is a bit thin,

 

Any help or pointers appreciated.

 

Regards

 

Richard



#203
fallen101

fallen101

    InsanelyMac Geek

  • News Team
  • 108 posts
  • Gender:Male
  • Location:Florida
I have a Dell SAS 6/ir which is an LSI 1068e SAS card, however I can not get it in Mavericks, though that might be my PCI tables being improperly detected...

#204
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 110 posts
  • Gender:Male

Hi Richard,

 

I would happily go down the better-known (more expensive) HBA route, if I could figure out which of the current LSI (or rebranded) cards would be supported by the AppleLSIFusionMPT kext.

 

I know this is off-topic for this thread, being a non-RAID question, but was hoping you or someone else may have a recommendation as to a potential card for this use-case, as I have been searching for hours and getting not very far... seems info relating to Mavericks is a bit thin

 

I haven't seen anything special to the Mavericks support too.

Maybe worth to ask here? http://www.insanelym...sx86-solutions/

 

I have a Dell SAS 6/ir which is an LSI 1068e SAS card, however I can not get it in Mavericks, though that might be my PCI tables being improperly detected...

 

Could you take a DevID of your card? http://www.insanelym...mily/?p=2026275 just to eliminate possible unidentification.



#205
rmcmanus

rmcmanus

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Hi Richard,
 

 
How do you mean? There is one disabled optimization for a heavy ZFS usage in the code of my kext, but it haven't been tested yet. If you're interesting, i may give you a build where it's enabled.

 
Hi, thanks for the reply. As I am still at the experimental stage, I'd be happy to help try anything out, no risk to my "production" deployment ;-)

To be clearer tho on my experience, I am currently using the RR2720 with whatever native drivers there are in Mavericks. I had a look through the default kexts, but couldn't see which one it was using. I know that strictly speaking it's not supported, but the eSATA version is, and they are basically the same card afaik.

But the card seems to only work under Winbloze, and fails under OSX or Linux even without ZFS. I kick off a large copy from two disks on the controller, and it inevitably fails one of the disks, even though they otherwise seem ok. They can be brought back online etc, no issues.

I thought it might have been something in the firmware, as you used to be able to flash the v1.0 of these cards to a non-raid (HBA mode?), but that can't be done with the v2.0 that I got, and as it works in Windoze, it can't be physical incompatibility.

I did spot a read / write timeout parameter in the AppleLSI kexts, appears to be 30s. I thought if there was something similar in the RR kexts, and ERC/TLER on the drive was less than this, that the drive could fail out before the driver did, causing the issue?

I haven't seen anything special to the Mavericks support too.
Maybe worth to ask here? http://www.insanelym...sx86-solutions/


Had a look there, looks like the IBM BR10i might be worth a punt, thanks for the pointer.

Regards

Richard

#206
Pavo

Pavo

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Male
  • Location:Fort Gordon, GA
  • Interests:Asus Maximus V Gene motherboard, i7 3770, 16Gb ram, EVGA GTX 770, ALC898 on board sound, PERC 5i...

Attached is the kext rebuild for Yosemite DP7, built with Xcode 6.1 beta 

 

https://www.dropbox....ASMegaRAID?dl=0



#207
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 110 posts
  • Gender:Male

 
Hi, thanks for the reply. As I am still at the experimental stage, I'd be happy to help try anything out, no risk to my "production" deployment ;-)

To be clearer tho on my experience, I am currently using the RR2720 with whatever native drivers there are in Mavericks. I had a look through the default kexts, but couldn't see which one it was using. I know that strictly speaking it's not supported, but the eSATA version is, and they are basically the same card afaik.

But the card seems to only work under Winbloze, and fails under OSX or Linux even without ZFS. I kick off a large copy from two disks on the controller, and it inevitably fails one of the disks, even though they otherwise seem ok. They can be brought back online etc, no issues.

I thought it might have been something in the firmware, as you used to be able to flash the v1.0 of these cards to a non-raid (HBA mode?), but that can't be done with the v2.0 that I got, and as it works in Windoze, it can't be physical incompatibility.

I did spot a read / write timeout parameter in the AppleLSI kexts, appears to be 30s. I thought if there was something similar in the RR kexts, and ERC/TLER on the drive was less than this, that the drive could fail out before the driver did, causing the issue?


Had a look there, looks like the IBM BR10i might be worth a punt, thanks for the pointer.

Regards

Richard

 

Ah, i was blind.

Have you tried to get in touch with some RR owner or their support? It's a pity that developer hadn't well tested their device and driver under the various conditions.

 

As for purchasing of a new card, i'm not sure if something supported by applelsi* kexts will be better then well-proven and still supported 3rd-party solution, as Apple dropped usage of PCI in favor of Thunderbolt.

 

Attached is the kext rebuild for Yosemite DP7, built with Xcode 6.1 beta 

 

https://www.dropbox....ASMegaRAID?dl=0

 

Nice. Have you seen a need in this fix: https://github.com/d...-goodies/pull/4 on 10.10?



#208
rmcmanus

rmcmanus

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Ah, i was blind.
Have you tried to get in touch with some RR owner or their support? It's a pity that developer hadn't well tested their device and driver under the various conditions.


I hadn't considered Highpoint support, given I was running an unsupported card, on an unsupported OS/hardware platform...
 

As for purchasing of a new card, i'm not sure if something supported by applelsi* kexts will be better then well-proven and still supported 3rd-party solution, as Apple dropped usage of PCI in favor of Thunderbolt.
 

Problem is, I don't know of any 8-port (internal) PCI SAS/SATA cards that are supported either natively or by Apple kexts, given they never built a machine that could house 8 drives.

My next thought is to get a card supported in ESXi, and just run it as a VM with RDM disks. Any other suggestions appreciated.

Regards

Richard

#209
Pavo

Pavo

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Male
  • Location:Fort Gordon, GA
  • Interests:Asus Maximus V Gene motherboard, i7 3770, 16Gb ram, EVGA GTX 770, ALC898 on board sound, PERC 5i...

Ah, i was blind.

Have you tried to get in touch with some RR owner or their support? It's a pity that developer hadn't well tested their device and driver under the various conditions.

 

As for purchasing of a new card, i'm not sure if something supported by applelsi* kexts will be better then well-proven and still supported 3rd-party solution, as Apple dropped usage of PCI in favor of Thunderbolt.

 

 

Nice. Have you seen a need in this fix: https://github.com/d...-goodies/pull/4 on 10.10?

Not at all, everything is working like a charm



#210
Pavo

Pavo

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Male
  • Location:Fort Gordon, GA
  • Interests:Asus Maximus V Gene motherboard, i7 3770, 16Gb ram, EVGA GTX 770, ALC898 on board sound, PERC 5i...

Here i will report about my progress of working on driver for LSI MegaRAID SAS (not Fusion MPT) family of controllers called SASMegaRAID.kext. This one was requested few times at InsanelyMac and other Mac-related communities.
Most of info is provided in README.

Installer (which consists of kext and management util) and debug version of kext are here.
Source code: github.com/druga/osx-goodies/tree/master/raid.

Powering a Dell PERC 5 card with single disk attached:
a7e247d23467d7df8e3d0c82a683ec67.jpeg

P.S.: By the way, talking of PERCs: how to get hardware PCI-E RAID controller under $50, not an advert.

Progress:
25.12.12: Adjusted constraints
06.01.13: Got rid of DMA buffers copying
03.03.13: Fixed message signaled interrupts
05.03.13: Added 64-bit LBA support
03.04.13: Added support for mfiutil to the driver
10.04.13: Finished the project

F.A.Q.:
Q: Why do i need this driver? There is an AppleLSIFusionMPT already.
A: You need to use mine if you have non-Fusion card. See this.
Q: Any chance to make cards based on SAS2208 chip work?
A: The chip belongs to the same family, but it requires a lot of handling different from common handling for supported cards. Adding it's support to the current driver will lead to code bloat. One who wants support for this chip may write separate driver based on my work.
Q: Is pass-through mode supported?
A: No it isn't. See explanation in linked post.
Q: Is it possible to push more from my setup?
A: It may be.

Spoiler


Q: The driver loads but my device doesn't show up in profiler. What should i do?
A: Are you looking for your device under Parallel SCSI? Because you should!
If it's not a case, try inverting "PreferMSI" key value. It's under "Settings" dictionary in kext's plist.
Q: Can't find my device under SAS, SATA or Apple RAID in Profiler.
A: You should check under Parallel SCSI instead. See details.
Q: Ok, it shows now and i have my RAIDs configured, but OS X doesn't see them!
A: Are you sure you set the volumes you'd like to see as virtual (logical) disks in controller's BIOS? See question on pass-through upper.
Q: Done, but still the same issue.
A: Your firmware may not to use contiguous drive enumeration. Try "Uncontiguous enumeration.zip" by download link at the begin. See full issue report.
Q: My Mac stopped to go sleep after i've used your kext.
A: This is awaited. See this post for reasoning. If you meet mentioned requirement, download "Unsafe sleep enabled.zip" and try.

Can you upload these to a place that doesn't limit the amount of downloads please?







Also tagged with one or more of these keywords: RAID, LSI


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy