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

Re: [Xen-users] Serial support with XEN and RHEL5.1



Yes--, you need to add the following to grub.conf (at the beginning)


serial --unit=0 --speed=9600
terminal --timeout=10 serial console

Also you did not say if this is the dom0 you are booting or one
of the domu's.. but normally you should have a stanza like this in grub.conf for the dom0

title Xen 3.1.0
        root (hd0,0)
        kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1
        module /boot/vmlinuz-2.6-xen ro root=LABEL=/ console=tty0 
console=ttyS0,9600
        module /boot/initrd-2.6.18-xen.img


The kernel names will be different for a redhatized system but you get the idea. The two things you need are the serial stuff at the beginning
and then the right arguments both for the xen.gz and the vmlinuz lines.

Also you want to get rid of any splashimage line in the grub.conf
if you haven't already done so. splashimages can jam up serial consoles
or cause you to lose info in binary goop.

Steve Timm


On Wed, 9 Jan 2008, tmac wrote:

I have RHEL5.1 and XEN.

I had an issue this morning and wanted to see serial output.

I ran a serial cable between the host and another (Serial0 -> Serial0)

I checked the BIOS/Firmware and it had console re-dir on,
9600, No Par, 1 Stop bit, No Flow control

The system booted and I could see the output of the POST process.
*as soon* as grub started, the serial screen goes blank.

I tried to add "console=ttyS0,9600" to the command line, but nothing seemed
to send output to the kernel.
Am I missing something?

Thanks



--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.

_______________________________________________
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®.