I left my setup running unattended today. The RTL-SDR got disconnected during that time, but apparently it also started itself again. Please see the following logfile extracts:
lusb output:
pi@raspberrypi:~ $ lsusb
Bus 001 Device 005: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/var/log/dump1090-mutability.log:
Statistics: Tue Mar 29 11:10:50 2016 CEST - Tue Mar 29 12:10:50 2016 CEST
Local receiver:
8640004096 samples processed
0 samples dropped
0 Mode A/C messages received
27833634 Mode-S message preambles received
15343095 with bad message format or invalid CRC
11238321 with unrecognized ICAO address
1163915 accepted with correct CRC
88303 accepted with 1-bit error repaired
-31.4 dBFS noise floor
-18.6 dBFS mean signal power
-1.7 dBFS peak signal power
769 messages with signal power above -3dBFS
Messages from network clients:
0 Mode A/C messages received
25299 Mode S messages received
0 with bad message format or invalid CRC
0 with unrecognized ICAO address
25299 accepted with correct CRC
0 accepted with 1-bit error repaired
1277517 total usable messages
5 surface position messages received
90295 airborne position messages received
83898 global CPR attempts with valid positions
0 global CPR attempts with bad data
0 global CPR attempts that failed the range check
0 global CPR attempts that failed the speed check
98 global CPR attempts with insufficient data
5570 local CPR attempts with valid positions
5442 aircraft-relative positions
128 receiver-relative positions
832 local CPR attempts that did not produce useful positions
827 local CPR attempts that failed the range check
0 local CPR attempts that failed the speed check
0 CPR messages that look like transponder failures filtered
456395 non-ES altitude messages from ES-equipped aircraft ignored
298 unique aircraft tracks
59 aircraft tracks where only one message was seen
0 HTTP requests
CPU load: 22.3%
483853 ms for demodulation
284742 ms for reading from USB
32845 ms for network input and background tasks
cb transfer status: 1, canceling...
Tue Mar 29 12:40:08 2016 CEST Warning: lost the connection to the RTLSDR device.
Tue Mar 29 12:40:13 2016 CEST Trying to reconnect to the RTLSDR device..
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected)
rtlsdr_demod_read_reg failed with -1
rtlsdr_demod_write_reg failed with -1
rtlsdr_read_reg failed with -1
rtlsdr_write_reg failed with -1
No supported tuner found
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
.... (redudant lines deleted)
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
rtlsdr_write_reg failed with -1
rtlsdr_write_reg failed with -1
Gain reported by device: 0.00 dB
weirdness: rtlsdr gave us a block with an unusual size (got 0 bytes, expected 262144 bytes)
weirdness: rtlsdr gave us a block with an unusual size (got 0 bytes, expected 262144 bytes)
.... (redundant lines deleted)
weirdness: rtlsdr gave us a block with an unusual size (got 0 bytes, expected 262144 bytes)
Statistics: Tue Mar 29 12:10:50 2016 CEST - Tue Mar 29 13:10:50 2016 CEST
Local receiver:
4218552320 samples processed
0 samples dropped
0 Mode A/C messages received
13086245 Mode-S message preambles received
7233926 with bad message format or invalid CRC
5322143 with unrecognized ICAO address
494318 accepted with correct CRC
35858 accepted with 1-bit error repaired
-32.1 dBFS noise floor
-19.3 dBFS mean signal power
-3.2 dBFS peak signal power
0 messages with signal power above -3dBFS
Messages from network clients:
0 Mode A/C messages received
17823 Mode S messages received
0 with bad message format or invalid CRC
0 with unrecognized ICAO address
17823 accepted with correct CRC
0 accepted with 1-bit error repaired
547999 total usable messages
4 surface position messages received
39167 airborne position messages received
36523 global CPR attempts with valid positions
0 global CPR attempts with bad data
0 global CPR attempts that failed the range check
0 global CPR attempts that failed the speed check
45 global CPR attempts with insufficient data
2298 local CPR attempts with valid positions
2216 aircraft-relative positions
82 receiver-relative positions
350 local CPR attempts that did not produce useful positions
344 local CPR attempts that failed the range check
2 local CPR attempts that failed the speed check
0 CPR messages that look like transponder failures filtered
168112 non-ES altitude messages from ES-equipped aircraft ignored
157 unique aircraft tracks
31 aircraft tracks where only one message was seen
0 HTTP requests
CPU load: 10.8%
229533 ms for demodulation
139254 ms for reading from USB
20844 ms for network input and background tasks
Tue Mar 29 13:41:06 2016 CEST Caught SIGTERM, shutting down..
Tue Mar 29 13:41:37 2016 CEST dump1090-mutability v1.15~dev starting up.
Using sample converter: UC8, integer/table path, with power measurement
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected)
Found Rafael Micro R820T tuner
Setting gain to: 44.50 dB
Gain reported by device: 44.50 dB
dmesg (only relevant lines copied during crash):
34.895423] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[59308.234272] usb 1-1.2: USB disconnect, device number 4
[59308.473891] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[59308.585720] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=2838
[59308.585745] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[59308.585756] usb 1-1.2: Product: RTL2838UHIDIR
[59308.585766] usb 1-1.2: Manufacturer: Realtek
[59308.585776] usb 1-1.2: SerialNumber: 00000001
[59313.479651] usb 1-1.2: usbfs: usb_submit_urb returned -121
.... (redundant lines deleted)
[59313.501829] usb 1-1.2: usbfs: usb_submit_urb returned -121
[59313.610987] usb 1-1.2: USB disconnect, device number 6
[59313.843911] usb 1-1.2: new high-speed USB device number 7 using dwc_otg
[59313.955936] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=2838
[59313.955966] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[59313.955983] usb 1-1.2: Product: RTL2838UHIDIR
[59313.955998] usb 1-1.2: Manufacturer: Realtek
[59313.956013] usb 1-1.2: SerialNumber: 00000001
syslog:
Mar 29 12:39:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Mar 29 12:40:31 2016 [try http://www.rsyslog.com/e/2007 ]
Mar 29 12:39:01 raspberrypi CRON[1773]: (root) CMD ( -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Mar 29 12:40:01 raspberrypi CRON[1816]: (root) CMD (bash /home/pi/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 6h >/dev/null)
Mar 29 12:40:01 raspberrypi CRON[1817]: (root) CMD (bash /home/pi/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 1h >/dev/null)
Mar 29 12:40:08 raspberrypi kernel: [59308.234272] usb 1-1.2: USB disconnect, device number 4
Mar 29 12:40:08 raspberrypi kernel: [59308.473891] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
Mar 29 12:40:08 raspberrypi kernel: [59308.585720] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=2838
Mar 29 12:40:08 raspberrypi kernel: [59308.585745] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 29 12:40:08 raspberrypi kernel: [59308.585756] usb 1-1.2: Product: RTL2838UHIDIR
Mar 29 12:40:08 raspberrypi kernel: [59308.585766] usb 1-1.2: Manufacturer: Realtek
Mar 29 12:40:08 raspberrypi kernel: [59308.585776] usb 1-1.2: SerialNumber: 00000001
Mar 29 12:40:13 raspberrypi kernel: [59313.479651] usb 1-1.2: usbfs: usb_submit_urb returned -121
Mar 29 12:40:13 raspberrypi kernel: [59313.479875] usb 1-1.2: usbfs: usb_submit_urb returned -121
Mar 29 12:40:13 raspberrypi kernel: [59313.480083] usb 1-1.2: usbfs: usb_submit_urb returned -121
Mar 29 12:40:13 raspberrypi kernel: [59313.480306] usb 1-1.2: usbfs: usb_submit_urb returned -121
....
Mar 29 13:40:01 raspberrypi CRON[3634]: (root) CMD (bash /home/pi/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 1h >/dev/null)
Mar 29 13:40:01 raspberrypi CRON[3635]: (root) CMD (bash /home/pi/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 6h >/dev/null)
Mar 29 13:41:06 raspberrypi systemd[1]: Stopping LSB: dump1090 daemon (mutability variant)...
Mar 29 13:41:06 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Mar 29 13:42:36 2016 [try http://www.rsyslog.com/e/2007 ]
Mar 29 13:41:37 raspberrypi systemd[1]: Starting LSB: dump1090 daemon (mutability variant)...
Mar 29 13:41:38 raspberrypi systemd[1]: Started LSB: dump1090 daemon (mutability variant).
Mar 29 13:42:01 raspberrypi CRON[3800]: (root) CMD (bash /home/pi/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 24h >/dev/null)
Mar 29 13:44:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Mar 29 13:45:31 2016 [try http://www.rsyslog.com/e/2007 ]
Mar 29 13:44:01 raspberrypi CRON[3876]: (root) CMD (bash /home/pi/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 7d >/dev/null)
Mar 29 13:45:01 raspberrypi CRON[3926]: (root) CMD (bash /home/pi/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 1h >/dev/null)
piaware.out:
03/29/2016 11:26:35 127442 msgs recv'd from dump1090-mutabi (0 in last 5m); 127305 msgs sent to FlightAware
03/29/2016 11:27:59 mlat(2036): Receiver status: connected
03/29/2016 11:27:59 mlat(2036): Server status: not synchronized with any nearby receivers
03/29/2016 11:27:59 mlat(2036): Receiver: 0.0 msg/s received 0.0kB/s from receiver
03/29/2016 11:27:59 mlat(2036): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.0kB/s UDP to server
03/29/2016 11:27:59 mlat(2036): Aircraft: 0 of 0 Mode S, 0 of 0 ADS-B used
03/29/2016 11:31:35 127442 msgs recv'd from dump1090-mutabi (0 in last 5m); 127305 msgs sent to FlightAware
03/29/2016 11:36:35 127442 msgs recv'd from dump1090-mutabi (0 in last 5m); 127305 msgs sent to FlightAware
03/29/2016 11:41:05 no new messages received in 3630 seconds, it might just be that there haven't been any aircraft nearby but I'm going to try to restart dump1090, just in case...
03/29/2016 11:41:05 attempting to restart dump1090-mutability using 'invoke-rc.d dump1090-mutability restart'...
03/29/2016 11:41:38 dump1090 restart appears to have been successful
03/29/2016 11:41:38 mlat(2036): Lost connection to localhost:30005
03/29/2016 11:41:38 mlat(2036): Reconnecting in 30.0 seconds
03/29/2016 11:41:38 mlat(2036): Beast-format results connection with localhost:30104: connection lost
03/29/2016 11:41:48 ADS-B data program 'dump1090-mutab' is listening on port 30005, so far so good
03/29/2016 11:41:48 Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat xx.yyy --lon x.yyy
03/29/2016 11:41:48 Started faup1090 (pid 3790) to connect to dump1090-mutab
03/29/2016 11:42:06 mlat(2036): Input connected to localhost:30005
03/29/2016 11:42:06 mlat(2036): Beast-format results connection with localhost:30104: connection established
03/29/2016 11:42:08 127528 msgs recv'd from dump1090-mutab (86 in last 6m); 127391 msgs sent to FlightAware
03/29/2016 11:42:59 mlat(2036): Receiver status: connected
03/29/2016 11:42:59 mlat(2036): Server status: synchronized with 67 nearby receivers
03/29/2016 11:42:59 mlat(2036): Receiver: 16.1 msg/s received 0.3kB/s from receiver
03/29/2016 11:42:59 mlat(2036): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.0kB/s UDP to server
03/29/2016 11:42:59 mlat(2036): Results: 0.3 positions/minute
03/29/2016 11:42:59 mlat(2036): Aircraft: 2 of 17 Mode S, 31 of 42 ADS-B used
03/29/2016 11:46:35 128391 msgs recv'd from dump1090-mutab (863 in last 4m); 128254 msgs sent to FlightAware
03/29/2016 11:51:35 129246 msgs recv'd from dump1090-mutab (855 in last 5m); 129109 msgs sent to FlightAware
03/29/2016 11:56:35 130127 msgs recv'd from dump1090-mutab (881 in last 5m); 129990 msgs sent to FlightAware
03/29/2016 11:57:59 mlat(2036): Receiver status: connected
03/29/2016 11:57:59 mlat(2036): Server status: synchronized with 134 nearby receivers
03/29/2016 11:57:59 mlat(2036): Receiver: 243.2 msg/s received 4.5kB/s from receiver
03/29/2016 11:57:59 mlat(2036): Server: 0.3 kB/s from server 0.0kB/s TCP to server 0.6kB/s UDP to server
03/29/2016 11:57:59 mlat(2036): Results: 133.2 positions/minute
Lots of log informations. Somebody any clues?