WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] f10 domU serial console

To: mantra UNIX <unix.mantra@xxxxxxxxx>
Subject: Re: [Xen-users] f10 domU serial console
From: Vu Pham <vu@xxxxxxxxxx>
Date: Thu, 16 Apr 2009 04:21:49 -0500
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 16 Apr 2009 02:22:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1020a8600904152039q5f4e6a1k5dc188e776e5c6c3@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1020a8600904152039q5f4e6a1k5dc188e776e5c6c3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
mantra UNIX wrote:
Hi,
How do i configure a serial console for a f10/x86_64/PV guest to work.
/boot/grub/grub.conf:
...
title Fedora (2.6.27.21-170.2.56.fc10.x86_64)
        root (hd0,0)
kernel /vmlinuz-2.6.27.21-170.2.56.fc10.x86_64 ro root=/dev/rootvg/root_lv rhgb quiet console=ttyS0
        initrd /initrd-2.6.27.21-170.2.56.fc10.x86_64.img
...

Under my domU using RHEL, there are several steps:

1. In /boot/grub/grub.conf the kernel line has console=tty0 console=xvc0, i.e.
kernel /boot/vmlinuz ...  console=tty0 console=xvc0

When multiple consoles are specified, all get kernel messages but only the last one gets /dev/console messages, IIRC.

2. To allow login to the virtual serial console, /etc/inittab has
co:2345:respawn:/sbin/agetty xcv0 9600 vt100-nav

3. add xvc0 to /etc/securetty

Vu




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

<Prev in Thread] Current Thread [Next in Thread>