Open
Description
What happened?
Linux debug kernel package build abort in dpkg-deb on no space left on device. It turns out that
armbian mount /armbian/.tmp/work-<id>
as tmpfs at 99% of the RAM.
But on my box there is only 8GB of RAM and the debug kernel and its debian package directory are bigger than that amount.
LC_ALL=C free -mwh
total used free shared buffers cache available
Mem: 7.5Gi 5.2Gi 176Mi 497Mi 0.0Ki 2.2Gi 1.6Gi
Swap: 20Gi 9.3Gi 10Gi
[🐳|🔨] dpkg-deb: building package 'linux-image-edge-rockchip64' in '/armbian/.tmp/work-5afda07d-31f4-497b-b258-6f94f31c9c40/tmp.QJs6FujvRC//linux-image-edge-rockchip64_23.05.0-trunk--6.3.3-S1700-D3037-Pb816-C82c7Hfe66-HK01ba-Vc222-B9c18_arm64.deb'.
[🐳|🔨] dpkg-deb (subprocess): compressing tar member: pass-through copy error: failed to write (No space left on device)
Just before error, running for i in $(seq 1 100); do date; df -h ; sleep 2 ; done
in the build container (docker exec -ti stupefied_dijkstra bash
) I see that WORKDIR tmpfs gets full. No way to see that from the docker host it seems.
Mon May 22 13:40:37 UTC 2023
Filesystem Size Used Avail Use% Mounted on
overlay 160G 144G 12G 93% /
tmpfs 64M 0 64M 0% /dev
shm 64M 0 64M 0% /dev/shm
/dev/sdb6 680G 497G 181G 74% /armbian/lib
tmpfs 3.8G 24K 3.8G 1% /tmp/dev/shm
/dev/sdb5 160G 144G 12G 93% /armbian/.tmp
tmpfs 7.5G 704K 7.5G 1% /armbian/.tmp/logs-5afda07d-31f4-497b-b258-6f94f31c9c40
tmpfs 7.5G 7.4G 85M 99% /armbian/.tmp/work-5afda07d-31f4-497b-b258-6f94f31c9c40
How to reproduce?
./compile.sh BOARD=helios64 BRANCH=edge RELEASE=bullseye kernel
with in userpatches an edge kernel config with debug info enabled:
userpatches/linux-rockchip64-edge.config
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_LEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set
CONFIG_DEBUG_INFO_DWARF5=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_COMPRESSED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
Branch
main (main development branch)
On which host OS are you observing this problem?
Bullseye
Relevant log URL
https://paste.next.armbian.com/zibewonidu
Code of Conduct
- I agree to follow this project's Code of Conduct