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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

4767.0. "mcc accvio with phase V event and GETEVENT" by CHILKA::JAGGI () Thu Mar 25 1993 14:01

Hi,
I have 2 problems working with the following configuration :

	-------------------------------------------------------
		|			 	  |
	      --------				--------
	      |MONNET|				|CHILKA|
	      --------				--------
	     VMS 5.5-2				VMS 5.5-2
	     DECnet/OSI				DECnet VaxExtension
	     with LNO (LOCAL:)			DNS (CHILKA_NS)
						DECmcc V 1.3 (SSB)

	a) I am experimenting a MCC ACCvio when receiving Phase V event (event 
	   dispatcher outb stream xxxx)
	b) I cannot get any phase V events such :
	     Unrecognized Multicast Destination PDU 
             from: Node LOCAL:.MONNET CSMA-CD Station QNA-0


a) MCC accvio
   ----------
I have created a outbound stream 'CHILKA' on MONNET to sink event to 
DECmcc. The setup has been done using NCL on MONNET (1)(commands output are
at the end)

When changing any filters on the outbound stream (ie: outb stream CHILKA) 
using NCL>PASS EVENT DISP OUTB STREAM CHILKA SPECI FILTER = (( NODE MONNET 
	  EVENT DISPATCH OUTB STREAM CHILKA),ALL)
on MONNET machine, I can see the event arriving on CHILKA (using a 
datascope and/or looking at SHOW PROCESS/ID=xx/CONT  xx being MCC_DNA5_EVL, 
the CPU address is changing, and for each event, the number of Buffered IO
are incremented).
However DECmcc crashes with an accvio (2).
                               
I am waiting the event using GETEVENT directive as :
	MCC> getevent node * even disp outb strea * any event

However if any not related Notifications (FCL) are running, the event is 
displayed before the accvio.

MCC> getevent node * even disp outb strea * any event

   Node 08-00-2B-0D-C0-9D-5F-FA-A9-88-43-46-95-00:.MONNET Event Dispatcher 
   Outbound Stream chilka
   AT 25-MAR-1993 18:38:51 Any Event

   Successfully received events:
   %SYSTEM-F-ACCVIO, access violation, reason mask=01, virtual address=ED73ED08, PC=000B5798, PSL=03C00008

I CANNOT receive this event using NOTIFY directive like :

     MCC> notif domain .m.node events=(any events), - 
          entit list = (node * event disp outb stream *)
     %MCC-S-NOTIFSTART, Notify request 1 started


Remarks : The behavior is not always the same if some NOFICATIONs are 
	  running when you issue the GETEVENT directive. Some time it 
	  works some time it crahes (see (4))


b) Can't receive Phase V event
   ---------------------------
On MONNET machine, I have created an OBS Local_Stream which send the 
following event to the console :
Event: Unrecognized Multicast Destination PDU from: Node LOCAL:.MONNET CSMA-CD 
       Station QNA-0,
        at: 1993-03-25-19:08:03.429+01:00I9.594
        Data Link Header='FFFFFFFFFFFF08002B2E05368137'H
        eventUid   0DD9687A-2934-11CC-8006-AA000400CDC3
        entityUid  9C1D1B8C-287A-11CC-8003-AA000400CDC3
        streamUid  09B3050A-28EC-11CC-8004-AA000400CDC3

I am desesperatly trying to sink this event to CHILKA, on the MONNET's OBS 
CHILKA if I am correct with the filtering syntax (1). Now I have few 
questions as I am not using the same namespace (MONNET use LNO for DECnet/OSI
and CHILKA is using DNS CHILKA_NS namespace)

	- Looking at the NSP packet data (datascope), the above displayed event
	  seems to be reported in ASCII format from MONNET to CHILKA. What about
	  instance compare on CHILKA which know MONNET as CHILKA_NS:.n5.MONNET
	  and not as LOCAL:.MONNET ?

	- As DECnet VaxExtension does not know about CSMA entity, could 
          it be the reason why even the console on CHILKA cannot receive this 
	  event ? (when OBS on MONNET is configured to sent event to CHILKA 
	  only and not on DECmcc (3))

	- Are they any issue with string comparaison if we are working with
	  DECnet/OSI LNO and DECmcc with DNS or LOCAL: NS ?

	- What are compared during filtering (binary UID or ASCII instance
	  name) ?

Regards
Michel

PS : If you need more infos, I can provide them.

=======================
(1) ON MONNET (OBS char to send event to MCC_EVL_SINK object)

NCL>SHOW Event Dispatcher Outbound Stream chilka ALL

Node 0 Event Dispatcher Outbound Stream chilka
at 1993-03-25-18:44:22.882+01:00I9.545

Identifiers
    Name                              = chilka

Status
    UID                               = 09B3050A-28EC-11CC-8004-AA000400CDC3
    State                             = On Connected
    Buffer Size                       = 16384

Characteristics
    Template                          = <Default value>
    Connect Retry Timer               = 120
    Disconnect Timer                  = 0
    Specific Filter                   =
       {
          [
          EventCode = (Node LOCAL:.MONNET , All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = (Node CHILKA_NS:.MONNET , All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = (Node LOCAL:.MONNET Event Dispatcher, All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = (Node LOCAL:.MONNET Event Dispatcher Outbound Stream chilka, All) ,
          Filter Action = Pass
          ] ,
          [          EventCode = (Node LOCAL:.MONNET Event Dispatcher Outbound Stream local_stream, All) ,
          Filter Action = Pass
          ] ,
          [
          EventCode = (Node LOCAL:.MONNET CSMA-CD Station QNA-0, All) ,
          Filter Action = Pass
          ] ,
          [
          EventCode = (Node CHILKA_NS:.MONNET Event Dispatcher, All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = (Node CHILKA_NS:.MONNET Event Dispatcher Outbound Stream CHILKA, All) ,
          Filter Action = Pass
          ]
       }
    Global Filter                     =
       {
          [
          EventCode = ((Node), All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = ((Node, Event Dispatcher), All) ,
          Filter Action = Block
          ] ,
          [
          EventCode = ((Node, Event Dispatcher, SINK), All) ,
          Filter Action = Block
          ] ,
          [
          EventCode = ((Node, Event Dispatcher, Outbound Stream), All) ,
          Filter Action = Block
          ] ,
          [
          EventCode = ((Node, Event Dispatcher, SINK, Inbound Stream), All) ,
          Filter Action = Block
          ]
       }
    Catch All Filter                  = Pass
    Connect Timer Enabled             = True
    Sink Object                       = <Default value>
    Sink Node                         = LOCAL:.chilka
    Sink End User                     = name = MCC_EVL_SINK
    Sink Address                      =
       {
       }

Counters
    Creation Time                     = 1993-03-25-10:32:32.702+01:00I9.162
    Events Lost                       = 0
    Enabled                           = 9
    Disabled                          = 8
    Connect Requests                  = 10
    Connections Accepted              = 9
    Shutdowns                         = 7
    Confidence Changes                = 17
    Filter Changes                    = 92

=======================
(2) On CHILKA (DECmcc station)
%SYSTEM-F-ACCVIO, access violation, reason mask=01, virtual address=
ED73ED08, PC=000B5798, PSL=03C00008
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           000B5798  000B5798
                                                           000D4A07  000D4A07
                                                           000D2F46  000D2F46
                                                           0020993C  0020993C
                                                           0020CB1A  0020CB1A
                                                           00209C3F  00209C3F
                                                           0020CA10  0020CA10
                                                           00209C3F  00209C3F
                                                           0020CA10  0020CA10
                                                           00209F13  00209F13
                                                           0020CA34  0020CA34
                                                           0020C19E  0020C19E
                                                           0020CB8D  0020CB8D
                                                           0020F158  0020F158
                                                           001F9592  001F9592
                                                           001E9896  001E9896
                                                           001E7F66  001E7F66
                                                           001EB171  001EB171
                                                           001EA547  001EA547
                                                           001E73E4  001E73E4
                                                           001E5BE8  001E5BE8
                                                           000D6762  000D6762
MCC_MAIN        main                             7724      00000189  00002035
                                                           0000596F  0000596F
MCC_KERNEL_INIT MCC_KERNEL_INITIALIZE             163      00000027  000059A3
                                                           0000594A  0000594A

=======================
(3) On MONNET (OBS to send event to the CONSOLE of CHILKA and not on 
               MCC_EVL_SINK object)

NCL>SHOW Event Dispatcher Outbound Stream chilka_2 ALL

Node 0 Event Dispatcher Outbound Stream chilka_2 
at 1993-03-25-19:23:31.929+01:00I9.647

Identifiers
    Name                              = chilka_2

Status
    UID                               = 4039560A-28F2-11CC-8004-AA000400CDC3
    State                             = Off
    Buffer Size                       = 16384

Characteristics
    Template                          = <Default value>
    Connect Retry Timer               = 120
    Disconnect Timer                  = 0
    Specific Filter                   =
       {
          [
          EventCode = (Node LOCAL:.MONNET , All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = (Node LOCAL:.MONNET Event Dispatcher, All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = (Node LOCAL:.MONNET CSMA-CD, All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = (Node LOCAL:.MONNET Event Dispatcher Outbound Stream chilka_2, All) ,
          Filter Action = Pass
          ] ,
          [
          EventCode = (Node LOCAL:.MONNET Event Dispatcher Outbound Stream local_stream, All) ,
          Filter Action = Pass
          ] ,
          [
          EventCode = (Node LOCAL:.MONNET CSMA-CD Station QNA-0, All) ,
          Filter Action = Pass
  
          ]
       }
    Global Filter                     =
       {
          [
          EventCode = ((Node), All) ,
          Filter Action = Ignore
          ] ,
          [
          EventCode = ((Node, Event Dispatcher), All) ,
          Filter Action = Block
          ] ,
          [
          EventCode = ((Node, Event Dispatcher, SINK), All) ,
          Filter Action = Block
          ] ,
          [
          EventCode = ((Node, Event Dispatcher, Outbound Stream), All) ,
          Filter Action = Block
          ] ,
          [
          EventCode = ((Node, Event Dispatcher, SINK, Inbound Stream), All) ,
          Filter Action = Block
          ]
       }
    Catch All Filter                  = Pass
    Connect Timer Enabled             = False
    Sink Object                       = <Default value>
    Sink Node                         = LOCAL:.chilka
    Sink End User                     = number = 82
    Sink Address                      =
       {
       }

Counters
    Creation Time                     = 1993-03-25-11:17:01.160+01:00I9.292
    Events Lost                       = 0
    Enabled                           = 4
    Disabled                          = 4
    Connect Requests                  = 4
    Connections Accepted              = 4
    Shutdowns                         = 4
    Confidence Changes                = 8
    Filter Changes                    = 33

NCL>

==========================
(4) On CHILKA (DECmcc station)
    If notification are running before issuing GETEVENT, some time the
    event is displayed with an error that is not the same for two
    successive identique events as shown below.

$ mcc
DECmcc (V1.3.0)

MCC> notif domain .m.node events=(any events), - 
     entit list = (node * event disp outb stream *)
%MCC-S-NOTIFSTART, Notify request 1 started


MCC> getevent node * event disp outb stream * any event

Node 08-00-2B-0D-C0-9D-5F-FA-A9-88-43-46-95-00:.MONNET Event Dispatcher 
Outbound Stream chilka
AT 25-MAR-1993 19:34:24 Any Event

%MCC-E-ILVSYNTAXERROR,  data type of ASN.1 value conflicts with type supplied
MCC> getevent node * event disp outb stream * any event

Node 08-00-2B-0D-C0-9D-5F-FA-A9-88-43-46-95-00:.MONNET Event Dispatcher 
Outbound Stream chilka
AT 25-MAR-1993 19:34:58 Any Event

Successfully received events:
%MCC-E-ILVTNF,  specified tag not found within current constructor
MCC> getevent node * event disp outb stream * any event

Node 08-00-2B-0D-C0-9D-5F-FA-A9-88-43-46-95-00:.MONNET Event Dispatcher 
Outbound
 Stream local_stream
AT 25-MAR-1993 19:36:21 Any Event

Successfully received events:

MCC>
T.RTitleUserPersonal
Name
DateLines
4767.1Try running in trace modeTOOK::PURRETTAWed Mar 31 1993 10:0132
Michel,

Could you try turning on some trace bits and executing the command
again?  I'd like to see what the event looks like that's causing
the accvio.  Do the following:

$ define mcc_dna5_am_log 4
$ define mcc_fcl_pm_log  8


Then run MCC and try the getevent again.  Post the results here and I'll
take a look at it.


As for your second problem, it looks like the MCC DNA5 EVL is receiving
the events (the STATE = On Connected).  So the problem must be in
the specification of the getevent command.  What is the syntax you're
using?  By the way, you can run the DNA5 EVL in trace mode as well to
see the events come in and get processed.  To do this, first DISABLE
the EVL running on the system ( MCC> disable mcc 0 dna5_am sink ).
Then, in a separate window,

$ define mcc_dna5_am_log 400
$ run sys$share:mcc_dna5_evl.exe

The EVL will change the process name to MCC_DNA5_EVL as part of it's check
that it is the only image running (we don't want more than one running at the
same time).  Make sure you change your process name to something else
when you are finished running in trace mode or the (MCC> ena mcc 0 dna5 sink)
will not work.

John