Comments (3)
Fixed via 2059321. Thanks for investigating and reporting this one!
from thingos.
I remember seeing this issue myself a few times. So if I understood correctly, this is a kernel bug that has been fixed in 5.19, but with no perspectives for backports, right?
If that's indeed the case, what do we do about it in thingOS? Waiting for kernel 5.19+ on all supported boards is probably not a solution, is it?
from thingos.
Well maybe it is not a bug, just an "unwanted behavior". I am not 100 % sure about this, but it sounds to me that kernel sometimes returned EAGAIN for some loop operations. Kernel 5.19 changed/improved loop driver so it should (always?) succeeded in this situation. It looks like for example for 5.15.y stable branch these patched were skipped.
For userspace, busybox implementation always fails when driver returns EAGAIN (it uses two separate system calls, LOOP_SET_FD and LOOP_SET_STATUS64). Util-linux uses more modern system call (LOOP_CONFIGURE) instead of these two, if it detects newer kernel. But even for those older system calls util-linux should work since version v2.37.1- when kernel returns EAGAIN, userspace should try again.
So for now there are IMO two options:
- upgrade to newer kernel (backports are unlikely).
- switch to util-linux implementation of losetup
Losetup never worked for me on Pinecube with kernel < 5.19 AND busybox. Updating kernel to 5.19 OR switching to util-linux implementation always worked. I have not tested the fix on rpi 0w yet tho, since it is more random than on pinecube. But I can give it a try.
from thingos.
Related Issues (20)
- Just changing version does not change the rootfs HOT 11
- FAT32 /data partition HOT 6
- Adding a new Board (x86_64) HOT 3
- Wrong FAT in wiki/Partitions HOT 1
- Restart wifi instead of reboot whole system HOT 2
- Option to install pre-releses using fwupdate HOT 1
- Need to update wpa_supplicant.con info HOT 3
- Wiki: no space usage estimation in Getting Started's Prerequisites HOT 1
- Several missing Wiki pages HOT 1
- Tried to build ThingOS got err LD_LIBRARY_PATH env vars HOT 1
- Building on Arch Linux host broken HOT 2
- Compilation Error: No rule to make target 'arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dtb' HOT 1
- why does motioneyeos always fail on boot at wpa_supplicant? HOT 3
- How to create wpa_supplicant, where to put it and what should be in it? HOT 1
- Support for Raspberry Pi Zero 2 W HOT 7
- Discussion: how about Buildroot externals? HOT 6
- RaspberryPi 0W: Wifi AP is broken
- FTP WebCam HOT 1
- Question: Where do the initrd.gz files come from? HOT 3
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 thingos.