I am trying to run Concentratord on a RPi 4 with Pi Supply lora gateway hat but it crashes with the following message:
thread ‘main’ panicked at chirpstack-concentratord-sx1301/src/main.rs:111:80:
calledResult::unwrap()
on anErr
value: lgw_start failed
note: run withRUST_BACKTRACE=1
environment variable to display a backtrace
Enabling backtrace doesn’t give any more information the binary doesn’t have debug symbols. The log doesn’t give any error messages neither.
However, if I run the binary with strace to see what it does when it crash then it works fine. Hence I suspect that the root cause is some kind of race condition, that is usually the case when it works running it with strace since then it is a bit slower. That means that the hw configuration should be ok. Spi, uart and i2c_arm are on.
The same hardware works fine with Gateway OS.