以太网至 USB 适配器 Realtek 间歇性断开连接

以太网至 USB 适配器 Realtek 间歇性断开连接

有一个问题非常相关,但是这两种解决方案对我来说都不起作用:USB 以太网适配器(Realtek r8153)不断断开连接

我尝试过USB_BLACKLIST="0bda:8153"在 /etc/default/tlp 中,并在 /etc/udev/rules.d/50-cpu-custom.rules 中添加自定义规则。我还尝试了 3 个不同品牌的适配器,它们都大致相同,但断开连接的速率不同。有没有使用 Realtek 以外芯片的适配器可以试试?

这是来自 dmesg 的信息:

[200584.034137] r8152 3-4:1.0 enx70886b811ca3: Tx status -71
[200584.034880] r8152 3-4:1.0 enx70886b811ca3: Stop submitting intr, status -71
[200584.214566] usb 3-4: USB disconnect, device number 25
[200584.534647] usb 3-4: new SuperSpeed Gen 1 USB device number 26 using xhci_hcd
[200584.555161] usb 3-4: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[200584.555165] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[200584.555166] usb 3-4: Product: USB 10/100/1000 LAN
[200584.555168] usb 3-4: Manufacturer: CMI
[200584.555169] usb 3-4: SerialNumber: 000001
[200584.690975] usb 3-4: reset SuperSpeed Gen 1 USB device number 26 using xhci_hcd
[200584.746198] r8152 3-4:1.0 eth0: v1.09.9
[200584.887574] r8152 3-4:1.0 enx70886b811ca3: renamed from eth0
[200584.999870] IPv6: ADDRCONF(NETDEV_UP): enx70886b811ca3: link is not ready
[200585.004559] IPv6: ADDRCONF(NETDEV_UP): enx70886b811ca3: link is not ready
[200587.647919] IPv6: ADDRCONF(NETDEV_CHANGE): enx70886b811ca3: link becomes ready
[200587.648272] r8152 3-4:1.0 enx70886b811ca3: carrier on
[200685.538747] r8152 3-4:1.0 enx70886b811ca3: carrier off
[200688.192511] r8152 3-4:1.0 enx70886b811ca3: carrier on

/var/log/syslog 中通常会有其他消息,但这次第一条消息是 Tx status -71。这是使用情况,tac因此第一条消息位于底部:

Apr 23 18:49:35 pc dhclient[20695]: receive_packet failed on enx70886b811ca3: Network is down
Apr 23 18:49:35 pc kernel: [200073.926247] r8152 3-4:1.0 enx70886b811ca3: Tx status -108
Apr 23 18:49:35 pc kernel: [200073.926242] r8152 3-4:1.0 enx70886b811ca3: Tx status -108
Apr 23 18:49:35 pc kernel: [200073.926094] usb 3-4: USB disconnect, device number 24
Apr 23 18:49:35 pc kernel: [200073.739898] r8152 3-4:1.0 enx70886b811ca3: Tx status -71
Apr 23 18:45:01 pc CRON[23435]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)

任何想法表示赞赏,谢谢

答案1

您的驱动程序是 r8152(而不是 8153),如日志中所示。

[200584.746198] r8152 3-4:1.0 eth0:v1.09.9

尝试将正确的设备列入黑名单。

相关内容