dpa_rx_error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

dpa_rx_error

跳至解决方案
3,135 次查看
wangss
Contributor II

系统启动后,以太网网口收包错误,日志信息如下:

 107.313509] fsl_dpa soc:fsl,dpaa:ethernet@0 eth0: Err FD status = 0x00040000
[ 107.316456] fsl_dpa: dpaa_eth.c:271:_dpa_rx_error() fsl-dpa: non-zero error counters in fman statistics (sysfs)
[ 107.320588] fsl_dpa: dpaa_eth.c:277:_dpa_rx_error() ## _dpa_rx_error,277 fd->status = 0x00040000
[ 107.330676] fsl_dpa: dpaa_eth.c:277:_dpa_rx_error() ## _dpa_rx_error,277 fd->status = 0x00080000
[ 107.617825] fsl_dpa: dpaa_eth.c:277:_dpa_rx_error() ## _dpa_rx_error,277 fd->status = 0x00040000
[ 108.517028] net_ratelimit: 1 callbacks suppressed
[ 108.521757] fsl_dpa soc:fsl,dpaa:ethernet@0 eth0: Err FD status = 0x00040000
[ 108.528821] fsl_dpa: dpaa_eth.c:277:_dpa_rx_error() ## _dpa_rx_error,277 fd->status = 0x00040000
[ 108.802778] fsl_dpa soc:fsl,dpaa:ethernet@0 eth0: Err FD status = 0x00040000
[ 108.809854] fsl_dpa: dpaa_eth.c:277:_dpa_rx_error() ## _dpa_rx_error,277 fd->status = 0x00040000
[ 109.517864] fsl_dpa soc:fsl,dpaa:ethernet@0 eth0: Err FD status = 0x00040000
[ 109.524932] fsl_dpa: dpaa_eth.c:277:_dpa_rx_error() ## _dpa_rx_error,277 fd->status = 0x00040000
[ 109.809071] fsl_dpa soc:fsl,dpaa:ethernet@0 eth0: Err FD status = 0x00040000
[ 109.816146] fsl_dpa: dpaa_eth.c:277:_dpa_rx_error() ## _dpa_rx_error,277 fd->status = 0x00040000
[ 111.314119] fsl_dpa soc:fsl,dpaa:ethernet@0 eth0: Err FD status = 0x00040000

/ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:01:02:03:07:09
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:87 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:686 (686.0 B)
Memory:1ae4000-1ae4fff

这是什么情况?

 

 

 

 

 

 

 

 

标记 (1)
0 项奖励
回复
1 解答
3,110 次查看
June_Lu
NXP TechSupport
NXP TechSupport

Please kindly share the MPU part number and SW version.

Thanks

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,111 次查看
June_Lu
NXP TechSupport
NXP TechSupport

Please kindly share the MPU part number and SW version.

Thanks

0 项奖励
回复
3,100 次查看
wangss
Contributor II
/ # ethtool eth0
Settings for eth0:
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: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
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
/ #
0 项奖励
回复
3,102 次查看
wangss
Contributor II
Kernel log:
[ 47.741385] fsl_dpa: dpaa_eth.c:271:_dpa_rx_error() fsl-dpa: non-zero error counters in fman statistics (sysfs)
[ 244.808044] net_ratelimit: 1 callbacks suppressed
[ 250.555742] net_ratelimit: 1 callbacks suppressed

/ # ethtool -S eth0
NIC statistics:
interrupts [CPU 0]: 24
interrupts [CPU 1]: 25
interrupts [TOTAL]: 49
rx packets [CPU 0]: 0
rx packets [CPU 1]: 0
rx packets [TOTAL]: 0
tx packets [CPU 0]: 9
tx packets [CPU 1]: 0
tx packets [TOTAL]: 9
tx recycled [CPU 0]: 0
tx recycled [CPU 1]: 0
tx recycled [TOTAL]: 0
tx confirm [CPU 0]: 5
tx confirm [CPU 1]: 4
tx confirm [TOTAL]: 9
tx S/G [CPU 0]: 0
tx S/G [CPU 1]: 0
tx S/G [TOTAL]: 0
rx S/G [CPU 0]: 0
rx S/G [CPU 1]: 0
rx S/G [TOTAL]: 0
tx error [CPU 0]: 0
tx error [CPU 1]: 0
tx error [TOTAL]: 0
rx error [CPU 0]: 19
rx error [CPU 1]: 21
rx error [TOTAL]: 40
bp count [CPU 0]: 128
bp count [CPU 1]: 128
bp count [TOTAL]: 256
rx dma error: 0
rx frame physical error: 1
rx frame size error: 39
rx header error: 0
rx csum error: 0
qman cg_tdrop: 0
qman wred: 0
qman error cond: 0
qman early window: 0
qman late window: 0
qman fq tdrop: 0
qman fq retired: 0
qman orp disabled: 0
congestion time (ms): 0
entered congestion: 0
congested (0/1): 0
/ #

