Skip to content

Instantly share code, notes, and snippets.

@nlienard
Created April 6, 2018 09:37
Show Gist options
  • Save nlienard/1394f91b134dfba2b3ec3d05eba2c202 to your computer and use it in GitHub Desktop.
Save nlienard/1394f91b134dfba2b3ec3d05eba2c202 to your computer and use it in GitHub Desktop.
zfs / spl / dkms
**********************
* SPL
**********************
root@atxscw-hy007:/usr/src/spl-0.6.5.9# dkms --verbose install spl/0.6.5.9
[...]
config.status: creating spl.release
config.status: creating spl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Building module:
make -C /lib/modules/4.10.8-std-1/build M=/var/lib/dkms/spl/0.6.5.9/build clean
make: Entering directory '/usr/src/linux-4.10.8'
make: Leaving directory '/usr/src/linux-4.10.8'
{ make KERNELRELEASE=4.10.8-std-1; } >> /var/lib/dkms/spl/0.6.5.9/build/make.log 2>&1
make -C /lib/modules/4.10.8-std-1/build M=/var/lib/dkms/spl/0.6.5.9/build clean
make: Entering directory '/usr/src/linux-4.10.8'
make: Leaving directory '/usr/src/linux-4.10.8'
DKMS: build completed.
spl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.10.8-std-1/updates/dkms/
splat.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.10.8-std-1/updates/dkms/
: The post_install script is not executable.
do_depmod 4.10.8-std-1
DKMS: install completed.
root@atxscw-hy007:/usr/src/spl-0.6.5.9# modprobe spl
root@atxscw-hy007:/usr/src/spl-0.6.5.9#
*****************************
* ZFS
*****************************
root@atxscw-hy007:/usr/src/spl-0.6.5.9# dkms --verbose install zfs/0.6.5.9
[...]
checking zfs config... kernel
checking for -Wno-unused-but-set-variable support... yes
checking for -Wno-bool-compare support... yes
checking kernel source directory... /lib/modules/4.10.8-std-1/build
checking kernel build directory... /lib/modules/4.10.8-std-1/build
checking kernel source version... 4.10.8-std-1
checking kernel file name for module symbols... Module.symvers
checking spl source directory... /usr/src/spl-0.6.5.9
checking spl build directory... /var/lib/dkms/spl/0.6.5.9/4.10.8-std-1/x86_64
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.
Building module:
make -C /lib/modules/4.10.8-std-1/build M=/var/lib/dkms/zfs/0.6.5.9/build clean
make: Entering directory '/usr/src/linux-4.10.8'
scripts/Makefile.clean:14: /var/lib/dkms/zfs/0.6.5.9/build/Makefile: No such file or directory
make[1]: *** No rule to make target '/var/lib/dkms/zfs/0.6.5.9/build/Makefile'. Stop.
Makefile:1513: recipe for target '_clean_/var/lib/dkms/zfs/0.6.5.9/build' failed
make: *** [_clean_/var/lib/dkms/zfs/0.6.5.9/build] Error 2
make: Leaving directory '/usr/src/linux-4.10.8'
(bad exit status: 2)
{ make KERNELRELEASE=4.10.8-std-1; } >> /var/lib/dkms/zfs/0.6.5.9/build/make.log 2>&1
(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.10.8-std-1 (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.9/build/make.log for more information.
root@atxscw-hy007:/usr/src/spl-0.6.5.9#
root@atxscw-hy007:/usr/src/spl-0.6.5.9# cat /var/lib/dkms/zfs/0.6.5.9/build/make.log
DKMS make.log for zfs-0.6.5.9 for kernel 4.10.8-std-1 (x86_64)
Fri Apr 6 09:32:52 UTC 2018
make: *** No targets specified and no makefile found. Stop.
root@atxscw-hy007:/usr/src/spl-0.6.5.9#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment