[Bug 251483] after upgrading from 12.1 to 12.2 the mfi driver crashes during boot

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 8 16:28:59 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251483

--- Comment #6 from Doug Ambrisko <ambrisko at FreeBSD.org> ---
I never figured out what this code was dealing with.  It came from
LSI/Avago/Broadcom with their initial support of Thunderbolt family of RAID
cards.  This was before they decided to make mrsas.  That is why I put in the
printf.  I assume that the CLI was MegaCLI.  Note that the MFI_CMD_PD_SCSI_IO
is for commands going to the raw disk versus to the RAID volume.  This should
mostly be handled as a "SYSPDIO" which they called system physical disk IO,
which is a talking straight to the disk.  That is handled the "mfisyspd" of the
driver.  it's kind of strange mode.

The real fix is probably to remove the
    cdb[0] != 0x28 && cdb[0] != 0x2A

and always run mfi_tbolt_build_mpt_cmd and not fall through to "DJA NA XXX
SYSPDIO".  I never found out why we would need to do that check.  I put that
message there so if it happened we can try to figure out why.  Since I've never
seen that happen we can probably remove it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list