From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (nat-pix.rdu.redhat.com [10.255.18.200]) by listman.rdu-colo.redhat.com (8.11.6/8.11.6) with ESMTP id h4IKQS523086 for ; Sun, 18 May 2003 16:26:28 -0400 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h4IKQpb30458 for axp-list@listman.redhat.com; Sun, 18 May 2003 16:26:51 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h4IKQpI30454 for ; Sun, 18 May 2003 16:26:51 -0400 Received: from smtp.aaisp.net.uk (IDENT:sRMq+Wq2ntr6VmY2+JfTMQ0NloahDQyv@useless.aaisp.net.uk [217.169.20.27]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h4IKQoH23100 for ; Sun, 18 May 2003 16:26:51 -0400 Received: from [81.2.126.122] (helo=proto1) by smtp.aaisp.net.uk with smtp (Exim 4.12) id 19HUk5-0006CD-00 for axp-list@redhat.com; Sun, 18 May 2003 21:26:49 +0100 Message-ID: <054401c31d7b$3338f6e0$0200a8c0@proto1> From: "Simon Tierney" To: References: <01ED89B9-8957-11D7-B196-000502AE337A@mcgillsociety.org> Subject: Re: FSL v.50 on CPU 0 and serial console problem Date: Sun, 18 May 2003 21:22:27 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0541_01C31D83.94E7DB10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0541_01C31D83.94E7DB10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you, William, I have been going through the AXP archives on null modem cables your = explanation is by far the most comprehensive I have seen. My connectors are just "gender bender" so it looks like any signals ahve = been sent to and from the wrong pins. Simon ----- Original Message -----=20 From: William H. Magill=20 To: axp-list@redhat.com=20 Sent: Sunday, May 18, 2003 6:34 PM Subject: Re: FSL v.50 on CPU 0 and serial console problem On Sunday, May 18, 2003, at 04:43 AM, Simon Tierney wrote: I have a modem cable connected to com2 on the WIN2K and I have tried = the other end on each of the com connectors on the Alpha (Digital Server = 7305). All the com port connectors on WIN2K are the small 9 pin type and I = have a male to female adapter in line to allow the modem cable to connect = to the 9 pin connector on the Alpha. Could this be the problem? Yes and no. It depends on if this "adapter" is simply a "Gender = Bender" (converting mail to female) or a "Null Modem." A null-modem = "flips" receive and transmit lines. I have also tried connecting another modem cable from a 9 pin (Com 1 = on the WIN2K) to 25 pin (which is I think the modem port) on the Alpha, but = there is no output. Historically, on Digital (DEC) equipment, you only need pins 2,3 and 7 = -- receive data, transmit data and ground between a terminal and a CPU. = The other lines are "handshake" lines normally only used by modems. So you need, what today is called a crossover cable, or historically, = a null-modem. Serial communications are normally accomplished under RS232C -- which = is a Standard, defined in terms of a 25 pin DB25 connector. It always = describes the connections between a "modem" and a "terminal". The terms = of the Standard are "DCE" - Data Communications Equipment, the modem - = or "DTE" Data Terminal Equipment,=20 the computer (which used to be a real VT100). IBM corrupted the standard when they introduced the PC and the 25 pin = connector was abbreviated to a 9 pin, DB9 based connector. Today the = 9pin connector is commonly found, but it is not defined in the actual = RS232C Standard.=20 Since both Computers are "DTE" if you connect them together, the = Transmitted Data is received by the Transmitted Data line, instead of = the Received Data line. A null-modem flips pins 2 and three so that = Transmitted Data is correctly received by Receive Data. A standard RS232C "null modem" configuration for DEC gear. TD 2 ------\ /------3 RD X RD 3-------/ \------2 TD GND 7----------------7 GND Additionally, some null-modems tie pin 1 and pin 7 together (the two = grounds), Also, pins 6,8,20 and 21, are often strapped together to present an = "always on" hardware condition. (These are often used by PC software = incorrectly to provide "hardware flow-control." Manufacturers have long made special cables, one to connect a terminal = to a modem, and a different one to connect that same terminal directly = to a CPU. One DB9 arrangement is as follows (the pins are usually numbered - = when you look in the shell with a strong light.) 6 7 8 9=20 1 2 3 4 5 1- AA - FG - Frame Ground, (earth ground) frequently jumpered to = signal ground 2- BB - RD - Receive Data 3- BA - TD - Transmit Data 4- DTR - Data Terminal Ready 5- GND - Signal Ground 6- DSR - Data Set Ready 7- RTS - Request to Send 8- CTS - Clear to Send 9- RI - Ring Indicator As you can see, this is different from the RS232 Standard which = defines the pins as follows. (Only the ones normally used for Async.) Pin/Interchange / Common / description Circuit / Name 1- AA - FG - Frame Ground, (earth ground) frequently jumpered to = signal ground 2- BA - TD - Transmit Data 3- BB - RD - Receive Data 4- CA - RTS - Request to Send 5- CB - CTS - Clear to Send 6- CC - DSR - Data Set Ready 7- AB - SG - Signal Ground 8- CF - CD - Carrier Detect 20- CD - DTR - Data Terminal Ready 21- CG - SQ - Signal Quality 22- CE - RI - Ring Indicator Here's a couple of sites talking about RS232C. http://mindprod.com/rs232c.html http://users.breathemail.net/trevor_gowen/rs232/rs232.htm http://www.airborn.com.au/rs232.html Just Google for RS232C pin-outs... The info is also buried on the HP = website someplace, but I don't know where anymore. T.T.F.N. William H. Magill # Beige G3 - Rev A motherboard - 768 Meg # Flat-panel iMac (2.1) 800MHz - Super Drive - 768 Meg # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64 5.1a magill@mcgillsociety.org magill@acm.org magill@mac.com ------=_NextPart_000_0541_01C31D83.94E7DB10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you, William,
 
I have been going through the AXP = archives on null=20 modem cables your explanation is by far the most comprehensive = I have=20 seen.
 
My connectors are just "gender bender" = so it looks=20 like any signals ahve been sent to and from the wrong pins.
 
Simon
 
 
----- Original Message -----
From:=20 William H. Magill
Sent: Sunday, May 18, 2003 6:34 = PM
Subject: Re: FSL v.50 on CPU 0 = and serial=20 console problem

On Sunday, May 18, 2003, at 04:43 AM, Simon Tierney = wrote:
I have a modem cable connected to com2 on the WIN2K and I = have=20 tried the
other end on each of the com connectors on the Alpha = (Digital=20 Server 7305).

All the com port connectors on WIN2K are the = small 9=20 pin type and I have a
male to female adapter in line to allow the = modem=20 cable to connect to the 9
pin connector on the = Alpha.

Could this=20 be the problem?

Yes and no. It depends on if = this=20 "adapter" is simply a "Gender Bender" (converting mail to female) or a = "Null=20 Modem." A null-modem "flips" receive and transmit lines.

I have also tried connecting another modem cable from a 9 = pin=20 (Com 1 on the
WIN2K) to 25 pin (which is I think the modem port) = on the=20 Alpha, but there
is no output.

Historically, = on Digital=20 (DEC) equipment, you only need pins 2,3 and 7 -- receive data, = transmit data=20 and ground between a terminal and a CPU. The other lines are = "handshake" lines=20 normally only used by modems.

So you need, what today is called = a=20 crossover cable, or historically, a null-modem.

Serial = communications=20 are normally accomplished under RS232C -- which is a Standard, defined = in=20 terms of a 25 pin DB25 connector. It always describes the connections = between=20 a "modem" and a "terminal". The terms of the Standard are "DCE" - Data = Communications Equipment, the modem - or "DTE" Data Terminal = Equipment,=20
the computer (which used to be a real VT100).

IBM corrupted = the=20 standard when they introduced the PC and the 25 pin connector was = abbreviated=20 to a 9 pin, DB9 based connector. Today the 9pin connector is commonly = found,=20 but it is not defined in the actual RS232C Standard.

Since = both=20 Computers are "DTE" if you connect them together, the Transmitted Data = is=20 received by the Transmitted Data line, instead of the Received Data = line. A=20 null-modem flips pins 2 and three so that Transmitted Data is = correctly=20 received by Receive Data.

A standard RS232C "null modem" = configuration=20 for DEC gear.

TD 2 ------\ /------3 RD
X
RD 3-------/ = \------2=20 TD

GND 7----------------7 GND

Additionally, some = null-modems tie=20 pin 1 and pin 7 together (the two grounds),
Also, pins 6,8,20 and = 21, are=20 often strapped together to present an "always on" hardware condition. = (These=20 are often used by PC software incorrectly to provide "hardware=20 flow-control."

Manufacturers have long made special cables, one = to=20 connect a terminal to a modem, and a different one to connect that = same=20 terminal directly to a CPU.

One DB9 arrangement is as follows = (the pins=20 are usually numbered - when you look in the shell with a strong=20 light.)

6 7 8 9
1 2 3 4 5

1- AA - FG - Frame Ground, = (earth=20 ground) frequently jumpered to signal ground
2- BB - RD - Receive=20 Data
3- BA - TD - Transmit Data
4- DTR - Data Terminal = Ready
5- GND -=20 Signal Ground
6- DSR - Data Set Ready
7- RTS - Request to = Send
8- CTS=20 - Clear to Send
9- RI - Ring Indicator

As you can see, this = is=20 different from the RS232 Standard which defines the pins as follows. = (Only the=20 ones normally used for Async.)

Pin/Interchange / Common /=20 description
Circuit / Name

1- AA - FG - Frame Ground, (earth = ground)=20 frequently jumpered to signal ground
2- BA - TD - Transmit = Data
3- BB -=20 RD - Receive Data
4- CA - RTS - Request to Send
5- CB - CTS - = Clear to=20 Send
6- CC - DSR - Data Set Ready
7- AB - SG - Signal = Ground
8- CF -=20 CD - Carrier Detect
20- CD - DTR - Data Terminal Ready
21- CG - = SQ -=20 Signal Quality
22- CE - RI - Ring Indicator

Here's a couple = of sites=20 talking about=20 = RS232C.


http://mindprod.com/rs232c.html
http://users.breath= email.net/trevor_gowen/rs232/rs232.htm
http://www.airborn.com.au/rs232= .html

Just=20 Google for RS232C pin-outs... The info is also buried on the HP = website=20 someplace, but I don't know where=20 anymore.

T.T.F.N.
William H. Magill
# Beige = G3 -=20 Rev A motherboard - 768 Meg
# Flat-panel iMac (2.1) 800MHz - Super = Drive -=20 768 Meg
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64=20 = 5.1a
magill@mcgillsociety.org
magill@acm.org
magill@mac.com
<= /BLOCKQUOTE> ------=_NextPart_000_0541_01C31D83.94E7DB10--