[Kernel-packages] [Bug 1822797] Re: ZFS module is installed for wrong kernel on arm64-raspi3 systems (19.04 beta)

2019-10-24 Thread satmandu
For what it is worth, zfs works quite well for a root fs rpool on a 4Gb
RPI4b.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1822797

Title:
  ZFS module is installed for wrong kernel on arm64-raspi3 systems
  (19.04 beta)

Status in linux-raspi2 package in Ubuntu:
  Triaged

Bug description:
  Platform: Raspberry Pi 3 running ubuntu-19.04-beta-preinstalled-
  server-arm64+raspi3.img

  Kernel: Default (Linux ubuntu 4.18.0-1010-raspi2 #12-Ubuntu SMP
  PREEMPT Tue Feb 12 12:17:11 UTC 2019 aarch64 aarch64 aarch64
  GNU/Linux)

  Problem: The ZFS module is installed for a kernel that can not be
  used.

  apt-get install zfs-initramfs 
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following additional packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux
linux-image-unsigned-5.0.0-8-snapdragon
linux-modules-5.0.0-8-snapdragon zfs-zed zfsutils-linux
  Suggested packages:
fdutils linux-doc-5.0.0 | linux-source-5.0.0 linux-tools
linux-headers-5.0.0-8-snapdragon nfs-kernel-server
samba-common-bin
  The following NEW packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux
linux-image-unsigned-5.0.0-8-snapdragon
linux-modules-5.0.0-8-snapdragon zfs-initramfs zfs-zed
zfsutils-linux
  0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
  Need to get 55.7 MB of archives.
  After this operation, 305 MB of additional disk space will be used.
  Do you want to continue? [Y/n] Y
  Get:1 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 
linux-modules-5.0.0-8-snapdragon arm64 5.0.0-8.9 [47.5 MB]
  Get:2 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 
linux-image-unsigned-5.0.0-8-snapdragon arm64 5.0.0-8.9 [7169 kB]
  Get:3 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libnvpair1linux 
arm64 0.7.12-1ubuntu5 [42.8 kB]
  Get:4 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libuutil1linux 
arm64 0.7.12-1ubuntu5 [50.7 kB]
  Get:5 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libzpool2linux 
arm64 0.7.12-1ubuntu5 [498 kB]
  Get:6 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libzfs2linux 
arm64 0.7.12-1ubuntu5 [121 kB]
  Get:7 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfsutils-linux 
arm64 0.7.12-1ubuntu5 [267 kB]
  Get:8 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfs-initramfs 
arm64 0.7.12-1ubuntu5 [22.2 kB]
  Get:9 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfs-zed arm64 
0.7.12-1ubuntu5 [57.5 kB]
  Fetched 55.7 MB in 37s (1486 kB/s)   
  Selecting previously unselected package linux-modules-5.0.0-8-snapdragon.
  (Reading database ... 61671 files and directories currently installed.)
  Preparing to unpack 
.../0-linux-modules-5.0.0-8-snapdragon_5.0.0-8.9_arm64.deb ...
  Unpacking linux-modules-5.0.0-8-snapdragon (5.0.0-8.9) ...
  Selecting previously unselected package 
linux-image-unsigned-5.0.0-8-snapdragon.
  Preparing to unpack 
.../1-linux-image-unsigned-5.0.0-8-snapdragon_5.0.0-8.9_arm64.deb ...
  Unpacking linux-image-unsigned-5.0.0-8-snapdragon (5.0.0-8.9) ...
  Selecting previously unselected package libnvpair1linux.
  Preparing to unpack .../2-libnvpair1linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libnvpair1linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libuutil1linux.
  Preparing to unpack .../3-libuutil1linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libuutil1linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libzpool2linux.
  Preparing to unpack .../4-libzpool2linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libzpool2linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libzfs2linux.
  Preparing to unpack .../5-libzfs2linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libzfs2linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package zfsutils-linux.
  Preparing to unpack .../6-zfsutils-linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking zfsutils-linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package zfs-initramfs.
  Preparing to unpack .../7-zfs-initramfs_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking zfs-initramfs (0.7.12-1ubuntu5) ...
  Selecting previously unselected package zfs-zed.
  Preparing to unpack .../8-zfs-zed_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking zfs-zed (0.7.12-1ubuntu5) ...
  Setting up libuutil1linux (0.7.12-1ubuntu5) ...
  Setting up linux-modules-5.0.0-8-snapdragon (5.0.0-8.9) ...
  Setting up linux-image-unsigned-5.0.0-8-snapdragon (5.0.0-8.9) ...
  I: /boot/vmlinuz is now a symlink to vmlinuz-5.0.0-8-snapdragon
  I: /boot/initrd.img is now a symlink to initrd.img-5.0.0-8-snapdragon
  Setting up libnvpair1linux (0.7.12-1ubuntu5) ...
  Setting up libzpool2linux (0.7.12-1ubuntu5) ...
  Setting up libzfs2linux 

