Re: ZFS kernel module not compiled nor loaded after upgrade
Gaspard wrote:
>
> Hej,
>
> Upgrading trixie to at least
>
> Linux 6.12.63+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.63-1
> (2025-12-30) x86_64 GNU/Linux
>
> from
>
> Linux 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1
> (2025-09-20) x86_64 GNU/Linux
>
> results in the zfs module not loaded anymore. Hence all zfs file systems are
> not mounted.
>
> The problem can be resolved manually:
>
>
> apt install linux-headers-amd64
>
> dkms autoinstall
>
> modprobe zfs
>
> zpool list
>
> zpool import -a
>
>
> Happened on systems that were smootly upgraded from bookworm, a couple of
> monts ago.
>
> Not sure which package is responsible for this, hence not filling a bug
> report, according to the Debian bug reporting guidelines.
It is likely that you had a specific version of
linux-headers-amd64 installed rather than the generic name which
you just installed; that would end up with DKMS failing to build
when the new kernel came in.
-dsr-
Reply to: