From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ALLAN HAWDON Newsgroups: gmane.os.tru64.managers Subject: Getting serial ports to work on an ES40 Date: Thu, 10 Oct 2002 12:07:48 +0100 (BST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1034248425 29765 127.0.0.1 (10 Oct 2002 11:13:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 11:13:45 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17zbGB-0007jp-00 for ; Thu, 10 Oct 2002 13:13:43 +0200 Original-Received: (qmail 20891 invoked by uid 5); 10 Oct 2002 11:14:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20882 invoked by uid 49493); 10 Oct 2002 11:14:06 -0000 Original-Received: from stts4348@kcl.ac.uk by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-1.1/5.0):. Processed in 0.883164 secs); 10 Oct 2002 11:14:06 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 10 Oct 2002 11:14:05 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3R00C3TJ7G07@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 10 Oct 2002 07:14:04 -0400 (EDT) Original-Received: from angelo.kcl.ac.uk (angelo.kcl.ac.uk [137.73.66.5]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3R00HCOJ7AB6@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 10 Oct 2002 07:13:59 -0400 (EDT) Original-Received: from angelo (angelo [137.73.66.5]) by angelo.kcl.ac.uk with ESMTP id g9AB7mGE001464 for ; Thu, 10 Oct 2002 12:07:49 +0100 (BST) X-Sender: stts4348@angelo Original-To: tru64-unix-managers X-MailScanner: Found to be clean Xref: main.gmane.org gmane.os.tru64.managers:2026 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2026 Hi, I've got an ES40 running Tru64 v5.0A and I'm a little puzzled about the serial ports. When I tried connecting a VT terminal to one of the ports nothing would happen. The /etc/inittab file looked like this is:3:initdefault: ss:Ss:wait:/sbin/rc0 shutdown < /dev/console > /dev/console 2>&1 s0:0:wait:/sbin/rc0 off < /dev/console > /dev/console 2>&1 fs:23:wait:/sbin/bcheckrc < /dev/console > /dev/console 2>&1 kls:Ss:sysinit:/sbin/kloadsrv < /dev/console > /dev/console 2>&1 hsd:Ss:sysinit:/sbin/hotswapd < /dev/console > /dev/console 2>&1 sysconfig:23:wait:/sbin/init.d/autosysconfig start < /dev/console > /dev/console 2>&1 update:23:wait:/sbin/update > /dev/console 2>&1 smsync:23:wait:/sbin/sysconfig -r vfs smoothsync-age=30 > /dev/null 2>&1 smsyncS:Ss:wait:/sbin/sysconfig -r vfs smoothsync-age=0 > /dev/null 2>&1 it:23:wait:/sbin/it < /dev/console > /dev/console 2>&1 kmk:3:wait:/sbin/kmknod > /dev/console 2>&1 s2:23:wait:/sbin/rc2 < /dev/console > /dev/console 2>&1 s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1 cons:1234:respawn:/usr/sbin/getty console console vt100 Then after digging around in the docs, I tried adding the following two lines (I'm not really sure what I'm doing at this point) tty00:23:respawn:/usr/sbin/getty /dev/tty00 9600 vt100 tty01:23:respawn:/usr/sbin/getty /dev/tty01 9600 vt100 then did an init q and voila the terminal works. Now what puzzles me is that the ports on an adjacent 4000, running the same version of Tru64, seem to work just fine without the above lines. Is anyone able to explain this discrepancy or have I just got around a more subtle problem with the above? On what may be a related note or may just be a coincidence, I'm trying to install some Powerware Onlinet UPS management software on the ES40. This needs to use one of the serial ports. It is already working on the 4000 (in fact, what we're doing is moving the UPS from the 4000 to the ES40), but when I run the installion script on the ES40, it fails to find any serial ports and I'm wondering if this is related. Any hints gratefully received. regards Allan Hawdon Information Systems King's College London