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

Conference ozrock::x25_osf

Title:Proudly built by the engineers of NaC Australia
Moderator:DELNI::MUGGERIDGE
Created:Tue Oct 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:908
Total number of notes:3829

902.0. "X@%Listen returns status -125 (X25RC_PORTABORT)" by AEOENG::BOMMART (WaveWalker 887-4108) Fri May 16 1997 00:30

Hello,
	We have developped a MTP (proprietary Ericsson protocol) transport
	layer above WAN support for Digital Unix V2.0A (XXAACC201).

	Everything works fine except that in some rare occasions (the LAN seems
	to have problem and LLC2 links are bouncing).

	In this case the X25Listen  routine returns -125  (X25RC_PORTABORT).

	According to the man pages, this status should never be returned....

	So what.... What should be our rection when X25Listen returns such a
	status ???? Which routine (or set of routines should we call in order
	to be able to receive incoming calls again ?)

	This problem is seen at customer site and we have to provide them with
	a fix as soon as possible.

Any help or hint would be REALLY appreciated.
Regards,
Damien.

PS: here is the DECnet log of events which leads X25Listen to return this status:
 
Event: Port Terminated
       from: Node voda:.newbury.Helium X25 Access
       at  : 1997-05-07-15:33:48.709+01:00I-----

       Client                            = Generic Client User Process "PID_375
       Type                              = Switched
       State                             = Cleared
       Call Direction                    = Incoming
       Call Association                  = X25 Access Filter becny
       Target DTE Address                = 906198001
       Calling DTE Address               = 9061331
       Protocol Identifier               = 'C0000000'H
       Channel                           = 1024
       DTE Class                         = llc2-class-nygwy9
       Outgoing Packet Size              = 1024
       Outgoing Packet Size              = 1024
       Incoming Packet Size              = 1024
       Outgoing Window Size              = 2
       Incoming Window Size              = 2
       Reverse Charging                  = False
       Redirect Reason                   = Not Redirected
       Fast Select                       = Not Specified

       Calling Address Extension         = /3600000009061331
       Target Address Extension          = /3600000906198001
       DTE                               = X25 Protocol DTE dte-nygwy9
       Reference Time                    = 1997-05-07-15:33:45.497+01:00I-----
       Data Octets Received              =                  109
       Data Octets Sent                  =                    9
       PDUs Received                     =                    6
       PDUs Sent                         =                    4
       Segments Received                 =                    7
       Segments Sent                     =                    4

Event: Port Terminated
       from: Node voda:.newbury.nygwy9 X25 Access
       at  : 1997-05-07-15:32:17.013+01:00I-----

       Client                            = X25 Relay Client SYNC-PORT-RELAY
       Remote Port                       = Node 0:. X25 Access Port SVC_IN_0000
00C13B
       Type                              = Switched
       State                             = Calling
       Reserved                          = ""
       Call Direction                    = Outgoing
       Call Association                  =
       Target DTE Address                = 906198001
       Calling DTE Address               = 9061331
       Protocol Identifier               = 'C0000000'H
       Group                             =
       Channel                           = 1024
       DTE Class                         = llc2-class-0
       Outgoing Packet Size              = 1024
       Incoming Packet Size              = 1024
       Incoming Packet Size              = 1024
       Outgoing Window Size              = 2
       Incoming Window Size              = 2
       Outgoing Throughput Class         = 0
       Incoming Throughput Class         = 0
       Reverse Charging                  = False
       Redirect Reason                   = Not Redirected
       Originally Called Address         =
       Fast Select                       = No Fast Select
       Calling Address Extension         = <Default value>
       Target Address Extension          = <Default value>
       DTE                               = X25 Protocol DTE dte-0
       Reference Time                    = 1997-05-07-15:32:13.793+01:00I-----
       Data Octets Received              =                    9
       Data Octets Sent                  =                  109
       PDUs Received                     =                    4
       PDUs Sent                         =                    6
       Segments Sent                     =                    6
       Segments Received                 =                    4

Event: Port Terminated
       from: Node voda:.newbury.nygw10 X25 Access
       at  : 1997-05-07-15:38:11.273+01:00I-----

       Client                            = X25 Relay Client SYNC-PORT-RELAY
       Remote Port                       = Node 0:. X25 Access Port SVC_SW_0000
00F68E

       Type                              = Switched
       State                             = Open
       Reserved                          = ""
       Call Direction                    = Incoming
       Call Association                  = X25 Access Filter SYNC-PORT-FILTER
       Target DTE Address                = 916108002
       Calling DTE Address               = 9061333
       Protocol Identifier               = 'C0000000'H
       Group                             =
       Channel                           = 16
       DTE Class                         = hawk
       DTE Class                         = hawk
       Outgoing Packet Size              = 1024
       Incoming Packet Size              = 1024
       Outgoing Window Size              = 2
       Incoming Window Size              = 2
       Outgoing Throughput Class         = 0
       Incoming Throughput Class         = 0
       Reverse Charging                  = False
       Redirect Reason                   = Not Redirected
       Originally Called Address         =
       Fast Select                       = No Fast Select
       Calling Address Extension         = <Default value>
       Target Address Extension          = <Default value>
       DTE                               = X25 Protocol DTE DTE-4-2
       Reference Time                    = 1997-05-07-15:38:10.043+01:00I-----
       Data Octets Received              =                  106
       Data Octets Sent                  =                    9
       PDUs Received                     =                    6
       PDUs Sent                         =                    4
       Segments Sent                     =                    4
       Segments Received                 =                    7

Event: Port Terminated
       from: Node voda:.newbury.nygwy9 X25 Access
       at  : 1997-05-07-15:32:17.103+01:00I-----

       Client                            = X25 Relay Client SYNC-PORT-RELAY
       Remote Port                       = Node 0:. X25 Access Port SVC_SW_0000
00C13B
       Type                              = Switched
       State                             = Open
       Reserved                          = ""
       Call Direction                    = Incoming
       Call Association                  = X25 Access Filter SYNC-PORT-FILTER
       Target DTE Address                = 906198001
       Calling DTE Address               = 9061331
       Protocol Identifier               = 'C0000000'H
       Group                             =
       Channel                           = 16
       Channel                           = 16
       DTE Class                         = becny
       Outgoing Packet Size              = 1024
       Incoming Packet Size              = 1024
       Outgoing Window Size              = 2
       Incoming Window Size              = 2
       Outgoing Throughput Class         = 0
       Incoming Throughput Class         = 0
       Reverse Charging                  = False
       Redirect Reason                   = Not Redirected
       Originally Called Address         =
       Fast Select                       = No Fast Select
       Calling Address Extension         = <Default value>

       Target Address Extension          = <Default value>
       DTE                               = X25 Protocol DTE DTE-4-1
       Reference Time                    = 1997-05-07-15:32:13.773+01:00I-----
       Data Octets Received              =                  109
       Data Octets Sent                  =                    9
       PDUs Received                     =                    6
       PDUs Sent                         =                    4
       Segments Sent                     =                    4

Event: SVC Failed
       from: Node voda:.newbury.t1gwy2 X25 Protocol DTE dte-0
       at  : 1997-05-07-15:33:07.342+01:00I-----

       Remote DTE                        = 7
       Call Time                         = 1997-05-07-15:33:07.332+01:00I-----
       Direction                         = Outgoing
       Cause                             = 0
       Diagnostic                        = 0
       Failure Reason                    = Remote Reject
       Channel                           = 1024

Event: DTE Down
       from: Node voda:.newbury.Helium X25 Protocol DTE dte-nygw10
       at  : 1997-05-07-15:34:05.282+01:00I-----

       Configuration error               = False
       LAPB Link Disabled                = False
T.RTitleUserPersonal
Name
DateLines
902.1OZROCK::HARTWIGArthur Hartwig, TaN Engineering-AustraliaSat May 17 1997 04:0831
>	Everything works fine except that in some rare occasions (the LAN seems
>	to have problem and LLC2 links are bouncing).
>
>	In this case the X25Listen  routine returns -125  (X25RC_PORTABORT).
	A quick look at the source suggests there is a window in X25Listen
between the time it accepts the incoming call and then asks the system for the
call details in which the call could clear and consequently the request for call
details fail.

>	According to the man pages, this status should never be returned....
	I suggest you lodge an IPMT against X25Listen.

>	So what.... What should be our rection when X25Listen returns such a
>	status ???? Which routine (or set of routines should we call in order
>	to be able to receive incoming calls again ?)
	I suspect the best thing to do is "pretend it didn't happen" and just
call X25Listen again. 

The current behaviour is possibly not very useful (X25Listen says "Oh there was
an incoming call that you were interested in, but by the way it cleared before I
could get any details on it."). Either way (useful or not) the documentation and
code should match. If you lodge an IPMT (and nothing will change if there isn't
an IPMT about this) then you might like to also express your opinion on whether
the code OR the documentation should change. 

I think I'd vote for a change in the code and add to the documentation to
specifically call out that X25Listen will listen for another call if it is
notified on an incoming call and the call clears before the call details can be
obtained the X25Listen will wait for another call.


902.2OK, I'll ignore this statusAEOENG::BOMMARTWaveWalker 887-4108Sat May 17 1997 05:2211
Arthur,
	Thank you for your quick answer.

	OK, I'll ignore this status and call X25Listen again.

	I agree with you, maybe X25Listen should not bother its caller if it
	cannot give any detail about an incomming call which has been
	cleared almost immediatly.

Best regards,
Damien.