Closed melvyn2 closed 2 years ago
Hi, sorry for the delay. Github isn't sending me email notifications for some reason. apfs_noop_invalidatepage() was removed in 5.18 so I'll have to figure out what to replace it with. Somebody already sent a pull request to deal with this, I'll check it out now.
Ok, it should build now with Paolo's patch. Like I was telling him though, this will likely cause some regressions for mmap(), I'll look into that as soon as I can.
@melvyn2 Were you able to get it running on 5.18?
I'm getting some errors that there are some symbols that aren't in 5.18 that the module is trying to use...
[steam@holo linux-apfs-rw]$ sudo make clean
make -C /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/build M=/home/steam/source/linux-apfs-rw clean
make[1]: Entering directory '/usr/lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/build'
CLEAN /home/steam/source/linux-apfs-rw/Module.symvers
make[1]: Leaving directory '/usr/lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/build'
[steam@holo linux-apfs-rw]$ sudo make install
make -C /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/build M=/home/steam/source/linux-apfs-rw modules_install
make[1]: Entering directory '/usr/lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/build'
cat: /home/steam/source/linux-apfs-rw/modules.order: No such file or directory
DEPMOD /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811
depmod: WARNING: /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/extra/apfs.ko.zst needs unknown symbol __x86_indirect_alt_call_rcx
depmod: WARNING: /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/extra/apfs.ko.zst needs unknown symbol page_mkclean
depmod: WARNING: /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/extra/apfs.ko.zst needs unknown symbol __x86_indirect_alt_call_rax
depmod: WARNING: /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/extra/apfs.ko.zst needs unknown symbol __x86_indirect_alt_call_r11
depmod: WARNING: /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/extra/apfs.ko.zst needs unknown symbol printk
depmod: WARNING: /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/extra/apfs.ko.zst needs unknown symbol __lock_page
depmod: WARNING: /lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/extra/apfs.ko.zst needs unknown symbol put_devmap_managed_page
make[1]: Leaving directory '/usr/lib/modules/5.18.1-arch1_testHoloISO_20220606.1811/build'
At the time, yes, though now I'm on 5.19 and can't say for newer revisions.
Same git revision worked for 5.17.x kernels.