[uml-devel] [PATCH 2/4] um: Make stack trace reliable against kernel mode faults

2013-09-23 Thread Richard Weinberger
As UML uses an alternative signal stack we cannot use the current stack pointer for stack dumping if UML itself dies by SIGSEGV. To bypass this issue we save regs taken from mcontext in our segv handler into thread_struct and use these regs to obtain the stack pointer in show_stack(). Signed-off-b

[uml-devel] [PATCH 3/4] um: Get rid of thread_struct->saved_task

2013-09-23 Thread Richard Weinberger
As we have a sane show_stack() now, we can drop the ->saved_task hack. Signed-off-by: Richard Weinberger --- arch/um/drivers/mconsole_kern.c | 6 ++ arch/um/include/asm/processor-generic.h | 1 - arch/um/kernel/process.c| 15 ++- 3 files changed, 4 inser

[uml-devel] [PATCH 4/4] um: Make kstack_depth_to_print conform to arch/x86

2013-09-23 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- arch/um/kernel/sysrq.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c index 7122bf9..4d6fdf6 100644 --- a/arch/um/kernel/sysrq.c +++ b/arch/um/kernel/sysrq.c @@ -46,9 +46,6 @@ static voi

[uml-devel] [PATCH 1/4] um: Rewrite show_stack()

2013-09-23 Thread Richard Weinberger
Currently on UML stack traces are not very reliable and both x86 and x86_64 have their on implementations. This patch unifies both and adds support to outline unreliable functions calls. Signed-off-by: Richard Weinberger --- arch/um/kernel/sysrq.c | 85 ++-

Re: [uml-devel] Issues with a rather unusual configured NFS server

2013-09-23 Thread J. Bruce Fields
On Sun, Sep 22, 2013 at 06:58:29PM +0200, Toralf Förster wrote: > On 09/10/2013 04:09 PM, J. Bruce Fields wrote: > > On Sat, Sep 07, 2013 at 10:44:00PM +0200, Toralf Förster wrote: > >> Today I run latest git tree with a patched UML (this patch + one for xterm > >> issues) and got 2 times a core d