使用4.4内核可以ping通局域网内主机和外网,
使用4.19内核可以ping通自己以及127.0.0.1,ping其他主机、网关和外网都返回Destination Host Unreachable
root@localhost:~# ethtool fm1-mac3
Settings for fm1-mac3:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes
root@localhost:~# ethtool -i fm1-mac3
driver: fsl_dpa
version:
firmware-version: 0
expansion-rom-version:
bus-info: soc:fsl,dpaa
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
链接也都正常,可以排除硬件问题
root@localhost:~# arp -a
? (10.5.0.237) at <incomplete> on fm1-mac3
无法正确识别mac,手动设置mac后也无法ping通
是否是内核驱动问题?该如何排查、解决?
Please try 4.19 Linux Kernel and dtb files provided in LSDK 2004 release, I have uploaded them in the following link.
链接: https://pan.baidu.com/s/1Gr-5kFTlMti_DW8jt6OV7w 提取码: jhim
If your problem remains, please provide Linux Kernel booting up console log.