Jump to content

Driver for LSI MegaRAID SAS family

RAID LSI

  • Please log in to reply
373 replies to this topic

#241
fullmetaljester

fullmetaljester

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

duczkry, Success: after setting „PreferMSI“ to NO the raid shows up all the time in profiler. Thank you so much for your time and effort.

This fixed the same exact issue with my 8708EM2, thanks!



#242
dangil

dangil

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

hello there 

 

I have a M1015 (SAS2008 based, LSI 9240 8i equivalent) , PCI ID 0x1000 , 0x0073

first tested with old Bios (20.10.1-0126_SAS_2008_FW_Image_APP2.130.374-2023)

then with latest LSI Bios (20.13.1-0208_SAS_2008_FW_Image_APP_2.130.404-3836) 

 

tested with PreferMSI set to true and false

 

running Yosemite 10.10.2 on a hackintosh , booting via Clover (tested both UEFI and Legacy)

 

I am getting this console output with the Debug Kext:

 

kernel[0]: [SASMegaRAID] InitializeController
kernel[0]: [SASMegaRAID] [Helper] Region starting at 0xf7d60000
kernel[0]: [SASMegaRAID] Memory mapped at virtual address 0xf1af0000, length 8192
kernel[0]: [SASMegaRAID] Attach
kernel[0]: [SASMegaRAID] Transition_Firmware
kernel[0]: [SASMegaRAID] Firmware state: 0xb0000000
kernel[0]: [SASMegaRAID] [Helper] Looks like MSI interrupts are supported
kernel[0]: [SASMegaRAID] [Helper] MSI IR line: 1
kernel[0]: [SASMegaRAID] DMA: 64-bit, max commands: 31, max SGE count: 33
kernel[0]: [SASMegaRAID] Initccb
kernel[0]: [SASMegaRAID] Initialize_Firmware
kernel[0]: [SASMegaRAID] MRAID_Poll
kernel[0]: [SASMegaRAID] Unable to init firmware
kernel[0]: [SASMegaRAID] Can't attach device
kernel[0]: [SASMegaRAID] IOService->free
 
 
controller doesn't appears on Parallel SCSI 
on windows works OK
 
any ideas on how to make this work?
 
thanks


#243
dukzcry

dukzcry

    Retired

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

kernel[0]: [SASMegaRAID] Unable to init firmware

 

Hi.

You need to flash your card with 9240 IR (= MegaRAID) firmware.



#244
dangil

dangil

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Thanks for the reply

 

I believe I have MegaRAID firmware, since the device id is 0x1000 , 0x0073, and on boot I can enter Control-H to get to the raid configuration interface where I can create virtual disks

 

on linux the module megarais_sas is loaded, reporting this device : LSI Logic MegaRAID SAS 2008 [Falcon] [1000:0073]

 

on Windows the device detected is LSI MegaRAID SAS Controller

 

I flash this boards using the MegaCli command line, so I asume I am using a MegaRAID firmware

 

I could try to crossflash to 9211 IR , like some others on this topic, but I think the PCI id changes to 0x1000 , 0x0072 and I dont know if this driver would work either

 

is there a specific firmware version I can download that is know to work with this boards ? 

 

is there anything else I could try ?

 

thanks again



#245
dukzcry

dukzcry

    Retired

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

dangil, 

 

Unfortunately there's nothing more I can do in your situation.

You'd better to ask some person, who had a positive experience using that particular card and this kext, probably: http://www.insanelym...mily/?p=1976895 Not sure how well it went for him though.



#246
dangil

dangil

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Thanks anyway.

 

I gave up.. 

 

after a lot of testing, I believe this card doesn't play well with my Gigabyte Z97X-UD5H-BK board. 



#247
PhaseMelter

PhaseMelter

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

I just stumbled upon this thread. What a great piece of software dukzcry! This thread really made me tinker about a RAID controller for my system.

The built in Intel RST does not seem to work, since Yosemite does not recognise it as a RAID but just as separate drives.

I was wondering if using a RAID card is the only option, or did I miss some settings for Intel's RST?

