zfs-dkms broken

Bug #1995516 reported by Heiko Robert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ODROID
New
Undecided
Unassigned

Bug Description

Ubuntu 22.04 installed on a odroid M-1 using netboot_default

5.18.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.18.0-202205181718~jammy (2022-05-18) aarch64 aarch64

zfs kernel module is missing although zfsutils-linux have been installed without error.

# /sbin/modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/5.18.0-odroid-arm64

I tried to install/compile manually but get

Preconfiguring packages ...
Selecting previously unselected package zfs-dkms.
(Reading database ... 59206 files and directories currently installed.)
Preparing to unpack .../zfs-dkms_2.1.4-0ubuntu0.1_all.deb ...
Unpacking zfs-dkms (2.1.4-0ubuntu0.1) ...
Setting up zfs-dkms (2.1.4-0ubuntu0.1) ...
Loading new zfs-2.1.4 DKMS files...
Building for 5.18.0-odroid-arm64
Building initial module for 5.18.0-odroid-arm64
ERROR (dkms apport): kernel package linux-headers-5.18.0-odroid-arm64 is not supported
Error! Bad return status for module build on kernel: 5.18.0-odroid-arm64 (aarch64)
Consult /var/lib/dkms/zfs/2.1.4/build/make.log for more information.
dpkg: error processing package zfs-dkms (--configure):
 installed zfs-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.18.0-odroid-arm64
Using DTB: rockchip/rk3568-odroid-m1.dtb
Installing rockchip into /boot/dtbs/5.18.0-odroid-arm64/rockchip/
Installing rockchip into /boot/dtbs/5.18.0-odroid-arm64/rockchip/
flash-kernel: installing version 5.18.0-odroid-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
Errors were encountered while processing:
 zfs-dkms
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

/var/lib/dkms/zfs/2.1.4/build/make.log

/var/lib/dkms/zfs/2.1.4/build/module/zfs/../os/linux/zfs/zfs_sysfs.c: In function ‘zfs_kobj_init’:
/var/lib/dkms/zfs/2.1.4/build/module/zfs/../os/linux/zfs/zfs_sysfs.c:188:22: error: ‘struct kobj_type’ has no member named ‘default_attrs’
  188 | zkobj->zko_kobj_type.default_attrs = zkobj->zko_default_attrs;

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.