[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian zfs spl dkms build fails

On 10/25/17 19:42, Russell L. Carter wrote:

This has been happening for over 2 weeks now:


It has such cheerful effects as:

root@knuth> zpool status
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.

The symptom displays via several ways like this:

Deleting module version:
completely from the DKMS tree.
Unpacking zfs-dkms ( over ( ...
Setting up zfs-dkms ( ...
Loading new zfs- DKMS files...
Building for 4.13.0-1-amd64
Building initial module for 4.13.0-1-amd64
configure: error:
         *** Please make sure the kmod spl devel <kernel> package for your
         *** distribution is installed then try again.  If that fails you
         *** can specify the location of the spl objects with the
         *** '--with-spl-obj=PATH' option.
Error! Bad return status for module build on kernel: 4.13.0-1-amd64 (x86_64)
Consult /var/lib/dkms/zfs/ for more information.

So what are we supposed to do?  The system is up, network accessible,
and I'm pulling a current in time backup.  Is there a linux distro that
isn't broken for zfsonlinux distro kernel updates?  Otherwise a complete
reinstall back to the dumb world of ext4, as I need a metal 8 core box
for comparative testing.

If you want to debug ZOL and/or Linux, then build from source.

If you want to use ZOL on Debian, use a supported Debian version and supported ZOL binary packages:



For Debian Stretch, ZFS packages are included in contrib repository.

For Debian Jessie, ZFS packages are provided by backports.

Install kernel headers:

# apt install linux-headers-$(uname -r)

Install zfs packages:

# apt-get install zfs-dkms

If you want to boot from ZFS, you'll need zfs-initramfs package too:

# apt-get install zfs-initramfs


Reply to: