Page 1 of 1

In ubuntu modules are missing

Posted: 2024-01-28 10:40
by npelov
I compiled the zram.ko module (also zsmalloc.ko) but I can't find them in ubuntu. In buildroot they are in `/oem/usr/ko/`. Also not found in /lib. If I manually copy them to /oem/usr/ko/ and use insmod they work. Is it a bug in scripts?

Code: Select all

root@luckfox:/# modprobe zram
modprobe: FATAL: Module zram not found in directory /lib/modules/5.10.110
root@luckfox:/# ls -la /lib/modules/5.10.110
ls: cannot access '/lib/modules/5.10.110': No such file or directory

Re: In ubuntu modules are missing

Posted: 2024-01-29 6:20
by Luckfox Taylor
Due to the limited memory space on the Luckfox Pico series, there is no /lib/modules directory and no pre-installed kernel headers in the system.