[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: serial console
On Sun, Apr 07, 2013 at 01:45:03PM +0100, Patrick Welche wrote:
> On a particular -current/amd64 box, NetBSD + serial console is
> fine, XEN_DOM0 on pc console is fine. However with the following
> incantation nothing appears on the end of the serial line, nor on
> the screen:
> menu=Boot Xen 4.1 debug dom0 (com0):load /netbsd-XEN3_DOM0
> console=com0;multiboot /xen-debug.gz dom0_mem=512M
> I can ssh in and all is OK, but I can't see console output...
> BIOS and NetBSD bootblocks set baud rate to 115200. I tried 115200 and 9600
> in the hope of seeing something. Is the incantation wrong?
Yes, you need to tell xen to use the serial console. With console=com0,
NetBSD uses Xen hypercalls to talk to the console, and the console
it under the hypervisor's control.
So this would be:
menu=Boot Xen 4.1 debug dom0 (com0):load /netbsd-XEN3_DOM0
console=com0;multiboot /xen-debug.gz dom0_mem=512M console=com1 com1=9600,8n1
(NetBSD counts from 0, xen from 1 for com).
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |