openwrt / openwrt/packages

rtl-sdr : zero copy issues fixed in master at osmocom, not yet in a release

Open
#9,630 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: @TimelessNL
Environment: ARM

Info only, not in a release yet but useful for those that get this error when using rtl_sdr based things on ARM targets
Reading samples in async mode...

...
Allocating 15 zero-copy buffers
[  149.076639] Unhandled fault: external abort on non-linefetch (0x008) at 0xb6e6f000
[  149.076691] pgd = b35b6ccd
[  149.083110] [b6e6f000] *pgd=8e53e835, *pte=9250f71f, *ppte=9250fe7f
Bus error

Description:
Osmocom recently pushed a fix for the zero-copy buffer issue on Arm targets to their master branch ( its not a in a release yet ) but this fixes a crash on OpenWRT ARM targets ( IPQ4019, Rpi etc ) for people that run rtl_sdr or related applications ( rtl_433, adsb, rtl_ais etc ) on their routers.

commit is here

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 by reviewing the linked osmocom/rtl-sdr commit and the OpenWrt package entry for rtl-sdr. Check how the package currently obtains its source and whether the upstream zero-copy fix can be incorporated. Done means rtl_sdr-based applications no longer hit the reported bus error on ARM targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.