Jump to content

odroidhc4 with 5.13.9-meson64, missing ZFS modules


Recommended Posts

Posted

Hi

I have Odroidhc4 with the following kernel:
root@odroidhc4:/opt# uname -a
Linux odroidhc4 5.13.9-meson64 #trunk.114 SMP PREEMPT Mon Aug 9 01:19:39 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Installed from:
Armbian_21.08.0-trunk.116_Odroidhc4_hirsute_edge_5.13.9.img

And I'm missing ZFS modules.


root@odroidhc4:/opt# dpkg -L linux-modules-5.11.0-25-generic | grep zfs
/lib/modules/5.11.0-25-generic/kernel/zfs
/lib/modules/5.11.0-25-generic/kernel/zfs/icp.ko
/lib/modules/5.11.0-25-generic/kernel/zfs/spl.ko
/lib/modules/5.11.0-25-generic/kernel/zfs/zavl.ko
/lib/modules/5.11.0-25-generic/kernel/zfs/zcommon.ko
/lib/modules/5.11.0-25-generic/kernel/zfs/zfs.ko
/lib/modules/5.11.0-25-generic/kernel/zfs/zlua.ko
/lib/modules/5.11.0-25-generic/kernel/zfs/znvpair.ko
/lib/modules/5.11.0-25-generic/kernel/zfs/zunicode.ko
/lib/modules/5.11.0-25-generic/kernel/zfs/zzstd.ko

root@odroidhc4:/opt# apt-cache search linux-modules-5.13

root@odroidhc4:/opt# dpkg -l | grep linux-modules
ii  linux-modules-5.11.0-25-generic    5.11.0-25.27                                                         arm64        Linux kernel extra modules for version 5.11.0 on ARMv8 SMP

 

I feel lost and would be gratefull for any assistance.

Regards
Chris

Posted

I had them already installed. Reinstalled with armbian-config, no change. I'm missing the zfs modules which, if I understand correctly, are provided by linux-modules*

and I cannot find linux-modules.

 

root@odroidhc4:~# ls /lib/modules/5.13.9-meson64/kernel/
arch  crypto  drivers  fs  kernel  lib  net  sound
 

Posted
1 hour ago, ChrisO said:

if I understand correctly

 

Nope. Armbian is not Canonical.

 

You should do some forum search - there are many happy ZFS users around here. Me included. 

 

sudo apt install zfsutils-linux zfs-dkms

 

... but unfortunately there is a bug in headers which needs some time. That is on you to fix or wait ... but it can take months since bug is with us also months.

 

Workaround is using stable kernels (current). You can switch to them within armbian-config, install headers there and install dkms package again.

Posted

OK, trying from scratch:

1. Installed current image: Armbian_21.05.4_Odroidhc4_buster_current_5.10.43.img.xz

2. apt update

 got some of those recently quite famous "Hash Sum mismatch" *) errors:

Err:19 http://mirrors.netix.net/armbian/apt buster/main arm64 linux-image-current-meson64 arm64 21.05.8                                                          
  Hash Sum mismatch
  Hashes of expected file:
   - SHA512:992fe660df2fafcd5487bd613c87bc8d0e5d01d95c9ca26e3385c964934b3e8517ef71b83e7a0830636172ebbac1831a8c1ed872b513730b4ed9068589aa0a9c
   - SHA256:bf1396f7dba17c053a7ba42958bd65751e06a3921958669fe63f057e522f3a99
   - SHA1:f2a4bad1df0353b8fcc1d111d5bdcc520be98ae7 [weak]
   - MD5Sum:a2a292c3a27617e6aa0e4877637c5a14 [weak]
   - Filesize:43238688 [weak]
  Hashes of received file:
   - SHA512:595cb6dc4c711e3c86c220dc9342a843232903b2529317a5333ac359f9f92205b1fc36023eaeaa322140a7eabce3670425a096718cc71a8881893bc80be4c79f
   - SHA256:57519afde133640572833f5e4845a75a0ba840e4f529ab6e73815b2004942e62
   - SHA1:050d4f43d1f58755af9e702d5a769cef5ea70639 [weak]
   - MD5Sum:5830178161646bc59ffafa454931425f [weak]
   - Filesize:43238688 [weak]
  Last modification reported: Mon, 09 Aug 2021 13:25:41 +0000
Fetched 73.2 MB in 1min 20s (911 kB/s)                   
E: Failed to fetch http://mirrors.netix.net/armbian/apt/pool/main/l/linux-5.10.57-meson64/linux-image-current-meson64_21.05.8_arm64.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA512:992fe660df2fafcd5487bd613c87bc8d0e5d01d95c9ca26e3385c964934b3e8517ef71b83e7a0830636172ebbac1831a8c1ed872b513730b4ed9068589aa0a9c
    - SHA256:bf1396f7dba17c053a7ba42958bd65751e06a3921958669fe63f057e522f3a99
    - SHA1:f2a4bad1df0353b8fcc1d111d5bdcc520be98ae7 [weak]
    - MD5Sum:a2a292c3a27617e6aa0e4877637c5a14 [weak]
    - Filesize:43238688 [weak]
   Hashes of received file:
    - SHA512:595cb6dc4c711e3c86c220dc9342a843232903b2529317a5333ac359f9f92205b1fc36023eaeaa322140a7eabce3670425a096718cc71a8881893bc80be4c79f
    - SHA256:57519afde133640572833f5e4845a75a0ba840e4f529ab6e73815b2004942e62
    - SHA1:050d4f43d1f58755af9e702d5a769cef5ea70639 [weak]
    - MD5Sum:5830178161646bc59ffafa454931425f [weak]
    - Filesize:43238688 [weak]
   Last modification reported: Mon, 09 Aug 2021 13:25:41 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
 

Tried again and it worked, go figure why.

 

3. apt upgrade

 This upgraded the kernel to 5.10.57-meson64

 

4. apt install linux-headers-current-meson64

5. apt install zfsutils-linux zfs-dkms

 

ZFS is there.

 

*) Recently, few weeks ago, most of my Debian based systems started to fail on "apt update"  with this "Hash Sum mismatch" error.

Cannot figure out what the problem is. The "solution nr. 1" fro google, rm -rf /var/cache/apt/* /var/lib/apt/lists/* doesn't help.

 

Posted
30 minutes ago, ChrisO said:

Cannot figure out what the problem is.


https://forum.armbian.com/search/?q=Hash Sum mismatch&quick=1

We need to extend repository index synchronisation timeout from 1 day to several days since mirrors doesn't get in sync in this time frame. The problem is that current main rsync server is slow (only 50Mbps upload in total), but is cheap and has no traffic limits.

 

We know how to solve this, but we lack time: https://armbian.atlassian.net/browse/AR-789

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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