Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
@joevt I get my piece of fun too! (too sad my old SATA hdd 160 Db Samsung appear to hang internal SATA bus if connected, so test will wait until I get new sata storage)

Code:
sudo ./lsiutil

LSI Logic MPT Configuration Utility, Version 1.72, Sep 09, 2014

01/08/00/0 (SAS1064E B1) is in RESET state, Doorbell is 00000024

1 MPT Port found

     Port Name         Chip Vendor/Type/Rev    MPT Rev  Firmware Rev  IOC
 1.  01/08/00/0        LSI Logic SAS1064E B1     000      00000000     0

Select a device:  [1-1 or 0 to quit] 1

The firmware on this SAS1064E B1 appears broken!
A valid firmware image is required to make this chip operational...

Enter firmware filename: ^C

Unloading MPTFusion kext helped:

Code:
sudo kextunload -v /System/Library/Extensions/AppleLSIFusionMPT.kext
kextunload: unload kext /System/Library/Extensions/AppleLSIFusionMPT.kext succeeded


power-mac-g5-user-usr:1.70 andrewrandrianasulu$ sudo ./lsiutil -s -w
LSI Logic MPT Configuration Utility, Version 1.72, Sep 09, 2014

01/08/00/0: Failed to clear RESET ADAPTER

01/08/00/0 (SAS1064E B1) is in UNKNOWN state, Doorbell is ffffffff

1 MPT Port found

==============================================================================

01/08/00/0        LSI Logic SAS1064E B1    MPT 000   Firmware 00000000   IOC 0


01/08/00/0: Failed to clear RESET ADAPTER
SAS1064E's host SCSI ID is 0

 B___T___L  Type       Vendor   Product          Rev   Negotiated Speed & Width

01/08/00/0: Failed to clear RESET ADAPTER

edit 2:

from System profiler:

Code:
SAS Domain 0:

  Vendor:    LSILogic
  Product:    SAS3041E
  Revision:    Firmware 1.9.0.0, Fcode 1.00.40
  Bus:    PCI
  Slot:    SLOT-2
  Initiator Identifier:    63

I think this means that Fcode installed, even if card was branded for HP?

edit 3:

This is PCI-E (Express) card:

Code:
LSI,1064E:

  Name:    LSILogic,sas
  Type:    scsi-2
  Driver Installed:    Yes
  Bus:    PCI
  Slot:    SLOT-2
  Vendor ID:    0x1000
  Device ID:    0x0056
  Subsystem Vendor ID:    0x1000
  Subsystem ID:    0x3090
  Revision ID:    0x0002
  Link Width:    x4
  Link Speed:    2.5 GT/s

It worked in Linux (LSiutil 1.72, kernel 6.12.92_ppc64), showing full menu and correct Firmware/MPT revisions.

So ot appear some functions in osx port do not work correctly yet?
 
There is function in lsiutil.c line 31778

getPortInfo(MPT_PORT *port)

it calls

checkOperational() and then getIocFacts()

and only if both successed it goes to define

port->mptVersion and port->fwVersion along with other useful info.

So may be it fails in osx case due to unloaded kext leaving device in strange non-default state? Need to add printfs there, but .. next day, not now.
 
There is very basic MPTSAS1068 emulation in qemu (2.6.0+) so I used FreeDOS 1.4 boot/install disk + lsiutil.exe + dos4g.exe on virtual fat drive to see if it gives me menu at least. It does, even if firmware still at 0000

Using qemu 10.2.1 on Termux/aarch64

Code:
qemu-system-i386 -fda 144m/x86BOOT.img -vnc :1 -hdb fat:rw:14/ -boot a -device mptsas1068

But torturing it too hard result in

Code:
../hw/scsi/mptsas.c:843: uint32_t mptsas_doorbell_read(MPTSASState *): assertion "s->intr_status & MPI_HIS_DOORBELL_INTERRUPT" failed
Aborted

I am not sure if you can add real rom to it? may be by using

-device mptsas1068,rom=real_rom.rom ?
 
Do you have my DirectHW.kext and my pciutils installed?

yes, otherwise lsiutils will not compile.


Does sudo lspci work?

yes, thanks (I need to run it as sudo /usr/local/sbin/lspci, because /usr/local/sbin is not in root's $PATH)


Also see https://gist.github.com/joevt/e3cd4ff08aae06279134969c98ca3ab7

Do note that I have done very little testing of lsiutil on Mac OS X because I do not have a LSI PCI card.

You can try qemu route? But Leo is surely not small cat 😉 you need few gigs just for os, I think 20 gb virt. hdd was smaller I used for OSX + Xcode install for both 10.5.8 intel/ppc and 10.6.8 x86-64)

It seems that firmware version /MPT version being zero do not, in itself, prevent full menu from appearing in dos version of lsiutil under qemu with mptsas1068 rom-less device.
 
so get SATA III SSD, default sata-1 motherboard port was not working with it, but LSI card sees disk, formatted and tested in Xbench so far.

Snapshot 2026-07-16 15-17-40.png



Snapshot 2026-07-16 15-19-32.png

Code:
SCSI Logical Unit @ 0:

  Capacity:    223,57 GB
  SCSI Logical Unit Number:    0
  Model:    MSI S270 240GB
  Revision:    SHFME0.0
  Serial Number:    511251002206004682
  SATA Device:    Yes
  Removable Media:    Yes
  Detachable Drive:    No
  BSD Name:    disk1
  Mac OS 9 Drivers:    No
  Partition Map Type:    APM (Apple Partition Map)
  S.M.A.R.T. status:    Not Supported
  Volumes:
ssd1:
  Capacity:    111,79 GB
  Available:    111,71 GB
  Writable:    Yes
  File System:    Journaled HFS+
  BSD Name:    disk1s3
  Mount Point:    /Volumes/ssd1
ssd2:
  Capacity:    111,54 GB
  Available:    111,46 GB
  Writable:    Yes
  File System:    Journaled HFS+
  BSD Name:    disk1s5
  Mount Point:    /Volumes/ssd2
 
Last edited:
  • Like
Reactions: eastone
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.