Re: [PATCH] printing support for MCA/INIT

From: Hidetoshi Seto <>
Date: 2006-06-08 16:29:00
Luck, Tony wrote:
>> I guess there are only 2 cases actually needs to display its progress,
>> long time wait on rendezvous and INIT-monarch. 
> In the MCA case, something bad has already happened to the system,
> it is possible that we will not complete printing all of the
> messages, but if they are streaming directly to the console, then
> at least we will see the first part of the messages.  If you buffer
> them to be printed later, there may be no "later", and all the
> information will be lost.
> -Tony

Please look my patch.

@@ -1067,6 +1170,9 @@ ia64_mca_handler(struct pt_regs *regs, s
          rh->severity = sal_log_severity_corrected;
          sos->os_status = IA64_MCA_CORRECTED;
+    } else {
+        /* Dump buffered message to console */
+        ia64_mlogbuf_break();
      if (notify_die(DIE_MCA_MONARCH_LEAVE, "MCA", regs, (long)&nd, 0, recover)
              == NOTIFY_STOP)

If MCA handler cannot recovery the error, then try to printk
all buffered messages before returning to SAL.

Isn't it enough?


To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Jun 08 16:27:36 2006

This archive was generated by hypermail 2.1.8 : 2006-06-08 16:27:46 EST