lkml.org 
[lkml]   [2015]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: The console log is doubled if earlycon is enabled
From
Hi Andy,

2015-11-29 11:30 GMT+09:00 Andy Shevchenko <andy.shevchenko@gmail.com>:
> On Fri, Nov 27, 2015 at 12:21 PM, Masahiro Yamada
> <yamada.masahiro@socionext.com> 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;


No. I tried that, but it did not fix the problem.


--
Best Regards
Masahiro Yamada


\
 
 \ /
  Last update: 2015-11-30 03:41    [W:0.063 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site