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

Re: [Xen-users] Serial Console Problem



"Andrew Lyon" <andrew.lyon@xxxxxxxxx> writes:
> I configured serial console on my system today by adding
> com1=115200,8n1 console=vga,com1 to my kernel line in grub:
> 
> title Xen 3.2.1 / Linux 2.6.21-xen
> root (hd0,0)
> kernel /xen.gz vtd=1 com1=115200,8n1 console=vga,com1
> module /vmlinuz-2.6.21-xen root=/dev/sda2
> 
> The xen bootup messages are logged to the serial and vga consoles, and
> initially the kernel messages are also displayed, but it stops after
> "Freeing unused kernel memory: 208k freed"

it appears the problem is that you have told Xen to use the serial console, but
you have not told Linux to use the serial console... this is consistent with
Xen outputting to the serial console, then a quiet serial console while
linux boots, then a working getty.

here is what my grub config looks like on my headless CentOS/Xen boxes:


serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal serial console    

title CentOS (2.6.18-53.1.21.el5xen)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.18-53.1.21.el5 dom0_mem=512M com1=115200,8n1
        module /boot/vmlinuz-2.6.18-53.1.21.el5xen selinux=0 ro root=/dev/md0 
console=ttyS0,115200n8
        module /boot/initrd-2.6.18-53.1.21.el5xen.img



the part you are missing is the console=ttyS0,115200n8   on the module line
for the Linux kernel.   add that and I bet it will work.  

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


 


Rackspace

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