kexec.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Re: arm64 kexec hang
@ 2015-03-27 17:23 Geoff Levand
  2015-03-27 21:11 ` Pratyush Anand
  0 siblings, 1 reply; 6+ messages in thread
From: Geoff Levand @ 2015-03-27 17:23 UTC (permalink / raw)
  To: Pratyush Anand
  Cc: linux-arm-kernel@lists.infradead.org, Takahiro Akashi, kexec,
	Vivek Goyal, Kyle McMartin

Hi Pratyush,

On Wed, 2015-03-25 at 15:55 +0530, Pratyush Anand wrote:
> So with following changes kexec load seems to complete without any 
> error. However, kexec reboot does not work yet, Nothing after bye 
> message :( (1st kernel booted with maxcpus=1)

'Bye!' doesn't mean much, other than the first kernel has
almost shutdown.  I recommend for debugging you either define
ARM64_DEBUG_PORT for the kexec-tools build, or have a suitable
earlyprintk= on the kernel command line.  See the read_sink()
routine in kexec-arm64.c.

Either of these will output something like this from the
purgatory code:

  I'm in purgatory
  purgatory: kernel_entry: 0000000080080000
  purgatory: dtb:          0000000080760000

Another option is to add my 'debugging: early putc' patch,
build the kernel with ARM64_DEBUG_PORT defined for your
 board.  This will output 'stext' when the second
stage kernel is entered

The kexec --lite option will bypass purgatory and should just
show 'stext'.

-Geoff


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-30 16:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-27 17:23 arm64 kexec hang Geoff Levand
2015-03-27 21:11 ` Pratyush Anand
2015-03-30 12:26   ` Pratyush Anand
2015-03-30 14:38     ` Pratyush Anand
2015-03-30 15:25       ` Pratyush Anand
2015-03-30 16:40         ` Geoff Levand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).