SvenHz

Members
  • Content Count

    11
  • Joined

  • Last visited

  1. @gprovost many thanks for sharing your full log. I have it working!!! I kept not doing an "apt-get upgrade" before doing the "apt-get update". On a clean image (dated 2 Aug 2019 on Kobol website) I can confirm I have successfully built the ZFS stuff, taking the above steps into account.
  2. Exactly the same issue with the image from Armbian (https://dl.armbian.com/helios4/Debian_buster_next.7z downloaded yesterday) which was a few MBs different from the Kobol image. The problem is in the configure step of spl-dkms.
  3. @gprovost what image are you using exactly? I am using the ones from kobol.io and still have the same issue, see transcript below. This is Armbian_5.91_Helios4_Debian_buster_next_4.19.63.7z from kobol.io dated Aug 2, 2019. root@helios4:/etc/apt/preferences.d# apt-get install linux-headers-next-mvebu Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: linux-headers-next-mvebu 0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded. Need to get 10.6 MB of archives. After this operation, 74.0 MB of additional disk space will be used. Get:1 https://apt.armbian.com buster/main armhf linux-headers-next-mvebu armhf 5.91 [10.6 MB] Fetched 10.6 MB in 2s (4750 kB/s) Selecting previously unselected package linux-headers-next-mvebu. (Reading database ... 32124 files and directories currently installed.) Preparing to unpack .../linux-headers-next-mvebu_5.91_armhf.deb ... Unpacking linux-headers-next-mvebu (5.91) ... Setting up linux-headers-next-mvebu (5.91) ... Compiling headers - please wait ... root@helios4:/etc/apt/preferences.d# apt-get install zfs-dkms zfsutils-linux Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: dkms file libelf-dev libmagic-mgc libmagic1 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl-dkms zlib1g-dev Suggested packages: python3-apport menu spl nfs-kernel-server samba-common-bin zfs-initramfs | zfs-dracut Recommended packages: fakeroot linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers zfs-zed The following NEW packages will be installed: dkms file libelf-dev libmagic-mgc libmagic1 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl-dkms zfs-dkms zfsutils-linux zlib1g-dev 0 upgraded, 13 newly installed, 0 to remove and 50 not upgraded. Need to get 3631 kB of archives. After this operation, 23.6 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://cdn-fastly.deb.debian.org/debian buster/main armhf dkms all 2.6.1-4 [74.4 kB] Get:2 http://cdn-fastly.deb.debian.org/debian buster/main armhf libmagic-mgc armhf 1:5.35-4 [242 kB] Get:3 http://cdn-fastly.deb.debian.org/debian buster/main armhf libmagic1 armhf 1:5.35-4 [110 kB] Get:4 http://cdn-fastly.deb.debian.org/debian buster/main armhf file armhf 1:5.35-4 [65.4 kB] Get:5 http://cdn-fastly.deb.debian.org/debian buster/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-1 [207 kB] Get:6 http://cdn-fastly.deb.debian.org/debian buster/main armhf libelf-dev armhf 0.176-1.1 [69.2 kB] Get:7 http://cdn-fastly.deb.debian.org/debian buster-backports/main armhf spl-dkms all 0.7.13-1~bpo10+1 [400 kB] Get:8 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib armhf zfs-dkms all 0.7.13-1~bpo10+1 [1402 kB] Get:9 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib armhf libuutil1linux armhf 0.7.13-1~bpo10+1 [54.4 kB] Get:10 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib armhf libnvpair1linux armhf 0.7.13-1~bpo10+1 [43 .9 kB] Get:11 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib armhf libzpool2linux armhf 0.7.13-1~bpo10+1 [548 kB] Get:12 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib armhf libzfs2linux armhf 0.7.13-1~bpo10+1 [130 k B] Get:13 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib armhf zfsutils-linux armhf 0.7.13-1~bpo10+1 [284 kB] Fetched 3631 kB in 1s (3002 kB/s) Preconfiguring packages ... Selecting previously unselected package dkms. (Reading database ... 56690 files and directories currently installed.) Preparing to unpack .../0-dkms_2.6.1-4_all.deb ... Unpacking dkms (2.6.1-4) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../1-libmagic-mgc_1%3a5.35-4_armhf.deb ... Unpacking libmagic-mgc (1:5.35-4) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../2-libmagic1_1%3a5.35-4_armhf.deb ... Unpacking libmagic1:armhf (1:5.35-4) ... Selecting previously unselected package file. Preparing to unpack .../3-file_1%3a5.35-4_armhf.deb ... Unpacking file (1:5.35-4) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../4-zlib1g-dev_1%3a1.2.11.dfsg-1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-1) ... Selecting previously unselected package libelf-dev:armhf. Preparing to unpack .../5-libelf-dev_0.176-1.1_armhf.deb ... Unpacking libelf-dev:armhf (0.176-1.1) ... Selecting previously unselected package spl-dkms. Preparing to unpack .../6-spl-dkms_0.7.13-1~bpo10+1_all.deb ... Unpacking spl-dkms (0.7.13-1~bpo10+1) ... Setting up dkms (2.6.1-4) ... Setting up libmagic-mgc (1:5.35-4) ... Setting up libmagic1:armhf (1:5.35-4) ... Setting up file (1:5.35-4) ... Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-1) ... Setting up libelf-dev:armhf (0.176-1.1) ... Setting up spl-dkms (0.7.13-1~bpo10+1) ... Loading new spl-0.7.13 DKMS files... Building for 4.19.63-mvebu Building initial module for 4.19.63-mvebu configure: error: *** Unable to build an empty module. Error! Bad return status for module build on kernel: 4.19.63-mvebu (armv7l) Consult /var/lib/dkms/spl/0.7.13/build/make.log for more information. dpkg: error processing package spl-dkms (--configure): installed spl-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: spl-dkms E: Sub-process /usr/bin/dpkg returned an error code (1) root@helios4:/etc/apt/preferences.d#
  4. Unfortunately, on the Kobol supplied image Armbian_5.91_Helios4_Debian_stretch_default_4.14.135.7z, I get exactly the same problem: (clean install) root@helios4:~# apt-get install linux-headers-mvebu > works, headers for 4.14 root@helios4:~# apt-get install spl-dkms [...snip...] Loading new spl-0.7.12 DKMS files... Building for 4.14.135-mvebu Building initial module for 4.14.135-mvebu configure: error: *** Unable to build an empty module. Error! Bad return status for module build on kernel: 4.14.135-mvebu (armv7l) Consult /var/lib/dkms/spl/0.7.12/build/make.log for more information. root@helios4:~# I will try @gprovost 's steps now, just missed it, many thanks for sharing!
  5. @qstaq wow. I will try the Debian 9 Stretch 4.14 image (from kobol.io) tomorrow in the mean time (with backports) and will report here.
  6. Even with a clean image (downloaded from kobol.io dated August 2nd) I still get the error in spl-dkms. Steps to reproduce: start with image #apt-get update #apt-get upgrade edit 90_zfs for backports #apt-get install linux-headers-next-mvebu #apt-get install spl-dkms > same error # more /var/lib/dkms/spl/0.7.13/build/make.log DKMS make.log for spl-0.7.13 for kernel 4.19.63-mvebu (armv7l) Tue Sep 10 14:52:48 UTC 2019 make: *** No targets specified and no makefile found. Stop. #
  7. Can't get it to work. I am starting with a fresh image and will report tonight.
  8. I am still stuck with spl-dkms. I am now on backports. #apt-get install -t buster-backports spl-dkms Loading new spl-0.7.13 DKMS files... Building for 4.19.63-mvebu Building initial module for 4.19.63-mvebu configure: error: *** Unable to build an empty module. Error! Bad return status for module build on kernel: 4.19.63-mvebu (armv7l) Consult /var/lib/dkms/spl/0.7.13/build/make.log for more information. dpkg: error processing package spl-dkms (--configure): installed spl-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: spl-dkms E: Sub-process /usr/bin/dpkg returned an error code (1) Interestingly, at that point, I can successfully do a manual "dkms build spl/0.7.13" and "dkms install spl/0.7.13"...!! However if I then do "apt-get install zfs-dkms", it decides to de-install spl-dkms, reinstall it, and fail with the above error :-) Any ideas at this point? :-)
  9. Thank you all for chiming in. And yes my requirements are modest: 2x 3TB in mirror, no dedup. I got a bit further but the DKMS part is failing, any suggestions? EDIT: it looks like this is a common error, found some info elsewhere, still working on this... # apt-get install linux-headers-next-mvebu zfs-dkms zfsutils-linux Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: dkms libelf-dev libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl-dkms Suggested packages: python3-apport menu spl nfs-kernel-server samba-common-bin zfs-initramfs | zfs-dracut Recommended packages: fakeroot linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers zfs-zed The following NEW packages will be installed: dkms libelf-dev libnvpair1linux libuutil1linux libzfs2linux libzpool2linux linux-headers-next-mvebu spl-dkms zfs-dkms zfsutils-linux 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/13.6 MB of archives. After this operation, 91.4 MB of additional disk space will be used. Do you want to continue? [Y/n] y Preconfiguring packages ... Selecting previously unselected package dkms. (Reading database ... 33082 files and directories currently installed.) Preparing to unpack .../archives/dkms_2.6.1-4_all.deb ... Unpacking dkms (2.6.1-4) ... Selecting previously unselected package libelf-dev:armhf. Preparing to unpack .../libelf-dev_0.176-1.1_armhf.deb ... Unpacking libelf-dev:armhf (0.176-1.1) ... Selecting previously unselected package spl-dkms. Preparing to unpack .../spl-dkms_0.7.12-2_all.deb ... Unpacking spl-dkms (0.7.12-2) ... Setting up dkms (2.6.1-4) ... Setting up libelf-dev:armhf (0.176-1.1) ... Setting up spl-dkms (0.7.12-2) ... Loading new spl-0.7.12 DKMS files... Building for 4.19.63-mvebu Module build for kernel 4.19.63-mvebu was skipped since the kernel headers for this kernel does not seem to be installed. Selecting previously unselected package zfs-dkms. (Reading database ... 33440 files and directories currently installed.) Preparing to unpack .../0-zfs-dkms_0.7.12-2+deb10u1_all.deb ... Unpacking zfs-dkms (0.7.12-2+deb10u1) ... Selecting previously unselected package libuutil1linux. Preparing to unpack .../1-libuutil1linux_0.7.12-2+deb10u1_armhf.deb ... Unpacking libuutil1linux (0.7.12-2+deb10u1) ... Selecting previously unselected package libnvpair1linux. Preparing to unpack .../2-libnvpair1linux_0.7.12-2+deb10u1_armhf.deb ... Unpacking libnvpair1linux (0.7.12-2+deb10u1) ... Selecting previously unselected package libzpool2linux. Preparing to unpack .../3-libzpool2linux_0.7.12-2+deb10u1_armhf.deb ... Unpacking libzpool2linux (0.7.12-2+deb10u1) ... Selecting previously unselected package libzfs2linux. Preparing to unpack .../4-libzfs2linux_0.7.12-2+deb10u1_armhf.deb ... Unpacking libzfs2linux (0.7.12-2+deb10u1) ... Selecting previously unselected package linux-headers-next-mvebu. Preparing to unpack .../5-linux-headers-next-mvebu_5.91_armhf.deb ... Unpacking linux-headers-next-mvebu (5.91) ... Selecting previously unselected package zfsutils-linux. Preparing to unpack .../6-zfsutils-linux_0.7.12-2+deb10u1_armhf.deb ... Unpacking zfsutils-linux (0.7.12-2+deb10u1) ... Setting up linux-headers-next-mvebu (5.91) ... Compiling headers - please wait ... Setting up libuutil1linux (0.7.12-2+deb10u1) ... Setting up zfs-dkms (0.7.12-2+deb10u1) ... WARNING: Building ZFS module on a 32-bit kernel. Loading new zfs-0.7.12 DKMS files... Building for 4.19.63-mvebu Building initial module for 4.19.63-mvebu 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. Failed to find spl_config.h in *** any of the following: /usr/src/spl-0.7.12/4.19.63-mvebu /usr/src/spl-0.7.12 Error! Bad return status for module build on kernel: 4.19.63-mvebu (armv7l) Consult /var/lib/dkms/zfs/0.7.12/build/make.log for more information. dpkg: error processing package zfs-dkms (--configure): installed zfs-dkms package post-installation script subprocess returned error exit status 10
  10. I am aware of the memory “challenge” but my sizing is modest, so thank you for the warning but I will handle that just fine. Anyone suggestions on how to get this to work?
  11. Hi all, I am trying to get ZFS up and running on my new Helios4. My apologies if I am overlooking something trivial. My assumption is that I need a different image? Steps taken: # apt-get install zfsutils-linux At the final stage of installation (configuration), the error output is: The ZFS modules are not loaded. Try running '/sbin/modprobe zfs' as root to load them. zfs-share.service: Main process exited, code=exited, status=1/FAILURE zfs-share.service: Failed with result 'exit-code'. Image details: Helios4 provided Armbian image Debian 10 - Buster, 02/08/2019 https://cdn.kobol.io/files/Armbian_5.91_Helios4_Debian_buster_next_4.19.63.7z