If a RAID card is the only option, which one would you guys recommend? The OP mentioned the Dell PERC 5/i, but are there newer or better alternatives on the market?

Thanks anyway!

 

EDIT: I just saw the supported hardware list in the readme. However, I still wonder about RST and about the experience with different cards.



#248
dukzcry

dukzcry

    Retired

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

As I understand it, the Matrix RAID / RST / etc is still just a software RAID, although they're speculating with it by putting some RAID management functions into the motherboard BIOS. Here's an explanative info on it: https://wiki.archlin..._with_Fake_RAID

I've never seen kexts made with support for such solutions. So my opinion is that you either need a RAID card or you use OS X software RAID, see http://www.macbreake...ntain-lion.html for example. The last option will make your RAID-converted OS X volumes inaccessible for other operating systems, for sure.

 

As for the card, I think 9260 and it's rebadges are still most used. 8708EM2 was mentioned as working lately. If you don't want to wait suggestions from other people, you could look through the thread and pick something that got a positive report here.



#249
PhaseMelter

PhaseMelter

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

As I understand it, the Matrix RAID / RST / etc is still just a software RAID, although they're speculating with it by putting some RAID management functions into the motherboard BIOS. Here's an explanative info on it: https://wiki.archlin..._with_Fake_RAID

I've never seen kexts made with support for such solutions. So my opinion is that you either need a RAID card or you use OS X software RAID, see http://www.macbreake...ntain-lion.html for example. The last option will make your RAID-converted OS X volumes inaccessible for other operating systems, for sure.

 

As for the card, I think 9260 and it's rebadges are still most used. 8708EM2 was mentioned as working lately. If you don't want to wait suggestions from other people, you could look through the thread and pick something that got a positive report here.

 

Thank you for your reply dukzcry.

 

I am asking all of this because I want to use a RAID card for a special scenario and I hope someone could test this, or knows if this is possible. What I want to accomplish is roughly the following:

I want to run Ubuntu, which has full control over the RAID array, in a virtual machine (preferably Parallels) on OSX and act as a server. This virtual server will then share the data on the array.

I hope someone can help me figure out if something like this is possible. If you have another kind of setup which can do the same, please let me know :)

 

Thanks anyway!



#250
dukzcry

dukzcry

    Retired

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

ElStuiterbal, yes this is possible with hardware RAID card and Parallels.

Spoiler

 

Another way is where you find a VM software that could pass logical volume (like software RAID volume, not the underneath physical disks) to the ubuntu in it. Looks like Parallels can't do it such way.

In final, I don't know how http://www.softraid.com/ solution works comparing to builtin OS X software RAID, but if it hides actual physical disks from OS X, than it will work even for Parallels.

In these two options RAID array management is in the hands of OS X.



#251
aphex6b

aphex6b

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 123 posts
  • Gender:Male

i had great results with this driver on a LSI 9240-8i with 4x SAS and 4xSATA disks connected to the controller. Even the ' unsafe sleep' worked for me, on Windows i always get BSOD (CRITICAL_PROCESS_DIED) when i try entering sleep. I wonder if it ever worked on windows 7.



#252
PhaseMelter

PhaseMelter

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

ElStuiterbal, yes this is possible with hardware RAID card and Parallels.

Spoiler

 

Another way is where you find a VM software that could pass logical volume (like software RAID volume, not the underneath physical disks) to the ubuntu in it. Looks like Parallels can't do it such way.

In final, I don't know how http://www.softraid.com/ solution works comparing to builtin OS X software RAID, but if it hides actual physical disks from OS X, than it will work even for Parallels.

In these two options RAID array management is in the hands of OS X.

Thanks again for your reply. I am wondering, how does OSX see a RAID array from a RAID card? Does it see each disk separately, or the array as a single disk?

Because if the RAID card presents the disks as a single disk to OSX, I think you can give Parallels full control.

I will test if I can share a single disk in Ubuntu using Parallels this week before I buy a RAID card. Thanks again!



#253
dukzcry

dukzcry

    Retired

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

Depends on a kext and a card. My driver doesn't currently support disk passthrough mode, so yes, OS X we'll see an array only as a single disk with any supported controller. And yes, this means that Parallels should work with such.



#254
PhaseMelter

PhaseMelter

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Depends on a kext and a card. My driver doesn't currently support disk passthrough mode, so yes, OS X we'll see an array only as a single disk with any supported controller. And yes, this means that Parallels should work with such.

 

Well dukzcry, I have been tinkering some more and I think I do not need Ubuntu at all, since OS X has built-in sharing capabilities. There is however something I am wondering about. If I use a Dell H310 for example, can I initialise the RAID array in the BIOS or will I need to build the array in OS X? And if I build it in OS X, can another OS like Windows read and write to it?

So I guess what I am trying to ask is if a RAID array, on for example the Dell H310 card, is OS independent? Thanks again!



#255
dukzcry

dukzcry

    Retired

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

Exactly you need to create a RAID array either from controller's BIOS or in Windows/Linux. (There is currently no capability to create/delete arrays from OS X when using this project ;) But you can do monitoring operations with mfiutil console tool supplied with it)

 

After that you can work with your virtual volumes like with usual HDDs, i.e. doing format, reading, writing, etc from any OS supporting your card. Yes, the one of benefits of a true hardware RAID is that they're OS independent solutions when you have drivers for all OSes you need.



#256
PhaseMelter

PhaseMelter

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Exactly you need to create a RAID array either from controller's BIOS or in Windows/Linux. (There is currently no capability to create/delete arrays from OS X when using this project ;) But you can do monitoring operations with mfiutil console tool supplied with it)

 

After that you can work with your virtual volumes like with usual HDDs, i.e. doing format, reading, writing, etc from any OS supporting your card. Yes, the one of benefits of a true hardware RAID is that they're OS independent solutions when you have drivers for all OSes you need.

 

Thanks again for your reply! I will try and find a Dell H310 then and report back here as soon as I do. Thanks again :)



#257
dukzcry

dukzcry

    Retired

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

Note that at least one person had an issues with RAID-5 setup using H310 card: http://www.insanelym...mily/?p=2009371



#258
flavo

flavo

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

Dear dukzcry

 

Thanks for all your programming and support!

As a confused man by desease  I always have problem to understand fully all the hackintosh adaptions but I always fight...

I am in doubt with 2 cards, and if you can help to decide with is best I will be more greatefull, so:

 

LSI 8008ELP 39

Fujitsu LSI1078 that they sar its LSI 8708EM2 (256meg ram) 45us

(probably I will pay 150% of taxes because I live in Brazil)

 

So my concerns are about future updates (I am in Mavericks), stability and performance related with:

 

1 OS  X native RAID (for me it has a poor performace (maximum of 100mb/sec with 2 7200 hds) and my board is ga ex58-ud5

2 Sil pcie native card (maximum of 150mb/sec with 2 7200 hds)

3 OSx native FUSION drive.

 

I am a musican and I use my setup as this:

ssd for boot

ssd for record

raid 1 for kontakt libs (this is always critical)

raid 2 for the rest (sometimes critical)

 

So, forgeting the boot ssd I have

7 1,5t hds

4 2t hds

1 ssd

2 1.5t usb portable

 

In my dream of a great performance I am starting to think in creating big raids

4 x2t (8t raid 0) maybe with a ssd fusion (maybe a bad idea because is unstable?)

6 x 1.5t (9t raid 0)

Obviously a half of them backuping each other and 1group with native osx raid (maybe a bad idea because is unstable?)

 

With my experience with raids is that they sometimes fail but  raids with silicon drives diskwarrior always fix and the only way to fix raid with native osx is to reformat and to do a long backup.

 

Sorry for my long lamentations, but if you can say some words about it will be deeply appreciated!

Thanks in advance :yes:



#259
jfive

jfive

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
As a confused man by desease  I always have problem to understand fully all the hackintosh adaptions but I always fight...

 

As a fellow deranged individual, here's my setup and suggestion to you: Dell PERC H700 (with LSI chip) can be found on eBay for cheap, which have 512MB of cache. Your Kontakt and sample library are very precious, and so is mine. So get an offsite backup running ASAP; such as CrashPlan or similar. It'll take weeks to upload, so get it running immediately after the install has become stable.

Regarding the RAID:  https://www.synology...RAID_calculator

The 7-1.5TB HDDs which should be set up as RAID 5 or 6 for speed and redundancy. RAID is NOT a backup!! It's a matter of redundancy and availability (speed) on a production machine. Those seven drives in a RAID 5 would be seen as a single 9TB volume. In the case of RAID 6, it'd be a 7.5TB Way larger than your sample library. NI Kontakt uses a proprietary compression method for it's samples which, in it's most resent release, shrank 43GB down to 25GB-give or a take a few gigs. The my advice, you will never fill 7TB with samples, you'll never be able to finish a track for all of your time will  be spent going through samples. Are you operating a professional recording studio? If yes, I would recommend not using a hacked OS.


Back to the numbers, seven 1.5TB (RAID5=9TB and RAID6=7.5TB) Let's couple the 9TB or 7.5TB with the other four 2TB drives adding, in a RAID 5 (6TB) or RAID 6 (4TB). You've expressed concerns over array failure so let's play it safe and ditch the motherboard hybrid RAID or OS software RAID. Go with RAID 6 on both cards which equals 11.5TB of storage (7.5TB on one card's array in RAID6 and 4TB on the other, same form). That is an insane amount of storage for an audio production machine likely in your home studio.


On the flip side, you're trying to chase the speed 'dragon.' Shoot for the Dell H700 with 1GB of cache RAM and deploy the CacheCade 2.0 with two SSDs.  https://www.dell.com...0-cachecade.pdf

You can get descent IOs using RAID 5 and/or RAID 6 using only cylindrical drives. You don't need to record to an SSD if your machine's motherboard is loaded with RAM.  You can put both of your SSDs in a RAID 1 or RAID 0 on a hardware RAID card for both boot and record purposes. It'll be lightening fast and since you can do a Time Machine or local backup to the RAID array you created with the seven 1.5TB drives or the four 2TB drives.

Which brings me to my setup, similar to whats above. On my GA-Z87X-UD4H with a Dell PERC H700i (512MB RAM) two Samsung 840 256GB SSDs in a RAID 1 for boot, two 2TB WD2003FZEX for personal music and photos, etc., and four 4TB HGST Deskstar NAS drives in a RAID 5. Great things about the Dell PERCs is, like most, they RAID arrays are expandable and I can move one or more arrays to a new or replacement card should it become necessary. Be it for a failure or the need to expand the RAID 5 array and shift the boot and personal arrays to a new card.

 

What ever you decide to do, get your offsite backup plan immediately. Unless you got Kontakt and your other samples from th3_p1r4t3_bay, in which case you could steal it again if the machine dies.



#260
flavo

flavo

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

Thanks for your kind words!

 

Dont worry about backups, I always use Carbon Copy Cloner incremental backups, and always  compare and delete my kontakt libs with multi libs shirinked and edited. Everything with ncw. Raid 5 & 6 are good but CCC show reports of bad files and I just replace them.

 

In my search I always bypass Dell (I know that perc 5/6 works) because the lots of options and different cables that becames pricier than LSI.

I find a Dell h700 for 115us on ebay with shipping (+150% of taxes because I live in Brazil), and its cheaper than LSI 6gb/s but I do not believe that it worth unless I have a raid of ssds in the future ...?

 

For the hds I have an old 5u large server case that I modified and it handle 15 3.5 hds (for now).

1 of my raids probably will be with a silicon card + fusion with sdd from osx.

 

Well, me and my pocket will meditate about 6gb/s cards, i know that if you intend to use port multipliers or sdds these are a better idea... :wallbash: :happymac:

 

Thanks again and hugs from Brazil! :happymac:








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