Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
dukzcry

Driver for LSI MegaRAID SAS family

384 posts in this topic

Recommended Posts

Using the i386 driver in Snow Leopard Server, I get the following in the console when I try to load the driver:

 

May 22 08:51:24 whitespacecg com.apple.kextd[28]: Failed to load /System/Library/Extensions/SASMegaRAID.kext - (libkern/kext) link error.

May 22 08:51:25 whitespacecg kernel[0]: kxld[cc.dukzcry.SASMegaRAID]: The super class vtable '__ZTV33IOSCSIParallelInterfaceController' for vtable '__ZTV11SASMegaRAID' is out of date. Make sure your kext has been built against the correct headers.

May 22 08:51:25 whitespacecg kernel[0]: Can't load kext cc.dukzcry.SASMegaRAID - link failed.

May 22 08:51:25 whitespacecg kernel[0]: Failed to load executable for kext cc.dukzcry.SASMegaRAID.

May 22 08:51:25 whitespacecg kernel[0]: Kext cc.dukzcry.SASMegaRAID failed to load (0xdc008016).

May 22 08:51:25 whitespacecg kernel[0]: Failed to load kext cc.dukzcry.SASMegaRAID (error 0xdc008016).

 

I used this driver in 10.7 without issues, can any9one help? I would appreciate it.

Share this post


Link to post
Share on other sites

ElStuiterbal ,

/tmp/SASMegaRAID.kext successfully loaded (or already loaded).

 

Obviously this means that your kext was loaded :-) Please look at dmesg and Profiler after such successful load. Your dmesg buffer should have similar info messages akin to what glotzer posted. Next comes look at Profiler (Parallel SCSI section) and Disk Utility. You should see at least your controller in Profiler; and volume(s) in both utilities, if you have created any virtual disk in your controller bios. If you're stuck in the middle, try what was suggested to glotzer. Ah, and post things like your dmesg etc here so it will be more easy to figure what's going on.

 

Thanks again for your reply. However, I do not understand how to debug the kext. I placed your 'Full Debug' kext in the kext folder on my EFI partition, but how can I debug it? The H310 still does not show in System Information. As a test, I installed your kext using Kext Wizard and the H310 also does not show. Any suggestions on how to proceed?

Share this post


Link to post
Share on other sites

Thanks again for your reply. However, I do not understand how to debug the kext. I placed your 'Full Debug' kext in the kext folder on my EFI partition, but how can I debug it? The H310 still does not show in System Information. As a test, I installed your kext using Kext Wizard and the H310 also does not show. Any suggestions on how to proceed?

Open Terminal.app:

# cp -r /Volumes/EFI/EFI/CLOVER/kexts/10.10/SASMegaRAID.kext /tmp; chown -R root:wheel /tmp/SASMegaRAID.kext; kextutil -v /tmp/SASMegaRAID.kext
...
/tmp/SASMegaRAID.kext successfully loaded (or already loaded).
# dmesg | grep SAS
...

and post results here. You'd better to start with normal kext, not the debug one.

Share this post


Link to post
Share on other sites

Open Terminal.app:

# cp -r /Volumes/EFI/EFI/CLOVER/kexts/10.10/SASMegaRAID.kext /tmp; chown -R root:wheel /tmp/SASMegaRAID.kext; kextutil -v /tmp/SASMegaRAID.kext
...
/tmp/SASMegaRAID.kext successfully loaded (or already loaded).
# dmesg | grep SAS
...

and post results here. You'd better to start with normal kext, not the debug one.

 

Well, I got completely nothing. Any idea what is wrong? I extracted the files from your installer and copied them to their respective location. Maybe something is wrong with their permissions?

Loading /tmp/SASMegaRAID.kext.
/tmp/SASMegaRAID.kext successfully loaded (or already loaded).
Workstation:~ root# dmesg | grep SAS
Workstation:~ root# dmesg | grep SAS
Workstation:~ root# 

Share this post


Link to post
Share on other sites

justroach,

I swapped a known working card into the system and experienced the same results. I took the non-working 9260 out and put it into a known working system and everything worked.

Oh weird...

 

noradninj,

Replied to your PM message instead.

 

ElStuiterbal,

If there is no output, that most likely means the kext doesn't match against your device. What PCI device ID do you have (you could look at using dspci/lspci or using another OS)?

justroach,

I remember you were successfully using H310 cards. Could you still look at DevIDs and FW revisions of your cards, so we could help ElStuiterbal to get running?

Share this post


Link to post
Share on other sites

Attached is a version compiled for Mac OS X 10.6.8 running a 64 bit kernel. Tested on Mac OS X 10.6.8 Server running on a Dell PowerEdge 2900 with a PERC 5/i card.

 

You will need to run sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot ‘Kernel Flags’ ‘arch=x86_64’ in Terminal to force 64-bit kernel loading.

 

 

Forked Git repository is here https://github.com/noradninja/osx-goodies/tree/Mac-OS-X-10.6.8-x64bitKernel

 

 

 

post-788634-0-76637400-1432733686_thumb.jpg

 

SASMegaRAID.kext.zip

Share this post


Link to post
Share on other sites

So, to my understanding:

 

- In order to load this kext, my yosemite installation would need to run in developer mode

- Although the HP SmartArray P400 is Running an LSI 1078 Controller, it's not supported, because the firmware on it is actually an HP one and not the original LSI one 

 

(i've checked the PCI IDs don't match for sure, although it seems to be detected by Yosemite, so at least it's getting loaded in EFI) 

Share this post


Link to post
Share on other sites

So, to my understanding:

 

- In order to load this kext, my yosemite installation would need to run in developer mode

- Although the HP SmartArray P400 is Running an LSI 1078 Controller, it's not supported, because the firmware on it is actually an HP one and not the original LSI one 

 

(i've checked the PCI IDs don't match for sure, although it seems to be detected by Yosemite, so at least it's getting loaded in EFI) 

 

Well, you should be able to load it after OS is booted without need of dev mode, since its added in permitted kexts list

cat /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist | grep SASMega

                <string>cc.dukzcry.SASMegaRAID  1</string>

However it most likely won't work in case you try to boot OS X from the volume on a raid card. At least last time I've checked, the non-signed kext granting didn't work for kexts with early boot requirement: http://www.insanelymac.com/forum/topic/285197-driver-for-lsi-megaraid-sas-family/page-14?do=findComment&comment=2134840

 

The 3rd party firmware is compatible if it at least exposes the same ABI as LSI fw does. Dell firmware works, for example.

Share this post


Link to post
Share on other sites

ElStuiterbal,

If there is no output, that most likely means the kext doesn't match against your device. What PCI device ID do you have (you could look at using dspci/lspci or using another OS)?

justroach,

I remember you were successfully using H310 cards. Could you still look at DevIDs and FW revisions of your cards, so we could help ElStuiterbal to get running?

 

I went to Windows and used the Device Manager to get the vendor and device id. This gave me the following:

PCI\VEN_8086&DEV_8CA2&SUBSYS_50011458&REV_00\3&11583659&0&FB

If I am correct, this means that the vendor id = 8086 and the device id = 8CA2, which seems weird. Maybe I didn't properly flash my H310?

Share this post


Link to post
Share on other sites

I went to Windows and used the Device Manager to get the vendor and device id. This gave me the following:

PCI\VEN_8086&DEV_8CA2&SUBSYS_50011458&REV_00\3&11583659&0&FB

If I am correct, this means that the vendor id = 8086 and the device id = 8CA2, which seems weird. Maybe I didn't properly flash my H310?

That's wrong device. 8086 is intel, perhaps some device on your mobo.

Correct one would be VEN_1000&DEV_0073:

http://www.pcidatabase.com/search.php?device_search_str=0073&device_search=Search

Here's a little utility to show devices id under OS X: http://www.insanelymac.com/forum/topic/285197-driver-for-lsi-megaraid-sas-family/page-10?do=findComment&comment=2026275

Share this post


Link to post
Share on other sites

i've got an ibm m1115 which i had crossflashed to a lsi 9211-8i IR previously which i've re-flashed with the m1015 bootrom and the newest firmware from ibm which appears to be 20.11.1-0184

currently running 10.10.3
installed the release sasmegaraid.kext and have it showing up in the system information which is great
problem is it doesn't seem to be recognising any disks connected to it though, i know the driver will only present logical disks so the os so i've tried creating single disk raid0 arrays as well as creating a 2 disk raid0 array but they don't seem to show up in the os at all?
mfiutil is able to identify the individual disks as well as the volumes but nothing shows up in disk utility
have tried flipping the prefermsi key as well as the uncontiguous enumeration kext too without any change
 

here's the output from mfiutil

sh-3.2# mfiutil show adapter
mfi0 Adapter:
    Product Name: ServeRAID M1015 SAS/SATA Controller
   Serial Number: SP30205654
        Firmware: 20.11.1-0184
     RAID Levels: JBOD, RAID0, RAID1, RAID10
  Battery Backup: not present
           NVRAM: 32K
  Onboard Memory: 0M
  Minimum Stripe: 8K
  Maximum Stripe: 64K
sh-3.2# mfiutil show drives
mfi0 Physical Drives:
 1 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=150603400379> SATA E1:S4
 2 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=143799401997> SATA E1:S7
 3 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=145218403311> SATA E1:S0
 4 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=150284400376> SATA E1:S3
sh-3.2# mfiutil show config
mfi0 Configuration: 1 arrays, 1 volumes, 0 spares
    array 0 of 4 drives:
        drive  3 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=145218403311> SATA
        drive  4 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=150284400376> SATA
        drive  1 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=150603400379> SATA
        drive  2 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=143799401997> SATA
    volume mfid0 (950G) RAID-0 64K OPTIMAL <ssdraid0> spans:
        array 0
sh-3.2# mfiutil show volumes
mfi0 Volumes:
  Id     Size    Level   Stripe  State   Cache   Name
 mfid0 (  950G) RAID-0      64K OPTIMAL Disabled <ssdraid0>

any idea guys?

 

 

update: managed to flash the m1115 with the lsi megaraid 9240-8i firmware which made it pickup as an actual m1115, still no difference in osx :( sasmegaraid picks it up, shows the disks but just won't passthrough the virtualdisks

here's the new output:

sh-3.2# mfiutil show adapter
mfi0 Adapter:
    Product Name: ServeRAID M1115 SAS/SATA Controller
   Serial Number: SP30205654
        Firmware: 20.13.1-0208
     RAID Levels: JBOD, RAID0, RAID1, RAID10
  Battery Backup: not present
           NVRAM: 32K
  Onboard Memory: 0M
  Minimum Stripe: 8K
  Maximum Stripe: 64K
sh-3.2# mfiutil show drives
mfi0 Physical Drives:
 0 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=143799401997> SATA E1:S7
 1 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=145218403311> SATA E1:S0
 2 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=150603400379> SATA E1:S4
 3 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=150284400376> SATA E1:S3
sh-3.2# mfiutil show config
mfi0 Configuration: 1 arrays, 1 volumes, 0 spares
    array 0 of 4 drives:
        drive  1 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=145218403311> SATA
        drive  3 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=150284400376> SATA
        drive  2 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=150603400379> SATA
        drive  0 (  238G) ONLINE <SanDisk SD7SB3Q2 0000 serial=143799401997> SATA
    volume mfid0 (950G) RAID-0 64K OPTIMAL <sandisk_4xr0> spans:
        array 0
sh-3.2# mfiutil show volumes
mfi0 Volumes:
  Id     Size    Level   Stripe  State   Cache   Name
 mfid0 (  950G) RAID-0      64K OPTIMAL Disabled <sandisk_4xr0>

update2: turns out it's been working all along, just didn't show up in disk utility gui or in terminal. read through the entire thread again and had found a post mentioning needing to format the drive in windows first before showing up in osx so i booted a windows installation, formatted in ntfs then formatted it in hfs+ in osx and all is well :)

post-52772-0-44541600-1435133143_thumb.png

Share this post


Link to post
Share on other sites

Just here to say:
The greatest big kudos to Dukzcry!!!
After almost 3 months I received my card http://www.ebay.com/itm/171633538114?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
Fujitsu Siemens RAID Controller W26361-W15812-X-02 LSI 8708EM2 256M
At star it cannot format and it mess with my audio interface and Parallels installations.
With IO Debug kext with msi=no everything works VERY well.
Thanks again and big hugs for JFIVE for the DEEP help.
 
Update
 
After start loading the 9TB monster (6x1,5TB) in the six hour it goes off-line freezing finder and other apps.
With two boots it came in-line again but about a hour same problem..
Update the with latest firmware and tested all the kexts again and no juice. It became worst and have only a half hour life.
I do not used the unsafe kexts because I am a dangerous guy...
I reading the forum again and again while waiting for some tip
HEEEEELLLPPP!?

 

SCSI Parallel Domain 0:

  Product:    MegaRAID SAS PCI Express ROMB
  Revision:    Firmware 11.0.1-0048
  Initiator Identifier:    65
  Description:    Cache 256MB RAM

SCSI Target Device @ 0:

  Manufacturer:    LSI
  Model:    MegaRAID SAS RMB
  Revision:    1.40
  SCSI Target Identifier:    0
  SCSI Device Features:    
  SCSI Initiator/Target Features:    
  Peripheral Device Type:    0

SCSI Logical Unit @ 0:

  Capacity:    9 TB (8,998,493,356,032 bytes)
  Manufacturer:    LSI
  Model:    MegaRAID SAS RMB
  Revision:    1.40
  Removable Media:    Yes
  Detachable Drive:    No
  BSD Name:    disk8
  LUN Address:    00:00:00:00:00:00:00:00
  Partition Map Type:    GPT (GUID Partition Table)
  S.M.A.R.T. status:    Not Supported
  Volumes:
EFI:
  Capacity:    209.7 MB (209,715,200 bytes)
  BSD Name:    disk8s1
  Content:    EFI
Kontakt:
  Capacity:    9 TB (8,998,149,382,144 bytes)
  File System:    HFS+
  BSD Name:    disk8s2
  Content:    Apple_HFS
  Volume UUID:    FDFFCF43-FCF6-3A46-AEBF-56119A9AD6F4
 
 
running the mfiutil I get the following output:

 

sudo mfiutil show adapter

mfi0 Adapter:

    Product Name: ̢p

   Serial Number: ?Вh?

        Firmware:

     RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID1E, RAID6, RAID10, RAID50

  Battery Backup: not present

  Onboard Memory: 28360M

  Minimum Stripe: 32M

  Maximum Stripe: 512B

 

EDIT #2

I find a forum that claims to have RAID Card Compatbility Database thread

 

Where we can see

Gigabyte EX58-UD5:

Working:

Adaptec 31605
Areca ARC-1220
Dell Perc 5/i (only works with tape mod)

Not Working:

LSI Megaraid 8888ELP (same family of chip 1078)

It Is a dead end?

 

update

Must be conflict... in safe mode it works like a clock

 

FINAL

thats ok now with raid, but still fighting with other usb (I have a lot)

with some edit in SASMegaRAID.kext and AppleLSIFusionMPT.kex all works well.

With the preference for Thunderbolt I imagine a bad future for pci drives...

Thanks for all dukzcry!!! SUBERB!!!!

Edited by flavo

Share this post


Link to post
Share on other sites

Hey :)

I followed the post from a distance, didn't have time to try anything.

 

I do have a little time now, and I got at an auction some equipment I needed, and with it, there was 3 LSI RAID cards :

a 9750-8e, a 9286-8e and 9260-8i.

(I'm on MacPro 2006, but you told me already a few months ago, that it should not be a problem.)

 

With one could best work with your driver please ?

TIA :)

Share this post


Link to post
Share on other sites

Hi all,

 

I have the following setup

-> Yosemite 10.10.4

-> Mac Pro (Late 2013) - 3,5 GHz 6-Core Intel Xeon E5

-> Echo Express III-D Desktop Thunderbolt 2 Expansion Chassis

-> MegaRAID SAS 9380-8e -> suport UEFI

 

I have downloaded the SASMegaRAID.kext.zip file from post of noradninj - Posted 27 May 2015 - 03:36 PM

 

Also did sudo nvram boot-args=kext-dev-mode=1

 

When I install the kext to /System/Library/Extensions/ I get this error message, see below

 

System Extension Cannot Be Used

The system extension “/System/Library/Extensions/SASMegaRAID.kext” was installed improperly and cannot be used. Please try reinstalling it, or contact the product’s vendor for an update.

 

EDIT: I have installed the kext with this tool. http://www.hackintoshosx.com/files/file/3867-ikext-kext-installer-yosemite-compatible/

 

No error message but the card does not appears on SAS device tree

 

I checked by doing kextstat and the kext is not loaded

 

EDIT 2: I tried sudo kextload /System/Library/Extensions/SASMegaRAID.kext

 

No error message

 

Then I did

 

sudo kextutil /System/Library/Extensions/SASMegaRAID.kext

 

and I have got the message

 

Diagnostics for /System/Library/Extensions/SASMegaRAID.kext:

Code Signing Failure: not code signed

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/SASMegaRAID.kext"

 

I did 

 

sudo kextcache -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions

 

And now when I do kextstat I ve got the SASMegaRAID loaded

 

141    0 0xffffff7f8380c000 0x6000     0x6000     com.apple.driver.SASMegaRAID (1) <58 12 5 4 3 1>

 

OK so loaded but does not work :(

 

Find below the info from the windows driver

 

Device description

 

AVAGO MegaRAID SAS 9380-8e

 

Devis Instance Path

 

PCI\VEN_1000&DEV_005D&SUBSYS_93801000&REV_02\C&AC23C16&0&00280018001800100008

 

Hardware IDs

 

PCI\VEN_1000&DEV_005D&SUBSYS_93801000&REV_02

PCI\VEN_1000&DEV_005D&SUBSYS_93801000

PCI\VEN_1000&DEV_005D&CC_010400

PCI\VEN_1000&DEV_005D&CC_0104

 

Compatibles IDs

 

PCI\VEN_1000&DEV_005D&SUBSYS_93801000&REV_02

PCI\VEN_1000&DEV_005D&SUBSYS_93801000

PCI\VEN_1000&DEV_005D&CC_010400

PCI\VEN_1000&DEV_005D&CC_0104

 

And from the MAC

 

pci1000,5d:

 

  Type: RAID Controller

  Driver Installed: No

  Tunnel Compatible: No

  Pause Compatible: No

  MSI: No

  Bus: PCI

  Slot: Thunderbolt@238,0,0

  Vendor ID: 0x1000

  Device ID: 0x005d

  Subsystem Vendor ID: 0x1000

  Subsystem ID: 0x9380

  Revision ID: 0x0002

  Link Width: x8

  Link Speed: 5.0 GT/s

 

As now I need to temporeraly access to a disk bay from our SAS3 controller with the MAC PRO as our HP z820 in under maintenance. I would like to prevent me to boot on Windows mode (bootcamp) to transfer the files... :D

 

How could I fixed this issue?

 

I'am not used to code or admin OSX, coming from PC and C++ C# .NET world (sorry...) but I feel ready to get knowledge.

 

EDIT: Okey the Adapter 93xx are not supported by this driver. Sorry.

 

Do you think there is a way to include the 93xx family in this driver ?

Share this post


Link to post
Share on other sites

Hi!

 

For LSI 9260 owners...

 

After a year using my LSI9260-8i, maybe I´ll have to upgrade the firmware. My current version is 2.70.03-0862. It is from 2010 aprox.

 

Do you think that update it could be dangerous? Which firmware version could be recommended?

 

Thanks in advance.

Share this post


Link to post
Share on other sites

 

After a year using my LSI9260-8i, maybe I´ll have to upgrade the firmware. My current version is 2.70.03-0862. It is from 2010 aprox.

 

Why do you feel you need to upgrade the firmware? What exact problems have you encountered?

 

I'm using a Dell H700 without issue which has firmware from 2010.

Share this post


Link to post
Share on other sites

I installed a BBU unit, and it wasn't recognized by the card. After try and try, and contact with LSI support , the only advise was update the firmware.

 

I took the risk and I did. After several updates, until the last version, the card recognized the bbu unit.

 

Luckly, the driver still working :)

Share this post


Link to post
Share on other sites

Good days,

 

i am using LSI-9260-8i right now, and it attached Raid 0 with 2 SSD harddisk.

 

now my OS X is on the normal sata harddisk. can i just clone my OSX drive to the LSI Raid 0 drive and boot the os from raid0?

 

thanks.

Share this post


Link to post
Share on other sites
[...]can i just clone my OSX drive to the LSI Raid 0 drive and boot the os from raid0?

 

Does OSX see the RAID disk, has it been initialized?

I didn't have much luck using SuperDuper or Carbon Copy Cloner since it's rather difficult to clone the active OS drive WITH the boot sector, even using the boot-up clone/copy sequence. Finally wound up using a USB method from installation and boot to the recovery section and use terminal's diskutil and dd command. 
You could also use an Ubuntu live usb or live CD.

This method used Yosemite, I have no clue if things have changed with El Capitan.
 I doubt things have changed.

 

--------------------------------------------------------------------

1) Shutdown the machine. Remove all SATA cables in the machine except the current OSX boot disk and your destination disk(s).


