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-ia64-devel

Re: [Xen-ia64-devel] Serial woes with kexec on an HP RX2620

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Serial woes with kexec on an HP RX2620
From: Horms <horms@xxxxxxxxxxxx>
Date: Mon, 28 May 2007 13:12:28 +0900
Cc: Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 27 May 2007 21:10:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E5C79E9342BB53takebe_akio@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070523034953.GA17930@xxxxxxxxxxxx> <C5C79CF3F83566takebe_akio@xxxxxxxxxxxxxx> <20070524095411.GB21372@xxxxxxxxxxxx> <E5C79E9342BB53takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mutt-ng/devel-r804 (Debian)
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.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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