[Bug 245981] BCM57414 not initializing

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 Jul 2021 19:22:55 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245981

kestas <bsd_at_zuvis.mooo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bsd_at_zuvis.mooo.com

--- Comment #11 from kestas <bsd_at_zuvis.mooo.com> ---
Likely the same issue. Fresh install of FreeBSD 13.0 on Dell PowerEdge T640.
~50% chance of panics after reboot:

Fatal trap 12: page fault while in kernel mode
cpuid = 11; apic id = 0b
fault virtual address   = 0x81
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80d1da85
stack pointer           = 0x28:0xfffffe00e276a060
frame pointer           = 0x28:0xfffffe00e276a150
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 327CSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
 (ifconfig)ups: lo
trap number             = 12
panic: page fault
cpuid = 11
time = 1625402939
KDB: stack backtrace:
#0 0xffffffff80c57345 at kdb_backtrace+0x65
#1 0xffffffff80c09d21 at vpanic+0x181
#2 0xffffffff80c09b93 at panic+0x43
#3 0xffffffff8108b187 at trap_fatal+0x387
#4 0xffffffff8108b1df at trap_pfault+0x4f
#5 0xffffffff8108a83d at trap+0x27d
#6 0xffffffff810617a8 at calltrap+0x8
#7 0xffffffff80d1f30c at ifioctl+0x50c
#8 0xffffffff80c76ced at kern_ioctl+0x26d
#9 0xffffffff80c769e6 at sys_ioctl+0xf6
#10 0xffffffff8108ba8c at amd64_syscall+0x10c
#11 0xffffffff810620ce at fast_syscall_common+0xf8

Fatal trap 12: page fault while in kernel mode
cpuid = 4; apic id = 04
fault virtual address   = 0x81
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80d1da85
stack pointer           = 0x28:0xfffffe014267c060
frame pointer           = 0x28:0xfffffe014267c150
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current procCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::ess         = 337 (ifconfig)
trap number             = 12
panic: page fault
cpuid = 4
time = 1625402828
KDB: stack backtrace:
#0 0xffffffff80c57345 at kdb_backtrace+0x65
#1 0xffffffff80c09d21 at vpanic+0x181
#2 0xffffffff80c09b93 at panic+0x43
#3 0xffffffff8108b187 at trap_fatal+0x387
#4 0xffffffff8108b1df at trap_pfault+0x4f
#5 0xffffffff8108a83d at trap+0x27d
#6 0xffffffff810617a8 at calltrap+0x8
#7 0xffffffff80d1f30c at ifioctl+0x50c
#8 0xffffffff80c76ced at kern_ioctl+0x26d
#9 0xffffffff80c769e6 at sys_ioctl+0xf6
#10 0xffffffff8108ba8c at amd64_syscall+0x10c
#11 0xffffffff810620ce at fast_syscall_common+0xf8
Uptime: 20s


dmesg output (only bnxt related):

