Jump to content

Version `25.8.2` of kernel, dtb and/or header package on Armbian Ubuntu Noble break `zfs-dkms`


Recommended Posts

Posted (edited)

Version `25.8.2` of kernel, dtb and/or header package on Armbian Ubuntu Noble break `zfs-dkms` (I'm pretty sure kernel module `zfs` was not built with success)

 

I had to run:

```sh

 sudo apt install linux-image-current-meson64=25.8.1 linux-headers-current-meson64=25.8.1 linux-dtb-current-meson64=25.8.1 && sudo dpkg-reconfigure zfs-dkms

```

 

I couldn't look in to the problem, because I was busy doing something else when I was just upgrading every package on the system.

I had to prioritize quickly fixing it before another user arrives so I just reverted the suspicious packages (the three I mentioned in the title)

I can't look into the problem now either because the computer is not being used by me alone..

Edited by Gunwoo Gim
Posted
Quote

 

I don't know if this relates, but I recently discovered an issue with a Debian Trixie file system package xfsprogs on the 25.8.1 edge kernel for the Orange PI 5 Plus:

https://forum.armbian.com/topic/55599-bug-report-armbian-edge-kernel-6164-xfsprogs-trixie-package-failure-to-start-low-memory-monitorservice/

 

 

I don't think that's a relevant issue. I couldn't `modprobe zfs` in my case.

Posted
9 hours ago, Gunwoo Gim said:

I couldn't `modprobe zfs` in my case.

Modproble probes modules built into the kernel itself. An external package (other than the kernel itself) shouldn't affect it. If it was present via modprobe before, and not after, that isn't the zfs package, that would indicate a module that had been built into 25.8.1 kernel, then excluded from the  25.8.2 kernel build for some reason.

Posted (edited)
21 hours ago, The Tall Man said:

Modproble probes modules built into the kernel itself. An external package (other than the kernel itself) shouldn't affect it. If it was present via modprobe before, and not after, that isn't the zfs package, that would indicate a module that had been built into 25.8.1 kernel, then excluded from the  25.8.2 kernel build for some reason.

Some modules are not included in the kernel package by default. In my case I had to install zfs-dkms built upon Dynamic Kernel Module Support(DKMS).

The module gets rebuilt whenever I upgrade the kernel—I'm not sure exactly which package I have to upgrade first though, header? dtb?

 

Somehow the zfs module was not successfully built after I upgraded the kernel, its header files, and the device tree blobs.

Edited by Gunwoo Gim
Posted

Oh, okay. I'm not familiar with DKMS. But if you're updating multiple packages at once, doesn't apt sort out which need to be done first and second, etc?

 

But if you're somehow rebuilding the kernel upon package installation, I'd install the headers package first - as those would be required for source-code level access.

 

As for the  devicetree blobs package, that just provides copies of those (already build) .dtb files to your /boot directory. But they're actually already included in the kernel package itself. The kernel package installs them to:

 

/usr/lib/linux-image-_______/

 

So on my Orange PI 5 Plus, the dtb directory from the latest kernel package is here:

/usr/lib/linux-image-6.18.0-rc3-edge-rockchip64/

 

Keeping the convention Armbian uses, instead of installing the redundant dtb package, I manually create two links to it in my /boot directory whenever I update the kernel (I have to do this for Debian-sourced kernels anyway):

cd /boot
ln -s /usr/lib/linux-image-6.18.0-rc3-edge-rockchip64 dtb-6.18.0-rc3-edge-rockchip64
ln -s /usr/lib/linux-image-6.18.0-rc3-edge-rockchip64 dtb


Just replace that kernel with whichever one you're using. And if you're booting via uboot, be sure the Armbian.txt remains up to date.

Posted

I have seen kernel updates for my system since you began this thread. You could check for a latest update, and see if the issue self-corrects.

 

Do you know when the latest zfs-dkms package was updated? Perhaps it's just getting too out of sync with the kernels.

 

If all else fails, you can build the kernel yourself:

https://docs.armbian.com/Developer-Guide_Build-Preparation/

 

...and in the kernel config, be sure that zfs modules are included. From the kernel config screen, you can do a search for zfs, and see what comes up. If there are zfs modules available there, this would be a different approach that would probably replace the use of the zfs-dkms package.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines