mikenye / docker-readsb

Multi-architecture readsb container with support for RTLSDR, bladeRF and plutoSDR (x86_64, arm32v7, arm64v8)
83 stars 4 forks source link

Docker image loads and checks in but continuously restarts dump1090 #2

Closed tmonfiletto closed 4 years ago

tmonfiletto commented 4 years ago

LSUSB from host (raspiberrypi4 Ubuntu 19.10.01 arm64) Bus 001 Device 005: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T LSUSB from container: Bus 001 Device 005: ID 0bda:2838

[dump1090-fa] Wed Apr 22 10:15:16 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001) [dump1090-fa] Found Rafael Micro R820T tuner [dump1090-fa] rtlsdr: enabling tuner AGC [dump1090-fa] Allocating 4 zero-copy buffers ./run: line 48: 6369 Killed exec "${DUMP1090_BIN}" "${DUMP1090_CMD[@]}" 2>&1 6370 Done | awk '{print "[dump1090-fa] " $0}' [dump1090-fa] Wed Apr 22 10:15:17 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001) [dump1090-fa] Found Rafael Micro R820T tuner [dump1090-fa] rtlsdr: enabling tuner AGC [dump1090-fa] Allocating 4 zero-copy buffers ./run: line 48: 6386 Killed exec "${DUMP1090_BIN}" "${DUMP1090_CMD[@]}" 2>&1 6387 Done | awk '{print "[dump1090-fa] " $0}' [dump1090-fa] Wed Apr 22 10:15:18 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001) [dump1090-fa] Found Rafael Micro R820T tuner [dump1090-fa] rtlsdr: enabling tuner AGC [dump1090-fa] Allocating 4 zero-copy buffers ./run: line 48: 6403 Killed exec "${DUMP1090_BIN}" "${DUMP1090_CMD[@]}" 2>&1 6404 Done | awk '{print "[dump1090-fa] " $0}' [dump1090-fa] Wed Apr 22 10:15:19 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001) [dump1090-fa] Found Rafael Micro R820T tuner [dump1090-fa] rtlsdr: enabling tuner AGC [dump1090-fa] Allocating 4 zero-copy buffers ./run: line 48: 6420 Killed exec "${DUMP1090_BIN}" "${DUMP1090_CMD[@]}" 2>&1 6421 Done | awk '{print "[dump1090-fa] " $0}' [dump1090-fa] Wed Apr 22 10:15:20 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)

As you can see it restarts every second, i'm just not sure why

tmonfiletto commented 4 years ago

Here is the log from the start if it helps

[piaware] Connecting to FlightAware adept server at piaware.flightaware.com/1200 [piaware] Connection with adept server at piaware.flightaware.com/1200 established [dump1090-fa] rtlsdr: enabling tuner AGC [dump1090-fa] Allocating 4 zero-copy buffers ./run: line 48: 286 Killed exec "${DUMP1090_BIN}" "${DUMP1090_CMD[@]}" 2>&1 287 Done | awk '{print "[dump1090-fa] " $0}' [piaware] TLS handshake with adept server at piaware.flightaware.com/1200 completed [piaware] FlightAware server certificate validated [piaware] encrypted session established with FlightAware [dump1090-fa] Wed Apr 22 10:25:16 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001) [piaware] adept reported location: 44.06796, -69.52292, 103ft AMSL [piaware] logged in to FlightAware as user tmonfiletto [piaware] my feeder ID is Redacted [piaware] site statistics URL: https://flightaware.com/adsb/stats/user/tmonfiletto#stats-71046 [piaware] multilateration data requested [piaware] no ADS-B data program is serving on port 30005, not starting multilateration client yet [dump1090-fa] Found Rafael Micro R820T tuner [dump1090-fa] rtlsdr: enabling tuner AGC [dump1090-fa] Allocating 4 zero-copy buffers [piaware] ADS-B data program 'dump1090' is listening on port 30005, so far so good [piaware] Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 44.068 --lon -69.523 [piaware] Started faup1090 (pid 317) to connect to dump1090 [piaware] UAT support disabled by local configuration setting: uat-receiver-type ./run: line 48: 308 Killed exec "${DUMP1090_BIN}" "${DUMP1090_CMD[@]}" 2>&1 309 Done | awk '{print "[dump1090-fa] " $0}' [piaware] lost connection to dump1090 via faup1090 [piaware] faup1090 exited normally [piaware] will reconnect to dump1090 in 30 seconds [dump1090-fa] Wed Apr 22 10:25:17 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001) [dump1090-fa] Found Rafael Micro R820T tuner [dump1090-fa] rtlsdr: enabling tuner AGC [dump1090-fa] Allocating 4 zero-copy buffers ./run: line 48: 328 Killed exec "${DUMP1090_BIN}" "${DUMP1090_CMD[@]}" 2>&1 329 Done | awk '{print "[dump1090-fa] " $0}' [dump1090-fa] Wed Apr 22 10:25:18 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001) [dump1090-fa] Found Rafael Micro R820T tuner [dump1090-fa] rtlsdr: enabling tuner AGC [dump1090-fa] Allocating 4 zero-copy buffers ./run: line 48: 345 Killed exec "${DUMP1090_BIN}" "${DUMP1090_CMD[@]}" 2>&1 346 Done | awk '{print "[dump1090-fa] " $0}' [dump1090-fa] Wed Apr 22 10:25:19 2020 EDT dump1090-fa starting up. [dump1090-fa] rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)

tmonfiletto commented 4 years ago

Sorry wrong project

mikenye commented 4 years ago

No problems. For any people that may find this in the future, the issue seems to be an incompatibility between RTL2838UHIDIR and rtlsdr version 0.6.0. See: https://github.com/mikenye/docker-piaware/issues/15