cw_firefly 发表于 2023-5-8 16:07:56

网卡一直up、down

      rk3399 板子的eth1网口,同网段连接pc的网口,
      rk3399 板子的串口不断出现,link up,linkdown交替打印,
      pc端网卡连接就不断地连接端口,
打印如下:

rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
rk_gmac-dwmac fe300000.ethernet eth0: Link is Down
rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
rk_gmac-dwmac fe300000.ethernet eth0: Link is Down
rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
rk_gmac-dwmac fe300000.ethernet eth0: Link is Down
rk_gmac-dwmac fe300000.ethernet eth0: Link is down
rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

neutionwei 发表于 2023-5-8 17:27:01

检查一下网口接触情况,或者换一根网线试一下。

cw_firefly 发表于 2023-5-8 17:30:49

可能会是内核网口驱动的问题吗?

cw_firefly 发表于 2023-5-8 17:46:24

本帖最后由 cw_firefly 于 2023-5-9 09:18 编辑

[    1.583126] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    1.583755] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    1.584270] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    1.584789] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    1.585509] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    1.586137] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    1.591681] rk_gmac-dwmac fe300000.ethernet: init for RGMII

内核打印这个可能是什么问题导致的呢?是哪里配置需要修改吗?
页: [1]
查看完整版本: 网卡一直up、down