chroot using qemu-x86_64-static fails on ppc64el
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
pranith |
Bug Description
When attempting to use qemu-x86_64-static from qemu 2.5.0 on a ppc64el host to chroot into an amd64 environment, all commands fail with an assertion error. /usr/bin/
Sample output illustrating the problem, as well as bash builtins working:
# chroot /virtualbox/
# ls
bash: ../sysdeps/
setup_frame: not implemented
setup_frame: not implemented
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
setup_frame: not implemented
setup_frame: not implemented
# echo TEST
TEST
# cat test
bash: ../sysdeps/
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
It is currently unknown if other host architectures (e.g. aarch64) are also affected.
tags: | added: ppc |
tags: | added: amd64 chroot usermode |
Changed in qemu: | |
assignee: | nobody → Timothy Pearson (kb9vqf) |
Changed in qemu: | |
assignee: | Timothy Pearson (kb9vqf) → pranith (bobby-prani) |
status: | In Progress → Fix Committed |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
We don't have an implementation of the target-specific signal handling code for the x86-64 guest. Anything that cares about signals therefore won't work with this target.
In general the x86-64 guest support for linux-user isn't very good; ARM or AArch64 guest should behave rather better.