um: add a kmsg_dumper
authorThomas Meyer <thomas@m3y3r.de>
Sat, 28 Mar 2015 09:07:37 +0000 (10:07 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 13 Apr 2015 19:17:37 +0000 (21:17 +0200)
commit04a418495e0852263d77c4fb82adf470feaafef3
tree55101ddcf7076f7f90a4957b3cdaed946289ccd7
parentfc9bea0e28db8cbfe0a08c1bfb1796bfd7adf49b
um: add a kmsg_dumper

Add a kmsg_dumper, that dumps the kmsg buffer to stdout, when no console
is available. This an enables the printing of early panic() calls
triggered in uml_postsetup().
When a panic() call happens so early in the UML kernel no
earlyprintk/console is available yet, but with a kmsg_dumper in place
the kernel message buffer will be outputted to the user, to give a
better hint, of what the failure was.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/Makefile
arch/um/kernel/kmsg_dump.c [new file with mode: 0644]
arch/um/kernel/um_arch.c
This page took 0.024013 seconds and 5 git commands to generate.