• kernel 4.5-1 issues with ZFS after update today


    after updating my VM today and rebooting the system came back up with
    error: resume: no device specified for hibernation
    ash: 1: unknown operand
    the ZFS modules are not loaded
    try running /sbin/modprobe zfs as root to load them.

    and i have a prompt of [rootfs ] #

    and cant do anything
    good thing i keep stable snapshots and have been able to recover my VM but would really like to update …any suggestions?

  • i have tried to run /sbin/modprobe zfs as root but cant find module

  • i also have tried on 2 different machines to install a VM from the ISO and each time the install is complete the VM will not boot into the system…is there something wrong with this kernel?

  • Without more info, I would guess that your zfs module is not being updated by dkms with the new kernel update.

    Before updating, check that you have the package linux-headers installed. Then, update your system but please, check out for any message that pacman shows. Check that zfs and spl modules are updated before rebooting.

    Cheers!

  • thank you for your reply…i have pacman -Qs linux-headers
    local/linux-headers 4.4.5-1 installed.

    This is the output of the update for the kernel and kernel-headers

    Building module:
    cleaning build area...
    make KERNELRELEASE=4.5.0-1-ARCH.........................
    
    Running the post_build script:
    cleaning build area...
    Kernel cleanup unnecessary for this kernel.  Skipping...
    
    DKMS: build completed.
    
    zavl.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /usr/lib/modules/4.5.0-1-ARCH/extra/avl/avl/
    
    znvpair.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /usr/lib/modules/4.5.0-1-ARCH/extra/nvpair/znvpair/
    
    zunicode.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /usr/lib/modules/4.5.0-1-ARCH/extra/unicode/zunicode/
    
    zcommon.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /usr/lib/modules/4.5.0-1-ARCH/extra/zcommon/zcommon/
    
    zfs.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /usr/lib/modules/4.5.0-1-ARCH/extra/zfs/zfs/
    
    zpios.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /usr/lib/modules/4.5.0-1-ARCH/extra/zpios/zpios/
    
    depmod...
    
    DKMS: install completed.
    modprobe: WARNING: Module zfs not found in directory /lib/modules/4.4.5-1-ARCH
    >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    ==> 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.5.0-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: [keymap]
      -> Running build hook: [resume]
      -> Running build hook: [zfs]
      -> Running build hook: [filesystems]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> 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.5.0-1-ARCH
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: wd719x
    ==> WARNING: Possibly missing firmware for module: aic94xx
      -> Running build hook: [keyboard]
      -> Running build hook: [keymap]
      -> Running build hook: [resume]
      -> Running build hook: [zfs]
      -> Running build hook: [filesystems]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    :: Running post-transaction hooks...
    (1/1) Install DKMS modules
    ==> dkms -q install -m spl -v 0.6.5.6 -k 4.5.0-1-ARCH
    ==> dkms -q install -m vboxguest -v 5.0.16_OSE -k 4.5.0-1-ARCH
    ==> dkms -q install -m zfs -v 0.6.5.6 -k 4.5.0-1-ARCH
    ==> dkms -q install -m spl -v 0.6.5.6 -k 4.5.0-1-ARCH
    ==> dkms -q install -m vboxguest -v 5.0.16_OSE -k 4.5.0-1-ARCH
    ==> dkms -q install -m zfs -v 0.6.5.6 -k 4.5.0-1-ARCH
    
  • Hi,

    If I understand correctly, you’re running 4.4.5-1 and want to update to 4.5.0-1

    It’s odd because it seems that dkms installs new zfs modules for 4.5.0-1 without problems.

    I assume you get this output when you issue a sudo pacman -Syu

    After updating (do not reboot!) do this:
    sudo dkms install -m spl -v 0.6.5.6

    Tell me what it shows… thanks!

  • yes that is what i get after updating system…i ran what you provided this is the output, which is strange cause with the update the kernel-headers were updated

    sudo dkms install -m spl -v 0.6.5.6
    Error! echo
    Your kernel headers for kernel 4.4.5-1-ARCH cannot be found at
    /usr/lib/modules/4.4.5-1-ARCH/build or /usr/lib/modules/4.4.5-1-ARCH/source.

  • when i added the right kernel-headers this what i got
    sudo dkms install -m spl -v 0.6.5.6 -k 4.5.0-1-ARCH 1 ↵
    Module spl/0.6.5.6 already installed on kernel 4.5.0-1-ARCH/x86_64

  • OK,

    After installing the linux-headers package, can you rerun pacman -Syu ? What do you get?

    Never reboot if you get a dkms error, that means your kernel modules won’t work if you reboot.

    Cheers!

  • ==> NOTE: MANUAL ACTION REQUIRED! <==
    ** The greeter’s config file contains important changes. It has been saved as
    ** /etc/lightdm/lightdm-webkit2-greeter.conf.pacnew. You must either merge the
    ** changes into /etc/lightdm/lightdm-webkit2-greeter.conf
    ** or replace the latter with the former.
    but when i go to merge the files only /etc/lightdm/lightdm-webkit2-greeter.conf exists. and when i reboot i have no GUI but can get a terminal via “alt ctrl F2”.
    but when i reboot after the new kernel and kernel headers are installed i get a rootfs# promt as described above

  • @g33k said in kernel 4.5-1 issues with ZFS after update today:

    but when i go to merge the files only /etc/lightdm/lightdm-webkit2-greeter.conf exists. and when i reboot i have no GUI but can get a terminal via “alt ctrl F2”.
    but when i reboot after the new kernel and kernel headers are installed i get a rootfs# promt as described above

    I’m afraid you’re experimenting two problems at the same time. This warning is about a problem with lightdm, that it has been already solved, but as you are updating, the problem arises. Do not worry about it as it will disappear when you manage to update.

    The problem is that when you update, zfs ceases to work and then you can’t boot, that’s why you get a rootfs prompt.

    Let’s try another approach. Use the linux-lts kernel.

    So, install linux-lts and linux-lts-headers. Check the output to see if zfs is rebuilt for this kernel. If it does, then reboot and in the grub menu select linux lts

    Tell me how it goes.

  • Karasu,

    thank you for all your help! i am updating to LTS now…will post how it goes.

  • @karasu ,

    Below is the output of installing the LTS kernel and headers, i dont see dkms install zfs though:

    pacin linux-lts linux-lts-headers
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (2) linux-lts-4.4.7-1  linux-lts-headers-4.4.7-1
    
    Total Download Size:    63.79 MiB
    Total Installed Size:  124.14 MiB
    
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages...
     linux-lts-4.4.7-1-x86_64                     57.2 MiB  2.03M/s 00:28 [#######################################] 100%
     linux-lts-headers-4.4.7-1-x86_64              6.6 MiB  2.04M/s 00:03 [#######################################] 100%
    (2/2) checking keys in keyring                                        [#######################################] 100%
    (2/2) checking package integrity                                      [#######################################] 100%
    (2/2) loading package files                                           [#######################################] 100%
    (2/2) checking for file conflicts                                     [#######################################] 100%
    (2/2) checking available disk space                                   [#######################################] 100%
    :: Processing package changes...
    (1/2) installing linux-lts                                            [#######################################] 100%
    >>> Updating module dependencies. Please wait ...
    >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
    ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
      -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
    ==> Starting build: 4.4.7-1-lts
      -> 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: [keymap]
      -> Running build hook: [resume]
      -> Running build hook: [zfs]
    ==> ERROR: module not found: `zavl'
    ==> ERROR: module not found: `znvpair'
    ==> ERROR: module not found: `zunicode'
    ==> ERROR: module not found: `zcommon'
    ==> ERROR: module not found: `zfs'
    ==> ERROR: module not found: `zpios'
    ==> ERROR: module not found: `spl'
    ==> ERROR: module not found: `splat'
      -> Running build hook: [filesystems]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
      -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
    ==> Starting build: 4.4.7-1-lts
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: wd719x
    ==> WARNING: Possibly missing firmware for module: aic94xx
      -> Running build hook: [keyboard]
      -> Running build hook: [keymap]
      -> Running build hook: [resume]
      -> Running build hook: [zfs]
    
  • @karasu,

    ok i installed LTS again and this time got dkms to install zfs…going to reboot and use the LTS kernel.

    Packages (2) linux-lts-4.4.7-1  linux-lts-headers-4.4.7-1
    
    Total Installed Size:  124.14 MiB
    Net Upgrade Size:        0.00 MiB
    
    :: Proceed with installation? [Y/n] y
    (2/2) checking keys in keyring                                         [#######################################] 100%
    (2/2) checking package integrity                                       [#######################################] 100%
    (2/2) loading package files                                                                                                                   [#######################################################################################] 100%
    (2/2) checking for file conflicts                                                                                                             [#######################################################################################] 100%
    (2/2) checking available disk space                                                                                                           [#######################################################################################] 100%
    :: Running pre-transaction hooks...
    (1/1) Remove DKMS modules
    ==> dkms -q remove -q -m spl -v 0.6.5.6 -k 4.4.7-1-lts
    ==> dkms -q remove -q -m vboxguest -v 5.0.16_OSE -k 4.4.7-1-lts
    ==> dkms -q remove -q -m zfs -v 0.6.5.6 -k 4.4.7-1-lts
    :: Processing package changes...
    (1/2) reinstalling linux-lts                                                                                                                  [#######################################################################################] 100%
    >>> Updating module dependencies. Please wait ...
    >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
    ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
      -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
    ==> Starting build: 4.4.7-1-lts
      -> 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: [keymap]
      -> Running build hook: [resume]
      -> Running build hook: [zfs]
    ==> ERROR: module not found: `zavl'
    ==> ERROR: module not found: `znvpair'
    ==> ERROR: module not found: `zunicode'
    ==> ERROR: module not found: `zcommon'
    ==> ERROR: module not found: `zfs'
    ==> ERROR: module not found: `zpios'
    ==> ERROR: module not found: `spl'
    ==> ERROR: module not found: `splat'
      -> Running build hook: [filesystems]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
      -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
    ==> Starting build: 4.4.7-1-lts
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: wd719x
    ==> WARNING: Possibly missing firmware for module: aic94xx
      -> Running build hook: [keyboard]
      -> Running build hook: [keymap]
      -> Running build hook: [resume]
      -> Running build hook: [zfs]
    ==> ERROR: module not found: `zavl'
    ==> ERROR: module not found: `znvpair'
    ==> ERROR: module not found: `zunicode'
    ==> ERROR: module not found: `zcommon'
    ==> ERROR: module not found: `zfs'
    ==> ERROR: module not found: `zpios'
    ==> ERROR: module not found: `spl'
    ==> ERROR: module not found: `splat'
      -> Running build hook: [filesystems]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    (2/2) reinstalling linux-lts-headers                                                                                                          [#######################################################################################] 100%
    :: Running post-transaction hooks...
    (1/1) Install DKMS modules
    ==> dkms -q install -m spl -v 0.6.5.6 -k 4.4.7-1-lts
    ==> dkms -q install -m vboxguest -v 5.0.16_OSE -k 4.4.7-1-lts
    ==> dkms -q install -m zfs -v 0.6.5.6 -k 4.4.7-1-lts
    
  • @karasu,

    after booting into the LTS kernel i get the same

    error: resume: no device specified for hibernation
    ash: 1: unknown operand
    the ZFS modules are not loaded
    try running /sbin/modprobe zfs as root to load them.
    

    and i have a prompt of [rootfs ] #

  • Sorry for the delay.

    Did you try to run /sbin/modprobe zfs ?

  • I installed Antergos on ZFS yesterday and I did reboot. I tried /sbin/modprobe zfs from the rootfs prompt. No joy. I get: 'module zfs not found in /lib/modules/4.8.8-1-ARCHI" If I reinstall with ZFS would I have to use the LTS kernel to avoid this?

    //Christian

  • No, it’s not LTS related, as far as I know.

    You should check that you have the zfs and spl packages installed, and rerun mkinitcpio -p linux afterwards.

  • Got the same issue with a fresh install.
    tried modprobe zfs , but the shell cannot find the module, as root is not mounted :) only /dev and /run are available.

Posts 22Views 4381
Log in to reply