28 messages in com.xensource.lists.xen-ia64-devel[Xen-ia64-devel] RE: [PATCH] fixed se...
FromSent OnAttachments
Magenheimer, Dan (HP Labs Fort Collins)23 Nov 2005 14:30 
Magenheimer, Dan (HP Labs Fort Collins)30 Nov 2005 13:51 
Alex Williamson01 Dec 2005 08:11 
Magenheimer, Dan (HP Labs Fort Collins)01 Dec 2005 10:05 
Tristan Gingold02 Dec 2005 03:15 
Tristan Gingold02 Dec 2005 05:36 
Magenheimer, Dan (HP Labs Fort Collins)02 Dec 2005 11:35 
Magenheimer, Dan (HP Labs Fort Collins)02 Dec 2005 15:41 
Alex Williamson02 Dec 2005 15:51 
Magenheimer, Dan (HP Labs Fort Collins)03 Dec 2005 08:33 
Alex Williamson03 Dec 2005 09:14 
Magenheimer, Dan (HP Labs Fort Collins)03 Dec 2005 10:17 
Magenheimer, Dan (HP Labs Fort Collins)03 Dec 2005 11:54 
Magenheimer, Dan (HP Labs Fort Collins)04 Dec 2005 19:43 
Alex Williamson04 Dec 2005 20:07 
Magenheimer, Dan (HP Labs Fort Collins)05 Dec 2005 13:26 
Magenheimer, Dan (HP Labs Fort Collins)06 Dec 2005 08:25 
Magenheimer, Dan (HP Labs Fort Collins)06 Dec 2005 08:39 
Alex Williamson08 Dec 2005 07:46 
Tristan Gingold08 Dec 2005 07:49 
Magenheimer, Dan (HP Labs Fort Collins)09 Dec 2005 06:28 
Tristan Gingold09 Dec 2005 06:58 
Alex Williamson09 Dec 2005 07:38 
Tristan Gingold09 Dec 2005 08:25 
Tristan Gingold09 Dec 2005 08:52 
Alex Williamson13 Dec 2005 13:50 
Magenheimer, Dan (HP Labs Fort Collins)14 Dec 2005 17:12 
Alex Williamson15 Dec 2005 08:01 
Subject:[Xen-ia64-devel] RE: [PATCH] fixed serial console support
From:Magenheimer, Dan (HP Labs Fort Collins) (dan.@hp.com)
Date:11/30/2005 01:51:49 PM
List:com.xensource.lists.xen-ia64-devel

Is there one place (or a small number of places) where some Xen-specific code could be added to Linux to disable the 8250 (using "if (running_on_xen)" without CONFIG_SERIAL_8250=n? It would be nice to retain transparent paravirtualization if possible. Also, will this eliminate the need to have CONFIG_VT=y on dom0 and CONFIG_VT=n on domU?

Thanks, Dan

-----Original Message----- From: Williamson, Alex (Linux Kernel Dev) Sent: Wednesday, November 23, 2005 2:11 PM To: xen-@lists.xensource.com Cc: Magenheimer, Dan (HP Labs Fort Collins) Subject: [PATCH] fixed serial console support

I went ahead and added polling support to the ns16550 driver and sent it out to xen-devel this morning:

http://lists.xensource.com/archives/html/xen-devel/2005-11/msg 01041.html

With that, the patch below, and disabling CONFIG_SERIAL_8250 in the xen0 config file I have a working serial console and can switch between the xen and dom0 consoles. I'm sending this out now in case anyone wants to have their console work better in the interim (I don't necessarily expect Dan to pick up the ns16550 changes until they're merged upstream). Thanks,

Alex

Signed-off-by: Alex Williamson <alex@hp.com> ---

diff -r 90b9e8569dfb xen/arch/ia64/xen/xensetup.c --- a/xen/arch/ia64/xen/xensetup.c Tue Nov 22 18:19:11 2005 +++ b/xen/arch/ia64/xen/xensetup.c Wed Nov 23 11:29:12 2005 @@ -289,6 +289,9 @@ printk("About to call ac_timer_init()\n"); ac_timer_init();

+ initialize_keytable(); + serial_init_postirq(); + #ifdef CONFIG_SMP if ( opt_nosmp ) { @@ -407,9 +410,7 @@ init_trace_bufs();

/* Give up the VGA console if DOM0 is configured to grab it. */ -#ifndef IA64 console_endboot(cmdline && strstr(cmdline, "tty0")); -#endif

#ifdef CLONE_DOMAIN0 {