我相对确定我的驱动程序在我的系统上造成了某些 4 级数据包损坏。我想知道如何解决这个问题..
诊断:
- 任何形式的
git clone
大型回购都会总是给我一个RPC failed; curl 56 GnuTLS recv error (-24): Decryption has failed
错误。 - 对大包进行操作
apt-get upgrade
会导致bad mac
失败。 - 网站有时不会随机加载资源。这包括从 CSS 到图像的任何内容。
- 尝试
curl
大于几 MB 的文件将导致OpenSSL SSL_read: error:0A000119:SSL routines::decryption failed or bad record mac, errno 0
. - ping 或traceroute 不会发生上述情况,它们都可以在默认设置下正常工作,使用第3 层作为传输。
- 当我启动 Windows 或在 PC 上使用 USB WiFi 适配器时,不会发生上述情况。
所以我现在确信我的系统上的某个地方要么存在驱动程序错误,要么存在损坏。我完全不确定如何自己调试它。我可以做什么来进一步诊断并可能解决这个问题?
我在这里包括配置:
内核版本:
$ uname -r
5.15.0-78-generic
PCI ID:
$ lspci -nn
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
接口驱动程序和固件:
$ sudo ethtool -i eno1
driver: r8125
version: 9.011.01-NAPI
firmware-version:
expansion-rom-version:
bus-info: 0000:05:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
接口配置:
$ ethtool -k eno1
Features for eno1:
rx-checksumming: on
tx-checksumming: on
tx-checksum-ipv4: on
tx-checksum-ip-generic: off [fixed]
tx-checksum-ipv6: on
tx-checksum-fcoe-crc: off [fixed]
tx-checksum-sctp: off [fixed]
scatter-gather: off
tx-scatter-gather: off
tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: off
tx-tcp-segmentation: off
tx-tcp-ecn-segmentation: off [fixed]
tx-tcp-mangleid-segmentation: off
tx-tcp6-segmentation: off
generic-segmentation-offload: off [requested on]
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: on
tx-vlan-offload: on
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: on [fixed]
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: off [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: off [fixed]
tx-gre-csum-segmentation: off [fixed]
tx-ipxip4-segmentation: off [fixed]
tx-ipxip6-segmentation: off [fixed]
tx-udp_tnl-segmentation: off [fixed]
tx-udp_tnl-csum-segmentation: off [fixed]
tx-gso-partial: off [fixed]
tx-tunnel-remcsum-segmentation: off [fixed]
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
tx-udp-segmentation: off [fixed]
tx-gso-list: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
rx-fcs: off
rx-all: off
tx-vlan-stag-hw-insert: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
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]
rx-gro-hw: off [fixed]
tls-hw-record: off [fixed]
rx-gro-list: off
macsec-hw-offload: off [fixed]
rx-udp-gro-forwarding: off
hsr-tag-ins-offload: off [fixed]
hsr-tag-rm-offload: off [fixed]
hsr-fwd-offload: off [fixed]
hsr-dup-offload: off [fixed]
编辑:
wget
在查看建议的步骤并关闭通用分段/接收卸载后,我在处理大文件时仍然收到以下错误
Read error at byte 128106483/6140975104 (error:0A000119:SSL routines::decryption failed or bad record mac). Retrying.