On Fri, May 06, 2011 at 10:57:11PM -0700, Stephen Boyd wrote:
Acked-by: Ralf Baechle
Ralf
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel ha
os_dump_core() uses abort() to terminate UML in case of an
fatal error.
glibc's abort() calls raise(SIGABRT) which makes use of tgkill().
tgkill() has no effect within UML's kernel threads because they
are not pthreads. As fallback abort() executes an invalid instruction
to terminate the process. T
When os_dump_core() raises SIGTERM to bring down all
UML processes this would also trigger the quite complex
do_uml_exitcalls() routine.
This is why UML crashed often while panicking.
Let's make os_dump_core() short and painless by killing all UML
processes with SIGHUP and calling the only sane ex
The UML kernel ignores SIGHUP anyway.
This handler is in vain.
Signed-off-by: Richard Weinberger
---
arch/um/os-Linux/main.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c
index 39613ea..fb2a97a 100644
--- a/arch/um/os-L
UML_LIB_PATH is hardcoded to /usr/lib/uml/,
on 64bit systems UML_LIB_PATH needs to be /usr/lib64/uml/.
Signed-off-by: Richard Weinberger
---
arch/um/drivers/xterm.c |2 +-
arch/um/include/shared/os.h |6 ++
arch/um/os-Linux/main.c |2 +-
3 files changed, 8 insertions(+),
From: Nolan Leake
The ucast transport is similar to the mcast transport (and, in fact,
shares most of its code), only it uses UDP unicast to move packets.
Obviously this is only useful for point-to-point connections between
virtual ethernet devices.
Signed-off-by: Nolan Leake
Signed-off-by: Ri
Print a short info about fatal segfaults like other archs do.
Signed-off-by: Richard Weinberger
---
arch/um/kernel/trap.c | 24
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/arch/um/kernel/trap.c b/arch/um/kernel/trap.c
index 637c650..b2e3d82 100644
-
User Mode Linux can also benefit from earlyprintk.
UML's earlyprintk writes kernel messages directly to stdout.
Signed-off-by: Richard Weinberger
---
arch/um/Kconfig.debug | 10 ++
arch/um/include/shared/os.h |1 +
arch/um/kernel/Makefile |1 +
arch/um/kernel/ea