Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822087 - Unable to enter passphrase for LUKS device during boot
Summary: Unable to enter passphrase for LUKS device during boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-06 10:52 UTC by Gentookh
Modified: 2021-11-15 03:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gentookh 2021-11-06 10:52:22 UTC
I have LVM on LUKS setup.

Here's what I get on boot:

>> Genkernel 4.2.5 ...
>> Activating udev ...
>> Scanning for volume groups ...
  Reading all physical volumes. ...
>> Activating volume groups ...
>> Using the following cryptsetup options for root: --allow-discard
Enter passphrase for /dev/nvme0n1p2: _

The cursor is blinking, I type the passphrase, then press Enter and nothing happens. Neither Ctrl-C work nor I get any response.
Comment 1 Gentookh 2021-11-06 13:14:51 UTC
Seems like no necessary keyboard modules loaded.

Related to the https://bugs.gentoo.org/341193

The fix is to add following modules: atkbd i8042
To the /usr/share/genkernel/defaults/modules_load
Comment 2 Larry the Git Cow gentoo-dev 2021-11-15 03:35:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a0140d2e77cc0d48b60f38121b73445351c52678

commit a0140d2e77cc0d48b60f38121b73445351c52678
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-11-15 01:56:46 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-11-15 01:58:36 +0000

    defaults/modules_load: Add support for i8042 & AT keyboards
    
    Closes: https://bugs.gentoo.org/341193
    Closes: https://bugs.gentoo.org/822087
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 defaults/modules_load | 3 +++
 1 file changed, 3 insertions(+)