NetBSD Problem Report #60963
From bsiegert@netbsd.org Wed Nov 4 19:07:05 2026
Return-Path: <bsiegert@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 00B241A923B
for <gnats-bugs@gnats.NetBSD.org>; Wed, 4 Nov 2026 19:07:04 +0000 (UTC)
Message-Id: <20261104190704.558EC84D28@mail.netbsd.org>
Date: Wed, 4 Nov 2026 19:07:04 +0000 (UTC)
From: bsiegert@NetBSD.org
Reply-To: bsiegert@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: eqos Ethernet on VisionFive not working well
X-Send-Pr-Version: 3.95
X-From4GNATS: "bsiegert@NetBSD.org via gnats" <gnats-admin@NetBSD.org>
>Number: 60963
>Notify-List: nick.hudson@gmx.co.uk
>Category: kern
>Synopsis: eqos Ethernet on VisionFive not working well
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: jmcneill
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 04 19:10:00 +0000 2026
>Last-Modified: Wed Nov 04 19:27:45 +0000 2026
>Originator: Benny Siegert
>Release: NetBSD-current (11.99.6)
>Organization:
The NetBSD Foundation
>Environment:
Architecture: riscv
CPU: rv64imacu
Model: StarFive VisionFive V2
>Description:
See the thread at https://mail-index.netbsd.org/current-users/2026/10/31/msg048031.html.
I updated my VisionFive (riscv64) to the latest current yesterday, and now the
Ethernet interface has issues. ssh into the machine hangs after
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
This is after connection has been established. It reproducibly hangs at this
stage.
Meanwhile, on the serial console, I see kernel messages like this:
[ 689.5963642] eqos0: TX [250] tx error: 0x10009000
[ 689.5963642] eqos0: TX [252] tx error: 0x10009000
[ 689.5963642] eqos0: TX [2] tx error: 0x10009000
[ 786.5986961] eqos0: TX [11] tx error: 0x10009000
[ 786.5986961] eqos0: TX [16] tx error: 0x10009000
[ 786.5986961] eqos0: TX [23] tx error: 0x10009000
After the reply from Nick Hudson, I went ahead and bisected the last six months
of kernel changes, narrowing it down to this commit:
0311e19ca67faa96d414b94850a708a2888df7f3 is the first 'bad' commit
commit 0311e19ca67faa96d414b94850a708a2888df7f3 (HEAD)
Author: jmcneill <jmcneill@NetBSD.org>
Date: Sat Jun 13 15:38:29 2026 +0000
eqos: enable COE by default
sys/dev/ic/dwc_eqos.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
I see no mentions of the new "failed to enable COE" error message, so I suppose
it gets enabled and doesn't work.
visionfive# dmesg | grep eqos
[ 1.000000] eqos0 at simplebus1: DesignWare EQOS ver 0x52 (0x41)
[ 1.000000] eqos0: hw features 1a2173f7 09845904 01000000 00000000
[ 1.000000] eqos0: Ethernet address 6c:cf:39:00:81:5a
[ 1.000000] mcommphy0 at eqos0 phy 0: Motorcomm YT8531 GbE PHY
[ 1.000000] eqos0: interrupting on plic0 irq 7
[ 1.000000] eqos1 at simplebus1: DesignWare EQOS ver 0x52 (0x41)
[ 1.000000] eqos1: hw features 1a2173f7 09845904 01000000 00000000
[ 1.000000] eqos1: Ethernet address 6c:cf:39:00:81:5b
[ 1.000000] mcommphy1 at eqos1 phy 0: Motorcomm YT8531 GbE PHY
[ 1.000000] eqos1: interrupting on plic0 irq 78
[ 19.970200] eqos0: TX [83] tx error: 0x10009000
[ 21.470234] eqos0: TX [89] tx error: 0x10009000
[ 24.470302] eqos0: TX [94] tx error: 0x10009000
[ 30.470455] eqos0: TX [98] tx error: 0x10009000
[ 42.470760] eqos0: TX [101] tx error: 0x10009000
[ 66.471370] eqos0: TX [115] tx error: 0x10009000
[ 114.472590] eqos0: TX [136] tx error: 0x10009000
>How-To-Repeat:
Boot from a recent -current after the above commit. Try to log in over
ssh.
>Fix:
I wish I knew :/
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->jmcneill
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Wed, 04 Nov 2026 19:27:45 +0000
Responsible-Changed-Why:
Over to author of the commit in questino
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.