e1000 driver hang

1, Please, does anyone know what the command via ethtool, to read my current flags for tso and gso? I would like to know that any changes I make to /etc/network/interfaces on boot, are sticking on reboot.
ethtool -k %eno1% | grep offload

 
ethtool -k %eno1% | grep offload
I appreciate the reply, I googled earlier and also found ethtool -k <adaptername>, however it didn't work for me and your command isn't either :(

root@proxtestnew:~# ethtool -k %eno1% | grep offload
netlink error: no device matches name (offset 24)
netlink error: No such device

Despite the fact that this command DOES work ... (confused)
ethtool -K eno1 tso off gso off

Any thoughts?
 
I appreciate the reply, I googled earlier and also found ethtool -k <adaptername>, however it didn't work for me and your command isn't either :(



Despite the fact that this command DOES work ... (confused)
ethtool -K eno1 tso off gso off

Any thoughts?
show the output of the command ip a
and the networking config
 
Last edited:
show the output of the command ip a
and the networking config
root@proxtestnew:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 38:ca:84:ac:cf:e5 brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
3: wlp0s20f3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 7c:b5:66:ec:b0:85 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 38:ca:84:ac:cf:e5 brd ff:ff:ff:ff:ff:ff
inet IP ADDRESS/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::3aca:84ff:feac:cfe5/64 scope link
valid_lft forever preferred_lft forever
5: tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr102i0 state UNKNOWN group default qlen 1000
link/ether 1e:7e:32:e2:8d:32 brd ff:ff:ff:ff:ff:ff
6: fwbr102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 8e:d1:d0:b2:08:4b brd ff:ff:ff:ff:ff:ff
7: fwpr102p0@fwln102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
link/ether d6:7a:0a:74:d7:a8 brd ff:ff:ff:ff:ff:ff
8: fwln102i0@fwpr102p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr102i0 state UP group default qlen 1000
link/ether 8e:d1:d0:b2:08:4b brd ff:ff:ff:ff:ff:ff
root@proxtestnew:~#




auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.0.140/24
gateway 192.168.0.254
bridge-ports eno1
bridge-stp off
bridge-fd 0

iface wlp0s20f3 inet manual


Thank you for the assistance.
(Yeah I haven't put the fix, in interfaces yet)
 
Last edited:

jaxjexjox

add networking

auto lo
iface lo inet loopback
iface eno1 inet manual
offload-gso off
offload-gro off
offload-tso off
offload-rx off
offload-tx off
offload-rxvlan off
offload-txvlan off
offload-sg off
offload-ufo off
offload-lro off

apply without rebooting
ethtool -K eno1 gso off gro off tso off tx off rx off rxvlan off txvlan off sg off

we check
ethtool -k eno1 | grep offload


You can also see the number of interface crashes
dmesg | grep 'Reset adapter unexpectedly' | wc -l
 
Last edited:

jaxjexjox

add networking

auto lo
iface lo inet loopback
iface eno1 inet manual
offload-gso off
offload-gro off
offload-tso off
offload-rx off
offload-tx off
offload-rxvlan off
offload-txvlan off
offload-sg off
offload-ufo off
offload-lro off

apply without rebooting
ethtool -K eno1 gso off gro off tso off tx off rx off rxvlan off txvlan off sg off

we check
ethtool -k eno1 | grep offload


You can also see the number of interface crashes
dmesg | grep 'Reset adapter unexpectedly' | wc -l

Thank you!

So my original command was:
ethtool -K eno1 tso off gso off

This still left the following on:
generic-receive-offload: on
rx-vlan-offload: on
tx-vlan-offload: on
With those 3 still on, my testing still passed.


Your command indeed turns the whole lot off, none the less I'll stick with yours, I assume the performance impact on a 6 core machine isn't too high.

Finally, when you say 'add networking' I take it you mean /etc/network/interfaces - add those lines?
(sorry, still learning!) and thank you, thank you all.
 
everything is correct
After rebooting, this is my result:

root@proxtestnew:~# ethtool -k eno1 | grep offload
tcp-segmentation-offload: on
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: on
tx-vlan-offload: on
l2-fwd-offload: off [fixed]
hw-tc-offload: off [fixed]
esp-hw-offload: off [fixed]
esp-tx-csum-hw-offload: off [fixed]
rx-udp_tunnel-port-offload: off [fixed]
tls-hw-tx-offload: off [fixed]
tls-hw-rx-offload: off [fixed]
macsec-hw-offload: off [fixed]
hsr-tag-ins-offload: off [fixed]
hsr-tag-rm-offload: off [fixed]
hsr-fwd-offload: off [fixed]
hsr-dup-offload: off [fixed]
root@proxtestnew:~#


Here's the contents of /etc/network/interfaces, I take it I've done something wrong?

auto lo
iface lo inet loopback

iface eno1 inet manual
offload-gso off
offload-gro off
offload-tso off
offload-rx off
offload-tx off
offload-rxvlan off
offload-txvlan off
offload-sg off
offload-ufo off
offload-lro off

auto vmbr0
iface vmbr0 inet static
address IP/24
gateway IP
bridge-ports eno1
bridge-stp off
bridge-fd 0

iface wlp0s20f3 inet manual


source /etc/network/interfaces.d/*
 
Last edited:
Ok thanks for this, I have ended up using the post-up command in the interfaces file and that's ended up causing it to stick on reboot.

Thanks all for the help, hopefully there's a longer term solution for this which can help others, ideally they find this thread before they spend a long, long time diagnosing the issues.
 
I have now read though almost everything but i keep getting stuck when trying to run the ethtool command

Below is the output of ip a
Bash:
root@pve:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
    link/ether 48:4d:7e:d0:27:5b brd ff:ff:ff:ff:ff:ff
3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 48:4d:7e:d0:27:5b brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.211/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::4a4d:7eff:fed0:275b/64 scope link
       valid_lft forever preferred_lft forever
4: vmbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 92:3f:e9:05:5c:1b brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.1/24 scope global vmbr1
       valid_lft forever preferred_lft forever
5: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr101i0 state UNKNOWN group default qlen 1000
    link/ether 92:11:6a:7e:1c:47 brd ff:ff:ff:ff:ff:ff
6: fwbr101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a2:cd:e2:50:93:ca brd ff:ff:ff:ff:ff:ff
7: fwpr101p0@fwln101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
So i have manged to figure out that it is on "enp0s25" i need to to disable tso and gso
But when i run ethtool -K enp0s25 tso off gso off , i get this error message
Bash:
root@pve:~# ethtool -K enp0s25 tsp off gso off
netlink error: bit name not found (offset 56)
netlink error: Operation not supported

I have tried to google it but had no success

I'm running proxmox 5.15.143-1-pve,
My ethernet controller:
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 05)
Subsystem: Dell Ethernet Connection I217-LM [1028:0617]
Kernel driver in use: e1000e
Kernel modules: e1000e

(yes i have tried adding
iface enp0s25 inet manual
post-up /usr/bin/logger -p debug -t ifup "Disabling segmentation offload for eno1" && /sbin/ethtool -K $IFACE tso off gso off && /usr/bin/logger -p debug -t ifup "Disabled offload for eno1"). But it just spits out the same error)
 
But when i run ethtool -K enp0s25 tso off gso off , i get this error message
Bash:
root@pve:~# ethtool -K enp0s25 tsp off gso off
netlink error: bit name not found (offset 56)
netlink error: Operation not supported
show output ethtool -K enp0s25 |grep tsp
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!