On Tue, 11 Jun, at 11:23:34AM, Gerardo Exequiel Pozzi
wrote:> Hello
>
> Since syslinux-5.10, serial console looks broken (nothing is displayed),
> at least using qemu-1.5.0/1.4.2. Versions 5.01 and 5.02-preX works OK.
Including known-working and known-broken versions like this is super
useful, thank you.
> Relevant directive is on top of syslinux.cfg:
>
> --------------------
> SERIAL 0 38400
> ...
> ...
> --------------------
>
> I guess something is worng due recent serial console changes. If you
> need more info, or revert some commit / git-bisect, please let me know.
Because you provided such helpful info I ended up doing the bisect
myself. The commit that caused the regression is,
commit c4fa33189f1d725fcd7c7457e45f37e970f5cdac
Author: H. Peter Anvin <hpa at linux.intel.com>
Date: Fri May 31 08:05:57 2013 -0700
serial: Clean up and abstract handling of serial ports
The special handling of serial ports 0-3 meaning "look in a BIOS
table" is at least officially BIOS-specific, so create an inline
function and move it to bios.h.
While we are at it, make the function look slightly less like
converted assembly.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
I'll commit a fix for this shortly.
--
Matt Fleming, Intel Open Source Technology Center