Guys – I wiped one of my FA systems this weekend and restinalled everything, no software or hardware changes, but now my FA pro stick is causing strange USB problems – for about 5 min i’ll get mlat, and then 5 min later FA will report “local clock unstable” and is unable to process MLAT, and alternate between these ad infinitum. As I found out before, no MLAT from “local clock unstable” 99% of the time is a USB problem. My system is a Ubuntu 22.04.3 LTS NUC 10i7 with 64 gb memory. Overall I only use 3% of CPU. Flightaware stick only uses 20% of CPU max. This system is vastly overpowered – i’ve had other systems where heavy temporary CPU usage will make MLAT unstable for a bit.
I swapped FA Pro sticks – no change. I tried all different types of USB ports, with FA Pro being the only thing on there – no change. I swapped USB cables – no change. I re-added a powered USB hub – no change.
Before I nuke the whole thing again (Which usually fixes these strange one-off Ubuntu bugs), i’m trying to see if there’s a way to figure out what’s going on.
I used usbtop
and I got this data – does this look good, or is the FA Pro stick passing too much data and maybe overwhelming the computer/some buffer, causing it to go into an unstable mode every few minutes?
Device ID 1 : 0.00 kb/s 0.00 kb/s
Device ID 2 : 0.00 kb/s 0.00 kb/s
Device ID 7 : 0.00 kb/s 0.00 kb/s
Device ID 8 : 0.00 kb/s 0.00 kb/s
Device ID 9 : 1.21 kb/s 4949.30 kb/s
Bus ID 1 (Raw USB traffic, bus number 1) To device From device
Device ID 1 : 0.00 kb/s 0.00 kb/s
Device ID 2 : 0.00 kb/s 0.00 kb/s
Device ID 7 : 0.00 kb/s 0.00 kb/s
Device ID 8 : 0.00 kb/s 0.00 kb/s
Device ID 9 : 1.21 kb/s 4949.32 kb/s
Bus ID 2 (Raw USB traffic, bus number 2) To device From device
Device ID 1 : 0.00 kb/s 0.00 kb/s
Bus ID 3 (Raw USB traffic, bus number 3) To device From device
Device ID 1 : 0.00 kb/s 0.00 kb/s
Bus ID 4 (Raw USB traffic, bus number 4) To device From device
Device ID 1 : 0.00 kb/s 0.00 kb/s
My understanding is that USB 2.0s max data is 480 Mbps. This is about 5 Mbps which shouldn’t overwhelm anything…
top -i
shows nothing exciting
top - 07:46:58 up 15:23, 1 user, load average: 0.33, 0.33, 0.31
Tasks: 358 total, 1 running, 357 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.7 us, 0.3 sy, 0.0 ni, 98.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 64006.5 total, 60694.6 free, 999.4 used, 2312.6 buff/cache
MiB Swap: 2048.0 total, 2048.0 free, 0.0 used. 62080.0 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
796 dump1090 15 -5 99580 10752 5632 S 17.9 0.0 156:50.71 dump1090-fa
1486 root 20 0 1455360 115216 19456 S 2.3 0.2 12:10.85 tailscaled
1841 rslsync 20 0 1983612 40672 12288 S 1.3 0.1 11:04.24 rslsync
809 combine+ 20 0 453424 9856 3712 S 0.7 0.0 3:43.67 readsb
1895 fr24 20 0 805668 19456 7936 S 0.7 0.0 2:08.37 fr24feed
803020 rickined 20 0 13352 4224 3328 R 0.7 0.0 0:00.14 top
16 root 20 0 0 0 0 I 0.3 0.0 1:29.78 rcu_preempt
591 systemd+ 20 0 14832 6784 6016 S 0.3 0.0 1:48.68 systemd-oomd
799 adsbfi 19 -1 544108 9856 3712 S 0.3 0.0 3:55.68 feed-adsbfi
802 adsbfi 19 -1 30344 20324 7424 S 0.3 0.0 3:16.25 mlat-client
1796 piaware 20 0 33316 17456 8576 S 0.3 0.0 2:13.78 piaware
2131 piaware 20 0 22200 12672 7168 S 0.3 0.0 3:04.62 fa-mlat-client
it looks like I need to nuke and start over (next weekend’s project), but wanted to double check. Ubuntu has done this to me before, last time with not having any audio output via HDMI. But then reinstalling Ubuntu fixed it…