Jul  4 17:22:55 trunk kernel: bnxt0: <Broadcom BCM57416 NetXtreme-E 10GBase-T
Ethernet> mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab223fff
at device 0.0 numa-domain 0 on pci5
Jul  4 17:22:55 trunk kernel: bnxt0: Using 256 TX descriptors and 256 RX
descriptors
Jul  4 17:22:55 trunk kernel: bnxt0: Using 0 RX queues 0 TX queues
Jul  4 17:22:55 trunk kernel: bnxt0: Using MSI-X interrupts with 1 vectors
Jul  4 17:22:55 trunk kernel: bnxt0: iflib_dma_alloc_align: bus_dma_tag_create
failed: 22
Jul  4 17:22:55 trunk kernel: bnxt0: Unable to allocate device TX queue
Jul  4 17:22:55 trunk kernel: bnxt0: Unable to allocate queue memory
Jul  4 17:22:55 trunk kernel: device_attach: bnxt0 attach returned 22
Jul  4 17:22:55 trunk kernel: bnxt0: <Broadcom BCM57416 NetXtreme-E 10GBase-T
Ethernet> mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab221fff
at device 0.1 numa-domain 0 on pci5
Jul  4 17:22:55 trunk kernel: bnxt0: Using 256 TX descriptors and 256 RX
descriptors
Jul  4 17:22:55 trunk kernel: bnxt0: Using 0 RX queues 0 TX queues
Jul  4 17:22:55 trunk kernel: bnxt0: Using MSI-X interrupts with 1 vectors
Jul  4 17:22:55 trunk kernel: bnxt0: iflib_dma_alloc_align: bus_dma_tag_create
failed: 22
Jul  4 17:22:55 trunk kernel: bnxt0: Unable to allocate device TX queue
Jul  4 17:22:55 trunk kernel: bnxt0: Unable to allocate queue memory
Jul  4 17:22:55 trunk kernel: device_attach: bnxt0 attach returned 22
Jul  4 17:22:55 trunk kernel: bnxt0: <Broadcom BCM57416 NetXtreme-E 10GBase-T
Ethernet> mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab223fff
at device 0.0 numa-domain 0 on pci5
Jul  4 17:22:55 trunk kernel: bnxt0: Using 256 TX descriptors and 256 RX
descriptors
Jul  4 17:22:55 trunk kernel: bnxt0: Using 8 RX queues 8 TX queues
Jul  4 17:22:55 trunk kernel: bnxt0: Using MSI-X interrupts with 9 vectors
Jul  4 17:22:55 trunk kernel: bnxt0: Ethernet address: b0:7b:25:c8:6d:b6
Jul  4 17:22:55 trunk kernel: bnxt0: netmap queues/slots: TX 8/256, RX 8/256
Jul  4 17:22:55 trunk kernel: bnxt1: <Broadcom BCM57416 NetXtreme-E 10GBase-T
Ethernet> mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab221fff
at device 0.1 numa-domain 0 on pci5
Jul  4 17:22:55 trunk kernel: bnxt1: Using 256 TX descriptors and 256 RX
descriptors
Jul  4 17:22:55 trunk kernel: bnxt1: Using 8 RX queues 8 TX queues
Jul  4 17:22:55 trunk kernel: bnxt1: Using MSI-X interrupts with 9 vectors
Jul  4 17:22:55 trunk kernel: bnxt1: Ethernet address: b0:7b:25:c8:6d:b7
Jul  4 17:22:55 trunk kernel: bnxt1: netmap queues/slots: TX 8/256, RX 8/256
Jul  4 17:22:55 trunk kernel: bnxt0: Link is UP full duplex, FC - receive &
transmit - 1000 Mbps 
Jul  4 17:22:55 trunk kernel: bnxt0: link state changed to UP


I've added to /boot/loader.conf:

dev.bnxt.0.iflib.override_nrxqs="8"
dev.bnxt.0.iflib.override_ntxqs="8"
dev.bnxt.1.iflib.override_nrxqs="8"
dev.bnxt.1.iflib.override_ntxqs="8"

dmesg afterwards (errors disapeared):

Jul  4 17:31:09 trunk kernel: bnxt0: <Broadcom BCM57416 NetXtreme-E 10GBase-T
Ethernet> mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab223fff
at device 0.0 numa-domain 0 on pci5
Jul  4 17:31:09 trunk kernel: bnxt0: Using 256 TX descriptors and 256 RX
descriptors
Jul  4 17:31:09 trunk kernel: bnxt0: Using 8 RX queues 8 TX queues
Jul  4 17:31:09 trunk kernel: bnxt0: Using MSI-X interrupts with 9 vectors
Jul  4 17:31:09 trunk kernel: bnxt0: Ethernet address: b0:7b:25:c8:6d:b6
Jul  4 17:31:09 trunk kernel: bnxt0: netmap queues/slots: TX 8/256, RX 8/256
Jul  4 17:31:09 trunk kernel: bnxt1: <Broadcom BCM57416 NetXtreme-E 10GBase-T
Ethernet> mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab221fff
at device 0.1 numa-domain 0 on pci5
Jul  4 17:31:09 trunk kernel: bnxt1: Using 256 TX descriptors and 256 RX
descriptors
Jul  4 17:31:09 trunk kernel: bnxt1: Using 8 RX queues 8 TX queues
Jul  4 17:31:09 trunk kernel: bnxt1: Using MSI-X interrupts with 9 vectors
Jul  4 17:31:09 trunk kernel: bnxt1: Ethernet address: b0:7b:25:c8:6d:b7
Jul  4 17:31:09 trunk kernel: bnxt1: netmap queues/slots: TX 8/256, RX 8/256
Jul  4 17:31:09 trunk kernel: bnxt0: Link is UP full duplex, FC - receive &
transmit - 1000 Mbps 
Jul  4 17:31:09 trunk kernel: bnxt0: link state changed to UP

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jul 05 2021 - 19:22:55 UTC

Original text of this message