[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ozrock::x25_avms

Title:DEC X.25 for OpenVMS AXP
Moderator:OZROCK::MUGGERIDGE
Created:Mon Jan 18 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:524
Total number of notes:2218

518.0. "DCE Not Ready - DNSes" by MROA::KAMINSKY (CCS - Electronic Commerce) Fri May 16 1997 07:02

We are trying to setup an X.25 connection to GEIS in the US.  The configuration 
is as follows:

	Alphaserver 1000 4/266
	OpenVMS V6.2
	DECnet/OSI V6.3-ECO03
	WANDD V1.0-D
	X.25 V1.0-D
	2 DNSes - 1 56kb circuit/modem connected to Port 0 of each DNSes
		  with a BC19F-02 and 2 BC19L-25 cables (for each connection)

After configuring X.25 and rebooting the system, the DTEs stay unsychronised
and the error "DCE not ready" is written to the operator log.  Below is the 
output of "mc ncl show modem connect line dnses-1-0 all"

The lights on the modem are: ON - RXD, DSR, LSD
			     OFF - TXD, RTS, CTS, DTR

GEIS indicates they can talk to the modem and we should be using the V.35 
connection on the modem which we are.  I have tried switching the cables on the
DNSes and moving the modem closer to the system to use only 1 BC19L-25 cable.

Any thoughts?

Regards,
Frank Kaminsky


Status

    UID                               = 17383594-8A9C-1254-8010-AA000400C647
    State                             = On
    Interface State                   = Pending DTE Ready
    Actual Speed                      = 0
    Loopback Mode                     = Null
    Interface Type                    = V35
    Modem Type                        = ""
    Request to Send                   = Not Asserted
    Clear to Send                     = Not Asserted
    Data Set Ready                    = Asserted
    Data Terminal Ready               = Not Asserted
    Carrier Detect                    = Asserted
    Signalling Rate Selector          = Asserted
    Signalling Rate Indicator         = Unknown
    Ring Indicator                    = Not Asserted
    Remote Loopback                   = Not Asserted
    Local Loopback                    = Not Asserted
    Test Mode                         = Not Asserted

Characteristics

    Communications Port               = DNSES-1-0
    Connection Type                   = NonSwitched
    Communications Mode               = Synchronous
    Duplex                            = Full
    Profile                           = ""
    Modem Control                     = Full
    Modem Options                     =
       {  
       }
    Encoding                          = Normal
    Clock                             = External
    Speed                             = 19200
    Alternate Speed                   = 0
    Rate Select                       = High
    Maximum Enable Transmit Timer     = 2000
    Suppress Test Indicator           = True
    Transmit Holdoff Timer            = 0
    Carrier Loss Timer                = 15000
    Minimum DTR Deassertion Timer     = 2000
    Maximum Disable Transmit Timer    = 500
    Call Accept Timer                 = 0
    Successful Call Indication Timer  = 30
    Maximum DSR Deassertion Timer     = 5000

Counters

    Creation Time                     = 2114-11-16-23:01:52.864-05:00Iinf
    Losses of Clock                   = 0
    Cable Faults                      = 0
    Times DCE Not Ready               = 1053
    Transmit Enable Timeouts          = 1046
    Losses Of Carrier                 = 0
    Rate Fallbacks                    = 0
    Test Indications                  = 0
    Framing Errors                    = 0
    Times Cable Detected              = 9
    Device Errors                     = 0 

T.RTitleUserPersonal
Name
DateLines
518.1Possible a LAPB link is non-existent or not enabledOZROCK::HARTWIGArthur Hartwig, TaN Engineering-AustraliaSat May 17 1997 03:3526
The modem connect line does NOT have DTR asserted; it probably doesn't have an
active client. The cable has been detected a number of times; perhaps the modem
connect line has been enabled/disabled a few times; perhaps other entities have
been disabled also.

Work methodically up the stack:

1) Have you got a LAPB link using the particular modem connect line?
Is the LAPB link enabled?

2) Does the LAPB link have a X25 PROTOCOL DTE using it? Is the X25 PROTOCOL DTE
enabled?

If you answered NO to any of the above questions then your observation is
explained.

You can use the NCL commands 'show modem connect data port * all' and 'show lapb
port * all' to check associations between the named entity and its  user (if
there is a user).

There is a trouble shooting guide for X.25; have you used it?

Are there any other events written to the operator log. In particular, the DNSES
is a firmware device; are there messages about the firmware loading or dumping?
(There should be a firmware load for each DNSES as the system starts; but no
more.)
518.2More InformationMROA::KAMINSKYCCS - Electronic CommerceSat May 17 1997 05:11398
>                          <<< Note 518.1 by OZROCK::HARTWIG "Arthur Hartwig, TaN Engineering-Australia" >>>
>                                      -< Possible a LAPB link is non-existent or not enabled >-
>
>The modem connect line does NOT have DTR asserted; it probably doesn't have an
>active client. The cable has been detected a number of times; perhaps the modem
>connect line has been enabled/disabled a few times; perhaps other entities have
>been disabled also.

>Work methodically up the stack:

>1) Have you got a LAPB link using the particular modem connect line?
>Is the LAPB link enabled?

	Yes, state is on - initializing

>2) Does the LAPB link have a X25 PROTOCOL DTE using it? Is the X25 PROTOCOL DTE
>enabled?

	Yes, state is unsynchronised

>If you answered NO to any of the above questions then your observation is
>explained.

>You can use the NCL commands 'show modem connect data port * all' and 'show lapb
>port * all' to check associations between the named entity and its  user (if
>there is a user).

Below is the output of the commands you listed above and "show lapb link * all"
and "show x25 prot dte * all".  Sorry for the lengthy note, but I hope this may
provide a clue to the problem.

>There is a trouble shooting guide for X.25; have you used it?

Is there an on-line pointer to this document?  I get involved with setting up
X.25 once every 12-15 months and after it is setup it just runs, so I am kind
of rusty in this area...

>Are there any other events written to the operator log. In particular, the DNSES
>is a firmware device; are there messages about the firmware loading or dumping?
>(There should be a firmware load for each DNSES as the system starts; but no
>more.)

No, I don't see any other errors reported.

Regards,
Frank

-----------------------------------------
mc ncl show modem connect data port * all
-----------------------------------------
Node 0 Modem Connect Data Port DNSES-01
at 1997-05-16-10:52:03.078-04:00I0.726

Identifiers

    Name                              = DNSES-01

Status

    Client                            = LAPB Link GEIS02
    Line                              = DNSES-1-0
    State                             = Open


Node 0 Modem Connect Data Port DNSES-00
at 1997-05-16-10:52:03.078-04:00I0.726

Identifiers

    Name                              = DNSES-00

Status

    Client                            = LAPB Link GEIS01
    Line                              = DNSES-0-0
    State                             = Open

---------------------------
mc ncl show lapb port * all
---------------------------
Node 0 LAPB Port LAPB-port-001
at 1997-05-16-10:54:03.198-04:00I0.695

Identifiers

    Name                              = LAPB-port-001

Status

    Client                            = X25 Protocol DTE GEIS02
    Link                              = LAPB Link GEIS02
    Type                              = Sequenced
    State                             = Open


Node 0 LAPB Port LAPB-port-000
at 1997-05-16-10:54:03.199-04:00I0.695

Identifiers

    Name                              = LAPB-port-000

Status

    Client                            = X25 Protocol DTE GEIS01
    Link                              = LAPB Link GEIS01
    Type                              = Sequenced
    State                             = Open

---------------------------
mc ncl show lapb link * all
---------------------------
Node 0 LAPB Link GEIS02
at 1997-05-16-10:55:55.140-04:00I0.706

Identifiers

    Name                              = GEIS02

Status

    State                             = On
    Protocol State                    = Initialising
    Physical Port                     = Modem Connect Data Port DNSES-01
    Maximum PDU size                  = 1029
    Line Type                         = Nonswitched
    UID                               = 190E296E-8A9C-1254-8010-AA000400C647

Characteristics

    Profile                           = "MARKNET"
    Acknowledge Timer                 = 3000
    Sequence Modulus                  = 128
    Holdback Timer                    = 10
    Maximum Data Size                 = 1026
    Window Size                       = 7
    Interface Type                    = DTE
    Retry Maximum                     = 10
    Physical Line                     = Modem Connect Line DNSES-1-0
    Poll Timer                        = 60

Counters

    Creation Time                     = 2114-11-16-23:01:55.944-05:00Iinf
    Times Link State Changed          = 1
    CRC Errors Received               = 7
    Data Octets Received              = 0
    Data Octets Sent                  = 0
    Data PDUs Received                = 0
    Data PDUs Sent                    = 0
    FRMRs Received                    = 0
    FRMRs Sent                        = 0
    Times Acknowledge Timer Expired   = 29502
    Times PDU Transmit Failed         = 21260
    Times PDU Receive Overrun         = 0
    REJs Received                     = 0
    REJs Sent                         = 0
    Polls Received                    = 0
    RNRs Received                     = 0
    RNRs Sent                         = 0
    Times Link Halted                 = 0
    Times Link Resetting              = 0
    Times Link Initialising           = 1
    Times Link Running                = 0
    Times Link Inoperative            = 0
    Times Link Maintenance            = 0
    Times Link Setup Failed           = 0


Node 0 LAPB Link GEIS01
at 1997-05-16-10:55:55.140-04:00I0.706

Identifiers

    Name                              = GEIS01

Status

    State                             = On
    Protocol State                    = Initialising
    Physical Port                     = Modem Connect Data Port DNSES-00
    Maximum PDU size                  = 1029
    Line Type                         = Nonswitched
    UID                               = 17BD1E80-8A9C-1254-8010-AA000400C647

Characteristics

    Profile                           = "MARKNET"
    Acknowledge Timer                 = 3000
    Sequence Modulus                  = 128
    Holdback Timer                    = 10
    Maximum Data Size                 = 1026
    Window Size                       = 7
    Interface Type                    = DTE
    Retry Maximum                     = 10
    Physical Line                     = Modem Connect Line DNSES-0-0
    Poll Timer                        = 60

Counters

    Creation Time                     = 2114-11-16-23:01:53.735-05:00Iinf
    Times Link State Changed          = 1
    CRC Errors Received               = 0
    Data Octets Received              = 0
    Data Octets Sent                  = 0
    Data PDUs Received                = 0
    Data PDUs Sent                    = 0
    FRMRs Received                    = 0
    FRMRs Sent                        = 0
    Times Acknowledge Timer Expired   = 29502
    Times PDU Transmit Failed         = 21079
    Times PDU Receive Overrun         = 0
    REJs Received                     = 0
    REJs Sent                         = 0
    Polls Received                    = 0
    RNRs Received                     = 0
    RNRs Sent                         = 0
    Times Link Halted                 = 0
    Times Link Resetting              = 0
    Times Link Initialising           = 1
    Times Link Running                = 0
    Times Link Inoperative            = 0
    Times Link Maintenance            = 0
    Times Link Setup Failed           = 0

------------------------------
mc ncl show x25 prot dte * all
------------------------------
Node 0 X25 Protocol DTE GEIS02
at 1997-05-16-10:57:07.373-04:00I0.713

Identifiers

    Name                              = GEIS02

Status

    UID                               = 1957C4D4-8A9C-1254-8010-AA000400C647
    State                             = Unsynchronised
    Available Outgoing Channels       = 4095
    DTE Classes                       = 
       {
          MARKNET ,
          GEIS02
       }
    Groups                            = 
       {
       }
    Last State Change                 = 2114-11-16-23:01:58.965-05:00Iinf
    Interface Mode                    = DTE

Characteristics

    Inbound DTE Class                 = MARKNET
    Profile                           = "MARKNET"
    X25 Address                       = 31360917874302
    Interface Type                    = DTE
    Maximum Active Circuits           = 4096
    Maximum Clear Attempts            = 2
    Maximum Reset Attempts            = 2
    Maximum Restart Attempts          = 2
    Call Timer                        = 180
    Clear Timer                       = 180
    Interrupt Timer                   = 180
    Reset Timer                       = 180
    Restart Timer                     = 180
    Link Service Provider             = LAPB Link GEIS02
    Outgoing List                     = 
       {
          [1..4095]
       }
    Extended Packet Sequencing        = False
    Maximum Throughput Class          = 48000
    Minimum Throughput Class          = 75
    Maximum Packet Size               = 128
    Default Packet Size               = 128
    Minimum Packet Size               = 16
    Maximum Window Size               = 2
    Default Window Size               = 2
    Minimum Window Size               = 1
    CCITT Version                     = 1984
    Incoming List                     = 
       {
          [1..4095]
       }
    Segment Size                      = 64
    Description                       = "DEC X.25 V1.0 for OpenVMS AXP Systems"

Counters

    Creation Time                     = 2114-11-16-23:01:56.426-05:00Iinf
    Data Octets Received              = 0
    Data Octets Sent                  = 0
    Data PDUs Received                = 0
    Data PDUs Sent                    = 0
    Incoming Calls Connected          = 0
    Outgoing Calls Connected          = 0
    Calls Failed                      = 0
    Fast Selects Received             = 0
    Fast Selects Sent                 = 0
    Locally Initiated Resets          = 0
    Network Initiated Resets          = 0
    Locally Initiated Restarts        = 0
    Network Initiated Restarts        = 0
    Allocated PVC Failures            = 0
    Protocol Errors                   = 0
    Diagnostic Packets                = 0
    Illegal Packets                   = 0
    Reject Packets                    = 0
    Retry Failures                    = 0
    Up Transitions                    = 0
    Down Transitions                  = 0


