[zfs-discuss] ZFS package on Raspbian 9

ray vantassle rayvantassle at gmail.com
Tue Apr 10 15:34:33 EDT 2018


On Tue, Apr 10, 2018 at 1:29 PM, mabi <mabi at protonmail.ch> wrote:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On April 9, 2018 11:58 PM, ray vantassle <rayvantassle at gmail.com> wrote:
>
> *A: There's a bug in the configuration file of spl version 0.6.5.9, so it
> won't configure and therefore won't build on kernel 4.14.32-v7+. So the
> make fails.  Somewhere about checking "vfs_getattr".  Probably would work
> if you fixed the configure file.*
>
>
> Against which version of the Linux kernel headers where you compiling ZFS?
> Because the kernel version 4.14 headers are not available yet for Raspbian
> 9. Or did you maybe manually download and unpack them under /usr/src? and
> how is it possible that you have kernel version 4.14.32 whereas I only have
> 4.14.30 and I am up-to-date?
>
>
I think it came in when I did:
 sudo apt-get install linux-headers
 sudo apt-get install  raspberrypi-kernel-headers

But I also did:
  sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/
rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source &&
/usr/bin/rpi-source -q --tag-update
  rpi-source

Reference: https://github.com/notro/rpi-source/wiki and
https://www.raspberrypi.org/documentation/linux/kernel/headers.md

I updated to latest and got 4.14.30, just like you.  It was when I was
trying to find the headers that I managed to get .32.  What's with putting
a new kernel out there but not  putting up the headers until long
afterwards?  That's one annoying thing about freeware.

Alas, there is all too much undocumented and erroneous information floating
around.  First with respect to Debian itself, and even worse with respect
to raspberrian.  And plenty of magical incantations you have to do blindly,
without knowing why.
Like you have to do: rpi-source  --skip-gcc
and then sudo apt-get install bc
and do it again.

On my disk I have:
pi at raspberrypi:~$ ls -l /usr/src/ /lib/modules
/lib/modules:
drwxr-xr-x 2 root root 4096 Apr  8 22:13 3.6-trunk-rpi
drwxr-xr-x 3 root root 4096 Mar 11 22:07 4.14.24+
drwxr-xr-x 3 root root 4096 Mar 11 22:07 4.14.24-v7+
drwxr-xr-x 3 root root 4096 Apr  8 22:13 4.14.30+
drwxr-xr-x 3 root root 4096 Apr  8 22:13 4.14.30-v7+
drwxr-xr-x 3 root root 4096 Apr  8 13:51 4.14.32+
drwxr-xr-x 4 root root 4096 Apr  8 22:45 4.14.32-v7+

/usr/src/:
drwxr-xr-x  4 root root 4096 Apr  8 13:25 linux-headers-3.6-trunk-common
drwxr-xr-x  4 root root 4096 Apr  8 13:25 linux-headers-3.6-trunk-rpi
drwxr-xr-x 24 root root 4096 Apr  8 18:45 linux-headers-4.14.30+
drwxr-xr-x 24 root root 4096 Apr  8 18:45 linux-headers-4.14.30-v7+
lrwxrwxrwx  1 root root   23 Aug 31  2014 linux-kbuild-3.6 ->
../lib/linux-kbuild-3.6
drwxr-xr-x  3 root root 4096 Nov 28 20:11 sense-hat
drwxr-xr-x 10 root root 4096 Apr  8 22:28 spl-0.7.6
drwxr-xr-x  5 root root 4096 Apr  8 22:32 zfs-0.7.6

And I have no idea what all these are, or which are obsolete and can be
deleted.  Like, why is there x.30+ and x.30-v7+?  And why is x.32 in
modules but not in src?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20180410/a604d130/attachment-0001.html>


More information about the zfs-discuss mailing list