[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1821006] Re: qemu: Unsupported syscall: 382
From: |
Alexey Gavrilov |
Subject: |
[Qemu-devel] [Bug 1821006] Re: qemu: Unsupported syscall: 382 |
Date: |
Tue, 26 Mar 2019 06:43:16 -0000 |
Yes, you are right the application works correctly. At least the result
is expected.
Vesion kernel
address@hidden:~$ uname -a
Linux unit6 4.9.0-8-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.144-3.1 (2019-02-19)
x86_64 GNU/Linux
Host debian 9
quest debian 10
quest glib version
address@hidden:/app# apt list | grep libc
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
libc-bin/now 2.28-7 armhf [installed,local]
libc6/now 2.28-7 armhf [installed,local]
Examining the build source. I found an option
MIN_KERNEL_SUPPORTED := 3.2
I also tried to repeat through chroot. a message also appears.
https://wiki.debian.org/Arm64Qemu I use armhf.
qemu-debootstrap --arch=armhf --keyring
/usr/share/keyrings/debian-archive-keyring.gpg --variant=buildd
--exclude=debfoster buster debian-armhf http://ftp.debian.org/debian
chroot debian-armhf/
apt-get install -y --no-install-recommends ca-certificates curl
...
debconf: falling back to frontend: Readline
Updating certificates in /etc/ssl/certs...
qemu: Unsupported syscall: 382
128 added, 0 removed; done.
Setting up libgssapi-krb5-2:armhf (1.17-2) ...
Setting up libcurl4:armhf (7.64.0-1) ...
Setting up curl (7.64.0-1) ...
Processing triggers for libc-bin (2.28-8) ...
Processing triggers for ca-certificates (20190110) ...
...
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821006
Title:
qemu: Unsupported syscall: 382
Status in QEMU:
New
Bug description:
I used
qemu-user-static/stable,stable,now 1:2.8+dfsg-6+deb9u5 amd64
[installed]
When I try to build an image of a docker for an arm, an error occurs.
This affects the operation of applications.
Dockerfile
ARG ARCH
FROM ${ARCH}/debian:buster-slim
RUN \
printf "Install dependencies...\n" && \
apt-get update && \
apt-get install -y --no-install-recommends ca-certificates curl
RUN curl https://google.com
EOF
The command that I run
docker build --build-arg ARCH=arm32v7 --file ./Dockerfile -t test .
address@hidden:/lib/binfmt.d# cat qemu-arm-static.conf
:qemu-arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:F
Here is a related discussion.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923479
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821006/+subscriptions
- [Qemu-devel] [Bug 1821006] [NEW] qemu: Unsupported syscall: 382, Alexey Gavrilov, 2019/03/20
- [Qemu-devel] [Bug 1821006] Re: qemu: Unsupported syscall: 382, Peter Maydell, 2019/03/25
- [Qemu-devel] [Bug 1821006] Re: qemu: Unsupported syscall: 382, Peter Maydell, 2019/03/25
- [Qemu-devel] [Bug 1821006] Re: qemu: Unsupported syscall: 382,
Alexey Gavrilov <=
- [Qemu-devel] [Bug 1821006] Re: qemu: Unsupported syscall: 382, Alexey Gavrilov, 2019/03/26
- [Qemu-devel] [Bug 1821006] Re: qemu: Unsupported syscall: 382, Peter Maydell, 2019/03/26
- [Qemu-devel] [Bug 1821006] Re: qemu: Unsupported syscall: 382, Alexey Gavrilov, 2019/03/26