Jump to content

Driver for LSI MegaRAID SAS family

RAID LSI

  • Please log in to reply
211 replies to this topic

#1
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male

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/dukzcry/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.



#2
hackintom

hackintom

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 378 posts
OMG, you are doing this by yourself ? BIG KUDOS !!! Seriously...
I wish you all the luck and bravery in the world to get the job done ;)

BTW, are you still working on it ?

#3
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male

Hi, hackintom!

Yep, doing solely, but it's not so large project, as it may look :)

BIG KUDOS !!! Seriously...
I wish you all the luck and bravery in the world to get the job done

Ah, thank you much!

By the way, are you still working on it ?

Yes, at my spare time, when not busy with other stuff.
The current task is to port/write some RAID management utility (i can't just use vendor utility called "megacli", because OS X doesn't have Linux/FreeBSD emulating facility), which is another medium task.

upd 18.02.12: Finished monthly driver test. My zevo zfs's data partition was attached to raid card. Kext was compiled with assertions placed on scsi path. During that time i've did what i usually do with media data: torrents (seeding all time; downloading), movies and music "consuming", massive data copying plus a bit of hdd speed tests. Nary data degradation or kernel panic. Zfs checkup result.

#4
CycleBurns

CycleBurns

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
Hi,


Great work!
I'm on the verge of buying a raid card, and was wondering if this one will work with your driver,

http://www.amazon.co...l/dp/B005QJCSZA

I'd appreciate i you could let me know!

Good luck on your project! Very impressive!

#5
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
Hi,
Big thanks!

As for 9260:

Michael Bean for initial testing of 9260 card. OS X 10.7.5?

He contacted me directly via e-mail. I didn't ask him for details. Don't know under what alias he registered here, so can drop you a PM with his mail address, if you're interested.

#6
CycleBurns

CycleBurns

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
Sure!

Please do :-)

#7
FredWst

FredWst

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:France
Hello,

Working with ML and Dell PowerEdge T410 PERC6 RAID 1 and RAID 5. (SAS 1078)

Regards
Fred

#8
Black Knight

Black Knight

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 287 posts
  • Gender:Male
  • Location:Charlotte, NC, USA
Hi, I have a PERC 6 in Mountain Lion and using your kext disables USB and doesn't load the drives attached to the PERC, nor does it add it to the System Profiler. Any idea why it would be? The driver is loaded and shown in IORegistry Explorer.

Thanks.

*Update* USB does still work, but not until either I VNC'd in or waited a long while. I don't know which made it work.

Edited by Black Knight, 02 March 2013 - 02:49 AM.


#9
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
Hi,

Please use SASMegaRAID_Full_Debug version and provide me with output. The driver does nothing relating to USB but your problem looks like a lockup in kext, which messes the system.

#10
Black Knight

Black Knight

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 287 posts
  • Gender:Male
  • Location:Charlotte, NC, USA
Here is my console log.

3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] super->InitializeController
3/1/13 5:35:50.446 PM com.apple.launchd[1]: *** launchd[1] has started up. ***
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] [Helper] Region starting at 0xf7c40000
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Memory mapped at virtual address 0xc5e4d000, length 8192
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Attach
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Transition_Firmware
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Firmware state: 0xb0000000
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] [Helper] Looks like MSI interrupts are supported
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] [Helper] MSI IR line: 1
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] DMA: 64-bit, max commands: 1008, Max SGE Count: 33
3/1/13 5:35:50.466 PM com.apple.launchd[1]: *** Verbose boot, will log to /dev/console. ***
3/1/13 5:36:01.000 PM kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
3/1/13 5:36:01.000 PM kernel[0]: FireWire runtime power conservation disabled. (2)
3/1/13 5:36:01.000 PM kernel[0]: SATA WARNING: IDENTIFY DEVICE checksum not implemented.
3/1/13 5:35:50.478 PM com.apple.launchd[1]: *** Shutdown logging is enabled. ***
3/1/13 5:36:01.000 PM kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
3/1/13 5:36:01.362 PM com.apple.launchd[1]: (com.apple.automountd) Unknown key for boolean: NSSupportsSuddenTermination
3/1/13 5:36:01.000 PM kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Initccb
3/1/13 5:36:01.000 PM kernel[0]: AppleIntelCPUPowerManagementClient: ready
3/1/13 5:36:01.000 PM kernel[0]: vendor:device: 0x8086:0x1503.
3/1/13 5:36:01.000 PM kernel[0]: AppleIntelE1000e(Info): Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
3/1/13 5:36:01.000 PM kernel[0]: AppleIntelE1000e(Info): changing MTU from 0 to 1500
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Initialize_Firmware
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] MRAID_Poll
3/1/13 5:36:01.000 PM kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP08@1C,7/IOPCI2PCIBridge/PXSX@0/AppleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/Maxtor 6V300F0 Media/IOGUIDPartitionScheme/ML2@2
3/1/13 5:36:01.000 PM kernel[0]: BSD root: disk0s2, major 1, minor 2
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] GetInfo
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Do_Management: opcode: 0x1010000
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] PointToData
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Paddr: 0xdbaa000
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] MRAID_Poll
3/1/13 5:36:01.000 PM kernel[0]: AppleIntelE1000e(Info): AppleIntelE1000e:WOL = 2
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Active FW APP  Version 1.40.342-1650 date May 11 2012 time 11:47:31
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Active FW BIOS Version 2.07.00 date Jan  6 2010 time 05:49:42
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Active FW BCON Version 2.2-22-e_15-Rel date Nov 21 2011 time 12:06:00
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Active FW PCLI Version 01.40-010:#%00008 date Aug 21 2009 time 00:10:02
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Active FW BTBL Version 1.00.00.01-0012 date Dec 15 2010 time 15:20:30
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Max Arms Per VD 32 Max Arrays 128
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Serial 1122334455667788� present 0x3d fw time 415492548
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] NVRAM 32 flash 4
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Memory Correctable Errors 0 Memory Uncorrectable Errors 0 Cluster Permitted 0 Cluster Active 0
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] raid_lvl 0xdf7 adapt_ops 0x1f45fbf ld_ops 0x3f
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Min Stripe Size 4 pd_ops 0x307 pd_mix 0x7
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] ECC Bucket Count 0
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] sq_nm 5 Predictive Fail Poll Interval: 300sec Interrupt Throttle Active Count 16 Interrupt Throttle Completion: 50us
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Rebuild Rate: 30% PR Rate: 30% Background Rate 30 Check Consistency Rate: 30%
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Reconstruction Rate: 30% Cache Flush Interval: 4s Max Drives to Spinup at One Time 2 Delay Among Spinup Groups: 12s
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Ecc Bucket Size 15
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Ecc Bucket Leak Rate: 1440 Minutes
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Vendor 0x1000 device 0x60 subvendor 0x1028 subdevice 0x1f0c
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Type 0x2 (frontend) port_count 0 Addresses 0 0 0 0 0 0 0 0
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Type 2 (backend) port_count 8 Addresses 1221000000000000 1221000001000000 0 0 1221000004000000 1221000005000000 1221000006000000 1221000007000000
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] 6 physical drive(s) present
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Enabled options: Physical Drive Coercion Mode  Auto Rebuild  Battery Warning 
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] GetBBUInfo
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Do_Management: opcode: 0x5010000
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] PointToData
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Paddr: 0xdbab000
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] MRAID_Poll
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] BBU voltage 4063, current 51, temperature 24, status 0x0
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Details: guage 49376 charger state 1
3/1/13 5:36:01.000 PM kernel[0]: rem capacity 1410 full capacity 1410
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] BBU type: BBU, status good, 100% charged
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] ReportHBAConstraints
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Resuming after sleep
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] super->StartController
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] ProcessParallelTask: Opcode 0x0, Target 0
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] LogicalDiskCmd
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Started processing
3/1/13 5:36:01.000 PM kernel[0]: [SASMegaRAID] Command queued


#11
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male

Oops, i should definitely rework MSI support. Please pick the normal driver version and set "PreferMSI" property under "Settings" dict in Info.plist to "false". Then, it should work for you.

Ah, it will be overwritten anyway by checkout from hardware. Sorry, i should go away now. Please wait, i'll fix, recompile and upload a new kext.



#12
Black Knight

Black Knight

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 287 posts
  • Gender:Male
  • Location:Charlotte, NC, USA
Also getting this right before the desktop loads:

3/1/13 10:37:09.984 PM configd[17]: InterfaceNamer: timed out waiting for IOKit to quiesce
3/1/13 10:37:09.984 PM configd[17]: Busy services :
3/1/13 10:37:09.984 PM configd[17]:   iMac13,2 [1, 83818 ms]
3/1/13 10:37:09.984 PM configd[17]:   iMac13,2/AppleACPIPlatformExpert [1, 83714 ms]
3/1/13 10:37:09.984 PM configd[17]:   iMac13,2/AppleACPIPlatformExpert/PCI0@0 [1, 83488 ms]
3/1/13 10:37:09.984 PM configd[17]:   iMac13,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI [1, 83482 ms]
3/1/13 10:37:09.984 PM configd[17]:   iMac13,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1 [1, 83482 ms]
3/1/13 10:37:09.984 PM configd[17]:   iMac13,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPCI2PCIBridge [1, 82843 ms]
3/1/13 10:37:09.984 PM configd[17]:   iMac13,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPCI2PCIBridge/pci1000,60@0 [!matched, 1, 82843 ms]

Wow, you're quick. I was just trying the edit you said to do when I noticed you wiped it out. LOL. I can wait.

#13
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
Done :) Please download updated kext and check.

#14
Black Knight

Black Knight

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 287 posts
  • Gender:Male
  • Location:Charlotte, NC, USA
Wow dude!!! You're awesome. It works perfectly. All single drives (4x 2TB Western Digital Green) and 2x 300GB Velociraptors in RAID 0 are mounted. They show up as external instead of internal though. Is there a way we can make that configurable? Also, the only other thing that would have made it cosmetically perfect is if it actually showed up as a SAS controller in System Profiler instead of Parallel SCSI, but that is so not necessary. I'm just happy that my RAID drives are usable in Mountain Lion.

Thank you so much!

#15
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male

They show up as external instead of internal though. Is there a way we can make that configurable?

The driver doesn't interfere in SCSI data to/from device. OS X sees what was actually come from controller. Using driver for an old LSI product you'll see same behaviour: http://www.insanelym...attach_id=65316 All are shown as external.
I may clear "removable media" bit in SCSI data coming from INQUIRY query, but i don't consider this critical, even LSI itself doesn't do it.

Also, the only other thing that would have made it cosmetically perfect is if it actually showed up as a SAS controller in System Profiler instead of Parallel SCSI, but that is so not necessary.

The cause of this is given in readme: "This family of controllers uses SCSI protocol for data passing, so your device will be presented as parallel SCSI controller to the system". It's impossible to change this representation. I've just used a public API, which Apple provides for 3rd parties.
Vendors being in partnership with Apple, or Apple itself (e.g. Mac Pro RAID card) may get round such limitations in their drivers, for sure. HighPoint, which doesn't pay fees to Apple has the same issue: http://www.tonymacx8...2720_4.png.html :D I don't know though, do their devices use SCSI protocol too or they emulate it in drivers for some reason.

#16
FredWst

FredWst

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:France
Hello,

Report that since your last commit i'm not able anymore to build kext under ML. (Last Xcode)

Regards

Fred

#17
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male


Report that since your last commit i'm not able anymore to build kext under ML. (Last Xcode)

Hello, Fred.
Did you meant that commit: https://github.com/d...ba061afba3feea9 ? As latest one should break nothing.
upd: Fixed in this: https://github.com/d...14be2791d77a381


They show up as external instead of internal though.

And i forgot, what about obvious solutions? Like option 3 or 4 from here: http://lnx2mac.blogs...disk-icons.html

FredWst:


Working with ... PERC6


Hi, I have a PERC 6 in Mountain Lion and using your kext disables USB and doesn't load the drives attached to the PERC, nor does it add it to the System Profiler

Since you had same version of driver at that time, a question for you, Fred: when you used that initial version, if it worked for you out of box, did you get "[SASMegaRAID] IRQ: ..." or else "[SASMegaRAID] MSI IR: ..." in system messages, i.e. did MSIs work for you or not?

Thanks.

#18
FredWst

FredWst

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:France

FredWst:




Since you had same version of driver at that time, a question for you, Fred: when you used that initial version, if it worked for you out of box, did you get "[SASMegaRAID] IRQ: ..." or else "[SASMegaRAID] MSI IR: ..." in system messages, i.e. did MSIs work for you or not?

Thanks.



PMAP: PCID enabled
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
vm_page_bootstrap: 2025768 free pages and 55000 wired pages
kext submap [0xffffff7f80741000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000741000]
zone leak detection enabled
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ = 74
corecrypto kext started!
Running kernel space in FIPS MODE
Plist hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
corecrypto.kext FIPS integrity POST test passed!
corecrypto.kext FIPS AES CBC POST test passed!
corecrypto.kext FIPS TDES CBC POST test passed!
corecrypto.kext FIPS AES ECB AESNI POST test passed!
corecrypto.kext FIPS AES XTS AESNI POST test passed!
corecrypto.kext FIPS SHA POST test passed!
corecrypto.kext FIPS HMAC POST test passed!
corecrypto.kext FIPS ECDSA POST test passed!
corecrypto.kext FIPS DRBG POST test passed!
corecrypto.kext FIPS POST passed!
[SleepEnabler] Registering PowerManagement dispatch table with PM_DISPATCH_VERSION 102...
[SleepEnabler] To disable (if the kernel panics), please specify the boot argument pmVersion=0
[SleepEnabler] Calling pmInitComplete()...
NullCPUPowerManagement::init: properties=0xffffff801185af80
NullCPUPowerManagement::start
AppleACPICPU: ProcessorId=1 LocalApicId=32 Enabled
AppleACPICPU: ProcessorId=2 LocalApicId=34 Enabled
AppleACPICPU: ProcessorId=3 LocalApicId=50 Enabled
AppleACPICPU: ProcessorId=4 LocalApicId=52 Enabled
AppleACPICPU: ProcessorId=5 LocalApicId=33 Enabled
AppleACPICPU: ProcessorId=6 LocalApicId=35 Enabled
AppleACPICPU: ProcessorId=7 LocalApicId=51 Enabled
AppleACPICPU: ProcessorId=8 LocalApicId=53 Enabled
AppleACPICPU: ProcessorId=9 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=10 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=11 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=12 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=13 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=14 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=15 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=16 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=17 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=18 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=19 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=20 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=21 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=22 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=23 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=24 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=25 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=26 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=27 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=28 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=29 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=30 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=31 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=32 LocalApicId=255 Disabled
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
calling mpo_policy_init for Sandbox
Security policy loaded: Seatbelt sandbox policy (Sandbox)
calling mpo_policy_init for Quarantine
Security policy loaded: Quarantine policy (Quarantine)
Copyright (c) 1982, 1986, 1989, 1991, 1993
	 The Regents of the University of California. All rights reserved.
MAC Framework successfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
IOAPIC: Version 0x20 Vectors 96:119
ACPI: System State [S0 S4 S5]
PFM64 (40 cpu) 0xff80000000, 0x80000000
HPET: map device registers failed
HWSensors Project Copyright 2013 netkas, slice, usr-sse2, kozlek, navi, THe KiNG. All rights reserved.
waitForSystemMapper
Backtrace 0xffffff8000650cdf 0xffffff8000650859 0xffffff80006507c0 0xffffff7f80f75b1b 0xffffff7f80f75750 0xffffff800063108c 0xffffff800062d2d0
	 Kernel Extensions in backtrace:
		 org.netkas.driver.FakeSMC(432.0)[E139A81D-EEDE-3565-9CA6-60AE863104B1]@0xffffff7f80f71000->0xffffff7f80f83fff
		 dependency: com.apple.iokit.IOACPIFamily(1.4)[A35915E8-C1B0-3C0F-81DF-5515BC9002FC]@0xffffff7f80f68000
[ PCI configuration begin ]
FakeSMCDevice: 15 preconfigured key(s) added
FakeSMCDevice: 5 key(s) exported from Clover EFI
SMC: successfully initialized
CPUSensors: CPU family 0x6, model 0x2c, stepping 0x2, cores 4, threads 8, TJmax 95
CPUSensors: platform set to k74
mbinit: done [96 MB total pool size, (64/32) split]
Pthread support ABORTS when sync kernel primitives misused
rooting via boot-uuid from /chosen: DCFE3114-F1CD-30EA-87DF-1157FFCC3847
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeDataless kmod start
com.apple.AppleFSCompressionTypeZlib load succeeded
com.apple.AppleFSCompressionTypeDataless load succeeded
PCI configuration changed (bridge=4 device=0 cardbus=0)
[ PCI configuration end, bridges 8 devices 20 ]
[SASMegaRAID] IRQ: 32
BCM5722D (Build date/time: Feb 28 2013 19:55:43)
[SASMegaRAID] DMA: 64-bit, max commands: 1008, Max SGE Count: 33
GeForceSensors (pci6@0): chipset: GT218 (NVA8) bios: 70.18.76.00
[SASMegaRAID] 5 of physical drive(s) present
[SASMegaRAID] Enabled options: Physical Drive Coercion Mode Auto Rebuild Battery Warning
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/Maxtor 6L120M0 Media/IOGUIDPartitionScheme/Osx@2
BSD root: disk0s2, major 1, minor 3
[SASMegaRAID] BBU type: BBU, status good, 98% charged
SuperIODevice: [Fatal] found unsupported ship ID=0xffff
my_name_adlan_BCM5722D: Model: BCM5722 NetXtreme Server Gigabit Ethernet
my_name_adlan_BCM5722D: Loaded successfully
Kernel is LP64
GeForceSensors (pci6@0): started
my_name_adlan_BCM5722D: Ethernet address 00:10:18:73:6b:ce
Waiting for DSMOS...
macx_swapon SUCCESS
ioqueue_depth = 1007, ioscale = 32
Previous Shutdown Cause: 5
NVDANV50HAL loaded and registered.
[IOBluetoothHCIController][start] -- completed
DSMOS has arrived
my_name_adlan_BCM5722D: Link up: 100 MBps, full duplex. Flow control: symmetric
ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
[AGPM Controller] build GPUDict by Vendor10deDevice10c3
AppleTyMCEDriver::start coreVIDPID = 0x2c708086 Number of packages = 1 Number of cpus = 8 memory monitor trough MCA
ioqueue_depth = 1007, ioscale = 32
ioqueue_depth = 1007, ioscale = 32

Bootloader Clover, with my DSDT patch.
All hardware working except PowerManagement.
I got issue with HPET, after fiew time OSX hang, never mind for a file server it's ok without PM.
Seems to be irq with older Kext.
Build is now ok with last commit. Thanks

Regards

Fred

Edited by FredWst, 02 March 2013 - 09:08 PM.


#19
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
Friends, i've fixed MSI handling. Please re-download kext. This should offload your systems a bit.

#20
FredWst

FredWst

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:France

Friends, i've fixed MSI handling. Please re-download kext. This should offload your systems a bit.


[SASMegaRAID] Firmware state: 0xb0000000
[SASMegaRAID] [Helper] Looks like MSI interrupts are supported
[SASMegaRAID] [Helper] MSI IR line: 1
[SASMegaRAID] DMA: 64-bit, max commands: 1008, Max SGE Count: 33
[SASMegaRAID] Initccb
[SASMegaRAID] Initialize_Firmware
[SASMegaRAID] MRAID_Poll
[SASMegaRAID] GetInfo
[SASMegaRAID] Do_Management: opcode: 0x1010000
[SASMegaRAID] PointToData
[SASMegaRAID] Paddr: 0x2b940000
[SASMegaRAID] MRAID_Poll
[SASMegaRAID] Active FW APP  Version 1.22.32-1371 date Sep 12 2011 time 19:29:24
[SASMegaRAID] Active FW BIOS Version 2.04.00 date  time
[SASMegaRAID] Active FW BCON Version 1.1-46-e_15-Rel date Mar  2 2008 time 14:06:08
[SASMegaRAID] Active FW CTLR Version 1.02-015B date Jan 27 2009 time 12:02:58
[SASMegaRAID] Active FW PCLI Version 01.00-022:#%00005 date Sep 18 2008 time 20:27:14
[SASMegaRAID] Active FW BTBL Version 1.00.00.01-0011 date Nov 27 2007 time 18:29:20
[SASMegaRAID] Max Arms Per VD 32 Max Arrays 128
[SASMegaRAID] Serial 1122334455667788 present 0x3d fw time 415649563
[SASMegaRAID] NVRAM 32 flash 4
[SASMegaRAID] Memory Correctable Errors 0 Memory Uncorrectable Errors 0 Cluster Permitted 0 Cluster Active 0
[SASMegaRAID] raid_lvl 0xdf7 adapt_ops 0x1f45fbf ld_ops 0x3f
[SASMegaRAID] Min Stripe Size 4 pd_ops 0x7 pd_mix 0x7
[SASMegaRAID] ECC Bucket Count 0
[SASMegaRAID] sq_nm 1 Predictive Fail Poll Interval: 300sec Interrupt Throttle Active Count 16 Interrupt Throttle Completion: 50us
[SASMegaRAID] Rebuild Rate: 30% PR Rate: 30% Background Rate 30 Check Consistency Rate: 30%
[SASMegaRAID] Reconstruction Rate: 30% Cache Flush Interval: 4s Max Drives to Spinup at One Time 2 Delay Among Spinup Groups: 12s
[SASMegaRAID] Ecc Bucket Size 15
[SASMegaRAID] Ecc Bucket Leak Rate: 1440 Minutes
[SASMegaRAID] Vendor 0x1000 device 0x60 subvendor 0x1028 subdevice 0x1f0b
[SASMegaRAID] Type 0x2 (frontend) port_count 0 Addresses 0 0 0 0 0 0 0 0
[SASMegaRAID] Type 2 (backend) port_count 8 Addresses 0 0 0 0 0 0 0 0
[SASMegaRAID] Enabled options: Physical Drive Coercion Mode  Auto Rebuild  Battery Warning 
[SASMegaRAID] GetBBUInfo
[SASMegaRAID] Do_Management: opcode: 0x5010000
[SASMegaRAID] PointToData
[SASMegaRAID] Paddr: 0x2b941000
[SASMegaRAID] MRAID_Poll
[SASMegaRAID] BBU voltage 4039, current 0, temperature 26, status 0x0
[SASMegaRAID] Details: guage 16608 charger state 1
rem capacity 1518 full capacity 1521
[SASMegaRAID] BBU type: BBU, status good, 100% charged
[SASMegaRAID] ReportHBAConstraints
[SASMegaRAID] super->StartController


Boot but without disk attached.
If i let disks attach to board it take very long time to get login screen and can't get kerboard to enter password.


Regards

Fred





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


2 user(s) are reading this topic

1 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