When using genkernel to generate an initrd with luks support the resulting initrd will set the keymap specified on the kernel cmdline _afer_ the prompt asking for the luks passphrase. This results in a most confusing situation for users with passphrases containing characters whose keyboard combination on their normal keyboard layout differs from the default english keyboard layout. In essence one need to know the english keyboard layout by heart which is especially troubling for special characters, and what's worse is that some layout's characters are not even present on the english layout. Reproducible: Always Steps to Reproduce: 1. for a system using dm-crypt, generate an initrd with: genkernel --lvm --luks initrd 2. boot the kernel specifying a non-default keyboard layout xx, i.e. add this to the kernel cmdline: keymap=xx dokeymap 3. try to enter a luks passphrase containing many special characters while using a keyboard with layout xx Actual Results: The user specified keyboard layout is not set during the luks prompt, defaulting to the english keyboard layout. Expected Results: If a keyboard layout is specified on the kernel cmdline it should be set before asking for the luks passphrase. Ideally this should be done before any other user keyboard input is required too (not sure if there are any other such situations though). This is with genkernel-3.4.10_pre10 with the new keymap code as of 25 Apr 2008 (see the genkernel changelog).
This is fixed in SVN
OK. This is resolved in genkernel 3.4.10, which is now in the tree and stable.