[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Debugging console



If you run with Debian and Grub 2 (which should be the case if you are running Squeeze), then you should edit /etc/default/grub as below:

GRUB_CMDLINE_XEN="loglvl=all guest_loglvl=all com1=115200,8n1,0x3e8,5 console=com1,vga"
GRUB_CMDLINE_LINUX="console=hvc0 earlyprintk=xen"

The above setup of the serial device parameters are for a Supermicro X8STi-F motherboard, where IPMI SOL is configured for COM3 from the BIOS. Note that you need to use "com1=" option for Xen, even when the SOL is actually COM3. If you specify "com3=" for Xen the serial console won't work for some reason. When you are done with your grub config file, do:

update-grub2

to generate the /boot/grub/grub.cfg


You can go http://wiki.xenproject.org/wiki/Xen_Serial_Console for a complete reference.


In addition, if your guest is a HVM, then you should add serial="pty" into the config file to be able to use 'xl console'



From: carl.patenaudepoulin@xxxxxxxxxxxxxx
Date: Mon, 28 Dec 2015 11:30:43 -0500
To: xen-devel@xxxxxxxxxxxxx
Subject: [Xen-devel] Debugging console

Hi all,

We've got __HYPERVISOR_console_io working on our unikernel! The only
issue is that it prints to `xl dmesg`. Is there a way to get it to
print to `xl console`?

Best

Carl Patenaude Poulin
McGill University

_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.