[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260119141620.1318102-1-amadeus@jmu.edu.cn>
Date: Mon, 19 Jan 2026 22:16:20 +0800
From: Chukun Pan <amadeus@....edu.cn>
To: wangruikang@...as.ac.cn
Cc: amadeus@....edu.cn,
andrew+netdev@...n.ch,
davem@...emloft.net,
dlan@...too.org,
edumazet@...gle.com,
kuba@...nel.org,
linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org,
netdev@...r.kernel.org,
pabeni@...hat.com,
spacemit@...ts.linux.dev
Subject: Re: [PATCH 1/1] net: spacemit: Check netif_carrier_ok when reading stats
Hi Andrew, Vivian,
> I am unable to reproduce this problem.
>
> Can you elaborate on what you mean by "not linked up"? I couldn't
> reproduce this on an unconnected interface.
>
> I would also appreciate more information on this in general - full
> kernel logs, hardware information (which board, what you were doing
> with cables, etc...)
I apologize for not expressing this question clearly.
I'm trying to run OpenWrt on OrangePi R2S and OrangePi RV2.
Unlike other Spacemit K1 boards, OrangePi uses the YT8531C PHY.
Read stats when the interface is not connected to a network cable:
root@...nWrt:~# ethtool -S eth1
[ 71.725539] k1_emac cac81000.ethernet eth1: Read stat timeout
NIC statistics:
rx_drp_fifo_full_pkts: 0
rx_truncate_fifo_full_pkts: 0
I just discovered that adding "motorcomm,auto-sleep-disabled" to disable
the sleep mode of the MotorComm PHY prevents the problem from occurring.
I will send a DT patch instead. Sorry for the noise.
Thanks,
Chukun
Powered by blists - more mailing lists