Jump to content

Driver for LSI MegaRAID SAS family

RAID LSI

  • Please log in to reply
358 replies to this topic

#161
ididit86

ididit86

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Hi Duckzcry...I am new to raid controllers and even more so getting them to function in OS X... I have read the dell h310 mentioned; could you summarize for me what the final verdict is on using this card with your driver? Is this a good idea or not? I read a previous poster said that the hard drives need to be virtual disks in order to access them... I do not now what this means...could you link me to where I can read about what this is, in the context of your discussion here about them? Any advice from your experience on how to set this up/understand this application would be most appreciated. Sorry for bing such a newb...gotta start somewhere I guess..
Sorry should have added the following information:

Mc pro 1,1 (2006)
Flashed to 64 bit EFI
OSX mavericks

The controller, if not already known, is LSISAS2008

Thanks!

#162
justroach

justroach

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts

Hi Duckzcry...I am new to raid controllers and even more so getting them to function in OS X... I have read the dell h310 mentioned; could you summarize for me what the final verdict is on using this card with your driver? Is this a good idea or not? I read a previous poster said that the hard drives need to be virtual disks in order to access them... I do not now what this means...could you link me to where I can read about what this is, in the context of your discussion here about them? Any advice from your experience on how to set this up/understand this application would be most appreciated. Sorry for bing such a newb...gotta start somewhere I guess..
Sorry should have added the following information:

Mc pro 1,1 (2006)
Flashed to 64 bit EFI
OSX mavericks

The controller, if not already known, is LSISAS2008

Thanks!

 

I was not not able to put the time into working on these cards, but I think there may be a firmware issue that I ran into. RAID-5 was a no-go, but non-parity RAIDs like 10 worked, so it may depend on your use-case.

 

The driver (like those on any other OS as well) only presents the "virtual" devices that the card creates. This is just LSI's term for creating a RAID array. All RAID cards will do the same thing. Once you install the card and the driver go into the BIOS for the card and create a RAID array/virtual disk and it should present that volume to the OS for formatting.

 

Definitely interested to hear if you get the H310 working with RAID-5. As I said I think it will require trying some different firmware levels, which in turn, will require a DOS bootable volume with the Dell firmware on it.



#163
dukzcry

dukzcry

    Retired

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Not Telling

Hi Duckzcry...I am new to raid controllers and even more so getting them to function in OS X... I have read the dell h310 mentioned; could you summarize for me what the final verdict is on using this card with your driver? Is this a good idea or not?

Sorry, but i don't track this. Justroach expressed his experience, and you may wait what other h310 owners will say.

 

As for VDs, right, these just RAID arrays represented as single (virtual) disks to the system, and any true hardware RAID card do this indeed. But the LSISAS2008 controllers additionally got the "physical disks" mode, which just does the device passthrough. It behaves the same as if you would connect your drives to any non-RAID disk controller. Official LSI drivers should support it, but my doesn't, as i haven't time, will and hardware to work on this.

This mode is useful mainly for two purposes: 1) you want to connect the devices, which can't be RAIDed, like CD-ROM; 2) you want to use your hardware RAID controller as plain disk controller, this is common for peoples using software level RAIDs (like ZFS RAID-Z) and want to eliminate an additional overhead.

 

Sorry should have added the following information:

Mc pro 1,1 (2006)
Flashed to 64 bit EFI
OSX mavericks

Please let us know how this kext will go on your real Mac Pro if you will use any of supported controller. No one of Mac Pro owners camp reported yet :( Thought the most interesting is the test on MacPro3,1 and upper (w native EFI64). 



#164
dZihan

dZihan

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

hey there, thanks again for sending the kexts with sleep enabled! now I finally got the time to do some testing.

 

When I use the original kexts from the download section of page 1 (without sleep), everything works fine. Boots up fine and fast, the RAID5 is displayed as external device, it's fully usable and fast :) but, as said no sleep:

 

 

04.04.14 14:19:09,000 bootlog[0] BOOT_TIME 1396613949 0

04.04.14 14:19:12,000 kernel[0] AID] Command queued
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] interruptHandler: pcq vaddr 0xffffff80e76f5000
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] pi: 0x19 ci: 0x18
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] ccb: 0
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] mraid_cmd_done
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] ProcessParallelTask: Opcode 0x12, Target 0
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] LogicalDiskCmd
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] CreateSGL
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] Paddr[0]: 0xe71300
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] genIOVMSegments: nseg 1
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] frame_size: 60, extra_frames: 0
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] Started processing
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] Command queued
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] interruptHandler: pcq vaddr 0xffffff80e76f5000
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] pi: 0x1a ci: 0x19
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] ccb: 0
04.04.14 14:19:12,000 kernel[0] [SASMegaRAID] mraid_cmd_done
...
...

 

Tried to find out what keeps it from sleeping, only line i found with sleep in it:

 

04.04.14 14:20:41,059 WindowServer[91] handle_will_sleep_auth_and_shield_windows: no lock state data

 

 

 

When I use the kext with sleep enabled, it boots up fine but the kext won't load, and the RAID is not recognized - obviously sleep works then ;)

 

 

04.04.14 14:22:11,000 kernel[0] kxld[com.apple.driver.SASMegaRAID]: The super class vtable '__ZTV33IOSCSIParallelInterfaceController' for vtable '__ZTV11SASMegaRAID' is out of date. Make sure your kext has been built against the correct headers.
04.04.14 14:22:11,000 kernel[0] kxld[com.apple.driver.SASMegaRAID]: The super class vtable '__ZTV33IOSCSIParallelInterfaceController' for vtable '__ZTV11SASMegaRAID' is out of date. Make sure your kext has been built against the correct headers.
04.04.14 14:22:11,000 kernel[0] Can't load kext com.apple.driver.SASMegaRAID - link failed.
04.04.14 14:22:11,000 kernel[0] Failed to load executable for kext com.apple.driver.SASMegaRAID.
04.04.14 14:22:11,000 kernel[0] Kext com.apple.driver.SASMegaRAID failed to load (0xdc008016).
04.04.14 14:22:11,000 kernel[0] Failed to load kext com.apple.driver.SASMegaRAID (error 0xdc008016).
04.04.14 14:22:11,000 kernel[0] Couldn't alloc class "SASMegaRAID"
04.04.14 14:22:11,000 kernel[0] rooting via boot-uuid from /chosen: 040D06C4-6BA5-39D3-875D-0999A5BC3D07
04.04.14 14:22:11,000 kernel[0] Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
 

 

...

 

04.04.14 14:22:13,049 com.apple.kextd[12] Failed to load /System/Library/Extensions/SASMegaRAID.kext - (libkern/kext) link error.

04.04.14 14:22:13,052 com.apple.kextd[12] Load com.apple.driver.SASMegaRAID failed; removing personalities from kernel.
04.04.14 14:22:13,000 kernel[0] kxld[com.apple.driver.SASMegaRAID]: The super class vtable '__ZTV33IOSCSIParallelInterfaceController' for vtable '__ZTV11SASMegaRAID' is out of date. Make sure your kext has been built against the correct headers.
04.04.14 14:22:13,000 kernel[0] kxld[com.apple.driver.SASMegaRAID]: The super class vtable '__ZTV33IOSCSIParallelInterfaceController' for vtable '__ZTV11SASMegaRAID' is out of date. Make sure your kext has been built against the correct headers.
04.04.14 14:22:13,000 kernel[0] Can't load kext com.apple.driver.SASMegaRAID - link failed.
04.04.14 14:22:13,000 kernel[0] Failed to load executable for kext com.apple.driver.SASMegaRAID.
04.04.14 14:22:13,000 kernel[0] Kext com.apple.driver.SASMegaRAID failed to load (0xdc008016).
04.04.14 14:22:13,000 kernel[0] Failed to load kext com.apple.driver.SASMegaRAID (error 0xdc008016).

 

I tried to fiddle around with the info.plists from both kexts, tried to change the values in the kext with sleep and tried to use the plist from the original with the kext w_sleep - obviously that didn't do it ;)

 

Also I used a range of kext utilities (Kext Utility, Kext Wizard, or terminal use) no difference, so that shouldn't be the problem.

 

What could be the problem? Or which value would I need to change in the no sleep kext to get it to sleeping?

somehow, I got no good ideas :(

 

Anyways I really appreciate your work! Hope we'll find the answer to this issue :)

 

btw: my rigg:

 

Board: GA-Z68MX-UDH3

Controller: Dell Perc 5/i without BBU - FW: 7.0.1-0083

Disk attached to perc: 4x 1TB Samsung

Running ML 10.8.5. with everything working

Boot Drive attached to board AHCI

 

 

Hope this helps?

Thanks again and greetings ;)



#165
dukzcry

dukzcry

    Retired

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Not Telling

Tried to find out what keeps it from sleeping, only line i found with sleep in it:

Adding kIOPMPreventIdleSleep | kIOPMPreventSystemSleep to the IOPMPowerState's capabilityFlags is what prevents the sleep. This is actually a hack, since these flags are marked for not to be used by third-party kexts, and you don't even see this kext listed when issuing 'pmset -g assertions', but it thankfully works. I'm forced to keep it in base until boot volume poisoning will be fixed by any chance.

 

 

What could be the problem?

Well, the error states of build issue, so i doubt the kext copy you have could be fixed. But really, you don't need a separate build anymore. Just replace the plist in an original working kext you have with this one: http://www.osx86.net...asmegaraidkext/ Here, set AllowSleep key to 'true' value, but don't touch other settings from DangerZone ;)



#166
gorg

gorg

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

Hi dukzcry and the rest,

 

- Would an LSI (probably rebranded Intel) 9265-8i work?

- I couldn't build mfiutil. I get an error:

In file included from mfiutil.c:38:
./mfiutil.h:38:10: fatal error: 'sys/linker_set.h' file not found
#include <sys/linker_set.h>

Is there a binary available?

 

 

It would be interesting to check if CacheCade and Fastpath work too (I might do it if I succeed in building my system).

 

Thanks

 

 

Ignore that for mfiutil. It is in the Installer in Release.zip downloaded from osx86.net  :poster_oops:


Edited by gorg, 04 April 2014 - 09:49 PM.


#167
dZihan

dZihan

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

Hey there, thanks for the support!

 

 

Just replace the plist in an original working kext you have with this one: http://www.osx86.net...asmegaraidkext/ Here, set AllowSleep key to 'true' value, but don't touch other settings from DangerZone ;)

 

Hm... doesn't seem to work - behaves the same way as before - no sleep :(



#168
dZihan

dZihan

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

are you actually using sleep in your rigg?



#169
dukzcry

dukzcry

    Retired

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Not Telling

 

 

- Would an LSI (probably rebranded Intel) 9265-8i work?

 

 

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!



#170
gorg

gorg

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

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

 

Thanks, I wanted to verify that nothing has changed :(

I'll try with a 9260-8i in a few days anyway  :yes:



#171
dZihan

dZihan

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

hmmm, obviously something is wrong with my setup then... tried again yesterday but still no sleep, regardless of using ML or Mavericks - so I guess it's back to SW RAID or my search for card compatible with my board goes on :)

Maybe some BIOS settings are set wrong or the Gigabyte Board just doesn't support the Perc in a right manner.

 

Are there (besides Highpoint) actually cards that work natively under OS X? I remember 3ware cards working, but they (LSI) stopped support for OS X?

 

Thanks for the great support nevertheless!!  :yes:



#172
jsahlen

jsahlen

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

I have a 9240-8i that I was planning to flash to 9211-8i in IT mode. I gather that this would not work in OS X at all? If I use IR mode and this driver, can I still have the drives pass through completely to OS X? I want to use them in a ZFS array so that's why it's important. Sorry if it's a stupid question – just getting started with this stuff and I'm still waiting for cables and some other equipment, otherwise I would just have tried it myself :) Thanks!



#173
dukzcry

dukzcry

    Retired

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Not Telling

dZihan,

 

Can't help you with that. But there a lot of topics on this theme on a forum, you just need to search.

As for 3ware, yep, they're legacy now.

 

jsahlen,

 

I think that no. You can pass them only as virtual devices with this kext.

Yes i talked a bit on ZFS volume manager upper in the discussion; that the usage of it's software RAID is the main reason for using of a passthrough mode. Though why go a complicated way? Could you just use an internal controller or take an officially supported one? It's even doesn't need to be a hardware RAID controller...



#174
jsahlen

jsahlen

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

dZihan,

 

Can't help you with that. But there a lot of topics on this theme on a forum, you just need to search.

As for 3ware, yep, they're legacy now.

 

jsahlen,

 

I think that no. You can pass them only as virtual devices with this kext.

Yes i talked a bit on ZFS volume manager upper in the discussion; that the usage of it's software RAID is the main reason for using of a passthrough mode. Though why go a complicated way? Could you just use an internal controller or take an officially supported one? It's even doesn't need to be a hardware RAID controller...

The reason for this card is I don't have enough internal ports + already had the card. Maybe I'll have to look into switching to a different OS for this machine though – it's only used as a NAS/HTPC anyway. Thanks for the quick reply!



#175
brickbat

brickbat

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 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.



#176
dukzcry

dukzcry

    Retired

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Not Telling

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.

#177
brickbat

brickbat

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

I just found out that the Perc 5/i doesnt work with drives over 2tb.  Do you know if any of these controllers work with 3 and 4 tb drives and have a JBOD mode?



#178
dukzcry

dukzcry

    Retired

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Not Telling

I just found out that the Perc 5/i doesnt work with drives over 2tb.  Do you know if any of these controllers work with 3 and 4 tb drives and have a JBOD mode?

Most modern do. See: http://www.insanelym...mily/?p=1950974 Recheck if JBOD is supported on the controller of your future choice, but usually it is.



#179
brickbat

brickbat

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

ok. Thanks for the advice.  I think the Dell H310 has a jbod mode (On the data sheet. they call it pass through) and from the link you supplied, it seems to work with 2tb+ drives.  My disks are already formatted (HFS journaled) and full of data.  Do you think it will be viable to use it as an 8 port SATA controller in this way?  I can get two of them for less than the price of a new Areca ARC 1320 8i.



#180
justroach

justroach

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts
brickbat! PM me if you decide to go the H310 route. I'm overstocked. :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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