[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] [Patch] sync_console in ia64_init_handler



Hi,

This patch fix the following issue.

1. boot xen
2. push INIT bottun
3. Nothing is printed to serial console.

I add console_start_sync() into ia64_init_handler().
Then this issue is fixed.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>


diff -r 06ed19691f6d xen/arch/ia64/linux-xen/mca.c
--- a/xen/arch/ia64/linux-xen/mca.c     Tue Oct 17 15:49:05 2006 -0600
+++ b/xen/arch/ia64/linux-xen/mca.c     Thu Oct 19 14:49:59 2006 +0900
@@ -80,6 +80,7 @@
 #ifdef XEN
 #include <xen/symbols.h>
 #include <xen/mm.h>
+#include <xen/console.h>
 #endif
 
 #if defined(IA64_MCA_DEBUG_INFO)
@@ -1240,6 +1241,7 @@ ia64_init_handler (struct pt_regs *pt, s
         */
        ms = (pal_min_state_area_t *)(ia64_sal_to_os_handoff_state.
pal_min_state | (6ul<<61));
 #else
+       console_start_sync();
        /* Xen virtual address in region 7. */
        ms = __va((pal_min_state_area_t *)(ia64_sal_to_os_handoff_state
[cpu].pal_min_state));
 #endif


Best Regards,

Akio Takebe

Attachment: init_handler_console_sync.patch
Description: Binary data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.