[Pkg-zfsonlinux-devel] Bug#1032676: zfs-dkms: Installation fails on a Raspberry Pi 3 Model B+ (Raspberry Pi OS, 64-bit kernel activated)
Wolfgang Liessmann
wolfgang.liessmann at web.de
Fri Mar 10 21:57:56 GMT 2023
Package: zfs-dkms
Version: 2.1.5-1~bpo11~rpt1
Severity: important
Tags: a11y
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Trying to install ZFS with "sudo apt -y install zfsutils-linux".
* What exactly did you do (or not do) that was effective (or
ineffective)?
I also tried the following commands:
# https://wiki.debian.org/ZFS#Installation (March 10, 2023)
codename=$(lsb_release -cs);echo "deb http://deb.debian.org/debian $codename-backports main contrib non-free"|sudo tee -a /etc/apt/sources.list && sudo apt update
# Get keys for http://deb.debian.org/debian bullseye-backports InRelease (otherwise an error will occur)
gpg --keyserver hkps://keyserver.ubuntu.com --recv-key 648ACFD622F3D138
gpg --export --armor 648ACFD622F3D138 | sudo apt-key add -
gpg --keyserver hkps://keyserver.ubuntu.com --recv-key 0E98404D386FA1D9
gpg --export --armor 0E98404D386FA1D9 | sudo apt-key add -
sudo apt update
#sudo apt install linux-headers-amd64
sudo apt install -t bullseye-backports zfsutils-linux
* What was the outcome of this action?
An error message claiming that loadable module support is not included, although the kernel supports it:
zfs-dkms (2.1.9-1~bpo11+1) wird eingerichtet ...
Loading new zfs-2.1.9 DKMS files...
It is likely that 6.1.14-v8+ belongs to a chroot's host
Building for 5.15.84+, 5.15.84-v7+, 5.15.84-v7l+, 5.15.84-v8+, 5.15.92-v8-MY_CUSTOM_KERNEL+, 6.1.14+, 6.1.14-v7+, 6.1.14-v7l+ and 6.1.14-v8+
Building initial module for 5.15.84+
configure: error:
*** This kernel does not include the required loadable module
*** support!
***
*** To build OpenZFS as a loadable Linux kernel module
*** enable loadable module support by setting
*** `CONFIG_MODULES=y` in the kernel configuration and run
*** `make modules_prepare` in the Linux source tree.
***
*** If you don't intend to enable loadable kernel module
*** support, please compile OpenZFS as a Linux kernel built-in.
***
*** Prepare the Linux source tree by running `make prepare`,
*** use the OpenZFS `--enable-linux-builtin` configure option,
*** copy the OpenZFS sources into the Linux source tree using
*** `./copy-builtin <linux source directory>`,
*** set `CONFIG_ZFS=y` in the kernel configuration and compile
*** kernel as usual.
Error! Bad return status for module build on kernel: 5.15.84+ (aarch64)
* What outcome did you expect instead?
Successful installation of the package in order to use the ZFS filesystem.
*** End of the template - remove these template lines ***
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Architecture: aarch64
Kernel: Linux 6.1.14-v8+ (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages zfs-dkms depends on:
ii debconf [debconf-2.0] 1.5.77
pn dkms <none>
ii file 1:5.39-3
ii libc6-dev [libc-dev] 2.31-13+rpt2+rpi1+deb11u5
ii libpython3-stdlib 3.9.2-3
ii lsb-release 11.1.0+rpi1
ii perl 5.32.1-4+deb11u2
ii python3-distutils 3.9.2-1
Versions of packages zfs-dkms recommends:
ii linux-libc-dev 1:1.20230306-1
pn zfs-zed <none>
pn zfsutils-linux <none>
Versions of packages zfs-dkms suggests:
pn debhelper <none>
More information about the Pkg-zfsonlinux-devel
mailing list