Jump to content

Recommended Posts

Posted

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

Posted

There are no header packages for each and every trunk version to save resources.

Most simple solution is probably DIY an image with INSTALL_HEADERS=yes to have them shipped with the image.

Posted (edited)

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
Posted

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.

Posted (edited)

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
Posted

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.

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