Re: [PATCH v3 0/2] nolibc: Add fallocate()
From: Thomas Weißschuh
Date: Mon May 04 2026 - 11:33:57 EST
On 2026-05-04 10:46:29+0900, Daniel Palmer wrote:
> On Mon, 4 May 2026 at 01:21, Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote:
> > Can you elaborate on what is broken?
> >
> > > sparc32 doesn't seem to support fallocate() so made it skip
> > > the test.
> > > - Rebase on nolibc/for-next with the large file support bits.
> >
> > (...)
>
> For loongarch I seem to be missing OVMF:
>
> qemu-system-loongarch64 -display none -no-reboot -kernel
> "/home/daniel/.cache/nolibc-tests/loongarch/arch/loongarch/boot/vmlinuz.efi"
> -initrd initramfs.cpio -serial file:/dev/stdout -m 1G
> -M virt -append "console=ttyS0,115200 panic=-1 " -bios
> /usr/share/edk2//loongarch64/OVMF_CODE.fd >
> "/home/daniel/coding/cleantrees/linux-nolibc/tools/testing/selftests/nolibc/run.out"
> qemu-system-loongarch64: Could not find ROM image
> '/usr/share/edk2//loongarch64/OVMF_CODE.fd'
> make: *** [Makefile.nolibc:341: run] Error 1
>
> Debian doesn't seem to have a package for this.
There is this in trixie:
https://packages.debian.org/trixie/all/qemu-efi-loongarch64
Unfortunately the path to the firmware files differ between distros and
QEMU versions. There are standard JSON descriptors which could be
queried but no tool for that is provided...
(...)
> For sh4, qemu-system-sh4 is 100% on one CPU and the test never
> completes. I guess it's getting stuck during boot.
See commit b0aa5e4b087b ("sh: Fix fallout from ZERO_PAGE
consolidation"). I now merged v7.1-rc2 into the nolibc tree to get
this fix.
Thomas