Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2022 09:43:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 245981] bnxt(4): BCM57414 / BCM57416 not initializing: bnxt0: Unable to allocate device TX queue / queue memory
Message-ID:  <bug-245981-7501-tZC8lGwOm1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245981-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245981-7501@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=3D245981

SJ <sandy@rbrd.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandy@rbrd.io

--- Comment #24 from SJ <sandy@rbrd.io> ---
Experiencing issues with the BCM57416 on new hardware, with a fresh install=
 of
FreeBSD 13.0.

Firmware version shipped with card: 22.00.07.60

% uname -a
FreeBSD foo 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11=20

On running `kldload /boot/kernel/if_bnxt.ko`, the following appears in
/var/log/messages:

May 19 10:37:17 <kern.crit> foo kernel: bnxt0: <Broadcom BCM57416 NetXtreme=
-E
10GBase-T Ethernet> mem
0xb8a10000-0xb8a1ffff,0xb8900000-0xb89fffff,0xb8a22000-0xb8a23fff at device=
 0.0
numa-domain 0 on pci9
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Using 256 TX descriptors and=
 256
RX descriptors
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Using 0 RX queues 0 TX queues
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Using MSI-X interrupts with 1
vectors
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: iflib_dma_alloc_align:
bus_dma_tag_create failed: 22
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Unable to allocate device TX
queue
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Unable to allocate queue mem=
ory
May 19 10:37:17 <kern.crit> foo kernel: device_attach: bnxt0 attach returne=
d 22
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: <Broadcom BCM57416 NetXtreme=
-E
10GBase-T Ethernet> mem
0xb8a00000-0xb8a0ffff,0xb8800000-0xb88fffff,0xb8a20000-0xb8a21fff at device=
 0.1
numa-domain 0 on pci9
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Using 256 TX descriptors and=
 256
RX descriptors
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Using 0 RX queues 0 TX queues
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Using MSI-X interrupts with 1
vectors
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: iflib_dma_alloc_align:
bus_dma_tag_create failed: 22
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Unable to allocate device TX
queue
May 19 10:37:17 <kern.crit> foo kernel: bnxt0: Unable to allocate queue mem=
ory
May 19 10:37:17 <kern.crit> foo kernel: device_attach: bnxt0 attach returne=
d 22


% pciconf -l -BbcevV
...
    vendor     =3D 'Broadcom Inc. and subsidiaries'
    device     =3D 'BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Contr=
oller'
    class      =3D network
    subclass   =3D ethernet
    bar   [10] =3D type Prefetchable Memory, range 64, base 0xb8a10000, size
65536, enabled
    bar   [18] =3D type Prefetchable Memory, range 64, base 0xb8900000, size
1048576, enabled
    bar   [20] =3D type Prefetchable Memory, range 64, base 0xb8a22000, size
8192, enabled
    cap 01[48] =3D powerspec 3  supports D0 D3  current D0
    cap 03[50] =3D VPD
    cap 05[58] =3D MSI supports 8 messages, 64 bit=20
    cap 11[a0] =3D MSI-X supports 74 messages
                 Table in map 0x20[0x0], PBA in map 0x20[0x4a0]
    cap 10[ac] =3D PCI-Express 2 endpoint max data 256(512) FLR RO NS
                 max read 512
                 link x8(x8) speed 8.0(8.0) ClockPM disabled
    ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected
    ecap 0003[13c] =3D Serial 1 f4ee08fffe25fabd
    ecap 0004[150] =3D Power Budgeting 1
    ecap 0002[160] =3D VC 1 max VC0
    ecap 000b[180] =3D Vendor [1] ID 0000 Rev 0 Length 32
    ecap 0018[1b0] =3D LTR 1
    ecap 000e[1b8] =3D ARI 1
    ecap 0017[230] =3D TPH Requester 1
    ecap 0019[300] =3D PCIe Sec 1 lane errors 0
    ecap 001f[200] =3D Precision Time Measurement 1
  PCI-e errors =3D Correctable Error Detected
                 Unsupported Request Detected
     Corrected =3D Advisory Non-Fatal Error
    VPD ident  =3D 'Broadcom Adv. Dual 10GBASE-T Ethernet'
    VPD ro PN  =3D 'BCM957416'
    VPD ro MN  =3D '1028'
    VPD ro V0  =3D 'FFV22.00.07.60'
    VPD ro V1  =3D 'DSV1028VPDR.VER2.1'
    VPD ro V2  =3D 'NPY2'
    VPD ro V3  =3D 'PMT1'
    VPD ro V4  =3D 'NMVBroadcom Corp'
    VPD ro V5  =3D 'DTINIC'
    VPD ro V6  =3D
