Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1279536

Re: The console log is doubled if earlycon is enabled

From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject Re: The console log is doubled if earlycon is enabled
Date 2015-11-30 03:30 +0100
Message-ID <qAmo2-5RM-33@gated-at.bofh.it> (permalink)
References <qzorU-1ze-3@gated-at.bofh.it> <qA049-hD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

The console log is doubled if earlycon is enabled Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-11-27 11:30 +0100
  Re: The console log is doubled if earlycon is enabled Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-11-28 01:10 +0100
    Re: The console log is doubled if earlycon is enabled Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-11-30 07:00 +0100
      Re: The console log is doubled if earlycon is enabled Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-11-30 18:20 +0100
  Re: The console log is doubled if earlycon is enabled Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-11-29 03:40 +0100
    Re: The console log is doubled if earlycon is enabled Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-11-30 03:30 +0100

csiph-web