I guess the garbage is because the device is not properly initialized
by the BIOS. For native Linux, the card begins to work after the driver
reinitializes it. For dom0, the seiral driver is usually disabled and
Xen doesn't scan the PCI serial card either.
Thanks,
Yu
On Tue, May 05, 2009 at 03:26:21PM +0800, Keir Fraser wrote:
> Isn't the UART already enabled, since he was seeing garbage on the wire
> rather than nothing?
>
> -- Keir
>
> On 05/05/2009 02:31, "Yu Zhao" <yu.zhao@xxxxxxxxx> wrote:
>
> > 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
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|