openwrt / openwrt/packages

sx1302_hal: packet forwarder hang after few hours

Open
#27,636 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug release/23.05
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
  1. Configure packet forwarder in EU.USB json file
  2. Start packet forwarder with /etc/init.lora_pkt_fw start
  3. 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.