[Bug 274974] nvme: resetting controller after mounting a partition

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Nov 2023 21:01:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274974

            Bug ID: 274974
           Summary: nvme: resetting controller after mounting a partition
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org

Having previously used an M.2 disk in a simple pass-through adapter card, I
bought a Sonnet McFiver card so plug in a 2nd disk. However, when the card is
used, simply mounting any partition on any of the disks plugged to the card,
results in:
nvme1: Resetting controller due to a timeout and possible hot unplug.
nvme1: resetting controller
nvme1: failing outstanding i/o
nvme1: READ sqid:5 cid:124 nsid:1 lba:73 len:8
nvme1: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:5 cid:124 cdw0:0
(nda1:nvme1:0:0:1): READ. NCB: opc=2 fuse=0 nsid=1000000 prp1=0 prp2=0
cdw=49000000 0 7000000 0 0 0
(nda1:nvme1:0:0:1): CAM status: Unknown (0x420)
(nda1:nvme1:0:0:1): Error 5, Retries exhausted
g_vfs_done():nda1p1[READ(offset=4608, length=4096)]error = 5
nda1 at nvme1 bus 0 scbus5 target 0 lun 1
nda1: <Samsung SSD 980 1TB 3B4QFXO7 S649NS0W619970N> s/n S649NS0W619970N
detached
(nda1:nvme1:0:0:1): Periph destroyed


On Linux accessing both drives works fine. The card and its devices are
detected on Linux as:
0000:01:00.0 PCI bridge: PLX Technology, Inc. PEX 8724 24-Lane, 6-Port PCI
Express Gen 3 (8 GT/s) Switch, 19 x 19mm FCBGA (rev ca)
0000:02:01.0 PCI bridge: PLX Technology, Inc. PEX 8724 24-Lane, 6-Port PCI
Express Gen 3 (8 GT/s) Switch, 19 x 19mm FCBGA (rev ca)
0000:02:02.0 PCI bridge: PLX Technology, Inc. PEX 8724 24-Lane, 6-Port PCI
Express Gen 3 (8 GT/s) Switch, 19 x 19mm FCBGA (rev ca)
0000:02:08.0 PCI bridge: PLX Technology, Inc. PEX 8724 24-Lane, 6-Port PCI
Express Gen 3 (8 GT/s) Switch, 19 x 19mm FCBGA (rev ca)
0000:02:09.0 PCI bridge: PLX Technology, Inc. PEX 8724 24-Lane, 6-Port PCI
Express Gen 3 (8 GT/s) Switch, 19 x 19mm FCBGA (rev ca)
0000:02:0a.0 PCI bridge: PLX Technology, Inc. PEX 8724 24-Lane, 6-Port PCI
Express Gen 3 (8 GT/s) Switch, 19 x 19mm FCBGA (rev ca)
0000:03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe
SSD Controller SM981/PM981/PM983
0000:04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe
SSD Controller 980
0000:0a:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1
Host Controller
0000:0b:00.0 Ethernet controller: Aquantia Corp. AQC113CS NBase-T/IEEE 802.3bz
Ethernet Controller [AQtion] (rev 03)

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