The Ethernet port eth0 , display information using ethtool . Why do all the packages fail to be received?
0 项奖励
回复
3,107 次查看
wangss
Contributor II
SOC : LS1023a
Uboot: U-Boot 2017.11
firmware: fsl_fman_ucode_ls1043a_r1.1_106_4_18.bin
Linux Kernel: 6.6.52
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2158894%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3Edpa_rx_error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2158894%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3E%E7%B3%BB%E7%BB%9F%E5%90%AF%E5%8A%A8%E5%90%8E%EF%BC%8C%E4%BB%A5%E5%A4%AA%E7%BD%91%E7%BD%91%E5%8F%A3%E6%94%B6%E5%8C%85%E9%94%99%E8%AF%AF%EF%BC%8C%E6%97%A5%E5%BF%97%E4%BF%A1%E6%81%AF%E5%A6%82%E4%B8%8B%EF%BC%9A%3C%2FP%3E%3CP%3E%26nbsp%3B107.313509%5D%20fsl_dpa%20soc%3Afsl%2Cdpaa%3Aethernet%400%20eth0%3A%20Err%20FD%20status%20%3D%200x00040000%3CBR%20%2F%3E%5B%20107.316456%5D%20fsl_dpa%3A%20dpaa_eth.c%3A271%3A_dpa_rx_error()%20fsl-dpa%3A%20non-zero%20error%20counters%20in%20fman%20statistics%20(sysfs)%3CBR%20%2F%3E%5B%20107.320588%5D%20fsl_dpa%3A%20dpaa_eth.c%3A277%3A_dpa_rx_error()%20%23%23%20_dpa_rx_error%2C277%20fd-%26gt%3Bstatus%20%3D%200x00040000%3CBR%20%2F%3E%5B%20107.330676%5D%20fsl_dpa%3A%20dpaa_eth.c%3A277%3A_dpa_rx_error()%20%23%23%20_dpa_rx_error%2C277%20fd-%26gt%3Bstatus%20%3D%200x00080000%3CBR%20%2F%3E%5B%20107.617825%5D%20fsl_dpa%3A%20dpaa_eth.c%3A277%3A_dpa_rx_error()%20%23%23%20_dpa_rx_error%2C277%20fd-%26gt%3Bstatus%20%3D%200x00040000%3CBR%20%2F%3E%5B%20108.517028%5D%20net_ratelimit%3A%201%20callbacks%20suppressed%3CBR%20%2F%3E%5B%20108.521757%5D%20fsl_dpa%20soc%3Afsl%2Cdpaa%3Aethernet%400%20eth0%3A%20Err%20FD%20status%20%3D%200x00040000%3CBR%20%2F%3E%5B%20108.528821%5D%20fsl_dpa%3A%20dpaa_eth.c%3A277%3A_dpa_rx_error()%20%23%23%20_dpa_rx_error%2C277%20fd-%26gt%3Bstatus%20%3D%200x00040000%3CBR%20%2F%3E%5B%20108.802778%5D%20fsl_dpa%20soc%3Afsl%2Cdpaa%3Aethernet%400%20eth0%3A%20Err%20FD%20status%20%3D%200x00040000%3CBR%20%2F%3E%5B%20108.809854%5D%20fsl_dpa%3A%20dpaa_eth.c%3A277%3A_dpa_rx_error()%20%23%23%20_dpa_rx_error%2C277%20fd-%26gt%3Bstatus%20%3D%200x00040000%3CBR%20%2F%3E%5B%20109.517864%5D%20fsl_dpa%20soc%3Afsl%2Cdpaa%3Aethernet%400%20eth0%3A%20Err%20FD%20status%20%3D%200x00040000%3CBR%20%2F%3E%5B%20109.524932%5D%20fsl_dpa%3A%20dpaa_eth.c%3A277%3A_dpa_rx_error()%20%23%23%20_dpa_rx_error%2C277%20fd-%26gt%3Bstatus%20%3D%200x00040000%3CBR%20%2F%3E%5B%20109.809071%5D%20fsl_dpa%20soc%3Afsl%2Cdpaa%3Aethernet%400%20eth0%3A%20Err%20FD%20status%20%3D%200x00040000%3CBR%20%2F%3E%5B%20109.816146%5D%20fsl_dpa%3A%20dpaa_eth.c%3A277%3A_dpa_rx_error()%20%23%23%20_dpa_rx_error%2C277%20fd-%26gt%3Bstatus%20%3D%200x00040000%3CBR%20%2F%3E%5B%20111.314119%5D%20fsl_dpa%20soc%3Afsl%2Cdpaa%3Aethernet%400%20eth0%3A%20Err%20FD%20status%20%3D%200x00040000%3C%2FP%3E%3CP%3E%2F%20%23%20ifconfig%20eth0%3CBR%20%2F%3Eeth0%20Link%20encap%3AEthernet%20HWaddr%2000%3A01%3A02%3A03%3A07%3A09%3CBR%20%2F%3EUP%20BROADCAST%20RUNNING%20MULTICAST%20MTU%3A1500%20Metric%3A1%3CBR%20%2F%3ERX%20packets%3A0%20errors%3A87%20dropped%3A0%20overruns%3A0%20frame%3A0%3CBR%20%2F%3ETX%20packets%3A9%20errors%3A0%20dropped%3A0%20overruns%3A0%20carrier%3A0%3CBR%20%2F%3Ecollisions%3A0%20txqueuelen%3A1000%3CBR%20%2F%3ERX%20bytes%3A0%20(0.0%20B)%20TX%20bytes%3A686%20(686.0%20B)%3CBR%20%2F%3EMemory%3A1ae4000-1ae4fff%3C%2FP%3E%3CP%3E%E8%BF%99%E6%98%AF%E4%BB%80%E4%B9%88%E6%83%85%E5%86%B5%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159830%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpa_rx_error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159830%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%2F%20%23%20ethtool%20eth0%3CBR%20%2F%3Eeth0%20%E7%9A%84%E8%AE%BE%E7%BD%AE%EF%BC%9A%3CBR%20%2F%3E%E6%94%AF%E6%8C%81%E7%9A%84%E7%AB%AF%E5%8F%A3%EF%BC%9A%5B%20MII%20%5D%3CBR%20%2F%3E%E6%94%AF%E6%8C%81%E7%9A%84%E9%93%BE%E6%8E%A5%E6%A8%A1%E5%BC%8F%EF%BC%9A%2010baseT%2FHalf%2010baseT%2FFull%3CBR%20%2F%3E100baseT%2FHalf%20100baseT%2FFull%3CBR%20%2F%3E1000baseT%2FFull%3CBR%20%2F%3E%E6%94%AF%E6%8C%81%E6%9A%82%E5%81%9C%E5%B8%A7%E4%BD%BF%E7%94%A8%EF%BC%9A%E5%AF%B9%E7%A7%B0%E5%8F%AA%E6%8E%A5%E6%94%B6%3CBR%20%2F%3E%E6%94%AF%E6%8C%81%E8%87%AA%E5%8A%A8%E5%8D%8F%E5%95%86%EF%BC%9A%E6%98%AF%3CBR%20%2F%3E%E6%94%AF%E6%8C%81%20FEC%20%E6%A8%A1%E5%BC%8F%EF%BC%9A%E6%9C%AA%E6%8A%A5%E5%91%8A%3CBR%20%2F%3E%E5%B9%BF%E5%91%8A%E9%93%BE%E6%8E%A5%E6%A8%A1%E5%BC%8F%EF%BC%9A%2010baseT%2FHalf%2010baseT%2FFull%3CBR%20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Mb%2Fs%3CBR%20%2F%3E%E5%8F%8C%E5%B7%A5%EF%BC%9A%E5%85%A8%3CBR%20%2F%3E%E7%AB%AF%E5%8F%A3%EF%BC%9A%E5%8F%8C%E7%BB%9E%E7%BA%BF%3CBR%20%2F%3EPHYAD%EF%BC%9A1%3CBR%20%2F%3E%E6%94%B6%E5%8F%91%E5%99%A8%EF%BC%9A%E5%86%85%E9%83%A8%3CBR%20%2F%3E%E8%87%AA%E5%8A%A8%E5%8D%8F%E5%95%86%EF%BC%9A%E5%BC%80%3CBR%20%2F%3EMDI-X%EF%BC%9A%E6%9C%AA%E7%9F%A5%3CBR%20%2F%3E%E6%94%AF%E6%8C%81%E5%94%A4%E9%86%92%EF%BC%9Ad%3CBR%20%2F%3E%E5%94%A4%E9%86%92%EF%BC%9Ad%3CBR%20%2F%3E%E5%BD%93%E5%89%8D%E4%BF%A1%E6%81%AF%E7%BA%A7%E5%88%AB%EF%BC%9A0xffffffffff%20(-1)%3CBR%20%2F%3Edrv%20probe%20link%20timer%20ifdown%20ifup%20rx_err%20tx_err%20tx_queued%20intr%20tx_done%20rx_status%20pktdata%20hw%20wol%200xffff8000%3CBR%20%2F%3E%E6%A3%80%E6%B5%8B%E5%88%B0%E9%93%BE%E6%8E%A5%EF%BC%9A%E6%98%AF%3CBR%20%2F%3E%2F%20%23%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpa_rx_error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESOC%EF%BC%9Als1023a%20%3CBR%20%2F%3E%E5%90%AF%E5%8A%A8%3A%20U-Boot%202017.11%20%3CBR%20%2F%3Efirmware%3A%20fsl_fman_ucode_ls1043a_r1.1_106_4_18.bin%3CBR%20%2F%3ELinux%20%E5%86%85%E6%A0%B86.6.52%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159809%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpa_rx_error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159809%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3E%E8%AF%B7%E6%8F%90%E4%BE%9B%20MPU%20%E9%83%A8%E4%BB%B6%E5%8F%B7%E5%92%8C%20SW%20%E7%89%88%E6%9C%AC%E3%80%82%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E