[Pkg-cryptsetup-devel] Bug#489206: Bug#489206: Entering passphrase doesn't honor console/serial selection properly
David Härdeman
david at hardeman.nu
Fri Jul 4 07:02:52 UTC 2008
On Fri, July 4, 2008 02:34, Uwe Hermann wrote:
> I'm seeing issues wrt to entering dm-crypt passphrases when using the
> kernel parameters 'console=tty0 console=ttyS0,115200' (to get the boot
> log on both the screen and on the serial console (COM1).
>
> In such a case I can only enter the passphrase on the serial console,
> but _not_ on the normal keyboard/screen, which is obviously a bug.
>
> If I only provided 'console=ttyS0,115200' the behviour would be ok, but
> when using 'console=tty0 console=ttyS0,115200' both consoles (serial and
> VGA) should work.
It seems to be the documented behavior of the Linux kernel...quoting
"Documentation/serial-console.txt" of a recent kernel tree:
You can specify multiple console= options on the kernel command line.
Output will appear on all of them. The last device will be used when
you open /dev/console. So, for example:
console=ttyS1,9600 console=tty0
defines that opening /dev/console will get you the current foreground
virtual console, and kernel messages will appear on both the VGA
console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.
Do you have any suggestions how to accomplish the behavior you expect?
Do you have any examples of programs that behave the way you describe?
--
David Härdeman
More information about the pkg-cryptsetup-devel
mailing list