Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2023 23:14:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274974] nvme: resetting controller after mounting a partition
Message-ID:  <bug-274974-227-6npbbCsyam@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274974-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274974-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=3D274974

--- Comment #8 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
Disks are on pci3 and pci4:
nvme0: <Generic NVMe Device> mem 0x80000000-0x80003fff irq 1044473 at device
0.0 numa-domain 0 on pci3
nvme1: <Generic NVMe Device> mem 0x80400000-0x80403fff irq 1044474 at device
0.0 numa-domain 0 on pci4

pci3 and pci4 are on respectively pcib3 and pcib4:
pci3: <OFW PCI bus> numa-domain 0 on pcib3
pci4: <OFW PCI bus> numa-domain 0 on pcib4

Indeed one of those has HotPlug, but the other does not.
pcib3@pci0:2:1:0:       class=3D0x060400 rev=3D0xca hdr=3D0x01 vendor=3D0x1=
0b5
device=3D0x8724 subvendor=3D0x16b8 subdevice=3D0x7404
    vendor     =3D 'PLX Technology, Inc.'
    device     =3D 'PEX 8724 24-Lane, 6-Port PCI Express Gen 3 (8 GT/s) Swi=
tch,
19 x 19mm FCBGA'
    class      =3D bridge
    subclass   =3D PCI-PCI
    cap 01[40] =3D powerspec 3  supports D0 D3  current D0
    cap 05[48] =3D MSI supports 8 messages, 64 bit, vector masks
    cap 10[68] =3D PCI-Express 2 downstream port max data 256(1024) RO NS A=
RI
disabled
                 max read 128
                 link x4(x4) speed 8.0(8.0) ASPM disabled(L1)
                 slot 1 power limit 25000 mW HotPlug(present) Attn Button
PC(off) MRL(open)
    cap 0d[a4] =3D PCI Bridge subvendor=3D0x16b8 subdevice=3D0x7404
    ecap 0003[100] =3D Serial 1 ca870010b5df0e00
    ecap 0001[fb4] =3D AER 1 0 fatal 0 non-fatal 0 corrected
    ecap 0004[138] =3D Power Budgeting 1
    ecap 0019[10c] =3D PCIe Sec 1 lane errors 0
    ecap 0002[148] =3D VC 1 max VC0
    ecap 0012[e00] =3D Multicast 1
    ecap 000d[f24] =3D ACS 1 Source Validation disabled, Translation Blocki=
ng
disabled
                     P2P Req Redirect disabled, P2P Cmpl Redirect disabled
                     P2P Upstream Forwarding disabled, P2P Egress Control
disabled
                     P2P Direct Translated disabled, Enhanced Capability
unavailable
    ecap 000b[b70] =3D Vendor [1] ID 0001 Rev 0 Length 16
pcib4@pci0:2:2:0:       class=3D0x060400 rev=3D0xca hdr=3D0x01 vendor=3D0x1=
0b5
device=3D0x8724 subvendor=3D0x16b8 subdevice=3D0x7404
    vendor     =3D 'PLX Technology, Inc.'
    device     =3D 'PEX 8724 24-Lane, 6-Port PCI Express Gen 3 (8 GT/s) Swi=
tch,
19 x 19mm FCBGA'
    class      =3D bridge
    subclass   =3D PCI-PCI
    cap 01[40] =3D powerspec 3  supports D0 D3  current D0
    cap 05[48] =3D MSI supports 8 messages, 64 bit, vector masks
    cap 10[68] =3D PCI-Express 2 downstream port max data 256(1024) RO NS A=
RI
disabled
                 max read 128
                 link x4(x4) speed 8.0(8.0) ASPM disabled(L1)
                 slot 2 power limit 25000 mW
    cap 0d[a4] =3D PCI Bridge subvendor=3D0x16b8 subdevice=3D0x7404
    ecap 0003[100] =3D Serial 1 ca870010b5df0e00
    ecap 0001[fb4] =3D AER 1 0 fatal 0 non-fatal 0 corrected
    ecap 0004[138] =3D Power Budgeting 1
    ecap 0019[10c] =3D PCIe Sec 1 lane errors 0
    ecap 0002[148] =3D VC 1 max VC0
    ecap 0012[e00] =3D Multicast 1
    ecap 000d[f24] =3D ACS 1 Source Validation disabled, Translation Blocki=
ng
disabled
                     P2P Req Redirect disabled, P2P Cmpl Redirect disabled
                     P2P Upstream Forwarding disabled, P2P Egress Control
disabled
                     P2P Direct Translated disabled, Enhanced Capability
unavailable
    ecap 000b[b70] =3D Vendor [1] ID 0001 Rev 0 Length 16


What's more strange, I can now mount the nvme0 drive on pci3 (which has HP),
even though it didn't work before. Attempting to mount nvme1 still doesn't
work.

--=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-274974-227-6npbbCsyam>