Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Dec 2020 16:28:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251483] after upgrading from 12.1 to 12.2 the mfi driver crashes during boot
Message-ID:  <bug-251483-227-9W5MAadx9n@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251483-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251483-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251483

--- Comment #6 from Doug Ambrisko <ambrisko@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 t=
he
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 shou=
ld
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] !=3D 0x28 && cdb[0] !=3D 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 n=
ever
seen that happen we can probably remove it.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251483-227-9W5MAadx9n>