Thank you very much for your work. After trying it for a few days, I found several issues:
USB network adapter driver issue
I’m using an RTW88-series network adapter. After compiling the .ko modules, I noticed a few issues that affect usability:
- Some
.komodules under/lib/modules/have already been built into the kernel, which causes errors when runningmodprobe. These modules need to be removed, mainly those in the USB subsystem. - The firmware under
/lib/firmware/cannot be loaded in thebin.zstformat. It needs to be decompressed into thebinformat.
OpenGL/llvmpipe issue
I noticed that OpenGL programs using LLVM software rasterization will trigger a SIGSEGV — for example, running glxgears always causes a crash. After some investigation, I found that this may be a bug in LLVM/Mesa. Specifically, when the JIT compiler links some symbols, it may fail to find certain symbols, resulting in the target function becoming a null pointer, which then causes a crash when called.
A very simple workaround is to add the following line to .bashrc:
export LD_PRELOAD=/lib/arm-linux-gnueabihf/libgcc_s.so.1
This resolves the issue. Although it is only software rasterization, it may still be useful in some scenarios.