Node 0 X25 Protocol DTE GEIS01
at 1997-05-16-10:57:07.373-04:00I0.713

Identifiers

    Name                              = GEIS01

Status

    UID                               = 18281A46-8A9C-1254-8010-AA000400C647
    State                             = Unsynchronised
    Available Outgoing Channels       = 4095
    DTE Classes                       = 
       {
          GEIS01 ,
          MARKNET
       }
    Groups                            = 
       {
       }
    Last State Change                 = 2114-11-16-23:01:58.688-05:00Iinf
    Interface Mode                    = DTE

Characteristics

    Inbound DTE Class                 = MARKNET
    Profile                           = "MARKNET"
    X25 Address                       = 31360907874301
    Interface Type                    = DTE
    Maximum Active Circuits           = 4096
    Maximum Clear Attempts            = 2
    Maximum Reset Attempts            = 2
    Maximum Restart Attempts          = 2
    Call Timer                        = 180
    Clear Timer                       = 180
    Interrupt Timer                   = 180
    Reset Timer                       = 180
    Restart Timer                     = 180
    Link Service Provider             = LAPB Link GEIS01
    Outgoing List                     = 
       {
          [1..4095]
       }
    Extended Packet Sequencing        = False
    Maximum Throughput Class          = 48000
    Minimum Throughput Class          = 75
    Maximum Packet Size               = 128
    Default Packet Size               = 128
    Minimum Packet Size               = 16
    Maximum Window Size               = 2
    Default Window Size               = 2
    Minimum Window Size               = 1
    CCITT Version                     = 1984
    Incoming List                     = 
       {
          [1..4095]
       }
    Segment Size                      = 64
    Description                       = "DEC X.25 V1.0 for OpenVMS AXP Systems"

Counters

    Creation Time                     = 2114-11-16-23:01:54.436-05:00Iinf
    Data Octets Received              = 0
    Data Octets Sent                  = 0
    Data PDUs Received                = 0
    Data PDUs Sent                    = 0
    Incoming Calls Connected          = 0
    Outgoing Calls Connected          = 0
    Calls Failed                      = 0
    Fast Selects Received             = 0
    Fast Selects Sent                 = 0
    Locally Initiated Resets          = 0
    Network Initiated Resets          = 0
    Locally Initiated Restarts        = 0
    Network Initiated Restarts        = 0
    Allocated PVC Failures            = 0
    Protocol Errors                   = 0
    Diagnostic Packets                = 0
    Illegal Packets                   = 0
    Reject Packets                    = 0
    Retry Failures                    = 0
    Up Transitions                    = 0
    Down Transitions                  = 0
518.3OZROCK::HARTWIGArthur Hartwig, TaN Engineering-AustraliaSat May 24 1997 05:3733
    The X.25 trouble shooting guide is part of the doc kit on the
    consolidated docs CD-ROM.
    
    It looks as if you have all the necessary entities enabled. I should
    have asked for a display of all the modem connect line attributes at
    the same time.
    
    You should have DTR asserted on the modem connect line and the modem
    should recognise that DTR is asserted. (If the latter is not true you
    probabl have a cable problem.) I also observed that one of your LAPB
    links had seen 7 CRC errors. This number shouldn't change very much.
    But if 7 CRC errors have been seen that means some incoming frames have
    been observed - the modem has presented you something, even if not very
    useful.
    
    I suggest you also record a modem connect line trace - it appears there
    is at least some instance of the modem presenting you something and
    that suggests that at some stage the modem did see DTR from your
    system.
    
    Are you sure the LAPB sequence modulus should be 128? (Its a little
    uncommmon and not particularly useful with a window size of 7.) If 
    there is a LAPB sequence modulus mismatch then LAPB won't start. If
    someone then panics and starts pulling cables apart, changines entity
    states and looking at entity attributes in an unstructured way then the
    returned values won't necessarily be helpful.
    
    I suggest you start at the bottom layer and work up; The modem connect 
    line should have DTR asserted and RTS asserted. If not, make sure the
    cable is connected to the modem, the modem is powered on.
    If DTR is not asserted check the LAPB link using this line is 
    enabled and initialising; if not check the x25 protocol DTE is enabled. 
    
518.4resolvedHTKING::M_SHELDONTue Jun 03 1997 09:5915
Thanks for the help Arthur. This problem has been resolved.

1) The sequence modulus was changed from 128 to 8.

2) The X.25 provider changed his DSU's to enable the V.35 interface
   instead of the RS232 interface.

DTR really was being asserted at particular times... the ncl snapshot
he captured in an earlier workunit happened to be when both modem
connect lines had DTR "not asserted".


						Mike Sheldon
						CSC/CS Network Support