The patch titled uml: Improve SIGBUS diagnostics has been added to the -mm tree. Its filename is uml-improve-sigbus-diagnostics.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: uml: Improve SIGBUS diagnostics From: Jeff Dike <jdike@xxxxxxxxxxx> UML can get a SIGBUS anywhere if the tmpfs mount being used for its memory runs out of space. This patch adds a printk before the panic to provide a clue as to what likely went wrong. Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/um/kernel/trap.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff -puN arch/um/kernel/trap.c~uml-improve-sigbus-diagnostics arch/um/kernel/trap.c --- a/arch/um/kernel/trap.c~uml-improve-sigbus-diagnostics +++ a/arch/um/kernel/trap.c @@ -227,9 +227,16 @@ void bad_segv(struct faultinfo fi, unsig void relay_signal(int sig, union uml_pt_regs *regs) { - if(arch_handle_signal(sig, regs)) return; - if(!UPT_IS_USER(regs)) + if(arch_handle_signal(sig, regs)) + return; + + if(!UPT_IS_USER(regs)){ + if(sig == SIGBUS) + printk("Bus error - the /dev/shm or /tmp mount likely " + "just ran out of space\n"); panic("Kernel mode signal %d", sig); + } + current->thread.arch.faultinfo = *UPT_FAULTINFO(regs); force_sig(sig, current); } _ Patches currently in -mm which might be from jdike@xxxxxxxxxxx are reduce-max_nr_zones-make-zone_highmem-optional-fix-fix-fix.patch fix-x86_64-mm-i386-semaphore-to-asm-uml-fix.patch uml-use-klibc-setjmp-longjmp.patch uml-use-array_size-more-assiduously.patch uml-fix-stack-alignment.patch uml-whitespace-fixes.patch uml-fix-handling-of-failed-execs-of-helpers.patch uml-improve-sigbus-diagnostics.patch uml-remove-pte_mkexec.patch vdso-hash-style-fix.patch vdso-hash-style-fix-fix.patch namespaces-utsname-switch-to-using-uts-namespaces-uml-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html