openwrt / openwrt/packages

podman: podman-run returns "Illegal instruction" on rpi1

Open
#25,514 1 comment 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: @1715173329
Environment:

  • Raspberry Pi Model B Plus Rev 1.2
  • ARMv6-compatible processor rev 7 (v6l)
  • OpenWrt 23.05.5 r24106-10cc5fcd00
  • Kernel 5.15.167

Description:

After installing podman as instructed in User Guide, executing podman leads to Illegal Instruction:

root@stargate:~# date ; podman ; date
Sat Dec  7 15:56:24 -03 2024
Illegal instruction
Sat Dec  7 15:56:24 -03 2024
root@stargate:~#

Since Rpi1 is armv6l hard-float, maybe binary compiled with wrong struction set?

root@stargate:~# file /usr/bin/podman
/usr/bin/podman: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, Go BuildID=TPlfvQmPu5WLjGWnJhdr/vzYKWsLm-Hn-wVY-p-FG/o5IEHg69P3KSODy8xUoc/k1gGMGjV2a5TqJieh93U, stripped
root@stargate:~# file /bin/bash
/bin/bash: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, no section header
root@stargate:~#

Thanks!

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

Reproduce the failure on the listed Raspberry Pi/OpenWrt environment and inspect /usr/bin/podman alongside /bin/bash, focusing on the reported ARMv6 compatibility and build metadata. Done means the packaged podman command runs on the ARMv6 system without an illegal-instruction failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.