geom_eli_passphrase_prompt isn't working on a Dell Precision WorkStation T5400 I've got here, which uses an identical set-up to another system I have - two SATA disks, ZFS maintaining a bootpool across them, GELI across the rest and ZFS maintaining a pool on that.
I note the GELI password prompt on boot, enter the passphrase, and then get the normal mid-boot passphrase when the kernel tries to mount the root filesystem, which requires a frantic whacking of the enter key until I see a linefeed, after which I'm told my passphrase was incorrect but I'm given a chance to authenticate, which succeeds and continues into the boot.
$ uname -a
FreeBSD lethe 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 firstname.lastname@example.org:/usr/obj/usr/src/sys/GENERIC amd64
$ cat /boot/loader.conf
(the mirror_load is unnecessary, FWIW)
I've now seen this on another system running 10.2-RELEASE as well. It seems that the USB keyboard is not properly initialized or is otherwise consistently in a strange state when the prompt is presented.
As a workaround, whacking backspace once before entering a passphrase seems to get the keyboard into a better state. That said, it's not a matter of simply eating a key, as whacking something *other* than backspace evidently puts something into the queue and results in a bad passphrase.
Is this going to be triaged at some point? It's a fairly annoying issue. Is there some process in place to ensure that bugs don't sit forever without even a tentative poke?
FreeBSD is better off this way. Sorry for the bother.
Allan, any ideas?
(In reply to Ed Maste from comment #4)
This is not my feature, it is dteske@'s.
The loader is a very limited environment, and it depends on BIOS support for the USB keyboard, and does not support any kind of alternative keyboard layout.
EFI might be the only hope users have of getting something slightly better.
Try this in /boot/loader.conf
Mason: Did this solve the issue for you?
It's been a while, but I don't remember that helping.
That said, at least as of FreeBSD 12 the "geom_eli_passphrase_prompt"
option that came in with 10.2 appears to be default, and I've yet to
encounter an issue with this option, using the same keyboard that had an
issue when the password prompt was presented during boot, instead of before
the splash screen.
I'll close this to clean it up, as the default configuration works around
the issue. I should look at other bugs I've opened and see how many have
aged out - thanks for poking this.