-
Notifications
You must be signed in to change notification settings - Fork 188
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
rtd1296 stability issue #275
Comments
In my case the problem occurs only when transferring large files from NAS to PC. One side note: after installation I immediately changed the MTU size to 9000 in the NAS LAN configuration. Anyway, because of the evidence that only large transfers cause the problem, it might have something to do with the MTU? |
MTU may have something to do with this stability issue, but there are reports of problems occurring even with MTU values of 1500. It might possibly relate to the hardware-assisted functions of the transmission on the NIC side. I would like to know if disabling those features by the following command will make a difference in stability.
|
Thanks, going to try. How to check which are the current values before issueing these commands? And are these new values reversed upon NAS restart or are they persistent? |
I tested the connection with the suggested changes. It's a pity, but nothing has changed. |
I also tried ipv6 access https://[fe80::XXXX:XXXX:XXXX:XXXX]:5001/ |
rtd1296 is the cpu for entry level synology, but not for DS920+. |
Using a DS418 with a TRENDnet TUC-ET2G and the r8152 driver. This managed to get me 2.5Gb speeds briefly (and for longer than it would previously hold a connection at all), but the connection ultimately shut down. It does seem like I was getting 2500mbps upload and only about 1000mbps download. |
Has there been any updates for DS418 with TRENDnet 2.5G USB-C to RJ-45? I got this and thought before I looked on here. My expectation was this was going to work. Yet I am seeing the issues with the drivers above. I ran the SSH after it failed and then saw the connection under network. Connected yet it was a 169. address . I am also using a TRENDnet 5-Port Unmanaged 2.5G PoE+switch with its own AC Adapter. After a reboot its completely gone. I had to run the RT App when I rebooted as it did not auto restart. After assigning a static IP, I am now showing: I will put it to test with a few file transfers small and large tomorrow when I get up. |
Thanks all, it looks like disabling GSO and TSO didn't make much difference in stability. These settings will revert after reboot. If they have any effect, please register them in the task scheduler or something so that they are configured at startup. |
Same here with my 218play. I tried two different adapters with 8152 chipset (none of the recommended adapters yet). After some research, I found on the internet that the error is very common. It can be seen well in the /var/log/kern.log. This is what the kern.log looks like: I operate it with 1 Gbps, not with 2,5 Gbps. So Your workaround ("May operate stably when linked at 1 Gbps") has no effect here. Next week I will get the club 3D USB adapter with 8156 chipset. I will test it and report if the error also occurs. As written before, there are some articles and forums about this topic, here are some of them, don't know if it could help in our environment: https://portal.cloudunboxed.net/knowledgebase/55/How-to-fix-Realtek-USB-NIC-TX-timeout-issues.html https://forum.odroid.com/viewtopic.php?f=212&t=45857 https://bugzilla.kernel.org/show_bug.cgi?id=198931 And by the way: I tested another adapter with 8169 chipset (together with Your 8152 driver). It worked, but with a poor performance (about 30 MB/s). |
Coming back to test my NAS DS418 with my Trendnet 2.5gbe setup I saw where my connection showed connected still but I had no ping and the port was non-responsive. I saw the mac address but no even after several reboots, uninstall, reinstall etc... I read some other places where this has occurred so I had to dust off my old Linux had and found a short remedy for this. I did notice regardless of me setting MTU to 9000 in the GUI it still is showing up as MTU 1500. sudo /etc/rc.network restart My connection back up , IP now showing and pingable. Now I will go forward with my testing. |
Yes, this is ONE way. For me it works to stop and restart the installed driver in the package center ... But this isn't a workaround as long as I won't be able to download any file from the NAS. |
Just tested with Club 3D USB adapter. Test failed. Upload speed is a disaster (worst of all devices). And downloads don't start at all. So: None of my 3 different adapters do the trick. |
I don't know whether this helps...? |
Thank you all for the information you have provided. However, I noticed that the recently released DSM7.2beta has a new Linux kernel version.
The kernel update is unlikely to improve anything, but if anyone has tried it, please let me know. |
As mentioned in Comment #96 of the bugzilla link I also posted 5 days ago, a similar issue has been resolved when the comment author updated to Kernel 5.16 in Debian. It may be completely unrelated, but it is evidence that kernel updates sometimes may indeed solve issues like this. Unfortunately the DSM is still a long way from kernel 5.xx. |
I tried with DSM7.2 RC and the new 7.2 release of the driver. Unfortunately i must report that it was stable for copying about 3Gb before it failed in the same manner as before. As before, it is double failure, as usb reset command does not recover the driver state. To be specific, I was running DSM 7.2-64551. |
So I had to uninstall and reinstall the driver and now it says it failed to start. I have the latest update 7.2 which I am suspecting may have some changes that interferes with the install now. Can someone confirm? Now it keeps asking for me to repair it. |
Same here. I just installed DSM 7,2 final version, had to uninstall the old driver and tried to install [2.16.3-4] and now it asks me to repair the driver. Do we have to execute the SSH command once more to get the new driver working? |
I tried the command once it failed as the instructions called for as well.
It appears something changed in the new release. We need an updated
script. Hopefully the dev sees our conversation.
…On Mon, May 22, 2023 at 6:37 AM Dayofwonder ***@***.***> wrote:
So I had to uninstall and reinstall the driver and now it says it failed
to start. I have the latest update 7.2 which I am suspecting may have some
changes that interferes with the install now. Can someone confirm? Now it
keeps asking for me to repair it.
Same here. I just installed DSM 7,2 final version, had to uninstall the
old driver and tried to install [2.16.3-4] and now it asks me to repair the
driver. Do we have to execute the SSH command once more to get the new
driver working? I cannot test it, because I am away for some days.
sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su
/opt/sbin/spk_su
—
Reply to this email directly, view it on GitHub
<#275 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APKQWR3WVI4Z6S2BP3ZLZFLXHM6WRANCNFSM6AAAAAASTCUFFE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
As added in my post above, it works for me now. I installed the driver with an error, executed the sudo command and tried to install the driver again successfully. Connection is up now, I will test it later on. |
On 7.2-64561, unfortunately, it is still broken the same way. I did download the record 5+Gb before it crashed though, but alas. |
The Realtek driver from which this package is based has been updated to 2.17.1. |
Synology DS218 r8152-rtd1296-2.17.1-1_7.2.spk Asus USB-C2500 USB Type-A 2.5G Base-T Ethernet Adapter Installation as suggested Internal 1 GB ethernet also connected using a different static IP. Tests (samba)
DOWNLOAD |
I'm not sure if it could be the cause, but recently a new update of the SMB service was released.
Perhaps this could have indirectly influenced it. |
Hi |
Anyone know if this also effects RTD1619B? If I can't get it working on my current DS220j I might have better luck with a newer DS223j? |
Hi, |
I have a DS418, just wanted to say, I tried the latest version with a Cable Matters 2.5Gb USB3 and same outcome! Unfortunately, I really need 2.5G so I might have to sell it - but came hoping for a fix (: |
Wondered if you could release a package to work on DSM 6.2, as I'm currently keeping that on my DS220j as it still supports wifi usb dongles. Wanted to use a 1Gb/s r8153 to up the nic speed. My DS220j has only 512MB ram and Synology do not recommand DSM 7 on this because of performance issues. DSM6.2 might help with the reliability issue ? |
I added DSM6.2 support in the 2.18.1 release. If the link speed is fixed at 1Gbps or a USB 2.0 port is used, it will work stably enough. |
Driver works nicely using 1GB adapter on DSM6.2, thank you. |
I was surprised to find the 2.18.1 update. I immediately tested the 218PLAY, version DSM 7.2-64570, and unfortunately the problem still persisted. It was disconnected when copying files. I used the computer's 2.5g network interface to connect directly without using a switch. It seems that the RTD1296 SOC has no solution for this problem. I may prepare to replace the DS218PLAY with a higher model to obtain 2.5G network support, but I still hope that this BUG can be fixed. In addition, I tested the new version of the driver on the DS216play with rtd8156, and the driver was installed successfully. But the speed is only 70MB for reading and 50MB for writing on the USB3 interface. This may be related to the CPU performance of the 216PLAY, because this USB3 has only similar speeds when inserted into a mobile hard disk for reading and writing. |
These users report that the RTL8156BG works stably on the rtd1296 platform:
They also mention that it is not stable on earlier chips, so it seems credible. Has anyone else tried this? |
Same issue on ds218 and ugreen 2.5 8156 Realtek Semiconductor Corp. USB 10/100/1G/2.5G LAN. Connection cut-off after 10sec on 2.5Gbits transfer |
Same issue here with DS418 and I tried both RTL8156 and BG version. Install goes well and it connect but soon as I start a large transfer it locks up. |
This issue summarizes the topic of the driver not working on the rtd1296 platform.
There are many reports of unstable operation in products using rtd1296. The typical symptoms reported are as follows
ethtool -s ethX speed 1000 duplex full
There are also no reports of stable operation.
When disconnected, there seems to be something wrong at the USB level. This may indicate that the rtd1296 SoC may have some software or hardware issues with the xHCI host controller.
I am looking for a workaround for this problem, but so far have not found it. (I am also considering providing a standard usb-cdc driver separately.)
I will report here if any progress is made in the investigation.
Affected Products
The text was updated successfully, but these errors were encountered: