Firefly开源社区

标题: 网卡一直up、down [打印本页]

作者: cw_firefly    时间: 2023-5-8 16:07
标题: 网卡一直up、down
        rk3399 板子的eth1网口,同网段连接pc的网口,
        rk3399 板子的串口不断出现,link up,linkdown交替打印,
        pc端网卡连接就不断地连接端口,
打印如下:

[  253.019414] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  255.023238] rk_gmac-dwmac fe300000.ethernet eth0: Link is Down
[  260.033256] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  262.039426] rk_gmac-dwmac fe300000.ethernet eth0: Link is Down
[  268.051459] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  270.055209] 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

tchip_askquestions

log.rar

246 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1


作者: neutionwei    时间: 2023-5-8 17:27
检查一下网口接触情况,或者换一根网线试一下。
作者: cw_firefly    时间: 2023-5-8 17:30
可能会是内核网口驱动的问题吗?
作者: cw_firefly    时间: 2023-5-8 17:46
本帖最后由 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

内核打印这个可能是什么问题导致的呢?是哪里配置需要修改吗?




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1