Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341193 - sys-kernel/genkernel does not add keyboard (and some other important) modules in the initramfs
Summary: sys-kernel/genkernel does not add keyboard (and some other important) modules...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-16 00:51 UTC by PhobosK
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 PhobosK 2010-10-16 00:51:01 UTC
genkernel does not add any keyboard driver modules in the initramfs, so when for example AT kbd support is compiled as module and not included in the kernel, it is not added in the initramfs.
This way if using keymap switch, luks partition etc, the keyboard doesn't work in early userspace. 

Reproducible: Always

Steps to Reproduce:
1. Make the atkbd driver to be compiled as module (using genkernel with the option --do-keymap-auto)
2. Reboot and when prompted for a keymap, try using the keyboard
Actual Results:  
The keyboard doesn't work.

Expected Results:  
If atkbd driver is compiled in kernel (not as module and with genkernel option --do-keymap-auto), the keyboard works.
Comment 1 PhobosK 2010-10-16 08:00:11 UTC
BTW same goes for the crypt modules that cryptsetup uses by default - cbc,aes,sha256. This way luks becomes unusable in early userspace too.
There should be support for ext4 module too.
Comment 2 Sebastian Pipping gentoo-dev 2011-06-13 21:38:07 UTC
For the record this bug was opened before the release of genkernel 3.4.10.908.

PhobosK, please test with genkernel-9999 and report keyboard related issues here.
For issues related to crypto or ext4 please open dedicated bugs as needed, so we can properly traclk them in Bugzilla.  Thanks!


In case I do not hear anything in the next two weeks, I may close this bug.
This is not meant to shut you up but rather a mean to not ensure we don't drown in bugs that are not bugging anyone anymore today.
Comment 3 Sebastian Pipping gentoo-dev 2011-06-25 22:24:32 UTC
(In reply to comment #2)
> In case I do not hear anything in the next two weeks, I may close this bug.

Closing.
Comment 4 Larry the Git Cow gentoo-dev 2021-11-15 03:35:04 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(+)