[zfs-discuss] ZFS package on Raspbian 9

ray vantassle rayvantassle at gmail.com
Sun Apr 8 16:34:58 EDT 2018


A bit more info.
I just re-installed  spl-dkms and it said:
...
Selecting previously unselected package dkms.
(Reading database ... 137102 files and directories currently installed.)
Preparing to unpack .../0-dkms_2.3-2_all.deb ...
Unpacking dkms (2.3-2) ...
Selecting previously unselected package linux-headers-3.6-trunk-common.
Preparing to unpack
.../1-linux-headers-3.6-trunk-common_3.6.9-1~experimental.1+rpi7_armhf.deb
...
Unpacking linux-headers-3.6-trunk-common (3.6.9-1~experimental.1+rpi7) ...
Selecting previously unselected package linux-kbuild-3.6.
Preparing to unpack
.../2-linux-kbuild-3.6_3.6-1~experimental.1+rpi2+b2_armhf.deb ...
Unpacking linux-kbuild-3.6 (3.6-1~experimental.1+rpi2+b2) ...
Selecting previously unselected package linux-headers-3.6-trunk-rpi.
Preparing to unpack
.../3-linux-headers-3.6-trunk-rpi_3.6.9-1~experimental.1+rpi7_armhf.deb ...
Unpacking linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ...
Selecting previously unselected package spl.
Preparing to unpack .../4-spl_0.6.5.9-1_armhf.deb ...
Unpacking spl (0.6.5.9-1) ...
Selecting previously unselected package spl-dkms.
Preparing to unpack .../5-spl-dkms_0.6.5.9-1_all.deb ...
Unpacking spl-dkms (0.6.5.9-1) ...
Setting up linux-headers-3.6-trunk-common (3.6.9-1~experimental.1+rpi7) ...
Setting up dkms (2.3-2) ...
Setting up spl (0.6.5.9-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up linux-kbuild-3.6 (3.6-1~experimental.1+rpi2+b2) ...
Setting up spl-dkms (0.6.5.9-1) ...
Loading new spl-0.6.5.9 DKMS files...
It is likely that 4.14.30-v7+ belongs to a chroot's host
Building for 3.6-trunk-rpi, 4.14.24+, 4.14.24-v7+, 4.14.30+ and 4.14.30-v7+
Building initial module for 3.6-trunk-rpi
Done.

spl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.6-trunk-rpi/extra/spl/spl/

splat.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.6-trunk-rpi/extra/splat/splat/

depmod...

DKMS: install completed.
Module build for kernel 4.14.24+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.14.24-v7+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.14.30+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.14.30-v7+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Setting up linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.6-trunk-rpi

===================================
Well, I went to the zfsonlinux page (
https://github.com/zfsonlinux/zfs/wiki/Debian) and entered the
instructions, but it couldn't find the  linux-headers-$(uname -r)
Now for an hour of goggle-fu.
First, do: sudo rpi-update
 then reboot.
Poking around, it seems you need to do: sudo apt install linux-headers
Read what it says, then do: sudo apt install raspberrypi-kernel-headers*

That gets the headers installed.  But dpkg had troubles building it.
Hmmmmm, raspberrian isn't debian, so some files aren't where
 /usr/lib/dkms/common.postinst expect them to be.  It tries to build for a
number of kernel versions and barfs out the first one that fails.
...continuing to poke around.


On Sun, Apr 8, 2018 at 9:59 AM, mabi <mabi at protonmail.ch> wrote:

> Interesting, which Raspi model do you have? I have the newest Raspi 3+
> Model B.
>
>
>
> Could you also do an "ls /usr/src" ? Mine contains:
>
> $ ls /usr/src/
> linux-headers-4.9.0-6-common  linux-headers-4.9.0-6-rpi2  linux-kbuild-4.9
>
> which seems odd as the kernel version is 4.14 but I can't seem to find the
> package for the Linux kernel 4.14 headers.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On April 8, 2018 12:35 AM, ray vantassle <rayvantassle at gmail.com> wrote:
>
> It work for me, just now.
> On "Linux raspberrypi 4.14.24-v7+ #1097 SMP Mon Mar 5 16:42:05 GMT 2018
> armv7l GNU/Linux"
>
> On Sat, Apr 7, 2018 at 8:54 AM, mabi via zfs-discuss <
> zfs-discuss at list.zfsonlinux.org> wrote:
>
>> Hello,
>>
>> Now that Raspbian 9 is out and includes the ZFS packages in the official
>> repository did anyone already managed to install ZFS successfully on this
>> new Raspbian version?
>>
>> For me the problems already start when installing SPL which is a
>> pre-requisite for ZFS:
>>
>> $ sudo apt-get install spl-dkms
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following NEW packages will be installed:
>>   spl-dkms
>> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 0 B/385 kB of archives.
>> After this operation, 3017 kB of additional disk space will be used.
>> Selecting previously unselected package spl-dkms.
>> (Reading database ... 68076 files and directories currently installed.)
>> Preparing to unpack .../spl-dkms_0.6.5.9-1_all.deb ...
>> Unpacking spl-dkms (0.6.5.9-1) ...
>> Setting up spl-dkms (0.6.5.9-1) ...
>> Loading new spl-0.6.5.9 DKMS files...
>> It is likely that 4.14.30-v7+ belongs to a chroot's host
>> Building for 4.14.30+ and 4.14.30-v7+
>> Building initial module for 4.14.30+
>> configure: error: unknown
>> Error! Bad return status for module build on kernel: 4.14.30+ (armv7l)
>> Consult /var/lib/dkms/spl/0.6.5.9/build/make.log for more information.
>>
>> That file mentioned above (/var/lib/dkms/spl/0.6.5.9/build/make.log)
>> contains:
>>
>> Code: Select all
>>
>> DKMS make.log for spl-0.6.5.9 for kernel 4.14.30+ (armv7l)
>> Thu Mar 29 15:09:34 CEST 2018
>> make: *** No targets specified and no makefile found.  Stop.
>>
>> Cheers,
>> Mabi
>> _______________________________________________
>> zfs-discuss mailing list
>> zfs-discuss at list.zfsonlinux.org
>> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20180408/18116906/attachment-0001.html>


More information about the zfs-discuss mailing list