Portsdown hanging after repeated transmissions

Discussion about this major DATV Project. See also https://wiki.batc.org.uk/The_Portsdown_Transmitter
Post Reply
GI4DOH
Posts: 14
Joined: Mon Mar 26, 2018 8:44 pm

Portsdown hanging after repeated transmissions

Post by GI4DOH » Wed Apr 10, 2019 7:24 pm

After a number of transmissions my Portsdown locks up. I have a RPi3B+ and software version 201903250. Configuration includes the PE43703 attenuator and 4-way switch.

If I have selected carrier only, after repeated selections of transmit and back to receive, on the 24th transmit selection the Portsdown locks in transmit. I have the kill switch enabled but it does not do anything at this point. Power off/on is the only cure.

If I have selected the test card and repeatedly select transmit and back to receive, eventually the Portsdown hangs with the Pi screen. This has ranged between 24 and 34 cycles. At this point the kill switch will shut down the Portsdown – at least I then know that it is safe to remove the power.

It’s not the end of the world but as I am trying to characterise amplifiers in 1 dB steps at the moment so it is happening a lot. Perhaps the consistent 24 times with just carrier selected might give a clue.

73 Richard

g0mjw
Posts: 792
Joined: Sat Sep 20, 2014 9:15 am

Re: Portsdown hanging after repeated transmissions

Post by g0mjw » Wed Apr 10, 2019 10:25 pm

are you filling up the disc with multiple fifo buffers not being cleared perhaps? A quick check on the command line will tell you. e.g. Running du, df, ls commands in appropriate directories. Also can happen if the drive is too small. If that is whats happening there might be some permissions setting errors. A faulty / corrupt SD could also cause this, as could setting G4KLM in the callsign field as there are only 24 hours in a day...

Mike

GI4DOH
Posts: 14
Joined: Mon Mar 26, 2018 8:44 pm

Re: Portsdown hanging after repeated transmissions

Post by GI4DOH » Thu Apr 11, 2019 10:04 am

Hi Mike – thanks for the reply.

I seem to have 2 different problems here. I have just tried a new SD card in my Portsdown system and also tried my old RPi3 that is not connected to anything other than the 3.5” touch screen. The results are the same with both issues.

Problem 1: When transmitting carrier only, after switching to transmit for the 24th time the Pi hangs. The screen is locked and I can not log in with Putty. Power off/on is the only way to recover. This happens with both the old and new SD card in the RPi3B+ in the Portsdown box and with the older RPi3 and its SD card as a free standing entity.

Problem 2: When transmitting the test card, after 24 or more attempts to switch to transmit the RPi hangs with the Pi screen – this morning it took 24 attempts on each of the 3 configurations. No response to the touch screen but able to log in with Putty.

There was a repeated message…

