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

[Xen-users] Unable to connect to console via terminal console server (Ce

To: "Xen-Users List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Unable to connect to console via terminal console server (CentOS Xen kernel)
From: "vincenzo romero" <new2xen@xxxxxxxxx>
Date: Wed, 30 Jan 2008 13:48:28 -0800
Delivery-date: Wed, 30 Jan 2008 13:49:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=ncekPMdCNNQP2QAyRqO9PzCdY+Nl3DeRIUwdVCBoDqk=; b=VY+XP7/eqabyv4w4cRvqXUDpqR/rUdZ37/xgKNQKTXhkfbIzuKBjZhdEqvG6QL6PVfF3Ae1WnsgjSZjl5Fo2ULFcx7q7oGvYAxQFb3TDgV3NVWxkHC9XdjGHBY95EY4/DSGjvW8kCoC2n+TtVMvGByL08WNNJ957HhEUnOoNGrE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=MSfdEM1MzxlhaLLmfCBmp0BEGqX8W3x1qT8KN7Retl2RhoWrIrC71vxBOhbflXWfimrZ2DYSttkMUcCrY7ZGBCvLbAK2mlmSG5qt9hvzdsbzNsN2HMbPIHNgEYxkccS25siYv9leRMClPZbKZ+Q5iaQrXf/cJGnuf6VYr5RN3s4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello all,

Excuse in advanced if my problem has been documented in the past (I have not found specific issue upon searching).

Configuration of my CentOS was based upon a Help doc: http://www.cyberciti.biz/faq/linux-serial-console-howto/
Changes therefore were made to:
- HW bios to accept remote access on Baud speed 57600
- changes to /boot/grub/grub.conf and /etc/inittab per the above tech doc.

Problem Summary: 
---------------------------
Unable to connect to a CentOS server remotely via a Terminal Server connection.  For example:
[my.workstation] --------via.IP.telnet.to.terminal.server+portnumber-----------[CentOS Server running xen kernel]
telnet terminal_server_host 10010  (hostname_of_Terminal_SerialConsole_Server) [port number]

outcome: 
[root@myhost]# telnet ts1-rack-1 10010
Trying 192.10.2.50...
Connected to ts1-rack-1 (192.10.2.50).

Escape character is '^]'.

Troubleshooting:
-----------------------
1.  Tried to check if port connectivity at least exists;  typed following from the CentOS host:
cat /etc/inittab >/dev/ttyS0
result:  still nothing.

2.  Accessing a similar server via terminal server's remote console proved to be successful.  The grub.conf and inttab are the same; except for the kernel flavor (XEN):

a.  Problem machine's kernel: Linux badhost-centos 2.6.18-53.1.6.el5xen
b.  Good machine's kernel: Linux goodhost-centos 2.6.18-53.1.6.el5
(where the attempt to login to console via terminal server is successful):
  *  performed this in the goodhost-centos:  cat /etc/inittab >/dev/ttyS0
  *  /etc/inittab contents appear, as it should work

[root@atanato grub]# telnet ts1-rack-1 10001
Trying 10.100.2.50...
Connected to ts1-rack-1 (192.10.2.50).
Escape character is '^]'.
#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
|
|
|
=============

FYI ... on both good and bad machines the following changes were made in:

1.  /boot/grub/grub.conf

added the lines:
serial --unit=1 --speed=57600
terminal --timeout=8 console serial

appended after each kernel line:
console=tty1 console=ttyS0,57600n8

# Run gettys in standard runlevels
co:2345:respawn:/sbin/agetty -h -L ttyS0 57600 vt100
c1:2345:respawn:/sbin/agetty -h -L ttyS1 57600 vt100
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

Question:
-------------
- is this a known issue?  if so, what is the workaround?
- any suggestions would be greatly appreciated.

--
best,

Vince
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Unable to connect to console via terminal console server (CentOS Xen kernel), vincenzo romero <=