openwrt / openwrt/asu

error: ext4_allocate_best_fit_partial: failed to allocate 2325 blocks, out of space?

Open
#493 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
450
Forks
111
PR merge metrics
No merged PRs in 30d

Description

Request Data:

{
    "url": "https://sysupgrade.openwrt.org",
    "revision": "r20028-43d71ad93e",
    "advanced_mode": "1",
    "branch": "22.03",
    "efi": null,
    "profile": "raspberrypi,4-model-b",
    "target": "bcm27xx/bcm2711",
    "version": "22.03.4",
    "packages": [
        "adblock",
        "auc",
        "base-files",
        "bcm27xx-gpu-fw",
        "blkid",
        "busybox",
        "ca-bundle",
        "curl",
        "cypress-firmware-43455-sdio",
        "cypress-nvram-43455-sdio-rpi-4b",
        "ddns-scripts",
        "ddns-scripts-cloudflare",
        "dnsmasq",
        "docker-compose",
        "dockerd",
        "dropbear",
        "e2fsprogs",
        "fdisk",
        "firewall4",
        "fstools",
        "hostapd-common",
        "ip-tiny",
        "irqbalance",
        "iwinfo",
        "kernel",
        "kmod-brcmfmac",
        "kmod-fs-vfat",
        "kmod-nft-offload",
        "kmod-nls-cp437",
        "kmod-nls-iso8859-1",
        "kmod-sound-arm-bcm2835",
        "kmod-sound-core",
        "kmod-usb-hid",
        "kmod-usb-net-lan78xx",
        "kmod-usb-net-rtl8152",
        "libc",
        "libcurl",
        "liblucihttp",
        "liblucihttp-lua",
        "libopenssl",
        "libsqlite3",
        "libuclient",
        "libustream-wolfssl",
        "logd",
        "losetup",
        "lsblk",
        "luci",
        "luci-app-adblock",
        "luci-app-attendedsysupgrade",
        "luci-app-ddns",
        "luci-app-dockerman",
        "luci-app-firewall",
        "luci-app-minidlna",
        "luci-app-opkg",
        "luci-base",
        "luci-compat",
        "luci-i18n-attendedsysupgrade-en",
        "luci-i18n-dockerman-en",
        "luci-i18n-dockerman-es",
        "luci-mod-network",
        "luci-mod-status",
        "luci-ssl",
        "luci-theme-bootstrap",
        "mdadm",
        "minidlna",
        "mkf2fs",
        "mtd",
        "netifd",
        "nftables-json",
        "odhcp6c",
        "odhcpd-ipv6only",
        "openssh-sftp-server",
        "opkg",
        "parted",
        "partx-utils",
        "ppp",
        "ppp-mod-pppoe",
        "procd",
        "procd-seccomp",
        "procd-ujail",
        "qrencode",
        "resize2fs",
        "rsync",
        "screen",
        "speedtest-netperf",
        "uci",
        "uclient-fetch",
        "urandom-seed",
        "wireless-regdb",
        "zerotier"
    ],
    "diff_packages": true,
    "filesystem": "ext4",
    "client": "luci/git-23.093.42303-58b861d"
}

STDOUT:

Building images for bcm27xx - Raspberry Pi 4B/400/4CM (64bit)
Packages: adblock auc base-files bcm27xx-gpu-fw blkid busybox ca-bundle curl cypress-firmware-43455-sdio cypress-nvram-43455-sdio-rpi-4b ddns-scripts ddns-scripts-cloudflare dnsmasq docker-compose dockerd dropbear e2fsprogs fdisk firewall4 fstools hostapd-common ip-tiny irqbalance iwinfo kmod-brcmfmac kmod-fs-vfat kmod-nft-offload kmod-nls-cp437 kmod-nls-iso8859-1 kmod-sound-arm-bcm2835 kmod-sound-core kmod-usb-hid kmod-usb-net-lan78xx kmod-usb-net-rtl8152 libcurl liblucihttp liblucihttp-lua libopenssl libsqlite3 libuclient libustream-wolfssl logd losetup lsblk luci luci-app-adblock luci-app-attendedsysupgrade luci-app-ddns luci-app-dockerman luci-app-firewall luci-app-minidlna luci-app-opkg luci-base luci-compat luci-i18n-attendedsysupgrade-en luci-i18n-dockerman-en luci-i18n-dockerman-es luci-mod-network luci-mod-status luci-ssl luci-theme-bootstrap mdadm minidlna mkf2fs mtd netifd nftables-json odhcp6c odhcpd-ipv6only openssh-sftp-server opkg parted partx-utils ppp ppp-mod-pppoe procd procd-seccomp procd-ujail qrencode resize2fs rsync screen speedtest-netperf uci uclient-fetch urandom-seed wireless-regdb zerotier base-files bcm27xx-gpu-fw busybox ca-bundle cypress-firmware-43455-sdio cypress-nvram-43455-sdio-rpi-4b dnsmasq dropbear e2fsprogs firewall4 fstools iwinfo kernel kmod-brcmfmac kmod-fs-vfat kmod-nft-offload kmod-nls-cp437 kmod-nls-iso8859-1 kmod-sound-arm-bcm2835 kmod-sound-core kmod-usb-hid kmod-usb-net-lan78xx libustream-wolfssl logd mkf2fs mtd netifd odhcp6c odhcpd-ipv6only opkg partx-utils ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uci uclient-fetch urandom-seed

... (REDACTED - Too long for github)

Enabling zerotier

Building images...
Creating filesystem with parameters:
    Size: 109051904
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 6656
    Inode size: 256
    Journal blocks: 0
    Label: rootfs
    Blocks: 26624
    Block groups: 1
    Reserved blocks: 0
    Reserved block group size: 7

STDERR:

Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/22.03.4/targets/bcm27xx/bcm2711/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/22.03.4/targets/bcm27xx/bcm2711/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/aarch64_cortex-a72/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
error: ext4_allocate_best_fit_partial: failed to allocate 2325 blocks, out of space?
make[3]: *** [/home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/include/image.mk:335: /home/aparcar/asu/worker1/cache/22.03.4/bcm27xx/bcm2711/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/root.ext4] Error 1
make[2]: *** [Makefile:189: build_image] Error 2
make[1]: *** [Makefile:127: _call_image] Error 2
make: *** [Makefile:243: image] Error 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The supplied request reaches include/image.mk:335 while creating root.ext4; start by reproducing the bcm27xx/bcm2711 ext4 image build and inspect the failure around build_image. Done means identifying why allocation of 2325 blocks fails and documenting or fixing the failure so the image completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.