From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4fQCkL5fPsz32fl for ; Tue, 03 Mar 2026 11:09:46 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4fQCkH20SMz2xMK for ; Tue, 03 Mar 2026 11:09:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4fQCkG23mlz2kD; Tue, 03 Mar 2026 11:09:42 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1772536182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K+T3XRWsrljeUeZONst/ahZgQ76/SpJ9v6j2jl7zuLI=; b=a4wfdxVtT2S5iTqHAi063TYWol6QGw/fY/Mz/JAZEJpyTf4Kp9TZ8EUt+qtgp+dr24vE30 6IozoiVgQMnTprCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1772536182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K+T3XRWsrljeUeZONst/ahZgQ76/SpJ9v6j2jl7zuLI=; b=qwccrPS4vasKT9llWRKqRXbDkbyUuh7vhs/GUIXpCxXdGzhpBX1qSMaOD/17cy5Tm7LUzW JmuZY4TuwOjgPtXSn8aq0cXvdoLWKvsAQaMd8/hePQ9x37KRYhKrmoowPf+nuZ0fuPCb08 X4ZB2sIvAIcD3inq8K2vglUmeTrOfThbd+r06+/oKNdsivz2OdU9teCgAh3Rm2u9GPJIWC EVdGPY8Qqr9XWYh67ZOQUnxWtqHKEVVxHFJh5b7HyYPku7L69dcDh2w+7f0WAOVWv67d5X D1ec18273QauUEqcCOATaTPee4TDPJw1pcm2uegZxzhEErQS4gSLomu9xjPZKw== Content-Type: text/plain; charset=utf-8 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: Problem with building cdrom step From: Michael Tremer In-Reply-To: <00fa6d59-93f4-49d8-8c0a-1ae0bf695840@ipfire.org> Date: Tue, 3 Mar 2026 11:09:41 +0000 Cc: "IPFire: Development-List" Content-Transfer-Encoding: quoted-printable Message-Id: <0482A60D-B785-47AC-AE30-09CFAA9CAB67@ipfire.org> References: <00fa6d59-93f4-49d8-8c0a-1ae0bf695840@ipfire.org> To: Adolf Belka Hello Adolf, Oh, my favourite hobby, loop devices in containers. They are such fun. I would most likely expect the kernel to have added any restrictions, = but in a release cycle, this would be a very surprising. Could you do the following for me: * Enter the shell with ./make.sh shell * Create a temporary file: dd if=3D/dev/zero of=3D/tmp/test.img bs=3D1k = count=3D2880 * Put a FAT32 filesystem on it: mkdosfs -F 12 -n "IPFIRE_EFI=E2=80=9D = test.img * Mount the image: mount -o loop test.img /mnt, this should fail * And so that we have some debugging information, could you run the = mount comment with strace in front of it, so that we see which syscall = it is that is failing. -Michael > On 3 Mar 2026, at 11:04, Adolf Belka wrote: >=20 > Hi All, >=20 > I mentioned this issue in yesterday's conf call. I was still waiting = for the results of a complete standard set of packages based on a git = pull from morning of 2nd March. > That also failed in cdrom. >=20 > I had a working build on 27th Feb and the only IPFire package updates = since then are the ones I built on the 27th Feb. >=20 > However my Arch Linux system has had an update on 2nd March just = before I did my build so the issue may be coming from those updates. >=20 > The error message I get is the following: >=20 > # Build a GRUB EFI image > mkdir -pv /tmp/cdrom/EFI/BOOT > mkdir: created directory '/tmp/cdrom/EFI' > mkdir: created directory '/tmp/cdrom/EFI/BOOT' > grub-mkimage \ > --format=3Dx86_64-efi \ > --output=3D/tmp/cdrom/EFI/BOOT/bootx64.efi \ > --config=3D/tmp/grub-efi.cfg \ > --compression=3Dxz \ > --prefix=3D/EFI/BOOT \ > $(for mod in all_video at_keyboard boot bitmap_scale cat chain = configfile disk echo efi_gop efi_uga ext2 extcmd fat file font = fxterm_menu gfxterm gfxmenu gfxterm_background gzio halt help iso9660 = jpeg loadbios loadenv loopback linux ls memdisk minicmd nativedisk = normal ntfs part_gpt part_msdos png probe reboot regexp search = search_fs_file search_fs_uuid search_label tar test tga true = usb_keyboard; do [ -f "/usr/lib/grub/x86_64-efi/${mod}.mod" ] && echo = "${mod}"; done) > # Install GRUB configuration > mkdir -pv /tmp/cdrom/EFI/BOOT > sed -e "s/NAME/IPFire/g" -e "s/VERSION/2.29/g" -e "s/ARCH/x86_64/g" \ > < /usr/src/config/cdrom/grub.cfg > /tmp/cdrom/EFI/BOOT/grub.cfg > # Create the EFI Eltorito image > dd if=3D/dev/zero of=3D/tmp/cdrom/boot/isolinux/efiboot.img bs=3D1k = count=3D2880 > 2880+0 records in > 2880+0 records out > 2949120 bytes (2.9 MB, 2.8 MiB) copied, 0.0038391 s, 768 MB/s > mkdosfs -F 12 -n "IPFIRE_EFI" /tmp/cdrom/boot/isolinux/efiboot.img > mkfs.fat 4.2 (2021-01-31) > # Mount the EFI image > mkdir -pv /tmp/efiboot.img > mkdir: created directory '/tmp/efiboot.img' > mount -o loop /tmp/cdrom/boot/isolinux/efiboot.img /tmp/efiboot.img > mount: /tmp/efiboot.img: failed to setup loop device for = /tmp/cdrom/boot/isolinux/efiboot.img. > make: *** [cdrom:188: /usr/src/log/cdrom] Error 32 > make: Leaving directory '/usr/src/lfs' >=20 > The Arch Linux update had a lot of changes. The update prior to that = one was 5 days ago. > Here is a list of the update changes in the various packages. Not sure = if any of those could be causing the problem of not being able to setup = the loop device. >=20 > upgraded iana-etc (20260203-1 -> 20260225-2) > upgraded systemd-libs (259.1-1 -> 259.2-1) > upgraded libngtcp2 (1.20.0-1 -> 1.21.0-1) > upgraded ca-certificates-mozilla (3.120.1-1 -> 3.121-1) > upgraded file (5.46-5 -> 5.47-1) > upgraded systemd (259.1-1 -> 259.2-1) > upgraded accountsservice (23.13.9-3 -> 25.34.76-2) > upgraded adwaita-fonts (49.0-2 -> 50.0-1) > upgraded libksba (1.6.7-2 -> 1.6.8-1) > upgraded archlinux-keyring (20260206-1 -> 20260301-1) > upgraded libmaxminddb (1.12.2-2 -> 1.13.2-1) > upgraded bind (9.20.19-1 -> 9.20.20-1) > upgraded bluez (5.86-2 -> 5.86-4) > upgraded bluez-libs (5.86-2 -> 5.86-4) > upgraded bluez-utils (5.86-2 -> 5.86-4) > upgraded bubblewrap (0.11.0-1 -> 0.11.0-2) > upgraded compiler-rt (21.1.8-1 -> 21.1.8-2) > upgraded deno (2.6.10-1 -> 2.7.1-1) > upgraded dtkcommon (5.7.30-1 -> 6.7.31-1) > upgraded nss (3.120.1-1 -> 3.121-1) > upgraded v4l-utils (1.32.0-1 -> 1.32.0-2) > upgraded mesa (1:25.3.5-1 -> 1:26.0.1-1) > upgraded xkeyboard-config (2.46-1 -> 2.47-1) > upgraded firefox (147.0.4-1 -> 148.0-1) > upgraded firefox-i18n-en-gb (147.0.4-1 -> 148.0-1) > upgraded fmt (12.1.0-1 -> 12.1.0-2) > upgraded gstreamer (1.28.0-2 -> 1.28.1-1) > upgraded gst-plugins-base-libs (1.28.0-2 -> 1.28.1-1) > upgraded gst-libav (1.28.0-2 -> 1.28.1-1) > upgraded gst-plugins-bad-libs (1.28.0-2 -> 1.28.1-1) > upgraded gst-plugins-base (1.28.0-2 -> 1.28.1-1) > upgraded gst-plugins-good (1.28.0-2 -> 1.28.1-1) > upgraded mdadm (4.4-2 -> 4.5-2) > upgraded gvfs (1.58.1-1 -> 1.58.2-1) > upgraded gvfs-mtp (1.58.1-1 -> 1.58.2-1) > upgraded intel-media-driver (25.3.4-2 -> 25.4.6-1) > upgraded ldb (2:4.23.5-1 -> 2:4.23.6-1) > upgraded libfyaml (0.9.4-1 -> 0.9.5-1) > upgraded libldac (2.0.2.3-2 -> 2.0.2.3-3) > upgraded libwbclient (2:4.23.5-1 -> 2:4.23.6-1) > upgraded linux (6.18.9.arch1-2 -> 6.18.13.arch1-1) > upgraded linux-headers (6.18.9.arch1-2 -> 6.18.13.arch1-1) > upgraded lzip (1.25-2 -> 1.25-3) > upgraded nodejs (25.6.1-2 -> 25.7.0-1) > installed openjph (0.26.3-3) > upgraded openexr (3.4.5-1 -> 3.4.6-1) > upgraded openmpi (5.0.9-4 -> 5.0.10-1) > upgraded python-chardet (5.2.0-7 -> 6.0.0.post1-1) > upgraded python-requests (2.32.5-3 -> 2.32.5-4) > upgraded smbclient (2:4.23.5-1 -> 2:4.23.6-1) > upgraded samba (2:4.23.5-1 -> 2:4.23.6-1) > upgraded systemd-sysvcompat (259.1-1 -> 259.2-1) > upgraded thunderbird (147.0.2-1 -> 148.0-4) > upgraded thunderbird-i18n-en-gb (147.0.2-1 -> 148.0-4) > upgraded vim-runtime (9.2.0038-1 -> 9.2.0081-1) > upgraded vim (9.2.0038-1 -> 9.2.0081-1) > upgraded virtualbox-host-modules-arch (7.2.6-4 -> 7.2.6-5) > upgraded vulkan-mesa-implicit-layers (1:25.3.5-1 -> 1:26.0.1-1) > upgraded vulkan-radeon (1:25.3.5-1 -> 1:26.0.1-1) > upgraded wxwidgets-common (3.2.9-4 -> 3.2.10-1) > upgraded wxwidgets-gtk3 (3.2.9-4 -> 3.2.10-1) > upgraded zed (0.224.11-1 -> 0.225.10-1) >=20 > Any suggestions for how to fix this gladly accepted. >=20 > Regards, >=20 > Adolf. >=20