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] Serial console input problem

To: "Simon Gao" <gao@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Serial console input problem
From: "Travis Betak" <betak@xxxxxxxxxxxxxx>
Date: Thu, 24 Aug 2006 03:05:06 -0500 (CDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Aug 2006 02:48:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44ECFD01.1060608@xxxxxxxxxxxxxxx>
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: <44ECFD01.1060608@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Wed, 23 Aug 2006, Simon Gao wrote:

Just wonder if anyone has seen the similar problem with serial
console. The display on the serial console works fine, but no input
can be sent across the serial console.

Hi, Simon,

Yes, I've had serial console working for a while.  Could you be more
specific when you say that no input can be sent across?  Two things that
jump to mind --- first, are you spawning a TTY for the serial line in
/etc/inittab like the following:

    T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100

second, do you have a ttyS0 entry in /etc/securetty?

You'll need these two things if you actually want to login via serial
console.

========================================
default 0
timeout 10

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

title  Xen 3.0.2 / Linux 2.6.16.26-gentoo-xen0
root   (hd0,0)
kernel /xen.gz dom0_mem=256M com1=115200,8n1
module /vmlinuz-2.6.16.26-xen0 root=/dev/sda2 console=tty0 console=ttyS0,115200 pnpacpi=off
========================================

Here's my grub entry for xen/dom0 serial console:

title XEN (Serial Console)
root (hd1,0)
kernel /boot/xen.gz dom0_mem=262144 com1=115200,8n1 console=com1 \
        cdb=com1 sync_console hvm_debug=0x1c0
module /boot/vmlinuz-2.6-xen ro root=/dev/hda1 nosmp \
        console=ttyS0,115200,8n1


...but like I said, most likely, it's the /etc/inittab and
/etc/securetty entries that are missing.

Hope this helps.

  --travis



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

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