sx1302_hal: packet forwarder hang after few hours
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
sx1302_hal
Maintainer
@paulferster
OpenWrt Version
23.05
OpenWrt Target/Subtarget
at91/sama5
Steps to Reproduce
- Configure packet forwarder in EU.USB json file
- Start packet forwarder with /etc/init.lora_pkt_fw start
- Observe logread -f for few hour
Actual Behaviour
after few hour (random) main task and uplink thread stop , only downlink and others thread remain running. Seams that uplink threa in a lgw_receive step acquire the mutex but lgw_receive do not return and then no mutex release do the main task that try to acquire mutex remain locked.
Did tou reach similar issue during your test ?
Thanks in advance
Best Regards
Fabio
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the sx1302_hal package and reproduce the hang using the EU.USB JSON configuration and /etc/init.lora_pkt_fw start. Observe logread -f while checking the main task, uplink thread, and lgw_receive mutex behavior. Done means identifying and resolving the condition that leaves lgw_receive blocked and prevents the main task from progressing.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100