You are not logged in.
I just upgraded to 4.10.2 along with the corresponding zfs-linux/spl-linux updates from the archzfs repo. mkinitcpio also upgraded to 23-1.
When mkinitcpio runs, I'm getting an error that zlib-deflate module is missing. Before I reboot and risk needing to pull out my archiso usb, I'm hoping someone may understand what is going on.
I believe this is related to the zfs hook I am including, but am unsure if this is going to result in a fatal boot issue. When I first upgraded to kernel 4.10.1 I do not recall seeing this, but it is possible I didn't pay close enough attention.
(2/3) Updating linux initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.10.2-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running b/uild hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [encrypt]
-> Running build hook: [openswap]
-> Running build hook: [resume]
-> Running build hook: [zfs]
==> ERROR: module not found: `zlib_deflate'
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.10.2-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [keyboard]
-> Running build hook: [encrypt]
-> Running build hook: [openswap]
-> Running build hook: [resume]
-> Running build hook: [zfs]
==> ERROR: module not found: `zlib_deflate'
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctlyI can see that there is no zlib_deflate module in the lib area, but there is a header at zlib/deflate.h. Also I do see that the modules are gzip'd.
> find /lib/modules/4.10.2-1-ARCH/ -name '*deflate*'
/lib/modules/4.10.2-1-ARCH/kernel/crypto/deflate.ko.gz
/lib/modules/4.10.2-1-ARCH/kernel/drivers/net/ppp/ppp_deflate.ko.gz
/lib/modules/4.10.2-1-ARCH/build/include/config/zlib/deflate.h
/lib/modules/4.10.2-1-ARCH/build/include/config/ppp/deflate.h
/lib/modules/4.10.2-1-ARCH/build/include/config/crypto/deflate.hHas anyone else using zfs run into this?
Last edited by blahhumbug (2017-03-19 03:41:39)
Offline
Offline
@blahhumbug not sure if you've solved it yet, but yes, it will be an issue at boot, as I'm currently trying to solve it ![]()
it would be nice if my luck would let me access that link Scimmia posted though
Last edited by mauriciootta (2017-03-19 03:07:41)
Offline
The error is benign, and you will be able to boot just fine. The error message will be hidden when the linked bug is resolved. Marking thread solved.
Offline
@blahhumbug
I would like some help then....
I have rebooted, and my system has not started properly. when I boot trough USB and chroot into it I get the following
[root@archiso linux-4.10.3]# mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.10.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [zfs]
==> ERROR: module not found: `zlib_deflate'
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.10.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [keyboard]
-> Running build hook: [zfs]
==> ERROR: module not found: `zlib_deflate'
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
[root@archiso linux-4.10.3]#
I'm currently trying to build zlib_deflate module, but it's been years since I've compiled my own kernel (and even back then I'd mostly build what I needed embedded), so I'm having trouble getting the .ko file (assuming I actually need it?)
Not really sure where to go from here or what I should be doing
Last edited by mauriciootta (2017-03-19 03:46:00)
Offline
I don't think any boot issues are related to the zlib_deflate error. I still get that error everytime I rerun mkinitcpio, but can boot fine.
Did you just upgrade from 4.10.2 to 4.10.3? Is it possible that 4.10.3 has some other issue with your hardware?
Offline
It's possible...
I haven't been lucky lately.... 2 drives of my ZFS array died recently... 1 is throwing errors....
Thanks for confirming you can still boot fine even with that 'zlib_deflate' error, that saves me a lot of troubleshooting ![]()
regards
Offline