• ZFS kernel module not compiled nor loaded after upgrade

    From Gaspard@3:633/10 to All on Thursday, January 15, 2026 16:20:01

    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.

    /Gaspard

    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Dan Ritter@3:633/10 to All on Thursday, January 15, 2026 18:20:02
    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-

    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)