-
Notifications
You must be signed in to change notification settings - Fork 45
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
aqc111 on Synology apollolake_1019+ Linux msp 4.4.59+ cannot connect at 2.5Gbps or 5Gbps #37
Comments
It seems to be an auto-negotiation issue. Did these combinations of the dongle and the switches work correctly with your PC? I would like to know about behavior when the dongle is attached to the PC with the official windows driver. |
Well, I spent some time with this device. I can confirm there is a bug in the driver for this device, as hooking it up to mac allows device to "negotiate" 5Gbps with hub. But I think it's moot, as I don't like this device. Their mac drivers are horrible - (E.g. it's connecting at 5Gbps to switch automatically but reporting 1Gbps to OS and preventing me from change MTU to 9000).. Also despite 5Gbps connection, speed tops out at around 2.26 receive. I'm concerned about heat.. the unit is super hot. So I'm going to buy another product and see if that performs better. Doesn't work with their own driver form website on mac, doesn't work with your driver to sync. Oh well.. I'll try two other devices, hopefully one of those will work better!
|
WOW! It's been an adventure. TLDR; this driver isn't reliable / doesn't work with my synology. Over the past few days I installed linux clean on a stand alone PC and purchased 2 other AQC based drivers. I now own a StarTech, a QNA, and the Sonnet solo5g. On my clean linux build with latest ACQ drivers.. I tested with iPerf3, letting it move terabytes of data up and down to test how reliable the driver was or the unit would experience thermal shutdown or slowdown. None of the units experienced thermal shutdown and all of them performed +1/-1 a few %. Basically, it's the same interface minus physical characteristics. Personally I think the startech looks the best as it has venting holes for cooling. The runner up is QNA because it's a giant thermal heat sync (AND DOES GET HOT). I digress, as it was I can reliably sustain 3.59Gbps TO the USB device. When the USB device is transmitting, it runs 2.66Gbps. This is all on my little linux box. (NOTE: 9000 MTU as that helps performance) All I do is then move the USB ethernet device to my synology, reboot it, and try and use it. Suddenly the very same device can't auto-negotiate reliably, and when it does connect at 5Gbps (auto), it will fail within 2-3 minutes. The ONLY change is my linux host with driver that comes with kernel and your driver on synology. This has lead me to be 100% sure it's not working on my model of synology. Anything else I can provide? Would really like this to work! ~Matthew |
Following up on an observation, I compared the linux kernel's AQC111 usb driver and yours, they are significantly different which confirms it's probably software. It looks like you've significantly refactored the negotiation and connection logic. All 3 hardware interfaces I purchased for testing based on AQC111 worked with Linux system I built but do not work on Synology with driver you built. What was the reason for refactoring/rewriting the connection logic for driver? |
Thank you for your investigation.
I did not touch the logic of codes anything such as initialization or negotiation. I just port official driver that can be downloaded from the website to the Synology platform. |
That was the front port. I have not tested with rear. I thought you ported official driver from Linux - do you have link to driver you ported? The driver in linux kernel is from the AQC folks. |
I downloaded the driver from the Aquantia Official website. Aquantia has now been acquired by Marvell, so you can download the same one from here. And you can find the commit of that driver from here. |
Interesting - I wonder if it would be worth trying the code from mainline Linux instead? Did you get something working @dornquast? |
No. I tested it with Linux and worked great, but this driver does not work with my synology. |
Same issue in apollolake. |
Hmm, it's weird. Currently, I am using QNA-UC5G1T connected to the front port of DS918+ at the production environment and I have not encountered any issues so far. And according to the report in ticket #23, there are some environments where the driver works without any problems, so I have no idea what the difference is between those environments and those where it doesn't work... |
Even now, the drivers officially released by Marvell have not been updated. I am considering using the driver that came with Linux, as reported in this thread, but have not gotten around to it due to lack of time. |
Description of the problem
Tested on my synology with 4 different 1, 2.5, 5, 10Gbps switches.
Out of the box with the aqc111 driver installed, it only supports 100Mbps.
If you turn off thermal throttling, you can get it to connect at 1000Mbps
(However it was new out of box, in cool room, with no data flowing so temperature could not be issue)
Attempting to set speed to 2500 results in no speed change, and removing autonegotiation prevents link.
Description of your products
Description of your environment
Output of
dmesg
commandThe text was updated successfully, but these errors were encountered: