Jump to content

Driver for LSI MegaRAID SAS family

RAID LSI

  • Please log in to reply
199 replies to this topic

#181
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
  • Gender:Male

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.

No, JBOD is as it's name reveals is just a bunch of disks, so it represents a group of disks as a single virtual volume with total amount to be a sum of each disk size. This mode will likely work with this kext. Passthrough mode was described few posts earlier. And this driver doesn't support it.



#182
girrr

girrr

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

It seems the driver is finding my controller alright but the logical volume doesn't show up. I've tried both with and without MSI.

 

Anyone that knows if there's a way around this?

 

Edit: It's a Dell PERC H700...

[SASMegaRAID] InitializeController
[SASMegaRAID] [Helper] Region starting at 0xf7c80000
[SASMegaRAID] Memory mapped at virtual address 0xef06d000, length 8192
[SASMegaRAID] Attach
[SASMegaRAID] Transition_Firmware
[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: 0xf66000
[SASMegaRAID] MRAID_Exec
[SASMegaRAID] interruptHandler: pcq vaddr 0xffffff80e179d000
[SASMegaRAID] pi: 0x1 ci: 0
[SASMegaRAID] ccb: 0
[SASMegaRAID] mraid_exec_done
[SASMegaRAID] Active FW BIOS Version 3.18.00_4.09.05.00_0x0416A000 date 00_0x0416A000 time 
[SASMegaRAID] Active FW APP  Version 2.100.03-1405 date Sep 19 2011 time 17:58:36
[SASMegaRAID] Active FW HIIM Version 01.13.00 date Sep 08 2011 time 10:06:42
[SASMegaRAID] Active FW PCLI Version 04.04-010:#%00008 date May 31 2010 time 20:21:52
[SASMegaRAID] Active FW CTLR Version 2.02-0025.1 date Aug 22 2011 time 11:37:38
[SASMegaRAID] Active FW NVDT Version 2.07.03-0003 date Jul 14 2010 time 15:53:29
[SASMegaRAID] Active FW BTBL Version 2.02.00.00-0000 date Sep 16 2009 time 21:37:06
[SASMegaRAID] Active FW BOOT Version 01.250.04.219 date 4/28/2009 time 12:51:38
[SASMegaRAID] Max Arms Per VD 32 Max Arrays 128
[SASMegaRAID] Serial 1AG00FQ present 0x3d fw time 454679277
[SASMegaRAID] NVRAM 32 flash 8
[SASMegaRAID] Memory Correctable Errors 0 Memory Uncorrectable Errors 0 Cluster Permitted 0 Cluster Active 0
[SASMegaRAID] raid_lvl 0xcf7 adapt_ops 0x3df45fbf ld_ops 0xe3f
[SASMegaRAID] Min Stripe Size 4 pd_ops 0x107 pd_mix 0x7
[SASMegaRAID] ECC Bucket Count 0
[SASMegaRAID] sq_nm 2 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 4 Delay Among Spinup Groups: 12s
[SASMegaRAID] Ecc Bucket Size 15
[SASMegaRAID] Ecc Bucket Leak Rate: 1440 Minutes
[SASMegaRAID] Vendor 0x1000 device 0x79 subvendor 0x1028 subdevice 0x1f17
[SASMegaRAID] Type 0x2 (frontend) port_count 0 Addresses 0 0 0 0 0 0 0 0 
[SASMegaRAID] Type 10 (backend) port_count 8 Addresses 5000c500289f8aad 5000c500289f9095 0 0 0 0 0 0 
[SASMegaRAID] 2 of PDs present
[SASMegaRAID] Enabled options: Physical Drive Coercion Mode  Auto Rebuild  Battery Warning  
[SASMegaRAID] GetBBUInfo
[SASMegaRAID] Do_Management: opcode: 0x5010000
[SASMegaRAID] PointToData
[SASMegaRAID] Paddr: 0x187a000
[SASMegaRAID] MRAID_Exec
[SASMegaRAID] interruptHandler: pcq vaddr 0xffffff80e179d000
[SASMegaRAID] pi: 0x2 ci: 0x1
[SASMegaRAID] ccb: 0
[SASMegaRAID] mraid_exec_done
[SASMegaRAID] BBU voltage 4094, current 0, temperature 24, status 0x0
[SASMegaRAID] Details: guage 16608 charger state 1
[SASMegaRAID] BBU type: BBU, status good, 98% charged
[SASMegaRAID] ReportHBAConstraints
[SASMegaRAID] initialPowerStateForDomainState
[SASMegaRAID] super->StartController
[SASMegaRAID] ProcessParallelTask: Opcode 0x0, Target 0
[SASMegaRAID] LogicalDiskCmd
[SASMegaRAID] Started processing
[SASMegaRAID] Command queued
[SASMegaRAID] interruptHandler: pcq vaddr 0xffffff80e179d000
[SASMegaRAID] pi: 0x3 ci: 0x2
[SASMegaRAID] ccb: 0
[SASMegaRAID] mraid_cmd_done
[SASMegaRAID] Warning: cmd failed on tg 0 with ts 0x4 and opc 0x0
[SASMegaRAID] Sense data: [SASMegaRAID] 
[SASMegaRAID] ProcessParallelTask: Opcode 0x12, Target 0
[SASMegaRAID] LogicalDiskCmd
[SASMegaRAID] CreateSGL
[SASMegaRAID] Paddr[0]: 0x1785500
[SASMegaRAID] genIOVMSegments: nseg 1
[SASMegaRAID] frame_size: 60, extra_frames: 0
[SASMegaRAID] Started processing
[SASMegaRAID] Command queued
[SASMegaRAID] interruptHandler: pcq vaddr 0xffffff80e179d000
[SASMegaRAID] pi: 0x4 ci: 0x3
[SASMegaRAID] ccb: 0
[SASMegaRAID] mraid_cmd_done
[SASMegaRAID] Warning: cmd failed on tg 0 with ts 0x4 and opc 0x12
[SASMegaRAID] Sense data: [SASMegaRAID] 
[SASMegaRAID] ProcessParallelTask: Opcode 0x12, Target 0
[SASMegaRAID] LogicalDiskCmd
[SASMegaRAID] CreateSGL
[SASMegaRAID] Paddr[0]: 0x1785500
[SASMegaRAID] genIOVMSegments: nseg 1
[SASMegaRAID] frame_size: 60, extra_frames: 0
[SASMegaRAID] Started processing
[SASMegaRAID] Command queued
[SASMegaRAID] interruptHandler: pcq vaddr 0xffffff80e179d000
[SASMegaRAID] pi: 0x5 ci: 0x4
[SASMegaRAID] ccb: 0
[SASMegaRAID] mraid_cmd_done
[SASMegaRAID] Warning: cmd failed on tg 0 with ts 0x4 and opc 0x12
[SASMegaRAID] Sense data: [SASMegaRAID]


#183
CycleBurns

CycleBurns

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

@girrr

 

Hi, i am not the developer and i'm sure he will help.

But just to get you started, you're experience reminds me of something.

 

So,... You could look up my previous comments, and maybe try out the version that Dukzcry has sent me in response.

It worked for me.

 

Good luck!



#184
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
  • Gender:Male

@girrr

 

Hi, i am not the developer and i'm sure he will help.

But just to get you started, you're experience reminds me of something.

 

So,... You could look up my previous comments, and maybe try out the version that Dukzcry has sent me in response.

It worked for me.

 

Good luck!

+1 According to a log, your fw answers back with device not found on drive probing.

Either your have a same situation with CycleBurns... or try an another firmware if not.

Here's that version: http://www.insanelym...mily/?p=1988476



#185
girrr

girrr

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

Thanks, that sure did the trick.

 

I skimmed through this thread before posting, apperantly not good enough...



#186
cosmic99

cosmic99

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male

Hi,

I have a dell SASHBA which is shown in the sas2flsh utility as "SAS2008 (B2)" and the IC is sas2008. 

i have tried to install all versions of the kext from the download but the driver doesn't load. Its not a NON-RAID card.

its shows in the pci cards section of the system profiler of my macro 5.1 but there are no sas card detected in the SAS section.

Please advise.

Thank you.



#187
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
  • Gender:Male

Hi, cosmic99

 

What PCI ID it has? Please check with included util via Terminal.

 

P.S. You should look under the 'Parallel SCSI' section instead!

Attached Files


Edited by dukzcry, 06 June 2014 - 04:12 PM.


#188
cosmic99

cosmic99

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
Hi.
I ran dspci using terminal but it logs out saying 'Illegal instruction : 4'
What next

#189
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
  • Gender:Male
We need to figure out the ID of your card somehow. If dspci doesn't work for you, try some lspci build for OS X (search via google) or other utility which will give us this info.

#190
cosmic99

cosmic99

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
Hi.
Before this I had run sas2flsh -listall from a dos bootable USB with the card in a HP system and I got the following.
Num : 0
CH2 : SAS2008 (B2)
FW Ver = 07.15.08.00
NVDATA = 07.00.00.19
X86-bios = 07.11.10.10
PCI addr = 00.02.00.00

Hope it's of some use.

#191
cosmic99

cosmic99

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male

hi,

here it is  

03:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)



#192
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
  • Gender:Male

Hi, cosmic99.

 

Thanks for info! See my conversation with takeawaydave taking from here: http://www.insanelym...mily/?p=1984293 and onwards. So you need to download a modified version of kext by provided link and look at dmesg. If you have a "Firmware stuck in state" like in takeawaydave's log, you'll need to flash your controller with proper firmware (MegaRAID/IR).



#193
cosmic99

cosmic99

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male

Hi,

I spent the last 4 days trying to flash it. Ended up with a hung system after erasing the flash. Ive downloaded the firmware again from dell and fortunately got to the same condition I was before. I installed the modified kext and got the exact 'Firmware stuck' issue. However, my state of confusion is that i have no clue from the LSI website as to which driver or bios needs to be flashed. I tried LSI 9200/8e's every possible bios and firmware but they all failed. the only bios rom image and firmware that succeeded was the one i got from dell.

Could you please guide me on this rather awkward situation. since everytime i google, i find people having success flashing the 9211 to IR or Vice versa successfully.



#194
adgenet

adgenet

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

I was testing this driver with a raid 1 on a dell h310 and when I went to simulate a failure by unplugging one of the disks, a test file transfer I was doing simply hung.

Anyone here have success with simulated failure?



#195
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
  • Gender:Male

cosmic99,

Sorry i don't know.

 

adgenet,

I have a success with this on a PERC5 and mirror raids, have done simulated failure dozen of times.



#196
justroach

justroach

    InsanelyMac Protégé

  • Members
  • PipPip
  • 59 posts

Hi Dukzcry!

 

I'm trying to start a rebuild from mfiutil, but I cannot set the drive into the rebuild state. I get "Failed to set drive 11 to REBUILD: Cannot allocate memory".

 

Any tips?

 

Thanks much!



#197
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
  • Gender:Male

Hi Dukzcry!

I'm trying to start a rebuild from mfiutil, but I cannot set the drive into the rebuild state. I get "Failed to set drive 11 to REBUILD: Cannot allocate memory".

Any tips?

Thanks much!

Hi!

Only monitoring functional is available via that tool. You need to start a rebuild from your controller bios.
This is stated in readme.

#198
fallen101

fallen101

    InsanelyMac Geek

  • News Team
  • 101 posts
  • Gender:Male
  • Location:Florida

Dukzcry do you know if this works on 10.10? I'm having issues loading the Kext, According to the logs, it says Authentication problem.?



#199
dukzcry

dukzcry

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
  • Gender:Male

Dukzcry do you know if this works on 10.10? I'm having issues loading the Kext, According to the logs, it says Authentication problem.?

It should, but i've never tried, and don't plan to before the stable release. Additionally, the person nicknamed okrasit claims that one fix should be applied to the driver code in order to be possible to use it under the 10.10: https://github.com/d...-goodies/pull/4
As i'm on vacation and have no access to the xcode environment, i can't do a test build for you. Maybe you could ask him for the build? Unfortunately, i can't figure his email. But you can just write to that github issue thread.
P.S.: As for auth error, maybe it's something related to the kext signing, so you could just google on how to bypass this? Just a blind guess...

#200
fallen101

fallen101

    InsanelyMac Geek

  • News Team
  • 101 posts
  • Gender:Male
  • Location:Florida

It should, but i've never tried, and don't plan to before the stable release. Additionally, the person nicknamed okrasit claims that one fix should be applied to the driver code in order to be possible to use it under the 10.10: https://github.com/d...-goodies/pull/4
As i'm on vacation and have no access to the xcode environment, i can't do a test build for you. Maybe you could ask him for the build? Unfortunately, i can't figure his email. But you can just write to that github issue thread.
P.S.: As for auth error, maybe it's something related to the kext signing, so you could just google on how to bypass this? Just a blind guess...

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

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







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


0 user(s) are reading this topic

0 members, 0 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