From nobody Tue Dec 31 03:50:22 2024 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 4YMfBr4wBtz5jVfN for ; Tue, 31 Dec 2024 03:50:44 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from sfo.monkeybrains.net (mail.monkeybrains.net [208.69.40.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "sfo.monkeybrains.net", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMfBr2WdWz3xWT for ; Tue, 31 Dec 2024 03:50:44 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (public.static.monkeybrains.net [199.241.201.238]) (authenticated bits=0) by sfo.monkeybrains.net (8.16.1/8.16.1) with ESMTPSA id 4BV3oX8s075825 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 30 Dec 2024 19:50:34 -0800 (PST) (envelope-from crapsh@monkeybrains.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=monkeybrains.net; s=dkim; t=1735617034; bh=EP2TKFCrz/cawA7iKXCqfLW3G74Mgjx4shKlFAnbsXE=; h=From:Subject:Date:References:Cc:In-Reply-To:To; b=mYM1Gcg76L79h+HgSKlkyCDQnAiDHmsXjTPtdJYsXq3aHsbDCQRjzmE6K/CnF6LA5 nhCP7OrfJ8cz4qvJrVMYVRJfrMvQN7dLUm6GbetsyFEguvj8fqPfEFcJywy1y3zSUY akxA5EjDBl6NO9VSy31qrAeGVc5pb3wZYjgvLN5s= X-Authentication-Warning: mail.monkeybrains.net: Host public.static.monkeybrains.net [199.241.201.238] claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: "Rudy Rucker (bulk Mail Account)" 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 (1.0) Subject: Re: if_axp (AMD 10Gb) never detects a link on Ryzen v3000 embedded board (on FreeBSD 14.2) Date: Mon, 30 Dec 2024 19:50:22 -0800 Message-Id: References: Cc: freebsd-net@freebsd.org In-Reply-To: To: Rebecca Cran X-Mailer: iPhone Mail (21G93) X-Virus-Scanned: clamav-milter 0.103.3 at mail.monkeybrains.net X-Virus-Status: Clean X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:32329, ipnet:208.69.40.0/22, country:US] X-Rspamd-Queue-Id: 4YMfBr2WdWz3xWT X-Spamd-Bar: ---- unsubscribe > On Dec 30, 2024, at 7:11=E2=80=AFPM, Rebecca Cran wrot= e: >=20 > =EF=BB=BFI recently bought a slightly funky device with hopes of using it a= s a router: it's a SolidRun Ryzen v3000 (https://shop.solid-run.com/product/= SRRV318S01D64GE000H10IH/) with a "AMD Ryzen Embedded V3C18I 8-Core Processor= ". >=20 > It has 2x AMD 10 Gigabit EthernetSFP+ ports built-in, but I'm having troub= le getting FreeBSD to detect a link. I'm using a FS SFP-10GSR-85 transceiver= connected to a Zyxel XS1930-10 switch: the switch shows the link as active,= but FreeBSD never detects it on its end. I've tried setting dev.ax.{0,1}.li= nk_workaround=3D1 but it doesn't have any effect. >=20 >=20 > https://solidrun.atlassian.net/wiki/spaces/developer/pages/592904196/Honey= Comb+AMD+V3000+mini+ITX+Quick+Start+Guide mentions that "As of JUL 7 2024 (Fre= eBSD 14.01) the AMD XGBE driver on FreeBSD does not fully support SFP later v= ersion will eventually have the driver fixed" and I'm wondering if there's a= ny active work on this, any workarounds, or if I should try 14-STABLE instea= d? >=20 >=20 > Boot dmesg shows: >=20 > ax0: mem 0xfce60000-0xfce7ffff,0xfce40000= -0xfce5ffff,0xfce82000-0xfce83fff at device 0.2 on pci4 > ax0: Using 512 TX descriptors and 512 RX descriptors > ax0: Using 3 RX queues 3 TX queues > ax0: Using MSI-X interrupts with 7 vectors > ax0: Ethernet address: d0:63:b4:05:b4:a7 > ax0: SPH Enabled > ax0: xgbe_config_sph_mode: SPH enabled in channel 0 > ax0: xgbe_config_sph_mode: SPH enabled in channel 1 > ax0: xgbe_config_sph_mode: SPH enabled in channel 2 > ax0: RSS Enabled > ax0: Receive checksum offload Enabled > ax0: VLAN filtering Enabled > ax0: VLAN Stripping Enabled > ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2 > ax0: netmap queues/slots: TX 3/512, RX 3/512 > ax1: mem 0xfce20000-0xfce3ffff,0xfce00000= -0xfce1ffff,0xfce80000-0xfce81fff at device 0.3 on pci4 > ax1: Using 512 TX descriptors and 512 RX descriptors > ax1: Using 3 RX queues 3 TX queues > ax1: Using MSI-X interrupts with 7 vectors > ax1: Ethernet address: d0:63:b4:05:b4:a8 > ax1: SPH Enabled > ax1: xgbe_config_sph_mode: SPH enabled in channel 0 > ax1: xgbe_config_sph_mode: SPH enabled in channel 1 > ax1: xgbe_config_sph_mode: SPH enabled in channel 2 > ax1: RSS Enabled > ax1: Receive checksum offload Enabled > ax1: VLAN filtering Enabled > ax1: VLAN Stripping Enabled > ax1: netmap queues/slots: TX 3/512, RX 3/512 >=20 >=20 > When I run "ifconfig ax1 up": >=20 > # ifconfig ax1 up > ax1: SPH Enabled > ax1: xgbe_config_sph_mode: SPH enabled in channel 0 > ax1: xgbe_config_sph_mode: SPH enabled in channel 1 > ax1: xgbe_config_sph_mode: SPH enabled in channel 2 > ax1: RSS Enabled > ax1: Receive checksum offload Enabled > ax1: VLAN filtering Enabled > ax1: VLAN Stripping Enabled >=20 >=20 > But "ifconfig ax1" still shows: >=20 > ax1: flags=3D8843 metric 0 mtu 150= 0 > options=3D4e503bb > ether d0:63:b4:05:b4:a8 > media: Ethernet autoselect > status: no carrier > nd6 options=3D29 >=20 >=20 > -- > Rebecca Cran >=20 >=20