Comments (5)
Currently I have no idea why this happens. Some observations and thoughts:
- Building the baseline images for arm32v7 works flawlessly.
- Might there be some woes because this was running on an AMD CPU, specifically an AMD Ryzen 5 3600 6-Core Processor (Zen2) [1]?
[1] cat /proc/cpuinfo | grep "model name" | uniq
from kotori.
Hi again,
in this post we outline a minimal example how to reproduce the problem.
-
Follow the first few sections of https://getkotori.org/docs/development/releasing/packaging.html, specifically
1.1. Install Docker
1.2. Install more packages to support multiarch builds:apt-get install qemu-user-static binfmt-support
-
Invoke this
docker run
command, targetingarm64v8
:
docker run --pull --rm -it --env DEBIAN_FRONTEND=noninteractive arm64v8/debian:bullseye-slim dpkg-reconfigure libc-bin
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
- As mentioned above, targeting
arm32v7
has no issues:
docker run --pull --rm -it --env DEBIAN_FRONTEND=noninteractive arm32v7/debian:bullseye-slim dpkg-reconfigure libc-bin
With kind regards,
Andreas.
from kotori.
Hi again,
at moby/moby#43039 (comment), we found a solution to this problem. Apparently, we needed a more recent version of qemu-aarch64-static
. While it didn't work with version 4.2.1, version 5.0.0 from [1] works like a charm.
$ docker run --pull --rm -it arm64v8/debian:bullseye-slim /bin/sh -c "ldconfig --version"
ldconfig (Debian GLIBC 2.31-13+deb11u2) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Andreas Jaeger.
With kind regards,
Andreas.
[1] http://security.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user-static_5.0-5ubuntu9.9_amd64.deb
from kotori.
With 3b029ca, we just updated the documentation and added this to the troubleshooting section, see [2].
[2] https://getkotori.org/docs/development/releasing/packaging.html#troubleshooting
from kotori.
Others are also confirming that this has been resolved with Qemu 5, see [3].
[3] https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1928075/comments/15
from kotori.
Related Issues (20)
- docker-compose up is taking very long HOT 2
- Video tutorial HOT 1
- Panels are not updated on instant dashboards after update to Grafana 9.3.1 and Kotori 0.27.0 HOT 1
- Support new devices for DAQ-SIG
- Add ISEMS project to gallery
- Add "Well Depth Monitor" to project gallery
- Grafana: Adjust a few integration details
- Error channel reports `'NoneType' object has no attribute 'endswith'`
- Docker is sunsetting Free Team organizations HOT 5
- [Proposal] Add a generic device-based addressing scheme for "WAN" networks HOT 1
- Modernize firmware builder to use PlatformIO
- bunch ยป munch ยป benedict
- Support FIWARE NGSI-LD, NGSIv2, and Ultralight 2.0 protocols
- Support Sparkplug MQTT protocol HOT 2
- Make plumbing less opinionated
- Receiving telemetry data via UDP HOT 1
- Support for InfluxDB 2.x HOT 7
- Support receiving data via AMQP
- Problem when using unicode characters in channel name or field name
- Unhandled exception: module 'pandas' has no attribute 'tslib' HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotori.