Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #188324

Re: debian zfs spl dkms build fails

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: debian zfs spl dkms build fails
Date 2017-10-26 06:20 +0200
Message-ID <uEHO9-Hk-1@gated-at.bofh.it> (permalink)
References <uEGp3-853-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/25/17 19:42, Russell L. Carter wrote:
> 
> This has been happening for over 2 weeks now:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877694
> 
> 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: 0.6.5.11
> completely from the DKMS tree.
> ------------------------------
> Done.
> Unpacking zfs-dkms (0.6.5.11-1) over (0.6.5.11-1) ...
> Setting up zfs-dkms (0.6.5.11-1) ...
> Loading new zfs-0.6.5.11 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/0.6.5.11/build/make.log 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:

https://github.com/zfsonlinux/zfs/wiki/Debian

Installation

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


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

debian zfs spl dkms build fails "Russell L. Carter" <rcarter@pinyon.org> - 2017-10-26 04:50 +0200
  Re: debian zfs spl dkms build fails David Christensen <dpchrist@holgerdanske.com> - 2017-10-26 06:20 +0200
    Re: debian zfs spl dkms build fails "Russell L. Carter" <rcarter@pinyon.org> - 2017-10-26 06:30 +0200
      Re: debian zfs spl dkms build fails David Christensen <dpchrist@holgerdanske.com> - 2017-10-26 07:40 +0200
        Re: debian zfs spl dkms build fails "Russell L. Carter" <rcarter@pinyon.org> - 2017-10-26 16:00 +0200
      Re: debian zfs spl dkms build fails <tomas@tuxteam.de> - 2017-10-26 08:40 +0200

csiph-web