Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Missing headers for 6.18 kernel

Featured Replies

Hi

I installed Armbian_community_26.2.0-trunk.151_Odroidhc4_trixie_current_6.18.2_minimal.img

Trying to build zfs-dkms I discovered that I was missing the linux-headers for this kernel version
and there is no package containing it. At least apt-cache didn't find anything.

Any idea where to find it?

Thanks,
Chris

Thanks Werner. Meanwhile I have tried a minimal image and did not plug the ethernet cable it, the Armbian initial boot script installed the drivers and connected seamlessly to wifi. No need for the marrownr external driver, so the headers problem is no longer a problem.

 

Now I am keeping my fingers crossed that the OTG will work (it didn't work with Johang's latest images. So I created my own using hte armbian compilation script. It doesn't have Trixie for pcduino3nano, but bookworm should work.

 

Cheers,

Gaetano.

Edited by Gaetano

Hi Chris,

 

when I tried to install the headers on my pcduino3nano, there were two options: linux-headers-armmp (or equivalent for your board) and kernel-headers. This secong package name was incomplete, but apt suggested a list of possible matches for my system. Give that a try.

 

Cheers,

Gaetano.

  • Author

Thanks Werner and Gaetano

I fear DIY an image exceeds my skils 😉

I tried linux-headers-arm64. Result: kernel downgraded to 6.12 and wrong links in /boot:

 

lrwxrwxrwx 1 root root       30 Dec 29 22:28 Image -> vmlinuz-6.18.2-current-meson64
lrwxrwxrwx 1 root root       27 Jan 23 13:27 uInitrd -> uInitrd-6.12.63+deb13-arm64


Corrected, built ZFS but at the end USB not working. It's not worth the hassle.

I ended up installing 

Armbian_25.8.1_Odroidhc4_bookworm_current_6.12.41_minimal.img

Everything seams OK, especially ZFS.

 

Anyway, the link to Armbian_community_26.2.0-trunk.151_Odroidhc4_trixie_current_6.18.2_minimal.img is not there anymore 🙂

 

Thanks for your time.

Chris

 

Edited by ChrisO

Ubuntu Noble variant already supports ZFS on 6.18.y while Trixie was added today:

https://github.com/armbian/os/pull/425

 

Testing:

 

Spoiler
sudo apt install zfs-dkms zfsutils-linux 
^Cading package lists... 98%
igorp@odroidm1:~$ sudo apt update
Hit:1 http://security.debian.org trixie-security InRelease                                                                                              
Hit:2 http://deb.debian.org/debian trixie InRelease                                                                                                     
Hit:3 http://deb.debian.org/debian trixie-updates InRelease                                                  
Hit:4 http://deb.debian.org/debian trixie-backports InRelease                                                
Hit:5 https://github.armbian.com/configng stable InRelease                                                   
Get:6 https://repo.armbian.com/artifacts/425/zfs-trixie trixie InRelease [50.6 kB]
Get:7 https://repo.armbian.com/artifacts/425/zfs-trixie trixie/trixie-utils all Packages [866 B]
Get:8 https://repo.armbian.com/artifacts/425/zfs-trixie trixie/trixie-utils arm64 Packages [2,730 B]
Fetched 54.2 kB in 8s (7,025 B/s)     
All packages are up to date.    
igorp@odroidm1:~$ sudo apt install zfs-dkms zfsutils-linux 
Installing:                     
  zfs-dkms  zfsutils-linux

Installing dependencies:
  dkms  file  libmagic-mgc  libmagic1t64  libnvpair3linux  libuutil3linux  libzfs7linux  libzpool7linux

Suggested packages:
  menu  debhelper  nfs-kernel-server  samba-common-bin  zfs-initramfs  | zfs-dracut

Recommended packages:
  fakeroot  zfs-zed

Summary:
  Upgrading: 0, Installing: 10, Removing: 0, Not Upgrading: 0
  Download size: 5,170 kB
  Space needed: 37.5 MB / 4,520 MB available

Continue? [Y/n] 
Get:1 http://deb.debian.org/debian trixie/main arm64 libmagic-mgc arm64 1:5.46-5 [338 kB]
Get:2 http://deb.debian.org/debian trixie/main arm64 libmagic1t64 arm64 1:5.46-5 [103 kB]
Get:3 http://deb.debian.org/debian trixie/main arm64 file arm64 1:5.46-5 [43.7 kB]     
Get:4 http://deb.debian.org/debian trixie/main arm64 dkms all 3.2.2-1~deb13u1 [60.1 kB]
Get:5 https://repo.armbian.com/artifacts/425/zfs-trixie trixie/trixie-utils arm64 libnvpair3linux arm64 2.4.0-1 [61.8 kB]
Get:6 https://repo.armbian.com/artifacts/425/zfs-trixie trixie/trixie-utils arm64 libuutil3linux arm64 2.4.0-1 [54.7 kB]
Get:7 https://repo.armbian.com/artifacts/425/zfs-trixie trixie/trixie-utils arm64 libzfs7linux arm64 2.4.0-1 [222 kB]
Get:8 https://repo.armbian.com/artifacts/425/zfs-trixie trixie/trixie-utils arm64 libzpool7linux arm64 2.4.0-1 [1,211 kB]
Get:9 https://repo.armbian.com/artifacts/425/zfs-trixie trixie/trixie-utils arm64 zfsutils-linux arm64 2.4.0-1 [587 kB]
Get:10 https://repo.armbian.com/artifacts/425/zfs-trixie trixie/trixie-utils arm64 zfs-dkms all 2.4.0-1 [2,488 kB]
Fetched 5,170 kB in 4s (1,268 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libnvpair3linux:arm64.
(Reading database ... 61282 files and directories currently installed.)
Preparing to unpack .../0-libnvpair3linux_2.4.0-1_arm64.deb ...
Unpacking libnvpair3linux:arm64 (2.4.0-1) ...
Selecting previously unselected package libuutil3linux:arm64.
Preparing to unpack .../1-libuutil3linux_2.4.0-1_arm64.deb ...
Unpacking libuutil3linux:arm64 (2.4.0-1) ...
Selecting previously unselected package libzfs7linux:arm64.
Preparing to unpack .../2-libzfs7linux_2.4.0-1_arm64.deb ...
Unpacking libzfs7linux:arm64 (2.4.0-1) ...
Selecting previously unselected package libzpool7linux:arm64.
Preparing to unpack .../3-libzpool7linux_2.4.0-1_arm64.deb ...
Unpacking libzpool7linux:arm64 (2.4.0-1) ...
Selecting previously unselected package zfsutils-linux.
Preparing to unpack .../4-zfsutils-linux_2.4.0-1_arm64.deb ...
Unpacking zfsutils-linux (2.4.0-1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../5-libmagic-mgc_1%3a5.46-5_arm64.deb ...
Unpacking libmagic-mgc (1:5.46-5) ...
Selecting previously unselected package libmagic1t64:arm64.
Preparing to unpack .../6-libmagic1t64_1%3a5.46-5_arm64.deb ...
Unpacking libmagic1t64:arm64 (1:5.46-5) ...
Selecting previously unselected package file.
Preparing to unpack .../7-file_1%3a5.46-5_arm64.deb ...
Unpacking file (1:5.46-5) ...
Selecting previously unselected package dkms.
Preparing to unpack .../8-dkms_3.2.2-1~deb13u1_all.deb ...
Unpacking dkms (3.2.2-1~deb13u1) ...
Selecting previously unselected package zfs-dkms.
Preparing to unpack .../9-zfs-dkms_2.4.0-1_all.deb ...
Unpacking zfs-dkms (2.4.0-1) ...
Setting up libnvpair3linux:arm64 (2.4.0-1) ...
Setting up libmagic-mgc (1:5.46-5) ...
Setting up libmagic1t64:arm64 (1:5.46-5) ...
Setting up file (1:5.46-5) ...
Setting up dkms (3.2.2-1~deb13u1) ...
Setting up zfs-dkms (2.4.0-1) ...
Loading new zfs/2.4.0 DKMS files...
Building for 6.18.7-current-rockchip64

Building initial module zfs/2.4.0 for 6.18.7-current-rockchip64
The kernel is built without module signing facility, modules won't be signed

Running the pre_build script................................................................................................................................................... done.
Building module(s)...................................................................................................................................................

 

 

Once automation completes, it will be provided via normal apt update.

  • Author

Thanks Igor.

Just for reference, I also tried Armbian_community_26.2.0-trunk.332_Odroidhc4_forky_current_6.18.7_minimal.img

 apt update
 apt upgrade
 apt install linux-headers-current-meson64
 apt install zfsutils-linux zfs-initramfs zfs-dkms zfs-zed
 

Everything went fine and seams to working OK.

 

Chris

Edited by ChrisO

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.