2006-10-06 21:52:50

by Dave Jones

[permalink] [raw]
Subject: remove pointless printk from i386 oops output

This just got removed on x86-64, do the same on 32bit.
It always annoyed me when this ate a line of oops output pushing
interesting stuff off the screen.

Signed-off-by: Dave Jones <[email protected]>

--- linux-2.6.18.noarch/arch/i386/kernel/traps.c~ 2006-10-06 17:41:47.000000000 -0400
+++ linux-2.6.18.noarch/arch/i386/kernel/traps.c 2006-10-06 17:42:03.000000000 -0400
@@ -837,7 +837,6 @@ void die_nmi (struct pt_regs *regs, cons
printk(" on CPU%d, eip %08lx, registers:\n",
smp_processor_id(), regs->eip);
show_registers(regs);
- printk(KERN_EMERG "console shuts up ...\n");
console_silent();
spin_unlock(&nmi_print_lock);
bust_spinlocks(0);

--
http://www.codemonkey.org.uk


2006-10-16 10:15:43

by Andi Kleen

[permalink] [raw]
Subject: Re: remove pointless printk from i386 oops output

On Friday 06 October 2006 23:52, Dave Jones wrote:
> This just got removed on x86-64, do the same on 32bit.
> It always annoyed me when this ate a line of oops output pushing
> interesting stuff off the screen.

Added thanks

-Andi