openwrt / openwrt/asu

ext4_allocate_best_fit_partial: failed to allocate 104 blocks, out of space?

Open
#586 0 comments 0 reactions 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

Hi at all,

Please, i recive error .

{
"url": "https://sysupgrade.openwrt.org",
"revision": "r24043-ff95f859eb",
"advanced_mode": "1",
"sha256_unsigned": "",
"branch": "SNAPSHOT",
"efi": {
"path": "/sys/firmware/efi",
"type": "directory",
"size": 0,
"mode": 16877,
"atime": 1695835634,
"mtime": 1695835634,
"ctime": 1695835634,
"inode": 8653,
"uid": 0,
"gid": 0
},
"profile": "intel-corporation-jasper-lake-client-platform",
"target": "x86/64",
"version": "SNAPSHOT",
"packages": [
"adguardhome",
"apcupsd",
"base-files",
"block-mount",
"busybox",
"ca-bundle",
"collectd-mod-apcups",
"collectd-mod-conntrack",
"collectd-mod-cpufreq",
"collectd-mod-disk",
"collectd-mod-entropy",
"collectd-mod-exec",
"collectd-mod-sqm",
"collectd-mod-thermal",
"coreutils-users",
"curl",
"dnsmasq-full",
"dropbear",
"e2fsprogs",
"fdisk",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"grub2",
"grub2-bios-setup",
"grub2-efi",
"hdparm",
"htop",
"intel-microcode",
"ipset",
"irqbalance",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-button-hotplug",
"kmod-crypto-acompress",
"kmod-crypto-crc32c",
"kmod-crypto-hash",
"kmod-fs-vfat",
"kmod-input-core",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-lib-lzo",
"kmod-nf-conntrack",
"kmod-nf-conntrack6",
"kmod-nf-flow",
"kmod-nf-log",
"kmod-nf-log6",
"kmod-nf-nat",
"kmod-nf-reject",
"kmod-nf-reject6",
"kmod-nfnetlink",
"kmod-nft-core",
"kmod-nft-fib",
"kmod-nft-nat",
"kmod-nft-offload",
"kmod-nls-base",
"kmod-nls-cp437",
"kmod-nls-iso8859-1",
"kmod-nls-utf8",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-r8169",
"kmod-slhc",
"kmod-tg3",
"kmod-usb-net-rtl8152",
"kmod-usb-storage",
"kmod-usb-storage-uas",
"kmod-usb3",
"libblkid",
"libblobmsg-json",
"libc",
"libcomerr",
"libext2fs",
"libf2fs",
"libjson-c",
"libjson-script",
"libmbedtls",
"libmnl",
"libnftnl",
"libnl-tiny",
"libopenssl",
"libsmartcols",
"libss",
"libubox",
"libubus",
"libuci",
"libuclient",
"libucode",
"libustream-mbedtls",
"libuuid",
"logd",
"lscpu",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-hd-idle",
"luci-app-nlbwmon",
"luci-app-samba4",
"luci-app-sqm",
"luci-app-statistics",
"luci-app-transmission",
"luci-base",
"luci-compat",
"luci-lib-ipkg",
"luci-mod-network",
"luci-mod-status",
"luci-proto-wireguard",
"luci-theme-material",
"mkf2fs",
"mtd",
"nano",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"partx-utils",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"r8152-firmware",
"samba4-admin",
"samba4-libs",
"samba4-server",
"samba4-utils",
"transmission-daemon",
"transmission-web",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-ubus",
"ucode-mod-uci",
"urandom-seed",
"urngd",
"usbutils",
"usign",
"wsdd2"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-23.265.60357-d7e905e"
}

STDERR:
Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/x86/64/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/x86/64/kmods/5.15.132-1-61d44f65bd1b028e12cc87814825d543/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/x86/64/kmods/5.15.132-1-61d44f65bd1b028e12cc87814825d543/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
/builder/build_dir/target-x86_64_musl/root-x86/etc/init.d/dnsmasq: line 4: /lib/functions.sh: No such file or directory
./etc/init.d/dnsmasq: line 4: /lib/functions.sh: No such file or directory
Pseudo file "dev" exists in source filesystem "/builder/build_dir/target-x86_64_musl/root-x86/dev".
Ignoring, exclude it (-e/-ef) to override.
error: ext4_allocate_best_fit_partial: failed to allocate 104 blocks, out of space?
make[3]: *** [/builder/include/image.mk:339: /builder/build_dir/target-x86_64_musl/linux-x86_64/root.ext4] Error 1
make[2]: *** [Makefile:208: build_image] Error 2
make[1]: *** [Makefile:146: _call_image] Error 2
make: *** [Makefile:262: 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

Start with the failed image build at /builder/include/image.mk:339 and the Makefile build_image/_call_image/image targets. Reproduce the request using the reported x86/64 profile, squashfs filesystem, and package list, then inspect the generated root.ext4 step and its capacity inputs. Done means identifying the cause of the allocation failure and documenting or fixing a reproducible build.

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.