ChrisO Posted September 27, 2022 Share Posted September 27, 2022 (edited) Hi I was using: Title: Armbian 21.08.5 Odroidhc4 Debian buster legacy Then something bad pushed me to run apt update/upgrade No ZFS anymore. Installed 22.08.2, but, when tried to install kernel headers using armbian-config, result: "grep: invalid max count" message. What is the current correct way to install Armbian with ZFS? Thanks ChrisO Edited September 27, 2022 by ChrisO addition 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted September 28, 2022 Share Posted September 28, 2022 52 minutes ago, ChrisO said: What is the current correct way to install Armbian with ZFS? header install fails or ZFS compilation? 0 Quote Link to comment Share on other sites More sharing options...
ChrisO Posted September 28, 2022 Author Share Posted September 28, 2022 Started armbian-config, selected "Software", error message appears: grep: invalid max count Selected "Headers_install", again error message from grep. Headers not installed. Installed headers with: apt install linux-headers-current-meson64 Result: Loading new zfs-2.1.4 DKMS files... It is likely that 5.19.10-meson64 belongs to a chroot's host Building for 5.10.144-meson64 Building initial module for 5.10.144-meson64 configure: error: *** Unable to build an empty module. Error! Bad return status for module build on kernel: 5.10.144-meson64 (aarch64) root@odroidhc4:~# tail /var/lib/dkms/zfs/2.1.4/build/make.log DKMS make.log for zfs-2.1.4 for kernel 5.10.144-meson64 (aarch64) Wed Sep 28 10:36:10 AM CEST 2022 make: *** No targets specified and no makefile found. Stop. Thanks ChrisO 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted September 28, 2022 Share Posted September 28, 2022 ZFS package on Debian is too old for 5.19.y ... You need 2.1.5. I only manage to bring it up to Ubuntu, while on Debian another afternoon. Which I can't afford. Try getting updated packages, perhaps with those from Ubuntu will work. Dunno. 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted September 28, 2022 Share Posted September 28, 2022 6 minutes ago, ChrisO said: It is likely that 5.19.10-meson64 belongs to a chroot's host Building for 5.10.144-meson64 And also this looks odd. Do you perhaps have both (edge and current) kernels + headers installed? Perhaps you didn't reboot on upgrade? 0 Quote Link to comment Share on other sites More sharing options...
ChrisO Posted September 28, 2022 Author Share Posted September 28, 2022 Installed from scratch, Armbian_22.08.1_Odroidhc4_jammy_current_5.10.139.img apt update/upgrade apt install zfs-dkms zfsutils-linux Forgot the linux-headers. Started armbian-config, selected "Software", error message appears: grep: invalid max count Selected "Headers_install", again error message from grep. Headers not installed. Installed headers with: apt install linux-headers-current-meson64 then dpkg-reconfigure zfs-dkms Result: Loading new zfs-2.1.4 DKMS files... Building for 5.10.144-meson64 Building initial module for 5.10.144-meson64 configure: error: *** Unable to build an empty module. Error! Bad return status for module build on kernel: 5.10.144-meson64 (aarch64) Consult /var/lib/dkms/zfs/2.1.4/build/make.log for more information. root@odroidhc4:~# cat /var/lib/dkms/zfs/2.1.4/build/make.log DKMS make.log for zfs-2.1.4 for kernel 5.10.144-meson64 (aarch64) Wed Sep 28 12:44:00 PM CEST 2022 make: *** No targets specified and no makefile found. Stop. Thanks, ChrisO 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.