rpidatvgui: oglinit.c:147: oglinit: Assertion `state->surface != EGL_NO_SURFACE' failed.

This stopped after Control-C. du and df gave…

pi@raspberrypi:~ $ du
484 ./express_server
64 ./rpi-fbcp/build/CMakeFiles/fbcp.dir
4 ./rpi-fbcp/build/CMakeFiles/CMakeTmp
36 ./rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdCXX
36 ./rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdC
116 ./rpi-fbcp/build/CMakeFiles/3.7.2
288 ./rpi-fbcp/build/CMakeFiles
332 ./rpi-fbcp/build
352 ./rpi-fbcp
8 ./snaps
128 ./tmp
76 ./LimeSuite/octave
100 ./LimeSuite/QuickTest/resources
156 ./LimeSuite/QuickTest
88 ./LimeSuite/SoapyLMS7
52 ./LimeSuite/mcu_program/host_src
20 ./LimeSuite/mcu_program/mcu_src
152 ./LimeSuite/mcu_program/common_src
256 ./LimeSuite/mcu_program
84 ./LimeSuite/build/mcu_program
24 ./LimeSuite/build/bin/Release/lms7suite_mcu
28 ./LimeSuite/build/bin/Release
32 ./LimeSuite/build/bin
120 ./LimeSuite/build
20 ./LimeSuite/external/msvc
60 ./LimeSuite/external/kissFFT
52 ./LimeSuite/external/cpp-feather-ini-parser/example
88 ./LimeSuite/external/cpp-feather-ini-parser
172 ./LimeSuite/external
20 ./LimeSuite/cmake/Modules
44 ./LimeSuite/cmake
16 ./LimeSuite/cmake-cross
188 ./LimeSuite/docs/doxygen
2188 ./LimeSuite/docs
4 ./LimeSuite/dirbuild/CMakeFiles/CMakeTmp
36 ./LimeSuite/dirbuild/CMakeFiles/3.7.2/CompilerIdCXX
36 ./LimeSuite/dirbuild/CMakeFiles/3.7.2/CompilerIdC
116 ./LimeSuite/dirbuild/CMakeFiles/3.7.2
20 ./LimeSuite/dirbuild/CMakeFiles/uninstall.dir
280 ./LimeSuite/dirbuild/CMakeFiles
12 ./LimeSuite/dirbuild/octave/CMakeFiles
28 ./LimeSuite/dirbuild/octave
16 ./LimeSuite/dirbuild/QuickTest/CMakeFiles/LimeQuickTest.dir/__/external/kissFFT
20 ./LimeSuite/dirbuild/QuickTest/CMakeFiles/LimeQuickTest.dir/__/external
24 ./LimeSuite/dirbuild/QuickTest/CMakeFiles/LimeQuickTest.dir/__
160 ./LimeSuite/dirbuild/QuickTest/CMakeFiles/LimeQuickTest.dir
172 ./LimeSuite/dirbuild/QuickTest/CMakeFiles
260 ./LimeSuite/dirbuild/QuickTest
12 ./LimeSuite/dirbuild/SoapyLMS7/CMakeFiles
28 ./LimeSuite/dirbuild/SoapyLMS7
12 ./LimeSuite/dirbuild/mcu_program/CMakeFiles
28 ./LimeSuite/dirbuild/mcu_program
88 ./LimeSuite/dirbuild/bin
12 ./LimeSuite/dirbuild/Desktop/CMakeFiles
28 ./LimeSuite/dirbuild/Desktop
108 ./LimeSuite/dirbuild/LimeUtil/CMakeFiles/LimeUtil.dir
120 ./LimeSuite/dirbuild/LimeUtil/CMakeFiles
188 ./LimeSuite/dirbuild/LimeUtil
60 ./LimeSuite/dirbuild/src/CMakeFiles/boardEmulator.dir
68 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/FPGA_common
132 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/protocols
8 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/ADF4002
72 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/ConnectionRegistry
48 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/lms7002m_mcu
56 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/ConnectionXillybus
28 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/Si5351C
32 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/GFIR
88 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/ConnectionFX3
68 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/ConnectionFTDI
212 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/API
356 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/lms7002m
16 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/__/external/kissFFT
20 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/__/external
24 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir/__
1464 ./LimeSuite/dirbuild/src/CMakeFiles/LimeSuite.dir
1536 ./LimeSuite/dirbuild/src/CMakeFiles
12 ./LimeSuite/dirbuild/src/utilities/CMakeFiles
28 ./LimeSuite/dirbuild/src/utilities
48 ./LimeSuite/dirbuild/src/examples/CMakeFiles/basicRX.dir
52 ./LimeSuite/dirbuild/src/examples/CMakeFiles/singleRX.dir
52 ./LimeSuite/dirbuild/src/examples/CMakeFiles/gpio_example.dir
52 ./LimeSuite/dirbuild/src/examples/CMakeFiles/dualRXTX.dir
52 ./LimeSuite/dirbuild/src/examples/CMakeFiles/basicTX.dir
268 ./LimeSuite/dirbuild/src/examples/CMakeFiles
292 ./LimeSuite/dirbuild/src/examples
12 ./LimeSuite/dirbuild/src/GFIR/CMakeFiles
28 ./LimeSuite/dirbuild/src/GFIR
2740 ./LimeSuite/dirbuild/src
3728 ./LimeSuite/dirbuild
156 ./LimeSuite/Desktop
12 ./LimeSuite/udev-rules
36 ./LimeSuite/LimeUtil
8 ./LimeSuite/debian/source
80 ./LimeSuite/debian
68 ./LimeSuite/src/FPGA_common
112 ./LimeSuite/src/protocols
56 ./LimeSuite/src/ADF4002
52 ./LimeSuite/src/ConnectionRegistry
16 ./LimeSuite/src/utilities
32 ./LimeSuite/src/ConnectionEVB7COM
28 ./LimeSuite/src/ConnectionRemote
12 ./LimeSuite/src/myriad7
7428 ./LimeSuite/src/FPGAcontrols_wxgui
60 ./LimeSuite/src/lms7002m_mcu
36 ./LimeSuite/src/ConnectionXillybus
208 ./LimeSuite/src/resources
24 ./LimeSuite/src/ConnectionSTREAM_UNITE
12 ./LimeSuite/src/lms7suiteEvents
1168 ./LimeSuite/src/utilities_gui
12 ./LimeSuite/src/numericSlider
64 ./LimeSuite/src/Si5351C
10356 ./LimeSuite/src/lms7002_wxgui
40 ./LimeSuite/src/examples
16 ./LimeSuite/src/RFSpark
64 ./LimeSuite/src/GFIR
52 ./LimeSuite/src/ConnectionFX3
128 ./LimeSuite/src/boards_wxgui
152 ./LimeSuite/src/lime
428 ./LimeSuite/src/fftviewer_wxgui
320 ./LimeSuite/src/ConnectionFTDI/FTD3XXLibrary/Win32/Static
520 ./LimeSuite/src/ConnectionFTDI/FTD3XXLibrary/Win32
336 ./LimeSuite/src/ConnectionFTDI/FTD3XXLibrary/x64/Static
560 ./LimeSuite/src/ConnectionFTDI/FTD3XXLibrary/x64
1192 ./LimeSuite/src/ConnectionFTDI/FTD3XXLibrary
1244 ./LimeSuite/src/ConnectionFTDI
24 ./LimeSuite/src/HPM7
164 ./LimeSuite/src/API
48 ./LimeSuite/src/ConnectionNovenaRF7
1136 ./LimeSuite/src/oglGraph/glew/GL
2084 ./LimeSuite/src/oglGraph/glew
2220 ./LimeSuite/src/oglGraph
280 ./LimeSuite/src/lms7002m
20 ./LimeSuite/src/LMS_Programing
24844 ./LimeSuite/src
32048 ./LimeSuite
4 ./rtl-sdr/build/CMakeFiles/CMakeTmp
36 ./rtl-sdr/build/CMakeFiles/3.7.2/CompilerIdC
60 ./rtl-sdr/build/CMakeFiles/3.7.2
20 ./rtl-sdr/build/CMakeFiles/uninstall.dir
176 ./rtl-sdr/build/CMakeFiles
12 ./rtl-sdr/build/include/CMakeFiles
28 ./rtl-sdr/build/include
12 ./rtl-sdr/build/src/CMakeFiles/convenience_static.dir/convenience
60 ./rtl-sdr/build/src/CMakeFiles/convenience_static.dir
168 ./rtl-sdr/build/src/CMakeFiles/rtlsdr_static.dir
56 ./rtl-sdr/build/src/CMakeFiles/rtl_eeprom.dir
56 ./rtl-sdr/build/src/CMakeFiles/rtl_adsb.dir
56 ./rtl-sdr/build/src/CMakeFiles/rtl_test.dir
68 ./rtl-sdr/build/src/CMakeFiles/rtl_power.dir
76 ./rtl-sdr/build/src/CMakeFiles/rtl_fm.dir
56 ./rtl-sdr/build/src/CMakeFiles/rtl_tcp.dir
52 ./rtl-sdr/build/src/CMakeFiles/rtl_sdr.dir
168 ./rtl-sdr/build/src/CMakeFiles/rtlsdr_shared.dir
828 ./rtl-sdr/build/src/CMakeFiles
1296 ./rtl-sdr/build/src
1548 ./rtl-sdr/build
24 ./rtl-sdr/cmake/Modules
32 ./rtl-sdr/cmake
64 ./rtl-sdr/include
8 ./rtl-sdr/m4
16 ./rtl-sdr/src/convenience
44 ./rtl-sdr/src/getopt
356 ./rtl-sdr/src
2160 ./rtl-sdr
16 ./avc2ts/libmpegts/smpte
40 ./avc2ts/libmpegts/dvb
276 ./avc2ts/libmpegts/.git/objects/pack
4 ./avc2ts/libmpegts/.git/objects/info
284 ./avc2ts/libmpegts/.git/objects
48 ./avc2ts/libmpegts/.git/hooks
4 ./avc2ts/libmpegts/.git/refs/tags
8 ./avc2ts/libmpegts/.git/refs/heads
8 ./avc2ts/libmpegts/.git/refs/remotes/origin
12 ./avc2ts/libmpegts/.git/refs/remotes
28 ./avc2ts/libmpegts/.git/refs
8 ./avc2ts/libmpegts/.git/logs/refs/heads
8 ./avc2ts/libmpegts/.git/logs/refs/remotes/origin
12 ./avc2ts/libmpegts/.git/logs/refs/remotes
24 ./avc2ts/libmpegts/.git/logs/refs
32 ./avc2ts/libmpegts/.git/logs
8 ./avc2ts/libmpegts/.git/info
4 ./avc2ts/libmpegts/.git/branches
428 ./avc2ts/libmpegts/.git
20 ./avc2ts/libmpegts/crc
8 ./avc2ts/libmpegts/isdb
16 ./avc2ts/libmpegts/cablelabs
24 ./avc2ts/libmpegts/hdmv
16 ./avc2ts/libmpegts/atsc
952 ./avc2ts/libmpegts
24 ./avc2ts/fdk-aac/libSBRdec/include
12 ./avc2ts/fdk-aac/libSBRdec/src/arm
948 ./avc2ts/fdk-aac/libSBRdec/src/.libs
84 ./avc2ts/fdk-aac/libSBRdec/src/.deps
3056 ./avc2ts/fdk-aac/libSBRdec/src
3084 ./avc2ts/fdk-aac/libSBRdec
36 ./avc2ts/fdk-aac/win32
16 ./avc2ts/fdk-aac/libDRCdec/include
548 ./avc2ts/fdk-aac/libDRCdec/src/.libs
40 ./avc2ts/fdk-aac/libDRCdec/src/.deps
1600 ./avc2ts/fdk-aac/libDRCdec/src
1620 ./avc2ts/fdk-aac/libDRCdec
948 ./avc2ts/fdk-aac/documentation
52 ./avc2ts/fdk-aac/libPCMutils/include
184 ./avc2ts/fdk-aac/libPCMutils/src/.libs
16 ./avc2ts/fdk-aac/libPCMutils/src/.deps
536 ./avc2ts/fdk-aac/libPCMutils/src
592 ./avc2ts/fdk-aac/libPCMutils
14312 ./avc2ts/fdk-aac/.libs
60 ./avc2ts/fdk-aac/libFDK/include/arm
36 ./avc2ts/fdk-aac/libFDK/include/x86
20 ./avc2ts/fdk-aac/libFDK/include/ppc
52 ./avc2ts/fdk-aac/libFDK/include/mips
560 ./avc2ts/fdk-aac/libFDK/include
44 ./avc2ts/fdk-aac/libFDK/src/arm
928 ./avc2ts/fdk-aac/libFDK/src/.libs
84 ./avc2ts/fdk-aac/libFDK/src/.deps
84 ./avc2ts/fdk-aac/libFDK/src/mips
3084 ./avc2ts/fdk-aac/libFDK/src
3648 ./avc2ts/fdk-aac/libFDK
40 ./avc2ts/fdk-aac/libMpegTPEnc/include
256 ./avc2ts/fdk-aac/libMpegTPEnc/src/.libs
24 ./avc2ts/fdk-aac/libMpegTPEnc/src/.deps
716 ./avc2ts/fdk-aac/libMpegTPEnc/src
760 ./avc2ts/fdk-aac/libMpegTPEnc
52 ./avc2ts/fdk-aac/libMpegTPDec/include
364 ./avc2ts/fdk-aac/libMpegTPDec/src/.libs
28 ./avc2ts/fdk-aac/libMpegTPDec/src/.deps
1044 ./avc2ts/fdk-aac/libMpegTPDec/src
1100 ./avc2ts/fdk-aac/libMpegTPDec
20 ./avc2ts/fdk-aac/libSACenc/include
452 ./avc2ts/fdk-aac/libSACenc/src/.libs
56 ./avc2ts/fdk-aac/libSACenc/src/.deps
1504 ./avc2ts/fdk-aac/libSACenc/src
1528 ./avc2ts/fdk-aac/libSACenc
60 ./avc2ts/fdk-aac/libAACdec/include
12 ./avc2ts/fdk-aac/libAACdec/src/arm
1624 ./avc2ts/fdk-aac/libAACdec/src/.libs
144 ./avc2ts/fdk-aac/libAACdec/src/.deps
5160 ./avc2ts/fdk-aac/libAACdec/src
5224 ./avc2ts/fdk-aac/libAACdec
36 ./avc2ts/fdk-aac/libSACdec/include
776 ./avc2ts/fdk-aac/libSACdec/src/.libs
52 ./avc2ts/fdk-aac/libSACdec/src/.deps
2200 ./avc2ts/fdk-aac/libSACdec/src
2240 ./avc2ts/fdk-aac/libSACdec
2004 ./avc2ts/fdk-aac/autom4te.cache
96 ./avc2ts/fdk-aac/libSYS/include
44 ./avc2ts/fdk-aac/libSYS/src/.libs
12 ./avc2ts/fdk-aac/libSYS/src/.deps
136 ./avc2ts/fdk-aac/libSYS/src
236 ./avc2ts/fdk-aac/libSYS
7336 ./avc2ts/fdk-aac/.git/objects/pack
4 ./avc2ts/fdk-aac/.git/objects/info
7344 ./avc2ts/fdk-aac/.git/objects
48 ./avc2ts/fdk-aac/.git/hooks
4 ./avc2ts/fdk-aac/.git/refs/tags
8 ./avc2ts/fdk-aac/.git/refs/heads
8 ./avc2ts/fdk-aac/.git/refs/remotes/origin
12 ./avc2ts/fdk-aac/.git/refs/remotes
28 ./avc2ts/fdk-aac/.git/refs
8 ./avc2ts/fdk-aac/.git/logs/refs/heads
8 ./avc2ts/fdk-aac/.git/logs/refs/remotes/origin
12 ./avc2ts/fdk-aac/.git/logs/refs/remotes
24 ./avc2ts/fdk-aac/.git/logs/refs
32 ./avc2ts/fdk-aac/.git/logs
8 ./avc2ts/fdk-aac/.git/info
4 ./avc2ts/fdk-aac/.git/branches
7528 ./avc2ts/fdk-aac/.git
92 ./avc2ts/fdk-aac/libAACenc/include
1656 ./avc2ts/fdk-aac/libAACenc/src/.libs
140 ./avc2ts/fdk-aac/libAACenc/src/.deps
5104 ./avc2ts/fdk-aac/libAACenc/src
5200 ./avc2ts/fdk-aac/libAACenc
340 ./avc2ts/fdk-aac/m4
12 ./avc2ts/fdk-aac/libArithCoding/include
32 ./avc2ts/fdk-aac/libArithCoding/src/.libs
8 ./avc2ts/fdk-aac/libArithCoding/src/.deps
108 ./avc2ts/fdk-aac/libArithCoding/src
124 ./avc2ts/fdk-aac/libArithCoding
16 ./avc2ts/fdk-aac/.deps
24 ./avc2ts/fdk-aac/libSBRenc/include
1020 ./avc2ts/fdk-aac/libSBRenc/src/.libs
80 ./avc2ts/fdk-aac/libSBRenc/src/.deps
3100 ./avc2ts/fdk-aac/libSBRenc/src
3128 ./avc2ts/fdk-aac/libSBRenc
55436 ./avc2ts/fdk-aac
2836 ./avc2ts/libyuv/source
20 ./avc2ts/libyuv/infra/config
24 ./avc2ts/libyuv/infra
12 ./avc2ts/libyuv/build_overrides
16 ./avc2ts/libyuv/tools_libyuv/ubsan
12 ./avc2ts/libyuv/tools_libyuv/msan
16 ./avc2ts/libyuv/tools_libyuv/autoroller/unittests/testdata
36 ./avc2ts/libyuv/tools_libyuv/autoroller/unittests
60 ./avc2ts/libyuv/tools_libyuv/autoroller
24 ./avc2ts/libyuv/tools_libyuv/valgrind/memcheck
152 ./avc2ts/libyuv/tools_libyuv/valgrind
252 ./avc2ts/libyuv/tools_libyuv
92 ./avc2ts/libyuv/util
7672 ./avc2ts/libyuv/.git/objects/pack
4 ./avc2ts/libyuv/.git/objects/info
7680 ./avc2ts/libyuv/.git/objects
48 ./avc2ts/libyuv/.git/hooks
4 ./avc2ts/libyuv/.git/refs/tags
8 ./avc2ts/libyuv/.git/refs/heads
8 ./avc2ts/libyuv/.git/refs/remotes/origin
12 ./avc2ts/libyuv/.git/refs/remotes
28 ./avc2ts/libyuv/.git/refs
8 ./avc2ts/libyuv/.git/logs/refs/heads
8 ./avc2ts/libyuv/.git/logs/refs/remotes/origin
12 ./avc2ts/libyuv/.git/logs/refs/remotes
24 ./avc2ts/libyuv/.git/logs/refs
32 ./avc2ts/libyuv/.git/logs
8 ./avc2ts/libyuv/.git/info
4 ./avc2ts/libyuv/.git/branches
7836 ./avc2ts/libyuv/.git
396 ./avc2ts/libyuv/include/libyuv
404 ./avc2ts/libyuv/include
64 ./avc2ts/libyuv/docs
36 ./avc2ts/libyuv/unit_test/testdata
504 ./avc2ts/libyuv/unit_test
12532 ./avc2ts/libyuv
252 ./avc2ts/avc2ts-master
71404 ./avc2ts
8 ./FreqShow/.git/objects/56
8 ./FreqShow/.git/objects/7f
8 ./FreqShow/.git/objects/5f
8 ./FreqShow/.git/objects/2f
12 ./FreqShow/.git/objects/61
8 ./FreqShow/.git/objects/30
4 ./FreqShow/.git/objects/pack
8 ./FreqShow/.git/objects/06
8 ./FreqShow/.git/objects/fa
12 ./FreqShow/.git/objects/ae
12 ./FreqShow/.git/objects/fb
8 ./FreqShow/.git/objects/92
8 ./FreqShow/.git/objects/ad
8 ./FreqShow/.git/objects/d6
8 ./FreqShow/.git/objects/3d
12 ./FreqShow/.git/objects/1b
8 ./FreqShow/.git/objects/57
12 ./FreqShow/.git/objects/51
12 ./FreqShow/.git/objects/83
4 ./FreqShow/.git/objects/info
8 ./FreqShow/.git/objects/ce
8 ./FreqShow/.git/objects/d4
8 ./FreqShow/.git/objects/d0
8 ./FreqShow/.git/objects/b9
12 ./FreqShow/.git/objects/a5
8 ./FreqShow/.git/objects/3f
8 ./FreqShow/.git/objects/81
8 ./FreqShow/.git/objects/d9
248 ./FreqShow/.git/objects
48 ./FreqShow/.git/hooks
4 ./FreqShow/.git/refs/tags
8 ./FreqShow/.git/refs/heads
8 ./FreqShow/.git/refs/remotes/origin
12 ./FreqShow/.git/refs/remotes
28 ./FreqShow/.git/refs
8 ./FreqShow/.git/logs/refs/heads
8 ./FreqShow/.git/logs/refs/remotes/origin
12 ./FreqShow/.git/logs/refs/remotes
24 ./FreqShow/.git/logs/refs
32 ./FreqShow/.git/logs
8 ./FreqShow/.git/info
4 ./FreqShow/.git/branches
392 ./FreqShow/.git
460 ./FreqShow
4 ./pi-sdn-build/wiringPi
8 ./pi-sdn-build/.git/objects/7a
8 ./pi-sdn-build/.git/objects/ea
8 ./pi-sdn-build/.git/objects/b1
12 ./pi-sdn-build/.git/objects/42
8 ./pi-sdn-build/.git/objects/c2
8 ./pi-sdn-build/.git/objects/6b
8 ./pi-sdn-build/.git/objects/70
8 ./pi-sdn-build/.git/objects/16
8 ./pi-sdn-build/.git/objects/05
8 ./pi-sdn-build/.git/objects/ee
8 ./pi-sdn-build/.git/objects/61
12 ./pi-sdn-build/.git/objects/30
8 ./pi-sdn-build/.git/objects/90
4 ./pi-sdn-build/.git/objects/pack
16 ./pi-sdn-build/.git/objects/ae
8 ./pi-sdn-build/.git/objects/1d
8 ./pi-sdn-build/.git/objects/ed
8 ./pi-sdn-build/.git/objects/03
8 ./pi-sdn-build/.git/objects/74
8 ./pi-sdn-build/.git/objects/f0
8 ./pi-sdn-build/.git/objects/f4
8 ./pi-sdn-build/.git/objects/eb
8 ./pi-sdn-build/.git/objects/ad
8 ./pi-sdn-build/.git/objects/35
8 ./pi-sdn-build/.git/objects/3a
8 ./pi-sdn-build/.git/objects/15
8 ./pi-sdn-build/.git/objects/da
8 ./pi-sdn-build/.git/objects/a8
8 ./pi-sdn-build/.git/objects/ac
8 ./pi-sdn-build/.git/objects/cf
8 ./pi-sdn-build/.git/objects/00
8 ./pi-sdn-build/.git/objects/26
12 ./pi-sdn-build/.git/objects/ef
16 ./pi-sdn-build/.git/objects/d6
8 ./pi-sdn-build/.git/objects/d5
8 ./pi-sdn-build/.git/objects/31
8 ./pi-sdn-build/.git/objects/99
12 ./pi-sdn-build/.git/objects/cd
16 ./pi-sdn-build/.git/objects/fc
12 ./pi-sdn-build/.git/objects/39
8 ./pi-sdn-build/.git/objects/51
8 ./pi-sdn-build/.git/objects/60
8 ./pi-sdn-build/.git/objects/9e
12 ./pi-sdn-build/.git/objects/b2
8 ./pi-sdn-build/.git/objects/e9
8 ./pi-sdn-build/.git/objects/55
8 ./pi-sdn-build/.git/objects/75
8 ./pi-sdn-build/.git/objects/7b
8 ./pi-sdn-build/.git/objects/e1
8 ./pi-sdn-build/.git/objects/8b
4 ./pi-sdn-build/.git/objects/info
8 ./pi-sdn-build/.git/objects/6c
8 ./pi-sdn-build/.git/objects/14
8 ./pi-sdn-build/.git/objects/af
8 ./pi-sdn-build/.git/objects/b9
8 ./pi-sdn-build/.git/objects/11
8 ./pi-sdn-build/.git/objects/27
8 ./pi-sdn-build/.git/objects/25
8 ./pi-sdn-build/.git/objects/02
8 ./pi-sdn-build/.git/objects/b7
8 ./pi-sdn-build/.git/objects/d9
8 ./pi-sdn-build/.git/objects/07
16 ./pi-sdn-build/.git/objects/3e
556 ./pi-sdn-build/.git/objects
48 ./pi-sdn-build/.git/hooks
4 ./pi-sdn-build/.git/refs/tags
8 ./pi-sdn-build/.git/refs/heads
8 ./pi-sdn-build/.git/refs/remotes/origin
12 ./pi-sdn-build/.git/refs/remotes
28 ./pi-sdn-build/.git/refs
8 ./pi-sdn-build/.git/logs/refs/heads
8 ./pi-sdn-build/.git/logs/refs/remotes/origin
12 ./pi-sdn-build/.git/logs/refs/remotes
24 ./pi-sdn-build/.git/logs/refs
32 ./pi-sdn-build/.git/logs
8 ./pi-sdn-build/.git/info
4 ./pi-sdn-build/.git/branches
700 ./pi-sdn-build/.git
740 ./pi-sdn-build
164 ./rpidatv/doc/img
540 ./rpidatv/doc
25412 ./rpidatv/bin
44 ./rpidatv/scripts/utils
980 ./rpidatv/scripts/images
240 ./rpidatv/scripts/configs/freqshow
336 ./rpidatv/scripts/configs
1792 ./rpidatv/scripts
224 ./rpidatv/video
168 ./rpidatv/src/hello_video
24 ./rpidatv/src/rptr
16 ./rpidatv/src/siggen/fontutil
2548 ./rpidatv/src/siggen
20 ./rpidatv/src/streamrx
16 ./rpidatv/src/xy/fontutil
2364 ./rpidatv/src/xy
12 ./rpidatv/src/tstools/data
12144 ./rpidatv/src/tstools/bin
1648 ./rpidatv/src/tstools/lib
88 ./rpidatv/src/tstools/python/tstools
128 ./rpidatv/src/tstools/python
96 ./rpidatv/src/tstools/docs/mdoc
228 ./rpidatv/src/tstools/docs
2316 ./rpidatv/src/tstools/obj
8 ./rpidatv/src/tstools/yuv2/bin
100 ./rpidatv/src/tstools/yuv2/src/com/aminocom/yuv2
104 ./rpidatv/src/tstools/yuv2/src/com/aminocom
108 ./rpidatv/src/tstools/yuv2/src/com
116 ./rpidatv/src/tstools/yuv2/src
136 ./rpidatv/src/tstools/yuv2
8 ./rpidatv/src/tstools/debian/source
36 ./rpidatv/src/tstools/debian
18708 ./rpidatv/src/tstools
16 ./rpidatv/src/avc2ts/libmpegts/smpte
40 ./rpidatv/src/avc2ts/libmpegts/dvb
20 ./rpidatv/src/avc2ts/libmpegts/crc
8 ./rpidatv/src/avc2ts/libmpegts/isdb
16 ./rpidatv/src/avc2ts/libmpegts/cablelabs
24 ./rpidatv/src/avc2ts/libmpegts/hdmv
16 ./rpidatv/src/avc2ts/libmpegts/atsc
524 ./rpidatv/src/avc2ts/libmpegts
2340 ./rpidatv/src/avc2ts
156 ./rpidatv/src/limesdr_toolbox/CMakeFiles/limesdr_send.dir
4 ./rpidatv/src/limesdr_toolbox/CMakeFiles/CMakeTmp
36 ./rpidatv/src/limesdr_toolbox/CMakeFiles/3.7.2/CompilerIdCXX
36 ./rpidatv/src/limesdr_toolbox/CMakeFiles/3.7.2/CompilerIdC
116 ./rpidatv/src/limesdr_toolbox/CMakeFiles/3.7.2
148 ./rpidatv/src/limesdr_toolbox/CMakeFiles/limesdr_forward.dir
148 ./rpidatv/src/limesdr_toolbox/CMakeFiles/limesdr_dump.dir
80 ./rpidatv/src/limesdr_toolbox/CMakeFiles/limesdr_stopchannel.dir
756 ./rpidatv/src/limesdr_toolbox/CMakeFiles
8 ./rpidatv/src/limesdr_toolbox/cmake/Modules
12 ./rpidatv/src/limesdr_toolbox/cmake
1136 ./rpidatv/src/limesdr_toolbox
16 ./rpidatv/src/leansdr/test
548 ./rpidatv/src/leansdr/src/apps
192 ./rpidatv/src/leansdr/src/leansdr
744 ./rpidatv/src/leansdr/src
812 ./rpidatv/src/leansdr
516 ./rpidatv/src/DvbTsToIQ
72 ./rpidatv/src/adf4351
168 ./rpidatv/src/hello_video2
80 ./rpidatv/src/libdvbmod/DVB-T
156 ./rpidatv/src/libdvbmod/DVB-S2
988 ./rpidatv/src/libdvbmod/lib
40 ./rpidatv/src/libdvbmod/DVB-S
296 ./rpidatv/src/libdvbmod/obj/DVB-T
640 ./rpidatv/src/libdvbmod/obj/DVB-S2
56 ./rpidatv/src/libdvbmod/obj/DVB-S
1048 ./rpidatv/src/libdvbmod/obj
2352 ./rpidatv/src/libdvbmod
16 ./rpidatv/src/gui/fontutil
4108 ./rpidatv/src/gui
64 ./rpidatv/src/atten
8 ./rpidatv/src/pi-sdn
24 ./rpidatv/src/keyedtx
36080 ./rpidatv/src
64144 ./rpidatv
172044 .
pi@raspberrypi:~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15240048 1776804 12811444 13% /
devtmpfs 443724 0 443724 0% /dev
tmpfs 448332 0 448332 0% /dev/shm
tmpfs 448332 5996 442336 2% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 448332 0 448332 0% /sys/fs/cgroup
tmpfs 10240 128 10112 2% /home/pi/tmp
/dev/mmcblk0p1 43539 22444 21096 52% /boot
tmpfs 89664 0 89664 0% /run/user/1000
pi@raspberrypi:~ $

This is all ‘out of the box’ – I haven’t touched anything as I don’t know a lot about these things.

Life can go on despite this but there’s obviously something not quite right.

73 Richard GI4DOH

G8GKQ
Site Admin
Posts: 1206
Joined: Sun Mar 22, 2009 1:21 pm

Re: Portsdown hanging after repeated transmissions

Post by G8GKQ » Sat Apr 13, 2019 3:41 pm

Hi Richard

I can understand your frustration, but please remember that this is a community project, not a commercial product. During the early days of Portsdown releases I was pleased to get it to transmit 3 times in a row - let alone 24 times!

The error message

Code: Select all

rpidatvgui: oglinit.c:147: oglinit: Assertion `state->surface != EGL_NO_SURFACE' failed.
suggests that the problem is in the way that the Portsdown uses the graphics driver used to paint the touchscreen https://github.com/ajstarks/openvg. There may be a resource (a surface?) that is not being released prior to being recreated. I will try to fix it in due course, but it is not high on my priority list.

For outputting varying levels of RF (carrier or H264 video), the Signal Generator function of the Portsdown is ideal, as the output level can be varied without dropping carrier. However, due to the requirement for the LimeSDR to be calibrated prior to each transmission, I have not yet integrated the LimeSDR with the signal generatior code. The SigGen does work well with the Portsdown filter-modulator board and the DATV Express modulator board.

You can work around your problem without restarting the Portsdown (I think). If you get to the command line once the touchscreen has frozen, simply enter the command

Code: Select all

/home/pi/rpidatv/scripts/utils/guir.sh
and this will restart the touchscreen process.

I hope that explains the situation.

73

Dave, G8GKQ

GI4DOH
Posts: 14
Joined: Mon Mar 26, 2018 8:44 pm

Re: Portsdown hanging after repeated transmissions

Post by GI4DOH » Sat Apr 13, 2019 8:04 pm

Hi Dave

It's not a major problem thanks - just one that is at least repeatable - better the devil you know etc. The two issues are both with the Portsdown 2018 config - my only concern with the carrier only one is that I can't get to the command line and do a clean shutdown and the kill switch doesn't work - but it it isn't doing anything then nothing will be corrupted in the power down sequence. With the full modulated signal issue the kill switch works and I can log in and reboot - spoilt for choice. I thought perhaps the fact that it was after 24 transmissions might quickly point the finger at something simple.

I've noted your comment on being able to change the level while in Sig Gen mode - that will save me some button pushing thanks. The ability to change signal levels in 1dB steps with the attenuator board is very useful for playing with bias and drive levels in associated amplifiers - brilliant stuff thanks.

73 Richard GI4DOH

G8GKQ
Site Admin
Posts: 1206
Joined: Sun Mar 22, 2009 1:21 pm

Re: Portsdown hanging after repeated transmissions

Post by G8GKQ » Sat Apr 13, 2019 8:08 pm

Thanks Richard

Yes - I reproduced the carrier crash this afternoon. It seems to totally stall the RPi, but it gives no prior warning of being short of memory or CPU power. I will keep looking at both issues as it is useful to be able to reproduce the problems - I might find the cause....

73

Dave

GI4DOH
Posts: 14
Joined: Mon Mar 26, 2018 8:44 pm

Re: Portsdown hanging after repeated transmissions

Post by GI4DOH » Sat Apr 13, 2019 8:28 pm

Many lives ago in system integration and test in System X telephone exchange development, everything was centred around automatic self diagnosis with 2 out of 3 majorities, belts and braces etc and we found almost as many bugs in the diagnostic side as in the core functionality. Technology has changed but the frustration factor is just the same. Keep up the good work Dave.

Richard

Post Reply

Return to “The Portsdown Digital Transmitter Project”