Re: [PATCH] printing support for MCA/INIT

From: Keith Owens <kaos_at_sgi.com>
Date: 2006-06-07 23:28:58
Hidetoshi Seto (on Wed, 07 Jun 2006 20:53:22 +0900) wrote:
>Printing message to console from MCA/INIT handler is useful,
>however doing oops_in_progress = 1 in them exactly makes
>something in kernel wrong.
>Especially it sounds ugly if system goes wrong after returning
>from recoverable MCA.
>
>This patch adds ia64_mca_printk() function that collects messages
>into temporary-not-so-large message buffer during in MCA/INIT
>environment and print them out later, after returning to normal
>context or when handlers determine to down the system.

NAK this patch.  The handlers print their progress as they perform the
MCA/INIT rendezvous.  That information is critical for diagnosing any
problems with entering the handlers, it must not be delayed until the
handlers have exited.

The correct fix is to make printk safe against non maskable interrupts
and to allow polled console I/O when interrupts are disabled.  That
fixes printk from NMI error handlers in all architectures, not just
ia64.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Jun 07 23:29:40 2006

This archive was generated by hypermail 2.1.8 : 2006-06-07 23:29:49 EST