Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The hub crashes during a transfer of more than 797Mo #415

Open
Matthieu7777 opened this issue Jul 24, 2024 · 25 comments
Open

The hub crashes during a transfer of more than 797Mo #415

Matthieu7777 opened this issue Jul 24, 2024 · 25 comments

Comments

@Matthieu7777
Copy link

Description of the problem

I have a NAS DS218play on DSM 7.2.1-69057 Update 5 and I installed the driver r8152-rtd1296-2.18.1-1_7.2.spk. The new LAN shows up as 2500 Mbps, Full duplex, MTU 1500.
LAN 1 (originally at 100 Mb/s) and LAN 2 (the new one) do not appear as LAN 1 and 2 but as LAN and LAN. However, it works, and access from a device works well at a higher speed (I haven't done any specific measurements yet, but a small file copies about 5 times faster than before. That's pretty good).

My problem is that as soon as I try to transfer a somewhat large file, the LAN 2 network interface crashes, and I have to fall back on LAN 1.
I was able to transfer small files, but as soon as they are larger, it doesn't work and causes the connection to crash.
700Mo OK
913Mo not OK
1.3Go not OK
Basically, it seems to crash starting at 797Mo. At this point, the transfer stalls, and the network interface crashes.

The driver is still running, and LAN 2 as well, but the NAS is no longer visible on the local network, and I have to unplug and replug the cable to see it again.

Description of your products

NAS Synology DS218play
Linux Nas 4.4.302+ #69057 SMP Fri Jan 12 17:01:55 CST 2024 aarch64 GNU/Linux synology_rtd1296_ds218play
DSM 7.2.1-69057 Update 5
UGREEN 2.5G USB 3.0 to RJ45 Ethernet Network Adapter 2.5 Gigabit USB LAN Plug Play (https://www.amazon.fr/dp/B0CWV2Q6HJ?psc=1&ref=ppx_yo2ov_dt_b_product_details)

Description of your environment

Connected via CAT8 Ethernet UGreen to an EERO Pro E6 Wifi router at 2.5Gb/s
MacBook Air M2
Eero Pro E6
Cat8

Output of dmesg command

[### Output of ``dmesg`` command.txt](https://github.com/user-attachments/files/16360263/Output.of.dmesg.command.txt)

Output of lsusb command

[### Output of ``lsusb`` command.txt](https://github.com/user-attachments/files/16360280/Output.of.lsusb.command.txt)

Output of ifconfig -a command

[### Output of ``ifconfig -a`` command.txt](https://github.com/user-attachments/files/16360272/Output.of.ifconfig.-a.command.txt)
@rlawnsdud117
Copy link

rlawnsdud117 commented Jul 27, 2024

Similarly, I can't send more than 700 mb.

@Matthieu7777
Copy link
Author

Matthieu7777 commented Jul 27, 2024

Similarly, I can't send more than 700 mb.

If you find a solution please come back here to explain it. What Nas model have you got ?

@rlawnsdud117
Copy link

Similarly, I can't send more than 700 mb.

If you find a solution please come back here to explain it. What Nas model have you got ?

I am using a Synology DS923+. I don’t have a solution either.

@arigon
Copy link

arigon commented Jul 28, 2024

I've experienced the same problem with the same UGREEN adapter with the DS216+II. It will crash the whole USB stack until restart of the NAS. I'm replacing it with the DS224+ anyway, so I will give it another try - maybe it's the UGREEN.
I tested these versions: 2.18.1-1, 2.17.1-2, 2.17.1-1

Here some DMESG logs when trying to replugin the UPS USB cable (USB ports on the back):
telegram-cloud-photo-size-4-5848034303982814077-x

@rlawnsdud117
Copy link

rlawnsdud117 commented Jul 29, 2024

On the DS923+, I am using a BasicGear 4-port USB hub and connecting an EFM ipTIME U25G with a Realtek RTL8156B chipset.
I attempted to use version 2.18.1-1, but encountered installation issues. I tested the following versions: 2.18.1-1, 2.17.1-2, 2.17.1-1.
The USB ports on the back of the Synology DS923+ are connected through a BasicGear 4-port USB hub, with the UPS cable and EFM ipTIME U25G connected.

image

When uploading files larger than 700 MB, the LAN3 connection gets disconnected.

@Matthieu7777
Copy link
Author

Hello, and thank you for your feedback. In a way it reassures me because I thought it came from my Nas which has only one gigabyte of RAM. I thought it could be because the flash memory was filled and the transfer stopped from the moment the memory was filled. A priori, if you use Nas of different models, the problem should not come from there. This potentially means that an update could overcome this concern.

@Matthieu7777
Copy link
Author

Curiously yesterday, I was able to transfer from my MacBook a Files of one, three gigabytes without worry, even if the transfer froze for a moment around 700, 800 mega to then continue at a relatively fast speed

@rlawnsdud117
Copy link

rlawnsdud117 commented Jul 31, 2024

Curiously yesterday, I was able to transfer from my MacBook a Files of one, three gigabytes without worry, even if the transfer froze for a moment around 700, 800 mega to then continue at a relatively fast speed

Are you using a powered USB hub by any chance?

Are you using an adapter to connect it?

@Matthieu7777
Copy link
Author

No it’s a UGREEN 2.5G USB 3.0 to RJ45 Ethernet Network Adapter 2.5 Gigabit USB LAN Plug Play (https://www.amazon.fr/dp/B0CWV2Q6HJ?psc=1&ref=ppx_yo2ov_dt_b_product_details)
But I deleted all the software that was not essential and that I could delete. Maybe it freed up a little memory. It seems to me that in the activity monitor, this is not the case.
Maybe that's why I was able to transfer larger files than before. I don't know.

@rlawnsdud117
Copy link

No it’s a UGREEN 2.5G USB 3.0 to RJ45 Ethernet Network Adapter 2.5 Gigabit USB LAN Plug Play (https://www.amazon.fr/dp/B0CWV2Q6HJ?psc=1&ref=ppx_yo2ov_dt_b_product_details) But I deleted all the software that was not essential and that I could delete. Maybe it freed up a little memory. It seems to me that in the activity monitor, this is not the case. Maybe that's why I was able to transfer larger files than before. I don't know.

Thank you!

@Matthieu7777
Copy link
Author

Matthieu7777 commented Aug 5, 2024

Just to complete the description of my problem, for a few days, I have had Plex crashes on my Apple TV repeatedly. Up to a crash every five minutes for example. Each time I had to unplug and reconnect the port. 2.5Gb Ethernet. I don't know if it helps to understand the problem, but at least it may give some information.
The file was not particularly heavy compared to other movies, which I can usually watch.

@Matthieu7777
Copy link
Author

Update.

My network interface keeps crashing so I had to keep my interface at 100k/s to keep a stable connection. It crashes when I make a transfer, when I read a video on Plex or even for no particular reason. It can crash several times when playing an episode of a TV series or a movie. If you have any ideas it would help me.

@transformcube
Copy link

Try enable jumbo frame (MTU 9000), see it work or not.

@Matthieu7777
Copy link
Author

I tried but it seemed to be relatively unstable. But I may not have insisted long enough.

Why do you suggest that solution?

@Matthieu7777
Copy link
Author

Matthieu7777 commented Sep 11, 2024

image
I just activated this option. I'll try to wait a little longer to see if it stabilizes. And if it solves the problem. In any case, thank you for your comment.

@Matthieu7777
Copy link
Author

I tried and it crashes even faster I have the impression. I will leave this setting in place for the moment and see if it changes anything.

@Sjekke
Copy link

Sjekke commented Sep 11, 2024

Every device must support MTU9000 or it has not sense doing it.

@transformcube
Copy link

I think that the problem may be driver compiling issue. Basically Realtek RTD1296 and RTD1619B are same type CPU, you may try the r8152-rtd1619b-2.17.1-2_7.2.spk driver, goodluck.

@Matthieu7777
Copy link
Author

I had tried this version before installing the more recent version in beta for the same results unfortunately. I will try again to see if it stabilizes the situation. But a priori this was not the case.

@Matthieu7777
Copy link
Author

I had version 2.18.1-1 and I couldn't install version 2.17.1-2 so I decided to uninstall the driver to be able to install 2.17.1-2 again.

Unfortunately, I had forgotten that I have the updated version of DSM 7.2.2-72803. Following this latter, update, my driver still worked, but now that I have uninstalled, it is impossible to reinstall it, regardless of the version of the driver I choose.

I should never have tried this method. Do you know if a version of the driver compatible with this version of the DSM will be put online? And if so, on what date do you think?

@transformcube
Copy link

transformcube commented Sep 13, 2024

https://emby.media/community/index.php?/topic/26325-best-way-to-cleanly-and-completely-uninstall/#comment-259010
using ssh to manual uninstall package:

  1. Navigate to /volume1/@appstore then delete the application you want to remove.
  2. Navigate to /var/packages see if there is a folder named the same as your app and remove it
  3. Navigate to /usr/local see if there is a folder named the same as your app and remove it

@Matthieu7777
Copy link
Author

I don't know how to access to this folders and delete it (if here).
I tried to restart the command line installation but it doesn't work anymore.

@bb-qq
Copy link
Owner

bb-qq commented Sep 18, 2024

Unfortunately, some users of rtd1296 based products reported stability issues. For details, please refer this issue:
#275

If you are using a recent product that does not use rtd1296, the cause may be different. If you can create a separate Issue and attach the logs to it, I would like to investigate.

@Matthieu7777
Copy link
Author

I found the problem for the reinstallation, I used rtd1619b but it didn't work. I used rtd1619 again (without the B) and I was able to reinstall the driver.

So I reinstalled the r8152-rtd1619-2.17.1-2_7.2.spk version of the driver avoiding the next beta version and I find my additional network interface but the stability problems are still present unfortunately.

I still haven't solved the problem at the origin of this post so if you have other ideas, I'm interested.

@Matthieu7777
Copy link
Author

Matthieu7777 commented Sep 19, 2024

I understood that there was a script to relaunch the driver in case of a bug. I can't find it or know how to install it. Can anyone answer me and explain the procedure?
It happens that my driver crashes regularly even when I use it very weakly. And I have to go unplug the Ethernet socket to reconnect it. And in this case it works directly. Even if the transfer that has bugged, the network will have to be relaunched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants