Enable ZFS for Raspberry Pi arm64

Bug #1884110 reported by Juerg Haefliger on 2020-06-18
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux-raspi (Ubuntu)
Undecided
Unassigned
Focal
Undecided
Unassigned

Bug Description

[Impact]

The ZFS module is currently not available in the raspi kernel and compiling the dkms module takes ages. ZFS is supported on >4GB 64-bit Raspberry Pis and the module should therefore be provided by the kernel package.

[Test Case]

$ modinfo zfs
modinfo: ERROR: Module zfs not found.

[Regression Potential]

Low. It's 'just' a couple of new modules and users can already build and use them today using the zfs-dkms package.

Juerg Haefliger (juergh) on 2020-06-18
Changed in linux-raspi (Ubuntu):
status: New → Invalid
Juerg Haefliger (juergh) on 2020-06-18
summary: - Enable ZFS on arm64
+ Enable ZFS for Raspberry Pi arm64
Juerg Haefliger (juergh) on 2020-06-22
description: updated
Changed in linux-raspi (Ubuntu Focal):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (37.2 KiB)

This bug was fixed in the package linux-raspi - 5.4.0-1015.15

---------------
linux-raspi (5.4.0-1015.15) focal; urgency=medium

  * focal/linux-raspi: 5.4.0-1015.15 -proposed tracker (LP: #1887056)

  [ Ubuntu: 5.4.0-42.46 ]

  * focal/linux: 5.4.0-42.46 -proposed tracker (LP: #1887069)
  * linux 4.15.0-109-generic network DoS regression vs -108 (LP: #1886668)
    - SAUCE: Revert "netprio_cgroup: Fix unlimited memory leak of v2 cgroups"

linux-raspi (5.4.0-1014.14) focal; urgency=medium

  * focal/linux-raspi: 5.4.0-1014.14 -proposed tracker (LP: #1885841)

  * Add crda dependency (LP: #1877415)
    - [Packaging] raspi: Depend on crda

  * dtoverlay=uart4 breaks Raspberry Pi 4B boot (LP: #1875454)
    - SAUCE: arm: dts: Add 'brcm, bcm2835-pl011' for compatible for uart2-5

  * aarch64 kernel module for exfat not in raspberry pi 4 build (LP: #1880503)
    - [Config] raspi: Set EXFAT_FS=m

  * Enable ZFS for Raspberry Pi arm64 (LP: #1884110)
    - [Config] raspi: Enable zfs modules for arm64

  * focal/linux-raspi: Upstream raspberrypi patchset 2020-06-10 (LP: #1882930)
    - Revert "net: bcmgenet: Workaround for Pi 4B network issue"
    - Revert "gpiolib: Don't prevent IRQ usage of output GPIOs"
    - gpiolib: Don't prevent IRQ usage of output GPIOs
    - drm/vc4: Fix HDMI mode validation
    - clk-raspberrypi: Allow cpufreq driver to also adjust gpu clocks
    - bcm2835-dma: Add proper 40-bit DMA support
    - overlays: tc358743: Use intra-overlay fragments
    - overlays: Move "fixed-clock" nodes to the root
    - raspberrypi: dts: Switch to discrete ALSA devices
    - dt-bindings: media: i2c: Add IMX477 CMOS sensor binding
    - dtoverlays: Add IMX477 sensor overlay
    - media: i2c: Add driver for Sony IMX477 sensor
    - media: i2c: imx477: Add support for adaptive frame control
    - configs: Add imx477 sensor driver to all Raspberry Pi defconfigs
    - udmabuf: Remove deleted map/unmap handlers.
    - udmabuf: use cache_sgt_mapping option
    - udmabuf: add a pointer to the miscdevice in dma-buf private data
    - udmabuf: separate out creating/destroying scatter-table
    - udmabuf: implement begin_cpu_access/end_cpu_access hooks
    - udmabuf: fix dma-buf cpu access
    - dma-buf: Add dma-buf heaps framework
    - dma-buf: heaps: Add heap helpers
    - dma-buf: heaps: Add system heap to dmabuf heaps
    - dma-buf: heaps: Add CMA heap to dmabuf heaps
    - kselftests: Add dma-heap test
    - dma-buf: heaps: Use _IOCTL_ for userspace IOCTL identifier
    - dma-buf: heaps: Remove redundant heap identifier from system heap name
    - dma-buf: fix resource leak on -ENOTTY error return path
    - dma-heap: Make the symbol 'dma_heap_ioctl_cmds' static
    - defconfig: Add CMA and system dma-heaps to the config
    - ARM: dts: Enable firmware-clocks on all Pis
    - configs: Include the firmware-clocks driver
    - configs: Use the upstream cpufreq driver
    - media: bcm2835-unicam: Always service interrupts
    - sc16is7xx: Fix for hardware flow control
    - drm/vc4: Fix VIC usage with Broadcast RGB
    - staging: vc04_services: mmal-vchiq: Update parameters list
    - staging:vc04_services: bcm2835-codec: Request headers with I-frame
  ...

Changed in linux-raspi (Ubuntu Focal):
status: Fix Committed → Fix Released
Colin Ian King (colin-king) wrote :

Thanks Juerg. To users using ZFS on Raspberry Pi, once you move to this updated kernel you can remove zfs-spl and zfs-dkms as the driver is now part of the kernel package.

Launchpad Janitor (janitor) wrote :
Download full text (37.2 KiB)

This bug was fixed in the package linux-raspi - 5.4.0-1015.15

---------------
linux-raspi (5.4.0-1015.15) focal; urgency=medium

  * focal/linux-raspi: 5.4.0-1015.15 -proposed tracker (LP: #1887056)

  [ Ubuntu: 5.4.0-42.46 ]

  * focal/linux: 5.4.0-42.46 -proposed tracker (LP: #1887069)
  * linux 4.15.0-109-generic network DoS regression vs -108 (LP: #1886668)
    - SAUCE: Revert "netprio_cgroup: Fix unlimited memory leak of v2 cgroups"

linux-raspi (5.4.0-1014.14) focal; urgency=medium

  * focal/linux-raspi: 5.4.0-1014.14 -proposed tracker (LP: #1885841)

  * Add crda dependency (LP: #1877415)
    - [Packaging] raspi: Depend on crda

  * dtoverlay=uart4 breaks Raspberry Pi 4B boot (LP: #1875454)
    - SAUCE: arm: dts: Add 'brcm, bcm2835-pl011' for compatible for uart2-5

  * aarch64 kernel module for exfat not in raspberry pi 4 build (LP: #1880503)
    - [Config] raspi: Set EXFAT_FS=m

  * Enable ZFS for Raspberry Pi arm64 (LP: #1884110)
    - [Config] raspi: Enable zfs modules for arm64

  * focal/linux-raspi: Upstream raspberrypi patchset 2020-06-10 (LP: #1882930)
    - Revert "net: bcmgenet: Workaround for Pi 4B network issue"
    - Revert "gpiolib: Don't prevent IRQ usage of output GPIOs"
    - gpiolib: Don't prevent IRQ usage of output GPIOs
    - drm/vc4: Fix HDMI mode validation
    - clk-raspberrypi: Allow cpufreq driver to also adjust gpu clocks
    - bcm2835-dma: Add proper 40-bit DMA support
    - overlays: tc358743: Use intra-overlay fragments
    - overlays: Move "fixed-clock" nodes to the root
    - raspberrypi: dts: Switch to discrete ALSA devices
    - dt-bindings: media: i2c: Add IMX477 CMOS sensor binding
    - dtoverlays: Add IMX477 sensor overlay
    - media: i2c: Add driver for Sony IMX477 sensor
    - media: i2c: imx477: Add support for adaptive frame control
    - configs: Add imx477 sensor driver to all Raspberry Pi defconfigs
    - udmabuf: Remove deleted map/unmap handlers.
    - udmabuf: use cache_sgt_mapping option
    - udmabuf: add a pointer to the miscdevice in dma-buf private data
    - udmabuf: separate out creating/destroying scatter-table
    - udmabuf: implement begin_cpu_access/end_cpu_access hooks
    - udmabuf: fix dma-buf cpu access
    - dma-buf: Add dma-buf heaps framework
    - dma-buf: heaps: Add heap helpers
    - dma-buf: heaps: Add system heap to dmabuf heaps
    - dma-buf: heaps: Add CMA heap to dmabuf heaps
    - kselftests: Add dma-heap test
    - dma-buf: heaps: Use _IOCTL_ for userspace IOCTL identifier
    - dma-buf: heaps: Remove redundant heap identifier from system heap name
    - dma-buf: fix resource leak on -ENOTTY error return path
    - dma-heap: Make the symbol 'dma_heap_ioctl_cmds' static
    - defconfig: Add CMA and system dma-heaps to the config
    - ARM: dts: Enable firmware-clocks on all Pis
    - configs: Include the firmware-clocks driver
    - configs: Use the upstream cpufreq driver
    - media: bcm2835-unicam: Always service interrupts
    - sc16is7xx: Fix for hardware flow control
    - drm/vc4: Fix VIC usage with Broadcast RGB
    - staging: vc04_services: mmal-vchiq: Update parameters list
    - staging:vc04_services: bcm2835-codec: Request headers with I-frame
  ...

Changed in linux-raspi (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers