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

[Xen-ia64-devel] RE: [PATCH] fixed serial console support

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: [Xen-ia64-devel] RE: [PATCH] fixed serial console support
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Sat, 03 Dec 2005 10:14:40 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 03 Dec 2005 17:14:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD5876048@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: OSLO R&D
References: <516F50407E01324991DD6D07B0531AD5876048@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, 2005-12-03 at 08:33 -0800, Magenheimer, Dan (HP Labs Fort
Collins) wrote:
> I actually manually removed the #ifdefs but other than
> that I did the same.
> 
> I added some debug output and initialize_keytable is
> definitely getting called, as is serial_init_postirq,
> however either serial_init_postirq is not returning
> or serial output gets disabled... a printk I added
> after the call to serial_init_postirq is not printing.
> 
> I added some printks within serial_init_postirq.
> It calls driver->init_postirq on com[0] but this
> call never returns.
> 
> More debugging:
> 
> ns16550_init_postirq is called with port=0xf0000000040d0500,
> uart->irq = 9, then serial_async_trasmit is called and
> never returns.

   Hmm, what kind of box are you using that is setting the irq to 9?  I
don't have any boxes that use legacy serial interrupts, so there could
be a problem there.  I believe Tristan had a patch that could make
legacy interrupts work.  In the mean time, how about explicitly setting
irq = 0 before calling ns16550_init()?

...

> One possible difference: My test box has a video card
> and the EFI serial input/output are set to multiple
> inputs/outputs.  Perhaps a bogus interrupt is getting
> delivered before everything is set up to receive them?
> (doubtful... it appears interrupts are off through all
> of the above)  Or maybe it causes a xenheap allocation
> that does not occur on your system and this allocation
> has some strange interaction?

   I have VGA on my system to, but I only have the console output set to
a single device (the builtin bulkhead UART).  Setting multiple
input/output device is strongly not recommended.  If using the old
version PCDP (aka HCDP - which all currently shipping boxes use),
there's no way to pick a primary console out of the table and if there
is more than one, the PCDP code will give up.  This is the main
enhancement of PCDP vs HCDP, there is a defined primary console.  I'd be
curious to know where you're getting that irq 9 from through...  Thanks,

        Alex


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

<Prev in Thread] Current Thread [Next in Thread>