13 messages in com.xensource.lists.xen-ia64-develRe: [Xen-ia64-devel] Serial woes with...
FromSent OnAttachments
Simon Horman22 May 2007 20:49 
Alex Williamson22 May 2007 21:27 
Akio Takebe22 May 2007 21:36 
Simon Horman22 May 2007 21:54 
Simon Horman22 May 2007 22:23 
Simon Horman23 May 2007 01:29 
Horms24 May 2007 02:53 
Akio Takebe24 May 2007 23:09 
Horms25 May 2007 00:49 
Horms27 May 2007 21:12 
Horms27 May 2007 22:35 
Akio Takebe27 May 2007 23:36 
Horms28 May 2007 00:25 
Subject:Re: [Xen-ia64-devel] Serial woes with kexec on an HP RX2620
From:Horms (hor@verge.net.au)
Date:05/27/2007 09:12:05 PM
List:com.xensource.lists.xen-ia64-devel

On Fri, May 25, 2007 at 03:09:32PM +0900, Akio Takebe wrote:

Hi, Horms

I did find one thing which is interesting, which is that if I boot into the first kernel with xencons_poll, and the second kernel without it, then the console in both kernels works. I wonder if perhaps the first kernel needs to unhook something irq related.

For completeness I tested all the combinations of booting with and without xencons_poll

First Kernel Second Kernel - - No input on serial console - xencons_poll Success xencons_poll - Success xencons_poll xencons_poll Success

I think RTE information don't be cleared. Or first kernel may have to write EOI to ioapic (please see kexec_disable_iosapic() in linux code).

How about calling iosapic_unregister_intr() for serial console before booting second kernel?

Calling iosapic_unregister_intr() as you suggest seems to work :-) I'll play around a bit more and get a patch together.