2) Boot into the recovery partition of the ##### USB drive. Post RAID bootloader, press and hold CMD+R during boot. If the OSX boot progress bar moves slower than normal, you've sucessfully loaded the recovery partition and you may release the CM+R keystroke. Click Utilities, then Terminal in the menu bar. Find the respective disk number identifiers in terminal using "diskutil list":


-bash-3.2# diskutil list

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *128.0 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS Yosemite                127.2 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

/dev/disk1

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                      *28896.5 GB   disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                  Apple_HFS Shenzhen-RD6         *28896.5 GB   disk1s2

/dev/disk2

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *998.7 GB   disk2

   1:                        EFI EFI                     209.7 MB   disk2s1

   2:                  Apple_HFS Tokyo-RD1               998.7 GB   disk2s2

/dev/disk3

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                            untitled               *128.0 GB   disk3

/dev/disk4

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                            untitled               +5.2 MB     disk4

/dev/disk5

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                            untitled               +524.3 KB   disk5

/dev/disk6

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                            untitled               +524.3 KB   disk6

/dev/disk7

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                            untitled               +524.3 KB   disk7

/dev/disk8

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                            untitled               +6.3 MB     disk8

-bash-3.2#

 

3) To copy all contents, use the following to copy the above disk0 (current OSX disk) to disk1 (destination RAID VD disk). DO NOT MAKE A TYPO; CHECK TWICE!!!!


 

