From nobody Mon Dec 8 03:38:34 2025 X-Original-To: freebsd-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 4dPnl96B70z6JqXh for ; Mon, 08 Dec 2025 03:38:45 +0000 (UTC) (envelope-from code@mmayer.net) Received: from mail-106100.protonmail.ch (mail-106100.protonmail.ch [79.135.106.100]) (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 "protonmail.com", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dPnl72pQjz3hty for ; Mon, 08 Dec 2025 03:38:43 +0000 (UTC) (envelope-from code@mmayer.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mmayer.net header.s=protonmail2 header.b=SZ8V5NKt; dmarc=pass (policy=none) header.from=mmayer.net; spf=pass (mx1.freebsd.org: domain of code@mmayer.net designates 79.135.106.100 as permitted sender) smtp.mailfrom=code@mmayer.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mmayer.net; s=protonmail2; t=1765165119; x=1765424319; bh=Zt4wLjgbT1nu3+yb78fI5yc7vPO8hnEtGZLt1O46psI=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=SZ8V5NKtSBK/kOYbwG8hLqDeGLsucHEBZCKmXOCqRMYSu2O6Lx1uTw8/dat7IN870 1y16eUxUEPA7ADPfnYU+XL7JEGuhwIKfE1aDBGoegqNhw9H2/9+0LyiAR9dwyRCYgF EQYZjU0gMcD3/wrrf3aT1UlY4M7hnTw3aWVSJ0PLWHyKB2dNebjwuFNuidjEWqbXVT Xj/428B/BCUfo60iYiMMb0FeQdoYmLv7j6/iG4DRMojofAVq/6QKbfRiA3yeNTthce dmS9WxscT+WgvhQwM4GD4O8oOCdI2r7aSmXB2wtBkwV2AenCFe4drHMU+ClO+B00WO QzLos+Wt9IpiQ== Date: Mon, 08 Dec 2025 03:38:34 +0000 To: "freebsd-net@freebsd.org" From: Markus Mayer Subject: NetXtreme II BCM57810 10 Gigabit Ethernet From Message-ID: <2dAl6BneCzsEIULJjURZHvaZSUKHLhrjdJtKBPlBqGfdM4DtAJYW01oairAudXGdOWRt45bx9B0EuuzUYPwSkFeMXzW9F29dW0Xo07MQfuc=@mmayer.net> Feedback-ID: 142506394:user:proton X-Pm-Message-ID: f4c8b98d12fe29d3685e003f51f0246f2f3ea48e 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[mmayer.net,none]; R_SPF_ALLOW(-0.20)[+ip4:79.135.106.0/24]; R_DKIM_ALLOW(-0.20)[mmayer.net:s=protonmail2]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; DKIM_TRACE(0.00)[mmayer.net:+] X-Rspamd-Queue-Id: 4dPnl72pQjz3hty Hi, I am facing a bit of a conundrum. I have 3 Dell desktops with a NetXtreme I= I BCM57810 10 Gigabit Ethernet (10Gtek 10Gb PCI-E Network Card) each. One h= as been running FreeBSD 14 (now upgraded to 15) for over a year. One is run= ning Linux. And the third one is running a newly setup FreeBSD 15 instance. The NetXtreme II works fine in the original FreeBSD box (box 1) and always = has. However, it will not work on the new FreeBSD 15 box (box 3). It shows = "bxe0" having "no carrier" (i.e. it thinks no cable is plugged in). But I c= an boot a Linux or OpenIndiana (OpenSolaris) install media on that box, and= the network card will work just fine. In addition, I also experimented wit= h the Linux box (box 2) and booted the FreeBSD installer (14 & 15, actually= ). bxe0 shows "no carrier" on that box, too, even though it has been workin= g fine for a year under Linux. To summarize: Box 1 (FreeBSD 14 =E2=86=92 15): NetXtreme II works just fine under FreeBSD= 14 & 15 Box 2 (Linux): NetXtreme II works under Linux; "no carrier" under FreeBSD 1= 4 & 15 installer Box 3 (FreeBSD 15): NetXtreme II "no carrier" under FreeBSD; works fine wit= h Linux or OpenSolaris installer Box 1: $ ifconfig bxe0 bxe0: flags=3D1008843 metr= ic 0 mtu 1500 options=3D527bb =09ether 98:b7:85:1f:85:45 =09inet 10.0.1.37 netmask 0xffffff00 broadcast 10.0.1.255 =09media: Ethernet autoselect (10Gbase-SR ) =09status: active =09nd6 options=3D29 Box 3: $ ifconfig bxe0 bxe0: flags=3D8802 metric 0 mtu 1500 options=3D527bb =09ether 98:b7:85:20:f8:ed =09media: Ethernet autoselect (none) =09status: no carrier =09nd6 options=3D29 Any thoughts on what might be going on? Any ideas how to troubleshoot this? Of course one would expect the cable or the switch or something like that, = but that doesn't explain why different cables won't make a difference but b= ooting a different OS (without changing the cable) will. Thanks, -Markus PS: Some dmesg and lspci output. >From Box 3: bxe0: mem 0x9180000= 0-0x91ffffff,0x91000000-0x917fffff,0x92010000-0x9201ffff at device 0.0 on p= ci1 bxe0: PCI BAR0 [10] memory allocated: 0x91800000-0x91ffffff (8388608) -> 0x= fffff80091800000 bxe0: PCI BAR2 [18] memory allocated: 0x91000000-0x917fffff (8388608) -> 0x= fffff80091000000 bxe0: PCI BAR4 [20] memory allocated: 0x92010000-0x9201ffff (65536) -> 0xff= fff80092010000 bxe0: Found 10Gb Fiber media. bxe0: IFMEDIA flags : 20 bxe0: Using defaults for TSO: 65518/35/2048 bxe0: Ethernet address: 98:b7:85:20:f8:ed bxe0: MSI-X vectors Requested 5 and Allocated 5 bxe1: mem 0x9080000= 0-0x90ffffff,0x90000000-0x907fffff,0x92000000-0x9200ffff at device 0.1 on p= ci1 bxe1: PCI BAR0 [10] memory allocated: 0x90800000-0x90ffffff (8388608) -> 0x= fffff80090800000 bxe1: PCI BAR2 [18] memory allocated: 0x90000000-0x907fffff (8388608) -> 0x= fffff80090000000 bxe1: PCI BAR4 [20] memory allocated: 0x92000000-0x9200ffff (65536) -> 0xff= fff80092000000 bxe1: Found 10Gb Fiber media. bxe1: IFMEDIA flags : 20 bxe1: Using defaults for TSO: 65518/35/2048 bxe1: Ethernet address: 98:b7:85:20:f8:ee bxe1: MSI-X vectors Requested 5 and Allocated 5 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I21= 9-LM 01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BC= M57810 10 Gigabit Ethernet 01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BC= M57810 10 Gigabit Ethernet >From Box 1: bxe0: mem 0xe180000= 0-0xe1ffffff,0xe1000000-0xe17fffff,0xe2010000-0xe201ffff at device 0.0 on p= ci1 bxe0: PCI BAR0 [10] memory allocated: 0xe1800000-0xe1ffffff (8388608) -> 0x= fffff800e1800000 bxe0: PCI BAR2 [18] memory allocated: 0xe1000000-0xe17fffff (8388608) -> 0x= fffff800e1000000 bxe0: PCI BAR4 [20] memory allocated: 0xe2010000-0xe201ffff (65536) -> 0xff= fff800e2010000 bxe0: Found 10Gb Fiber media. bxe0: IFMEDIA flags : 20 bxe0: Using defaults for TSO: 65518/35/2048 bxe0: Ethernet address: 98:b7:85:1f:85:45 bxe0: MSI-X vectors Requested 5 and Allocated 5 bxe1: mem 0xe080000= 0-0xe0ffffff,0xe0000000-0xe07fffff,0xe2000000-0xe200ffff at device 0.1 on p= ci1 bxe1: PCI BAR0 [10] memory allocated: 0xe0800000-0xe0ffffff (8388608) -> 0x= fffff800e0800000 bxe1: PCI BAR2 [18] memory allocated: 0xe0000000-0xe07fffff (8388608) -> 0x= fffff800e0000000 bxe1: PCI BAR4 [20] memory allocated: 0xe2000000-0xe200ffff (65536) -> 0xff= fff800e2000000 bxe1: Found 10Gb Fiber media. bxe1: IFMEDIA flags : 20 bxe1: Using defaults for TSO: 65518/35/2048 bxe1: Ethernet address: 98:b7:85:1f:85:46 bxe1: MSI-X vectors Requested 5 and Allocated 5 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219= -LM 01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BC= M57810 10 Gigabit Ethernet 01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BC= M57810 10 Gigabit Ethernet 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE= Controller Yes, box 1 also has a Realtek 2.5G network card with the if_re driver from = https://github.com/alexdupre/rtl_bsd_drv.