'DCM1001FFFFFF1202FFFFFF1403FFFFFF1604FFFFFF1805FFFFFF1A06FFFFFF1C07FFFFFF1=
E08FFFFFF2101FFFFFF2302FFFFFF2503FFFFFF2704FFFFFF2905FFFFFF2B06FFFFFF2D07FF=
FFFF2F08FFFFFF'
    VPD ro V7  =3D 'L1D0'
none89@pci0:94:0:1:     class=3D0x020000 rev=3D0x01 hdr=3D0x00 vendor=3D0x1=
4e4
device=3D0x16d8 subvendor=3D0x1028 subdevice=3D0x1fea
    vendor     =3D 'Broadcom Inc. and subsidiaries'
    device     =3D 'BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Contr=
oller'
    class      =3D network
    subclass   =3D ethernet
    bar   [10] =3D type Prefetchable Memory, range 64, base 0xb8a00000, size
65536, enabled
    bar   [18] =3D type Prefetchable Memory, range 64, base 0xb8800000, size
1048576, enabled
    bar   [20] =3D type Prefetchable Memory, range 64, base 0xb8a20000, size
8192, enabled
    cap 01[48] =3D powerspec 3  supports D0 D3  current D0
    cap 03[50] =3D VPD
    cap 05[58] =3D MSI supports 8 messages, 64 bit=20
    cap 11[a0] =3D MSI-X supports 74 messages
                 Table in map 0x20[0x0], PBA in map 0x20[0x4a0]
    cap 10[ac] =3D PCI-Express 2 endpoint max data 256(512) FLR RO NS
                 max read 512
                 link x8(x8) speed 8.0(8.0) ClockPM disabled
    ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected
    ecap 0003[13c] =3D Serial 1 f4ee08fffe25fabd
    ecap 0004[150] =3D Power Budgeting 1
    ecap 000b[180] =3D Vendor [1] ID 0000 Rev 0 Length 32
    ecap 000e[1b8] =3D ARI 1
    ecap 0017[230] =3D TPH Requester 1
  PCI-e errors =3D Correctable Error Detected
                 Unsupported Request Detected
     Corrected =3D Advisory Non-Fatal Error
    VPD ident  =3D 'Broadcom Adv. Dual 10GBASE-T Ethernet'
    VPD ro PN  =3D 'BCM957416'
    VPD ro MN  =3D '1028'
    VPD ro V0  =3D 'FFV22.00.07.60'
    VPD ro V1  =3D 'DSV1028VPDR.VER2.1'
    VPD ro V2  =3D 'NPY2'
    VPD ro V3  =3D 'PMT1'
    VPD ro V4  =3D 'NMVBroadcom Corp'
    VPD ro V5  =3D 'DTINIC'
    VPD ro V6  =3D
'DCM1001FFFFFF1202FFFFFF1403FFFFFF1604FFFFFF1805FFFFFF1A06FFFFFF1C07FFFFFF1=
E08FFFFFF2101FFFFFF2302FFFFFF2503FFFFFF2704FFFFFF2905FFFFFF2B06FFFFFF2D07FF=
FFFF2F08FFFFFF'
    VPD ro V7  =3D 'L1D0'

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245981-7501-tZC8lGwOm1>