Hi-
We are connecting an Arduino Uno from a Linux server to a Linux console client (on a VM), and it works fine most of the time. However, sometimes a sketch fails to upload, and we have to reconnect the device. I am not seeing anything suspicious in the logs on either end. Additionally, I can't recreate on demand - it just happens, but it's happening often enough to be something I need to deal with. As an added twist, it seems to be working fine consistently on Windows (also a VM).
Is there a way to crank up the logging on the client and/or the server to a debug or trace level to get as much info as possible? I'm not sure if it's the server, the client, the VM, the network, the Arduino software, or the alignment of the planets. We're trying to rule things out, so any additional info would be helpful.
Thanks!
.
At the client, can you post the output of command
uname -a
Sure.
Sure.
Linux bat961081glnxa64 4.4.0-0.bpo.tmw1-amd64 #1 SMP Debian 4.4.16-1~bpo8+1.tmw1 (2016-07-29) x86_64 GNU/Linux
.
Can you try a later kernel if possible, e.g 4.9 or 4.12
We ended up blaming this on
We ended up blaming this on our server, which had a 4.0.x kernel. One of our admins recognized that as having been problematic in the past, so we moved to an older kernel that was supported internally, and it solved our issue. We think that did it, or it was hardware related on that server.
In any case, we're in business. Thanks!