-bash-3.2# dd if=/dev/rdisk0 of=/dev/rdisk1 bs=128m conv=noerror,sync

4) Wait for the copy to finish. Shutdown and remove the original OSX boot disk's SATA cable. Boot up and get into the RAID Controller BIOS, select the desired RAID VD to be bootable. (I'm not familiar with the LSI BIOS since I use Dell's PERC BIOS.)


 

5) Save, exit then reboot. Hopefully it will reboot and load the OS from the RAID VD.


 

--------------------------------------------------------------------

 

Good luck.

 

Share this post


Link to post
Share on other sites

Guy's,

 

Im looking for a pointer here. I have been looking to see if there is any way to run a HP P400 Storage Controller (LSI1078) on a Hackentosh, I think the answer is know, but just wanted confirmation.

 

Thanks,

 

ian.

Share this post


Link to post
Share on other sites

Guy's,

 

Im looking for a pointer here. I have been looking to see if there is any way to run a HP P400 Storage Controller (LSI1078) on a Hackentosh, I think the answer is know, but just wanted confirmation.

 

Thanks,

 

ian.

A google search led me to this site:

https://forums.servethehome.com/index.php?threads/lsi-raid-controller-and-hba-complete-listing-plus-oem-models.599/

 

The "HP" section makes no mention. However, according to the "LSI MegaRAID" section in the first post:

 

SAS1078

  •     LSI Logic MegaRAID SAS 8888ELP RAID Controller
  •     LSI Logic MegaRAID SAS 8708ELP RAID Controller
  •     LSI Logic MegaRAID SAS 8884E RAID Controller
  •     LSI Logic MegaRAID SAS 8708E RAID Controller
  •     LSI Logic MegaRAID SATA 350-8ELP RAID Controller
  •     LSI Logic MegaRAID SATA 350-4ELP RAID Controller
  •     LSI Logic MegaRAID SAS 8704ELP RAID Controller
  •     LSI Logic MegaRAID SAS 8708EM2 RAID Controller
  •     LSI Logic MegaRAID SAS 8808EM2 RAID Controller
  •     LSI Logic MegaRAID SAS 8780EM2 RAID Controller
  •     LSI Logic MegaRAID SAS 8880EM2 RAID Controller
  •     LSI Logic MegaRAID SAS 8744EM2 RAID Controller
  •     LSI Logic MegaRAID SAS 8844EM2 RAID Controller
  •     LSI Logic MegaRAID SAS 8744ELP RAID Controller
  •     LSI Logic MegaRAID SAS 8844ELP RAID Controller
  •     LSI Logic MegaRAID SAS 8008EM2 RAID Controller
  •     LSI MegaRAID SAS 8704EM2 RAID Controller

 

 

 

Another google search led me here to an archived PDF of the September 2007, MegaRAID 1078-based SAS RAID Controllers User's Guide:

http://techpubs.sgi.com/library/manuals/0000/860-0489-001/pdf/860-0489-001.pdf

 

I uploaded and attached the above PDF to this message. I hope you can download it. Page three of the Preface states the following:

 

The MegaRAID 1078-based Serial Attached SCSI (SAS) RAID controller

family consists of the following controllers:

 

- MegaRAID SAS 8704ELP PCI Expres

   Low-Profile Serial-Attached SCSI/SATA II Disk Array Controller with Internal Connectors

 

- MegaRAID SAS 8708ELP PCI Expres

   Low-Profile Serial-Attached SCSI/SATA II Disk Array Controller with Internal Connectors

 

- MegaRAID SAS 8708EM2 PCI Expre

   Serial-Attached SCSI/SATA II Disk Array Controller with Internal Connectors

 

- MegaRAID SAS 8880EM2 PCI Expre

   Serial-Attached SCSI/SATA II Disk Array Controller with External Connectors

 

- MegaRAID SAS 8888ELP PCI Expres

   Low-Profile Serial-Attached SCSI/SATA II Disk Array Controller with External Connectors and Internal Connectors

 

 

In Dukzcry's kext README, he lists the following chips to be compatible: LSI MegaRAID SAS 8xxx, 92xx

 

Since the HP P400 and P400i is only about $5 USD on eBay, it won't be much of a loss if it doesn't work. Either way, try it out and take one for the team. Please let us know your results. Plenty of others would love to be able to only pay $5 and have a hardware RAID controller in their Hackintosh system.

 

Lastly, be sure you get an SFF-8484 to SATA breakout cable if you don't already own one. Personally, I didn't have any luck when using a Dell backplane with my PERC H700.

 

New-Internal-font-b-SAS-b-font-32-SFF-84-font-b-SAS-b-font-SFF-8482-to-SFF-8484-

Share this post


Link to post
Share on other sites

Jfive,

 

this is a dump of the lspci from Linux

 

02:00.0 RAID bus controller: Hewlett-Packard Company Smart Array Controller (rev 03)
    Subsystem: Hewlett-Packard Company P400 SAS Controller
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at e3100000 (64-bit, non-prefetchable)
    Region 2: I/O ports at d000
    Region 3: Memory at e3240000 (64-bit, non-prefetchable)
    Expansion ROM at e3200000 [disabled]
    Capabilities: <access denied>
    Kernel modules: cciss, hpsa
 

And atached is a pic of the card. I cant seem to see any reference numbers which tie in with your info above. You will notice that the chip has Fusion MPT so you would think there was a way to get the AppleFusionMPT.kext tweeked, but I cant see any way unser iokitpersonality to add this PCI vendor and device.

 

Cheers,

 

Ian.

post-1647490-0-65818400-1452597048_thumb.jpg

Share this post


Link to post
Share on other sites

You will notice that the chip has Fusion MPT so you would think there was a way to get the AppleFusionMPT.kext tweeked, but I cant see any way unser iokitpersonality to add this PCI vendor and device. Cheers, Ian.

Sorry man, you mentioned an LSI SAS1078. Had no idea it is a Fusion MPT chip. Hopefully in the future that controller will get some love. As far as I know, the Fusion MPT is not nor will it be supported by this kext. I'm not a programmer so I can give no guidance to regarding the how, when or why.

 

There are plenty of PERC 5i cards on eBay for $10 USD.

Share this post


Link to post
Share on other sites

Five,

 

yes the whole Fusion MPT is supposed to make the driver very simple as most of the work is done by the ARM processor on the card, But I just can't  get it working with AppleLSIFusionMPT or SASMegaRAID. I do have some Dell card, but the machine wouldn't boot when I plugged it in :-(

 

Do I need LSI firmware flashing?

 

Thanks,

 

ian.

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.

×