aarch64 container problem on x86_64

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

aarch64 container problem on x86_64

Postby zebul666 » Mon Nov 10, 2025 10:41 pm

I had a rpi aarch64 systemd-nspawn container on x86_64

And I now I can't even get a prompt when I run [code]systemd-nspawn --bind-ro /etc/resolv.conf -M sinope -D archlinuxARM-aarch64-sinope[/code]

It also happened with an arm7 rpi container.

When I use arch-chroot instead. the terminal is not workiing properly where tab or uparrow does not work in bash.
tmux and other tty related comand are broken (like less)

I can now reproduce the problem by downloading the latest ArchlinuxARM-rpi-aarch64-latest.tar.gz from today 2025-11-10.
If I use it like that it's ok. But if I run [code]pacman -Syu[/code] in the container, and exit it. I can't re enter because I never get a prompt on the next systemd-nspawn.

I tried to downagrade systemd, binutils. But this changed nothing.

All I can say if something is broken after upgrading:

[code]binutils 2.44-1 -> 2.45+r29+g2b2e51a31ec7-1
curl 8.16.0-1 -> 8.17.0-1
device-mapper 2.03.36-1 -> 2.03.36-2
glib2 2.86.1-1 -> 2.86.1-1.1
glibc 2.41+r6+gcf88351b685d-1 -> 2.42+r17+gd7274d718e6f-1
hwdata 0.400-1 -> 0.401-1
iana-etc 20250612-1 -> 20251030-1
libelf 0.194-1 -> 0.194-1.1
libsysprof-capture 49.0-1 -> 49.0-1.1
libxcrypt 4.4.38-1 -> 4.5.1-1
linux-aarch64 6.17.7-2 -> 6.17.7-3
mkinitcpio 39.2-5 -> 40-1
raspberrypi-bootloader 20251031-1 -> 20251104-1
sqlite 3.50.4-2 -> 3.51.0-1
systemd 258.1-1 -> 258.2-1
systemd-libs 258.1-1 -> 258.2-1
systemd-resolvconf 258.1-1 -> 258.2-1
systemd-sysvcompat 258.1-1 -> 258.2-1[/code]

The containers are not booted (no -b)
zebul666
 
Posts: 59
Joined: Fri Jul 10, 2015 4:55 pm

Re: aarch64 container problem on x86_64

Postby neo1973 » Tue Nov 11, 2025 12:29 am

I can confirm the problem with an armv7h rpi container as well.

The problems seems to be glibc, if I update everything except glibc (keep version 2.41+r6+gcf88351b685d-1) the problem doesn't occur.
neo1973
 
Posts: 12
Joined: Sun May 09, 2021 3:06 pm

Re: aarch64 container problem on x86_64

Postby neo1973 » Sat Nov 15, 2025 10:51 pm

Ahh, it looks like the problem is actually with qemu:make_clickable_callback(MAGIC_URL_FULL, ' ', 'https://gitlab.com/qemu-project/qemu/-/issues/3065', '', ' class="postlink"')
neo1973
 
Posts: 12
Joined: Sun May 09, 2021 3:06 pm

Re: aarch64 container problem on x86_64

Postby zebul666 » Sun Nov 16, 2025 8:45 am

thanks to let us know.

So there is no point in downgrading qemu, because the missing feature still woulnd't be there, right?
zebul666
 
Posts: 59
Joined: Fri Jul 10, 2015 4:55 pm

Re: aarch64 container problem on x86_64

Postby neo1973 » Sun Nov 16, 2025 12:59 pm

That's correct. There is a little activity on the mailing list regarding this topic but progress seems to be slow. Lets hope that this is implemented by the end of the year.
neo1973
 
Posts: 12
Joined: Sun May 09, 2021 3:06 pm

Re: aarch64 container problem on x86_64

Postby graysky » Sun Nov 16, 2025 4:29 pm

My first time using systemd-nspawn but I am seeing no such problems running aarch64.

systemd-nspawn -D /var/lib/machines/arm64-container /bin/bash
graysky
Developer
 
Posts: 1900
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: aarch64 container problem on x86_64

Postby neo1973 » Sun Nov 16, 2025 6:06 pm

Previously I tried "arch-chroot -S" which also uses systemd-nspawn. But never the less the command tty says "not a tty", top says "top: failed tty get" and problems like that. Using systemd-nspawn directly has the same problem.

The system is still usable to some degree but the lack of an interactive shell makes things very difficult.
neo1973
 
Posts: 12
Joined: Sun May 09, 2021 3:06 pm

Re: aarch64 container problem on x86_64

Postby zebul666 » Mon Nov 17, 2025 11:47 am

yes, I am using arch-chroot as a fallback, but it is less than ideal, with some command broken, and the shell hard to use interactively
arch-chroot use chroot, right?

@graysky; we are a least 2 to get the problem. Do you run an arm64 host machine ? What is your glibc guest version? I don't know why you don't see the problem.
arch-chroot has the same problem. not the same symptoms
zebul666
 
Posts: 59
Joined: Fri Jul 10, 2015 4:55 pm

Re: aarch64 container problem on x86_64

Postby graysky » Tue Nov 18, 2025 8:10 am

Ah, not x86_64 host/aarch64 container.
graysky
Developer
 
Posts: 1900
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 9 guests