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


Groups > linux.kernel > #1248304

Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online
Date 2015-10-16 04:20 +0200
Message-ID <qk2MF-wk-3@gated-at.bofh.it> (permalink)
References <qjW4x-7c7-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2015-10-15 at 21:00 +0200, Laurent Vivier wrote:
> On kexec, all secondary offline CPUs are onlined before
> starting the new kernel, this is not done in the case of kdump.
> 
> If kdump is configured and a kernel crash occurs whereas
> some secondaries CPUs are offline (SMT=off),
> the new kernel is not able to start them and displays some
> "Processor X is stuck.".

Do we know why they are stuck?

I really don't like this fix. The reason we're doing a kdump is because the
first kernel has panicked, possibly with locks held or data structures
corrupted. Calling cpu_up() then goes and tries to run a bunch of code in the
crashed kernel, which increases the chance of us just wedging completely.

cheers


--
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 | Next in thread | Find similar | Unroll thread


Thread

[PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online Laurent Vivier <lvivier@redhat.com> - 2015-10-15 21:10 +0200
  Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are  online kbuild test robot <lkp@intel.com> - 2015-10-16 02:40 +0200
  Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are  online Michael Ellerman <mpe@ellerman.id.au> - 2015-10-16 04:20 +0200
    Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are  online Laurent Vivier <lvivier@redhat.com> - 2015-10-16 09:50 +0200
      Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are  online Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2015-10-17 04:10 +0200
  Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are  online David Gibson <dgibson@redhat.com> - 2015-10-16 04:30 +0200
    Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are  online Laurent Vivier <lvivier@redhat.com> - 2015-10-16 10:00 +0200
      Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are  online Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2015-10-17 04:10 +0200

csiph-web