Re: The console log is doubled if earlycon is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 27, 2015 at 12:21 PM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> Hi,
>
>
> If I add "earlycon" to the kernel parameter, the log message
> on the earlycon is also displayed to the regular console.
> In other words, the same log messages are displayed twice.
>
> I noticed this problem on v4.4-rc1.
> It has not been fixed in the mainline yet, I think.
>
> Anybody who has a clue?
> (I have not done git-bisect yet.)

Does adding the following line in
drivers/tty/serial/8250/8250_early.c:: early_serial8250_setup() fix
the issue?

device->con->flags &= ~CON_PRINTBUFFER;

-- 
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux