bb-qq / r8152

Synology DSM driver for Realtek RTL8152/RTL8153/RTL8156 based adapters
GNU General Public License v2.0
2.02k stars 184 forks source link

Cant transfer large file with DS418 #171

Closed CaulyKan closed 2 years ago

CaulyKan commented 2 years ago

Description of the problem

I have two PCs with 2.5G eth, and one NAS connected with r8152

I can ping with each other, and iperf3 between each PC and NAS is stable at around 2.4G with no problem.

The problem is that when I try to copy large file from NAS, either NFS/SMB, the two PCs lost connection to NAS, and no longer can ping to NAS. Restart PC's network interface will restore the connection, but copy still don't work.

Connecting the USB eth to one of the PC, and the other PC can perform iperf3 and copy file from share with no problem.

Setting the PC's network interface speed to 1G have no problem.

Actually I'm not quite sure this is the problem of r8152 or r8125

Description of your products

NAS: DS418 DSM: DSM 6.2.4-25556 Update 2 Driver version: 2.14.0 uname -a: Linux penguin-nas 4.4.59+ #25556 SMP Sat Aug 28 02:14:55 CST 2021 aarch64 GNU/Linux synology_rtd1296_ds418 ethernet dongle: unknown, non labeled dongle from taobao connected from front USB port

Description of your environment

PC1: win11, realtek RTL8125, extended from pcie PC2: win10, realtek RTL8125, from motherboard cable: cat5e direct link

Output of dmesg command

dmesg.log

Output of lsusb command

|__usb2          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub
|__usb3          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub
  |__3-1         0bda:8156:3100 00  3.20 5000MBit/s 256mA 1IF  (Realtek USB 10/100/1G/2.5G LAN 001000001)
|__usb4          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller xhci-hcd.5.auto) hub
  |__4-1         051d:0002:0106 00  2.00   12MBit/s 100mA 1IF  (American Power Conversion Back-UPS BK650M2-CH FW:294803G -292804G  000000000000)
|__usb5          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller xhci-hcd.5.auto) hub

Output of ifconfig -a command

eth0      Link encap:Ethernet  HWaddr 00:11:32:B3:37:91
          inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:32ff:feb3:3791/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2000  Metric:1
          RX packets:27471649 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4094708 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40790443210 (37.9 GiB)  TX bytes:425835968 (406.1 MiB)
          Interrupt:11

eth1      Link encap:Ethernet  HWaddr 00:11:32:B3:37:92
          inet addr:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:32ff:feb3:3792/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2000  Metric:1
          RX packets:404713 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43339 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:31084028 (29.6 MiB)  TX bytes:4849141 (4.6 MiB)
          Interrupt:28 base 0x4000

eth2      Link encap:Ethernet  HWaddr 00:E0:4C:68:00:9D
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fe68:9d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:77583 errors:0 dropped:0 overruns:0 frame:0
          TX packets:654646 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4172351 (3.9 MiB)  TX bytes:951879086 (907.7 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:59194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59194 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:5313959 (5.0 MiB)  TX bytes:5313959 (5.0 MiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
CaulyKan commented 2 years ago

Any diagnose ideas are welcome, thanks a lot!

bb-qq commented 2 years ago

So far I have not come up with a good way to investigate this problem.

There have been many other reports of problems with the rtd1296 platform, so there may be a problem at the hardware level.

CaulyKan commented 2 years ago

Thanks a lot for the reply, I'll close this issue and open a new one when new progress is made.