WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [patch] Sync console before panic messages

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch] Sync console before panic messages
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Thu, 30 Mar 2006 18:43:05 -0500
Delivery-date: Thu, 30 Mar 2006 23:44:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
See panic messages before the post message processing.
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
diff -r 1bdd8ec03da5 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Thu Mar 30 18:40:26 2006 -0500
+++ b/xen/drivers/char/console.c        Thu Mar 30 18:41:00 2006 -0500
@@ -684,6 +684,7 @@ void panic(const char *fmt, ...)
     va_end(args);
     /* Spit out multiline message in one go. */
+    console_start_sync();
     spin_lock_irqsave(&lock, flags);
     printk("\n****************************************\n");
     printk("Panic on CPU %d:\n", smp_processor_id());

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [patch] Sync console before panic messages, Jimi Xenidis <=