From nobody Mon Jul 05 19:22:55 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 98E297C9F02 for ; Mon, 5 Jul 2021 19:22:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GJbDv3qwtz3QD0 for ; Mon, 5 Jul 2021 19:22:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6BC453CB8 for ; Mon, 5 Jul 2021 19:22:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 165JMtOa086168 for ; Mon, 5 Jul 2021 19:22:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 165JMthY086167 for net@FreeBSD.org; Mon, 5 Jul 2021 19:22:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 245981] BCM57414 not initializing Date: Mon, 05 Jul 2021 19:22:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bsd@zuvis.mooo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245981 kestas changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bsd@zuvis.mooo.com --- Comment #11 from kestas --- 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 =3D 11; apic id =3D 0b fault virtual address =3D 0x81 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80d1da85 stack pointer =3D 0x28:0xfffffe00e276a060 frame pointer =3D 0x28:0xfffffe00e276a150 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 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 =3D 12 panic: page fault cpuid =3D 11 time =3D 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 =3D 4; apic id =3D 04 fault virtual address =3D 0x81 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80d1da85 stack pointer =3D 0x28:0xfffffe014267c060 frame pointer =3D 0x28:0xfffffe014267c150 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current procCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::ess =3D 337 (ifconfig) trap number =3D 12 panic: page fault cpuid =3D 4 time =3D 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: mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab22= 3fff 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_cre= ate 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: mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab22= 1fff 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_cre= ate 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: mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab22= 3fff 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: mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab22= 1fff 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=20 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=3D"8" dev.bnxt.0.iflib.override_ntxqs=3D"8" dev.bnxt.1.iflib.override_nrxqs=3D"8" dev.bnxt.1.iflib.override_ntxqs=3D"8" dmesg afterwards (errors disapeared): Jul 4 17:31:09 trunk kernel: bnxt0: mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab22= 3fff 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: mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab22= 1fff 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=20 Jul 4 17:31:09 trunk kernel: bnxt0: link state changed to UP --=20 You are receiving this mail because: You are the assignee for the bug.=