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 ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.