Linux_PVE_e1000e網卡Hang
轉載注明來源: 本文鏈接 來自osnosn的博客,寫於 2021-04-30.
搜到的文章(關於Linux中e1000e內核驅動錯誤)
- 1000e Reset adapter unexpectedly / Detected Hardware Unit Hang
提到只需要tso off
。也有提到 Disabling Enhanced C1 (C1E) in the BIOS 解決的。 - e1000: Detected Tx Unit Hang - network is not operational
- e1000e hardware unit hangs when TSO is on
- Proxmox 5x “e1000 driver hang” fix
- e1000 driver hang
說是需要tso off gso off
, 也有提到只需要tso off
- e1000 detected Tx Unit Hang
- intel的網卡故障
- Linux e1000e (Intel networking driver) problems galore, where do I start?
說是因為網卡EEPROM中啟用了電源管理功能,導致的問題。 - Linux環境中的網絡分段卸載技術 GSO/TSO/UFO/LRO/GRO
關於 TSO,GSO 的解釋。TSO (TCP Segmentation Offloading), GSO (Generic Segemetation Offload)
我的備忘
- 2009年時,Centos7系統,我碰到這個問題。網卡自動協商在1000baseT/Full,幾個小時后,網卡就死掉了。
解決辦法是用ethtool 強制指定網卡工作在 100baseT/Full。 - 2021年又碰到這個問題。PVE系統。
PVE缺省沒有安裝ethtool工具。先apt install ethtool
在/etc/network/interfaces
中, 對應的iface eno1 ...
下面:
post-up /usr/sbin/ethtool -K eno1 tso off gso off
問題解決,syslog 中不再有錯誤信息。- 有文章說,僅
tso off
就夠了。我沒測試。
- 有文章說,僅
- 查看對應網卡的內核功能特性,
ethtool -k eno1
轉載注明來源: 本文鏈接 https://www.cnblogs.com/osnosn/p/14723454.html
來自 osnosn的博客 https://www.cnblogs.com/osnosn/ .