You are not logged in.
Dear community,
After last kernel update I encountered this error:
ERROR: Failed to open encryption mapping: The device [...] is not a LUKS volume and the crypto= parameter was not specified.
Immediately tried downgrade, same issue. Tried stock kernel, same issue. Double-checked mkinitcpio.conf, everything was correct.
In the end I figured out that it was caused by me rebuilding cryptsetup via ABS. I chrooted and installed cryptsetup via pacman, reran mkinitcpio and issue was resolved. Hope this helps someone.
Last edited by etakeh32 (2016-02-23 05:06:35)
Offline
Thanks for posting the solution.
Is there a problem with the current PKGBUILD, or was it due to your own modifications and/or makepkg settings (e.g. CFLAGS)? If the former, consider opening a bug report.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I used aura -Mx, therefore I assume the standard PKGBUILD was used. I do have makepkg set to use march=native and ccache, no other mods.
When I ran pacman -S cryptsetup, it did notify me that the cached package (/var/cache/pacman/pkg/) was invalid or corrupted (PGP signature), but I think that's because aura copies the compiled package over.
I also remember that after boot failed and I got kicked into the emergency console, I tried to run cryptsetup luksOpen and it failed with a reference to a lib???.so file missing or similar.
Should I try to build cryptsetup again and see if I can recreate and confirm there is an issue with the PKGBUILD?
Last edited by etakeh32 (2016-02-22 04:46:48)
Offline
Offline
Hi Jason,
Thanks - I was actually trying to be helpful, just wasn't exactly sure how to best go about it. I updated the abs tree, recompiled cryptsetup via makepkg and via aura, rerunning mkinitcpio each time. Could not reproduce the issue.
Offline
Thanks for the follow-up, etakeh32. If it's not reproducible then it was likely due to some transient error. It it works now then all is good and no further effort is required.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Hi Jason,
Thanks - I was actually trying to be helpful, just wasn't exactly sure how to best go about it. I updated the abs tree, recompiled cryptsetup via makepkg and via aura, rerunning mkinitcpio each time. Could not reproduce the issue.
My bad: sorry. I had missed that line in your first post and thought that you had solved it but not shared it with the community. Carry on! ![]()
Offline