osx-goodies icon indicating copy to clipboard operation
osx-goodies copied to clipboard

mfiutil does not find controller

Open oskarn97 opened this issue 6 years ago • 10 comments

Hey! I am using LSi-9260-8i which perfectly works with OS X - it also lists up under SAS. However, I am not able to monitor the controller using mfiutil, I only get mfiutil: mfi_open: No such file or directory

What can I do? Thanks!

oskarn97 avatar Apr 25 '18 19:04 oskarn97

Hi! Try sudo mfiutil

dukzcry avatar Apr 27 '18 15:04 dukzcry

Hi, thanks, yeah I tried that but does not help. Any idea what else I can do? Everything but the monitoring works fine.

oskarn97 avatar Apr 27 '18 16:04 oskarn97

What is the output of ls -la /dev | grep mfi with kext loaded?

dukzcry avatar Apr 27 '18 16:04 dukzcry

Does not return anything. com.apple.driver.SASMegaRAID is loaded. It is visible in the profiler tough... bildschirmfoto 2018-04-27 um 18 50 31

oskarn97 avatar Apr 27 '18 16:04 oskarn97

Probably Apple changed something related to device creation in macOS. Which OS version do you use? Other reason may be that I broke something during recent changes. Have you tried old version like https://github.com/dukzcry/osx-goodies/releases/download/1.0/SASMegaRAID.zip? P.S.: The problem is that I don't use Macs anymore, so can't test things myself. Also I'm out for 4 days. Will continue after that, if you're interested.

dukzcry avatar Apr 28 '18 18:04 dukzcry

I am on OS X 10.13.4 - the old version of both the kext and mfiutil do not work either for monitoring. Yeah would be great if you could have a look at it again. I can provide you with more details if needed. Thanks! Best

oskarn97 avatar Apr 28 '18 19:04 oskarn97

Exact same problem on 10.12.6. Tried mfiutil packaged in release 1.2 and the one built using the mfiutil.sh script. The kext loads and works; I've been playing with all sorts of drives on my LSI 9261-8i. There is nothing with mfi in /dev/.

davidnewhall avatar Jun 15 '18 07:06 davidnewhall

Patches are welcome. Unfortunately I can't fix that issue myself, because a) I don't use Macs for quite some time 2) I don't know what Apple has changed since in their OS. It worked in the past.

dukzcry avatar Jun 15 '18 15:06 dukzcry

Its strange that you have nothing with mfi in /dev. Otherwise you could try the following solution. 2018-11-05-124715_swaygrab

dukzcry avatar Nov 05 '18 09:11 dukzcry

This is super weird... I have not been collecting kernel logs (may do it afterwards, but since this is an AMD Ryzen Hackintosh I cannot guarantee if those logs are good) but /dev/mfi0 seems to pop up iff I manually load the driver with kextload. Upon accessing it with mfiutil, however, leads to immediate freeze (kernel panic). Tested under 10.15.1 with LSI MegaRAID 9260-8i (IBM ServeRAID M5015 flashed with vanilla firmware).

Edit: I think I got the wrong error report...

CL-Jeremy avatar Jan 26 '20 09:01 CL-Jeremy