[Bug 268230] Logical drives regression with mpr driver

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Dec 2022 16:44:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268230

            Bug ID: 268230
           Summary: Logical drives regression with mpr driver
           Product: Base System
           Version: 12.4-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rblayzor@inoc.net

This issue also appears in FreeBSD 13.1

Regression is seen when updating FreeBSD 12.3 GENERIC kernel to 12.4 kernel.

Logical drives on mpr device driver (LSI Fusion controller 3008i) fails to
discover logical drive. If logical drive is removed and drives are in JBOD,
drives appear normally. 

This is NOT an issue in FreeBSD 12.3 and updating to 12.4 causes the server to
fail boot as it cannot mount as it discovers no drives. Rolling back to
12.3-GENERIC resolves the problem.

In FreeBSD 12.3/12.4/13.1 the controller is discovered:

mpr0: <Avago Technologies (LSI) SAS3008> port 0xe000-0xe0ff mem
0xfb240000-0xfb24ffff,0xfb200000-0xfb23ffff irq 26 at device 0.0 on pci2
mpr0: Firmware: 10.00.03.00, Driver: 23.00.00.00-fbsd
mpr0: IOCCapabilities:
6985c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,IR,MSIXIndex,FastPath,RDPQArray>
mpr0: Found device <881<SataDev,Direct>,End Device> <6.0Gbps> handle<0x0009>
enclosureHandle<0x0001> slot 0
mpr0: At enclosure level 0 and connector name (    )
mpr0: Found device <881<SataDev,Direct>,End Device> <6.0Gbps> handle<0x000a>
enclosureHandle<0x0001> slot 1
mpr0: At enclosure level 0 and connector name (    )


However ONLY in 12.3 we see the logical drive is discovered and system boots
normally:

da0 at mpr0 bus 0 scbus0 target 0 lun 0
da0: <LSI Logical Volume 3000> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 739763315135195629
da0: 150.000MB/s transfers
da0: Command Queueing enabled
da0: 142097MB (291014656 512 byte sectors)


When booting with 12.4/13.1 this logical drive is NOT discovered, system cannot
boot.

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