You are not logged in.

#1 2023-01-22 09:57:44

syryndypyty
Member
Registered: 2022-11-22
Posts: 13

zfs-linux-git is not rebuilt automatically with each kernel upgrade

Updated today my Arch and now can't load zfs:

# zpool import
The ZFS modules cannot be auto-loaded.
Try running 'modprobe zfs' as root to manually load them.
# modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/6.1.7-arch1-1
# uname -r
6.1.7-arch1-1

Had to fix it with "pamac build zfs-linux-git"

Aren't modules supposed to be rebuilt automatically? Would that be fixed using paru instead of pacman and pamac?

Offline

#2 2023-01-22 10:15:45

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: zfs-linux-git is not rebuilt automatically with each kernel upgrade

https://wiki.archlinux.org/title/Dynami … le_Support
https://aur.archlinux.org/packages/zfs-dkms
https://wiki.archlinux.org/title/Arch_U … g_packages (blue note)
Your pacman wrapper might automatically pull updates from the AUR, but -git packages are rarely updated (while the source of course is permanently) because they're always installing the git HEAD, so the AUR helper won't suspect them for update.

You could add an ALPM hook to rebuild zfs-linux-git when linux updates.

Offline

Board footer

Powered by FluxBB