Comments (16)
I found a solution to my issue it appears snaps was causing an issue with eating loop devices on my machine :-
https://ashrafur.medium.com/how-to-clean-up-old-snap-revisions-and-remove-loop-devices-93e38f1ad1f8
from build.
First try some officially supported target like generic x86 / arm64 image. tvboxes are untested ...
you have a point! but the V24.02 solve everything
I will start to advice the unnoficial people and the chinese shitboxes to use this:
git clone --depth 1 --branch v24.0.2 https://github.com/armbian/build armbian
from build.
Jira ticket: AR-2108
from build.
deleting the cache
directory and rebooting seems to solve it.
from build.
Still getting this issue after failed builds :-
https://paste.armbian.com/yarohanuzi
@igorpecovnik - Its like loop devices are not being freed if a build fails !
from build.
I will install another version of Ubuntu on a new drive and test whether the problem is specific to this install or not.
This seems to solve the issue temporarily.
How to clean up old Snap revisions and remove loop devices :-
https://ashrafur.medium.com/how-to-clean-up-old-snap-revisions-and-remove-loop-devices-93e38f1ad1f8
from build.
Same here, clear cache don't help
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
$ uname -a
Linux 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Clean install linux solve....
for 1 build.....
from build.
This loop devices problem is related to host and its kernel. 6.5.x kernel with Jammy should work (better). We have many build runners, some on stock Jammy, some on Armbian Jammy, thus with our kernel. Perhaps try this https://github.com/armbian/sdk ...
/dev/loop devices makes us troubles too, here and there, automation breaks in random manner due to that and which is why we need to repeate few builds here and there.
Also check if you have enough of those loop devices. I have added max_loop=96
to my build machine kernel as otherwise I ran out of them. But due to building several images in parallel.
from build.
Clean install linux solve....
for 1 build.....
It only works once after fresh install and reboot doesn't help??
from build.
It only works once after fresh install and reboot doesn't help??
reboot with clean armbian cache doesn't help
i Was trying to build: JP_TVBOX 3566 on V6.6 with jammy 22.04 desktop cinnamon
today I will use the armbian v24.0.2 and so far, so good (first run OK) 15:11 GMT
git clone --depth 1 --branch v24.0.2 https://github.com/armbian/build armbian
from build.
i Was trying to build: JP_TVBOX 3566 on V6.6 with jammy 22.04 desktop cinnamon
First try some officially supported target like generic x86 / arm64 image. tvboxes are untested ...
from build.
Hello everyone, and thanks for this awesome project.
I tested with a Pop!_OS host (Ubuntu 22.04) and found that it cannot find a free loop when using the main branch. It works fine if you checkout to v24.0.2.
Also, I found that building using docker works on the main branch (on my machine) when I modified line 229 in the partitioning.sh file. I changed the old amount (10) to 30:
[[ $FIND_LOOP_CYCLES -gt 30 ]] && exit_with_error "Unable to find free loop device"
A lsblk
call in my terminal showed more than 20 loop devices in use (blaming Snap for that). Could the assumption of a free loop under 10 be the reason for the error ?
from build.
Also having this issue on ubuntu 22.04 jammy, kernel 6.5.0-26-generic . I gave no commandline argument to ./compile.sh. My target was the Le Potato board and I had just loaded a .config that I previously saved.
I saw this loopback error after 2 hours, seemed the kernel compiled OK otherwise.
I will give branch v24.0.2 a try:
git clone --depth 1 --branch=v24.02 https://github.com/armbian/build armbian
Update:
this time (again near the end of process) got "Error 2 occurred in mainshell"
Update (solution):
losetup -a
<- see which loopback devices you have
sudo umount /dev/loop#
<- unmount loopback device of that # if not needed
I unmounted firefox and the snap store.
For good measure, I also added the line
"options loop max_loop=64"
to /etc/modules-load.d/modules.conf
and rebooted.
I didn't confirm if that had any effect, but it worked. Was able to complete the build. I am using Ubuntu Desktop, perhaps the Ubuntu server image wouldn't have had this issue.
from build.
Related Issues (20)
- GH Actions: "Kernel hardening analysis (pull request)" kconfig-hardened-check: No such file or directory HOT 1
- config-default.conf no longer read by default? HOT 6
- Rockchip bootscripts: `Failed to load '...-fixup.scr'` and `Unknown command 'kaslrseed'` HOT 1
- SND_ALOOP module is not avaialble for rk35xx HOT 4
- latest rolling release missing Wdk2023 images HOT 5
- Scripts are still trying to fetch SHA1 online even if `OFFLINE_WORK=yes` is set HOT 6
- Applying patch/misc/rtw88/6.6/001-drivers-net-wireless-realtek-rtw88-upstream-wireless.patch fails HOT 14
- Image build warning from kernel make: `Makefile:235: target 'install' given more than once in the same rule` HOT 1
- Problem found ... HOT 2
- Build broken when script try copy the ssh key to absent dir dropbear-initramfs HOT 1
- I think the v24.2.1 tag was created in the wrong location. HOT 2
- Redmin K30Pro/XiaoMi10的机器如何编译armbian?以及如何刷机? HOT 3
- menuconfig not working HOT 7
- How can I build a image file and flashing it to SG865 Machines? HOT 6
- Deboostrap trixie fails at stage 2 HOT 2
- Ubuntu 24.04 as host is unsupported HOT 4
- orangepizero2w board, ethernet PHY likely not powered HOT 25
- Building ubuntu 24.04 image is slow HOT 18
- Problem found in the kernel-debs.sh with applying preempt_rt patch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build.