This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] serial console for dom0 (rh 5.1)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] serial console for dom0 (rh 5.1)
From: Metanol <david@xxxxxxxxxxxxxxx>
Date: Thu, 13 Mar 2008 06:20:54 -0700 (PDT)
Delivery-date: Wed, 23 Apr 2008 05:49:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <fq761m$vlu$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fq761m$vlu$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I used to have the same problem with RHEL5.1...
Try something like this - It works for me:
title CentOS (2.6.18-53.1.13.el5xen)
         root (hd0,0)
         kernel /boot/xen.gz-2.6.18-53.1.13.el5 com1=57600,8n1 pnpacpi=off
         module /boot/vmlinuz-2.6.18-53.1.13.el5xen ro root=/dev/md0
xencons=xvc console=xvc
         module /boot/initrd-2.6.18-53.1.13.el5xen.img

You also need to add this to your inittab:
7:2345:respawn:/sbin/agetty -L 115200 xvc vt102
So it goes as far as the prompt

You can also check here: http://ward.vandewege.net/blog/2008/02/18/180/
Hope this helps!

David Roze
http://www.netexpertise.eu http://www.netexpertise.eu 

Aleksandar Ivanisevic-3 wrote:
> Hi,
> I'm having trouble getting serial console to work with the latest xen 
> kernel in dom0, RHES 5.1
> grub works, getty on the same port (ttyS2) also works after it gets 
> started from init, its just the kernel output and init that reuse to work
> my current grub.conf, this is after 50 reboots, i'd appreciate any hints:
> serial --unit=1 --speed=57600
> terminal --timeout=5 serial console
> #
> title CentOS (2.6.18-53.1.13.el5xen)
>          root (hd0,0)
>          kernel /boot/xen.gz-2.6.18-53.1.13.el5
>          module /boot/vmlinuz-2.6.18-53.1.13.el5xen ro root=/dev/md0 
> xencons=off console=ttyS1,57600,n8
>          module /boot/initrd-2.6.18-53.1.13.el5xen.img
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

View this message in context: 
Sent from the Xen - User mailing list archive at Nabble.com.

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] serial console for dom0 (rh 5.1), Metanol <=