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

Re: [Xen-devel] Serial console on non-legacy PCI serial card?

To: Nigel Gamble <nigel@xxxxxxx>
Subject: Re: [Xen-devel] Serial console on non-legacy PCI serial card?
From: Yu Zhao <yu.zhao@xxxxxxxxx>
Date: Tue, 5 May 2009 09:31:34 +0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 04 May 2009 18:29:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5EE3780B-5B59-40A0-B676-47C1FC9E6E96@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <5EE3780B-5B59-40A0-B676-47C1FC9E6E96@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Please apply the attached patch to the grub-0.97, reinstall the grub
and use the UART boot parameter you have figured out for Xen.

  kernel /boot/xen.gz com1=115200,8n1,0x1060,0 ...

Then you should get a workable serial console for Xen.

Good luck,
Yu

On Wed, Apr 29, 2009 at 03:35:59AM +0800, Nigel Gamble wrote:
> I have an Intel DX50SO motherboard for a Core i7 CPU which has no  
> legacy ports whatsoever, so no COM1 serial port.  I added a "SIIG  
> CyberPro PCI 1S" single serial port PCI card.
> 
> Linux dmesg shows it as:
> 
> [   30.244790] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> [   30.244984] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
> [   30.245287] serial 0000:06:02.0: PCI INT A -> GSI 18 (level, low) - 
>  > IRQ 18
> [   30.245459] ttyS0: detected caps 00000700 should be 00000100
> [   30.245518] 0000:06:02.0: ttyS0 at I/O 0x1060 (irq = 18) is a  
> 16C950/954
> [   30.245583] console [ttyS0] enabled
> [   32.448682] ttyS2: detected caps 00000700 should be 00000100
> [   32.454929] 0000:06:02.0: ttyS2 at I/O 0x1068 (irq = 18) is a  
> 16C950/954
> 
> Note that the only port actually connected to the single connecter is  
> ttyS0 at 0x1060.  I can successfully use this as the Linux serial  
> console by adding the Linux boot parameters:
> 
> console=uart,io,0x1060,115200n8
> 
> However, I'm having problems trying to get it to work as a Xen  
> console.  If I add:
> 
> com1=115200,8n1,0x1060,0 console=vga,com1
> 
> to Xen, I do get some output to the port, but all the characters look  
> like this:
> 
> .<.....~.o....¼..4.|.a.½¬o.§¼4.#.ÿ.......ö4..¬.... 4.  . 
> 4Ä...T.Ä ..¼.Ä ....<.
> 
> Can anyone help me to get this to work?
> 
> Thanks,
> Nigel
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Attachment: grub.diff
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>