[Bug 240145] [smartpqi][zfs] kernel panic with hanging vdev

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Sep 2021 08:45:19 UTC

--- Comment #42 from benoitc <benoitc@enki-multimedia.eu> ---
it seems using latest driver from 13.0-stable applied on 13.0-releng worked for
me. I am not using any more hardware raid, only 2 zfs pools (2x300GB and

Commits used : 

commit 2c98463a296974dec38707b3c346c570dbfb3630 (HEAD -> releng/13.0)
Author: Edward Tomasz Napierala <trasz@FreeBSD.org>
Date:   Fri May 28 00:33:37 2021 -0600

    smartpqi: clear CCBs allocated on the stack

    Differential Revision:          https://reviews.freebsd.org/D30299

    (cherry picked from commit e20e60be501204c3ba742e266afecc6c6e498a6c)

commit 0ea861c05c484f5fcc8c1cc36c70f842daef04b1
Author: PAPANI SRIKANTH <papani.srikanth@microchip.com>
Date:   Fri May 28 00:17:56 2021 -0600

    Newly added features and bug fixes in latest Microchip SmartPQI driver

    It includes:

    1)Newly added TMF feature.
    2)Added newly Huawei & Inspur PCI ID's
    3)Fixed smartpqi driver hangs in Z-Pool while running on FreeBSD12.1
    4)Fixed flooding dmesg in kernel while the controller is offline during in
    5)Avoided unnecessary host memory allocation for rcb sg buffers.
    6)Fixed race conditions while accessing internal rcb structure.
    7)Fixed where Logical volumes exposing two different names to the OS it's
due to the system memory is overwritten with DMA stale data.
    8)Fixed dynamically unloading a smartpqi driver.
    9)Added device_shutdown callback instead of deprecated shutdown_final
kernel event in smartpqi driver.
    10)Fixed where Os is crashed during physical drive hot removal during heavy
    11)Fixed OS crash during controller lockup/offline during heavy IO.
    12)Fixed coverity issues in smartpqi driver
    13)Fixed system crash while creating and deleting logical volume in a
continuous loop.
    14)Fixed where the volume size is not exposing to OS when it expands.
    15)Added HC3 pci id's.

    Reviewed by:            Scott Benesh (microsemi), Murthy Bhat (microsemi),
    Differential Revision:  https://reviews.freebsd.org/D30182

    (cherry picked from commit 9fac68fc3853b696c8479bb3a8181d62cb9f59c9)

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