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


Groups > linux.kernel > #1512647

Re: [PATCH v2] console: use first console if stdout-path device doesn't appear

From Larry Finger <Larry.Finger@lwfinger.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] console: use first console if stdout-path device doesn't appear
Date 2016-10-31 17:00 +0100
Message-ID <synaa-4lr-25@gated-at.bofh.it> (permalink)
References <sydkt-6vj-3@gated-at.bofh.it> <syjJg-2hg-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/31/2016 07:14 AM, Paul Burton wrote:
> If a device tree specified a preferred device for kernel console output
> via the stdout-path or linux,stdout-path chosen node properties there's
> no guarantee that it will have specified a device for which we have a
> driver. It may also be the case that we do have a driver but it doesn't
> call of_console_check() to register as a preferred console (eg. offb
> driver as used on powermac systems). In these cases try to ensure that
> we provide some console output by enabling the first usable registered
> console, which we keep track of with the of_fallback_console variable.
>
> Tested in QEMU with a PowerPC pseries_defconfig kernel.

The patch fails to fix my real PowerPC. I still get a kernel panic for an 
attempt to kill init. This first test was done with 4.9-rc2. I am in the process 
of updating to -rc3 to see if that changes anything. Later today when that build 
finishes, I will report those results.

Larry

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


Thread

Re: [PATCH] console: use first console if stdout-path device doesn't appear Andreas Schwab <schwab@linux-m68k.org> - 2016-10-30 10:50 +0100
  Re: [PATCH] console: use first console if stdout-path device doesn't appear Michael Ellerman <mpe@ellerman.id.au> - 2016-10-31 06:30 +0100
    [PATCH v2] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-10-31 13:20 +0100
      Re: [PATCH v2] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-10-31 17:00 +0100
      Re: [PATCH v2] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-10-31 17:00 +0100
        Re: [PATCH v2] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-10-31 20:30 +0100
        Re: [PATCH v2] console: use first console if stdout-path device  doesn't appear Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-01 00:20 +0100
          Re: [PATCH v2] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-11-01 00:40 +0100
            [PATCH v3] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-03 14:10 +0100
              Re: [PATCH v3] console: use first console if stdout-path device  doesn't appear Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-03 18:50 +0100
                Re: [PATCH v3] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-03 22:20 +0100
                Re: [PATCH v3] console: use first console if stdout-path device  doesn't appear Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-04 16:50 +0100
              Re: [PATCH v3] console: use first console if stdout-path device doesn't appear Andreas Schwab <schwab@linux-m68k.org> - 2016-11-04 09:10 +0100
              Re: [PATCH v3] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-07 10:20 +0100
                Re: [PATCH v3] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-11-07 16:30 +0100
                Re: [PATCH v3] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-07 18:30 +0100
                Re: [PATCH v3] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-11-07 19:30 +0100
                revert 05fd007e46296afb (was: [PATCH v3] console: use first console  if stdout-path device doesn't appear) Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-08 14:30 +0100
            Re: [PATCH v2] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-03 14:10 +0100
          Re: [PATCH v2] console: use first console if stdout-path device doesn't appear Michael Ellerman <mpe@ellerman.id.au> - 2016-11-01 05:40 +0100
    Re: [PATCH] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-10-31 13:30 +0100

csiph-web