[Kernel-packages] [Bug 1822797] Re: ZFS module is installed for wrong kernel on arm64-raspi3 systems (19.04 beta)

2019-04-02 Thread Lasse
I have had good experience with running ZFS on rpi3 using other distros.
Of course it would be a complete craziness to use zfs in a desktop setup
with just 1Gb of RAM. For what rpi is actually meant, 1Gb is plenty
enough to run ZFS especially if the ARC size is set to a smaller value.

This is why I hope this problem would get fixed, so I am able to use
Ubuntu on all platforms.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1822797

Title:
  ZFS module is installed for wrong kernel on arm64-raspi3 systems
  (19.04 beta)

Status in linux-raspi2 package in Ubuntu:
  Triaged

Bug description:
  Platform: Raspberry Pi 3 running ubuntu-19.04-beta-preinstalled-
  server-arm64+raspi3.img

  Kernel: Default (Linux ubuntu 4.18.0-1010-raspi2 #12-Ubuntu SMP
  PREEMPT Tue Feb 12 12:17:11 UTC 2019 aarch64 aarch64 aarch64
  GNU/Linux)

  Problem: The ZFS module is installed for a kernel that can not be
  used.

  apt-get install zfs-initramfs 
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following additional packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux
linux-image-unsigned-5.0.0-8-snapdragon
linux-modules-5.0.0-8-snapdragon zfs-zed zfsutils-linux
  Suggested packages:
fdutils linux-doc-5.0.0 | linux-source-5.0.0 linux-tools
linux-headers-5.0.0-8-snapdragon nfs-kernel-server
samba-common-bin
  The following NEW packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux
linux-image-unsigned-5.0.0-8-snapdragon
linux-modules-5.0.0-8-snapdragon zfs-initramfs zfs-zed
zfsutils-linux
  0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
  Need to get 55.7 MB of archives.
  After this operation, 305 MB of additional disk space will be used.
  Do you want to continue? [Y/n] Y
  Get:1 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 
linux-modules-5.0.0-8-snapdragon arm64 5.0.0-8.9 [47.5 MB]
  Get:2 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 
linux-image-unsigned-5.0.0-8-snapdragon arm64 5.0.0-8.9 [7169 kB]
  Get:3 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libnvpair1linux 
arm64 0.7.12-1ubuntu5 [42.8 kB]
  Get:4 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libuutil1linux 
arm64 0.7.12-1ubuntu5 [50.7 kB]
  Get:5 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libzpool2linux 
arm64 0.7.12-1ubuntu5 [498 kB]
  Get:6 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libzfs2linux 
arm64 0.7.12-1ubuntu5 [121 kB]
  Get:7 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfsutils-linux 
arm64 0.7.12-1ubuntu5 [267 kB]
  Get:8 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfs-initramfs 
arm64 0.7.12-1ubuntu5 [22.2 kB]
  Get:9 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfs-zed arm64 
0.7.12-1ubuntu5 [57.5 kB]
  Fetched 55.7 MB in 37s (1486 kB/s)   
  Selecting previously unselected package linux-modules-5.0.0-8-snapdragon.
  (Reading database ... 61671 files and directories currently installed.)
  Preparing to unpack 
.../0-linux-modules-5.0.0-8-snapdragon_5.0.0-8.9_arm64.deb ...
  Unpacking linux-modules-5.0.0-8-snapdragon (5.0.0-8.9) ...
  Selecting previously unselected package 
linux-image-unsigned-5.0.0-8-snapdragon.
  Preparing to unpack 
.../1-linux-image-unsigned-5.0.0-8-snapdragon_5.0.0-8.9_arm64.deb ...
  Unpacking linux-image-unsigned-5.0.0-8-snapdragon (5.0.0-8.9) ...
  Selecting previously unselected package libnvpair1linux.
  Preparing to unpack .../2-libnvpair1linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libnvpair1linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libuutil1linux.
  Preparing to unpack .../3-libuutil1linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libuutil1linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libzpool2linux.
  Preparing to unpack .../4-libzpool2linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libzpool2linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libzfs2linux.
  Preparing to unpack .../5-libzfs2linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libzfs2linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package zfsutils-linux.
  Preparing to unpack .../6-zfsutils-linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking zfsutils-linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package zfs-initramfs.
  Preparing to unpack .../7-zfs-initramfs_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking zfs-initramfs (0.7.12-1ubuntu5) ...
  Selecting previously unselected package zfs-zed.
  Preparing to unpack .../8-zfs-zed_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking zfs-zed (0.7.12-1ubuntu5) ...
  Setting up libuutil1linux (0.7.12-1ubuntu5) ...
  Setting up linux-modules-5.0.0-8-snapdragon (5.0.0-8.9) ...
  Setting up 

[Kernel-packages] [Bug 1822797] Re: ZFS module is installed for wrong kernel on arm64-raspi3 systems (19.04 beta)

2019-04-02 Thread Steve Langasek
This is because the raspi2 kernel package does not Provides:  zfs-dkms,
zfs-modules, as expected for Ubuntu kernel packages which include ZFS
support.  So if you try to install the zfs-initramfs package, apt will
try to pull in something which satisfies the dependencies if nothing
else is already installed which does, and it doesn't know that the
kernel image it's pulling is not an appropriate provider of zfs for the
running system.

If there is a bug here, it's that the Ubuntu zfs sauce patches are not
enabled on the raspi2 arm64 kernel build.

However, given the memory limitations of the raspi3 family of devices,
I'm not sure it's at all advisable to try to run zfs on such a system.

** Package changed: ubuntu => linux-raspi2 (Ubuntu)

** Changed in: linux-raspi2 (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1822797

Title:
  ZFS module is installed for wrong kernel on arm64-raspi3 systems
  (19.04 beta)

Status in linux-raspi2 package in Ubuntu:
  Triaged

Bug description:
  Platform: Raspberry Pi 3 running ubuntu-19.04-beta-preinstalled-
  server-arm64+raspi3.img

  Kernel: Default (Linux ubuntu 4.18.0-1010-raspi2 #12-Ubuntu SMP
  PREEMPT Tue Feb 12 12:17:11 UTC 2019 aarch64 aarch64 aarch64
  GNU/Linux)

  Problem: The ZFS module is installed for a kernel that can not be
  used.

  apt-get install zfs-initramfs 
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following additional packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux
linux-image-unsigned-5.0.0-8-snapdragon
linux-modules-5.0.0-8-snapdragon zfs-zed zfsutils-linux
  Suggested packages:
fdutils linux-doc-5.0.0 | linux-source-5.0.0 linux-tools
linux-headers-5.0.0-8-snapdragon nfs-kernel-server
samba-common-bin
  The following NEW packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux
linux-image-unsigned-5.0.0-8-snapdragon
linux-modules-5.0.0-8-snapdragon zfs-initramfs zfs-zed
zfsutils-linux
  0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
  Need to get 55.7 MB of archives.
  After this operation, 305 MB of additional disk space will be used.
  Do you want to continue? [Y/n] Y
  Get:1 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 
linux-modules-5.0.0-8-snapdragon arm64 5.0.0-8.9 [47.5 MB]
  Get:2 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 
linux-image-unsigned-5.0.0-8-snapdragon arm64 5.0.0-8.9 [7169 kB]
  Get:3 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libnvpair1linux 
arm64 0.7.12-1ubuntu5 [42.8 kB]
  Get:4 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libuutil1linux 
arm64 0.7.12-1ubuntu5 [50.7 kB]
  Get:5 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libzpool2linux 
arm64 0.7.12-1ubuntu5 [498 kB]
  Get:6 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 libzfs2linux 
arm64 0.7.12-1ubuntu5 [121 kB]
  Get:7 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfsutils-linux 
arm64 0.7.12-1ubuntu5 [267 kB]
  Get:8 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfs-initramfs 
arm64 0.7.12-1ubuntu5 [22.2 kB]
  Get:9 http://ports.ubuntu.com/ubuntu-ports disco/main arm64 zfs-zed arm64 
0.7.12-1ubuntu5 [57.5 kB]
  Fetched 55.7 MB in 37s (1486 kB/s)   
  Selecting previously unselected package linux-modules-5.0.0-8-snapdragon.
  (Reading database ... 61671 files and directories currently installed.)
  Preparing to unpack 
.../0-linux-modules-5.0.0-8-snapdragon_5.0.0-8.9_arm64.deb ...
  Unpacking linux-modules-5.0.0-8-snapdragon (5.0.0-8.9) ...
  Selecting previously unselected package 
linux-image-unsigned-5.0.0-8-snapdragon.
  Preparing to unpack 
.../1-linux-image-unsigned-5.0.0-8-snapdragon_5.0.0-8.9_arm64.deb ...
  Unpacking linux-image-unsigned-5.0.0-8-snapdragon (5.0.0-8.9) ...
  Selecting previously unselected package libnvpair1linux.
  Preparing to unpack .../2-libnvpair1linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libnvpair1linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libuutil1linux.
  Preparing to unpack .../3-libuutil1linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libuutil1linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libzpool2linux.
  Preparing to unpack .../4-libzpool2linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libzpool2linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package libzfs2linux.
  Preparing to unpack .../5-libzfs2linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking libzfs2linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package zfsutils-linux.
  Preparing to unpack .../6-zfsutils-linux_0.7.12-1ubuntu5_arm64.deb ...
  Unpacking zfsutils-linux (0.7.12-1ubuntu5) ...
  Selecting previously unselected package zfs-initramfs.