[FS#2628] Kernel warning / crash on ramips: eth0 (mtk_soc_eth): transmit queue 0 timed out

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue Dec 22 09:35:28 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#2628 - Kernel warning / crash on ramips: eth0 (mtk_soc_eth): transmit queue 0 timed out
User who did this - mrakotiq (mrakotiq)

----------
This little patch solved the "mtk_soc_eth 1e100000.ethernet eth0: transmit timed out". At least for now. Now it cannot be reproduced in a lab or on a 75pcs routers in network.

Please try someone too and confirm if it helped.

diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7621.c b/target/linux/ramips/files-4.14/drivers
index 26a198f..597d50a 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7621.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7621.c
@@ -142,8 +142,9 @@ static void mt7621_init_data(struct fe_soc_data *data,
                FE_FLAG_HAS_SWITCH | FE_FLAG_JUMBO_FRAME;
 
        netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM |
-               NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
-               NETIF_F_SG | NETIF_F_TSO |
+//             NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
+               NETIF_F_SG |
+//             NETIF_F_TSO |
                NETIF_F_TSO6 | NETIF_F_IPV6_CSUM |
                NETIF_F_TSO_MANGLEID;
 }



BTW: i removeNETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX because in our vlan configuration it also tagged packets that it did not have. The key is remove TSO offloading, I thing.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=2628#comment9190

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list