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: Thu, 24 May 2007 18:54:13 +0900
Cc: Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 24 May 2007 02:52:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C5C79CF3F83566takebe_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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mutt-ng/devel-r804 (Debian)
On Wed, May 23, 2007 at 01:36:45PM +0900, Akio Takebe wrote:
> Hi, Horms
> 
> After kexec, what kernel do you use?
> Xen or linux kernel?
> 
> I think you don't call iosapic_register_intr(),
> arguments of iosapic_register_intr() are wrong.
> Can you check that efi.hcdp is passed to second kernel properly?
> 
> FYI
> In the case of xen, HP machine call the following functions. 
> efi_setup_pcdp_console()
>     setup_serial_console()
>         setup_pcdp_irq()
>             pcdp_hp_irq_fixup()
> 
> And iosapic_register_intr() is called in start_kernel().

I took a look over those code paths and couldn't find
anything particularly interesting.

The fixup
code in pcdp_hp_irq_fixup() is not invoked, as the
rx2620 that I have seems to have pcdp->rev = 3.
The values sourced from inside the pcdp seem to be
the same as what the fixup would have set, so no drama there.

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

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