[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

1082.0. "IMPM problem displaying construction" by LEVERS::LEVENSON () Fri May 31 1991 21:12

	I am running into IMPM access violation error, when doing a Show
	on a Static Entry entity in the new Bridge AM. This 'seems' to be 
	associated with the display of an attribute (Forward Map), which 
	is defined as a sequence of records - see PortMapType below:
=========
. TYPE				
.    PortListType  = 1993 SEQUENCE OF Unsigned8;
.
. TYPE				
.    PortMapRecord = 1992 RECORD
.             		inbound port = 1   : Unsigned8;
.		    	outbound ports = 2 : PortListType;
.		    END;
. TYPE 				
.    PortMapType   = 1994 SEQUENCE OF PortMapRecord;
=========

	After the Show exits the Bridge AM, the IMPM displays 'Examination
	of Attributes..' heading, and then, after about 5 sec, the access
	violation message comes up. The time betw. exit from AM and the message
	is about the same as the time normally taken by IMPM to come up with
	attribute value form. The access violation does not crash IMPM, i.e.,
	I can continue with new operations in the map window; the Start button
	on the Show  window stays dark, but I can close the window.

	This is reproducible each time. The FCL display looks fine.

	Another problem (maybe related):
	If the AM returns the Forward Map attribute with a Not Available
	reason code, there is no access violation, but the attribute name
	on the form is displayed OVER the name of the next
	attribute, and only the value of that next attribute is displayed.
	Again, the FCL display is ok.

	Any workaround for this would be greatly appreciated.

	The ILV dump (with MCC_PML_PM_LOG=1), the violation message,
	and the .MS definition of the Static Entity are attached. 

Thanks,
Herman

===========================================================================
>>>>>>This is ILV dump of IMPM 
>>>>>>	SHOW BRIDGE NI3 FORW DA STATIC ENTRY 08-00-2b-01-23-45 ALL CH

ILV dump of p_INQ
[  0 ] (
    [  3 ]     aa 00 04 00 c2 df 20 a5 a9 a6 4d 53 94 00 07 00 01 03 75 73
    61 00 00
    )
After mcc_call_function, ILV dump of P_OUT
[  1 ] (
    [  1 ] (
        [  10 ] (
            [  1 ]             0a
            [  2 ]             11
            [  3 ]             00
            )
        [  11 ] (
            [  1 ]             21  -- !
            [  2 ]             00
            [  3 ]             03
           )
        [  12 ] (
            [  1 ]             0a
            [  2 ]             05
            [  3 ]             00
            )
        [  17 ] (
            [  1 ]             35  -- 5
            [  3 ]             00
            [  4 ] (
                [  1 ] (
                    [  1 ]                     01
                    [  2 ] (
                        [  1 ]                         02
                        [  1 ]                         03
                        )
                    )
                [  1 ] (
                    [  1 ]                     02
                    [  2 ] (
                        )
                    )
                [  1 ] (
                    [  1 ]                     03
                    [  2 ] (
                        [  1 ]                         04
                        )
                    )
                [  1 ] (
                    [  1 ]                     04
                    [  2 ] (
                        )
                    )
                )
            )
        [  13 ] (
            [  1 ]             01
            [  2 ]             01
            [  3 ]             00
            )
        [  14 ] (
            [  1 ]             01
            [  2 ]             01
            [  3 ]             00
            )
        )
    )
ILV dump of P_IN_ENTITY
depth=3 class code= 9 instance = �class code= 21 instance =  no curlen class cod
e= 9992 instance =
                                                         
ILV dump of P_OUT_ENTITY
depth=3 class code= 9 instance = �class code= 21 instance =  no curlen class cod
e= 9992 instance =

Before mcc_call_function, ILV dump of P_IN
 NULL

ILV dump of p_INQ
[  0 ] (
    [  3 ]     aa 00 04 00 c2 df 20 a5 a9 a6 4d 53 94 00 07 00 01 03 75 73
    61 00 00
    )
After mcc_call_function, ILV dump of P_OUT
[  1 ] (
    [  1 ] (
        [  10 ] (
            [  1 ]             0a
            [  2 ]             11
            [  3 ]             00
            )
        )
    )
ILV dump of P_IN_ENTITY
depth=3 class code= 9 instance = �class code= 21 instance =  no curlen class cod
e= 9992 instance =

ILV dump of P_OUT_ENTITY
depth=3 class code= 9 instance = �class code= 21 instance =  no curlen class cod
e= 9992 instance =
>>>>>>>>>>>>>>>>>>>>Here it is!
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000010, PC
=00295C63, PSL=03C00004

==============================================================================

>>>>>>>>> This is .ms definition of STATIC ENTRY

(************************************************************)
(*                                                          *)
(*  Entity:  BRIDGE FORWARDING DATABASE STATIC ENTRY        *)
(*                                                          *)
(************************************************************)

    CHILD ENTITY STATIC ENTRY = 9992 :
	IDENTIFIER = (Address),
	DYNAMIC = TRUE,
        DEPENDS ON = "Hardware Type IN SET ( DEWGB DECbridge 90,
		 DEBET LAN Bridge 100,DEBAM LAN Bridge 200,DEBET LAN Bridge 150,
	         DEFEB DECbridge 500, DEFEB DECbridge 510, DEFEB DECbridge 518, 
	         DEFEB DECbridge 520, DEFEB DECbridge 524, DEFEB DECbridge 526,
	         DEFEB DECbridge 528, DEFEB DECbridge 600, DEFEB DECbridge 610, 
	         DEFEB DECbridge 618, DEFEB DECbridge 620, DEFEB DECbridge 624,
	         DEFEB DECbridge 626, DEFEB DECbridge 628,DEFEB DECbridge 505)",
	SYMBOL = CLASS_STATICDBENTRY,

	(* Description:     *)       

	IDENTIFIER ATTRIBUTES

	    ATTRIBUTE Address = 1 : ID802
		ACCESS = NONSETABLE,
		DISPLAY = TRUE,
		CATEGORIES = (CONFIGURATION),
		SYMBOL = BR_SE_ADDRESS
		(* Description: The 48-bit ethernet address which uniquely
				identifies this Entry in the bridge's
				forwarding database. *)
	    END ATTRIBUTE Address;

	END ATTRIBUTES; (* IDENTIFIER *)

    (************************************************************)
    (*      BRIDGE FORWARDING DATABASE STATIC ENTRY             *)
    (*                                                          *)
    (*      CHARACTERISTIC ATTRIBUTES                           *)
    (*                                                          *)
    (*	    Code Range: 10 -					*)
    (************************************************************)

	CHARACTERISTIC ATTRIBUTES

	    ATTRIBUTE Hardware Type = 10 : BridgeHardwareType    
		ACCESS = NONSETABLE,
		DISPLAY = FALSE,
		SYMBOL = BR_SE_HARDWARE_TYPE,
		CATEGORIES = (CONFIGURATION)
		(* Description: Indicates the hardware type of the Bridge
				that this Child Entity is a part of. This
				is a copy of Bridge Char attribute Hardware
				Type, and is used to support VARIANTs. *)
	    END ATTRIBUTE Hardware Type;

	    ATTRIBUTE Outbound Port = 11 : Unsigned8
    		ACCESS = SETABLE, 
		DISPLAY = TRUE, 
		SYMBOL = BR_SE_OUTBOUND_PORT,
  		CATEGORIES = (CONFIGURATION)
                (* PRIVATE
                   NATIVE_CODE = %X'0001 819F', 
                   END PRIVATE *)
		(* Description: The line on which the bridge will forward
				datagrams addressed to this Entry's
				Address.  Note that Last Line and Outbound Line
				are equal unless the latter has been set by
				management.*)
	    END ATTRIBUTE Outbound Port;


	    ATTRIBUTE Disposition = 12 : DispositionType   
		ACCESS = SETABLE, 
		DISPLAY = TRUE, 
		DEFAULT = "Filter",
		SYMBOL = BR_SE_DISPOSITION,
		CATEGORIES = (CONFIGURATION)
                (* PRIVATE
                   NATIVE_CODE = %X'0001 829F', 
                   END PRIVATE *)
		(* Description: How the bridge handles packets destined
				for the address.  Can be: 
				Always Filter (Filter), All Bridges (Copy),
				This Bridge (Keep), Always Forward (Pass),
				Inactive. *)
	    END ATTRIBUTE Disposition;

	    ATTRIBUTE Management Created = 13 : Boolean
		ACCESS = NONSETABLE, 
		DISPLAY = TRUE, 
		SYMBOL = BR_SE_MANAGEMENT_CREATED,
		CATEGORIES = (CONFIGURATION)
		(* Description: If TRUE, this entry was set by remote Bridge  
				Management; note that not all Enties with
				Aging Control = "Fixed" are necessarily
				created by remote management: some are created
				by the bridge initialization code. *)
	    END ATTRIBUTE Management Created;

	    ATTRIBUTE Permanent = 14 : Boolean
		ACCESS = NONSETABLE, 
		DISPLAY = TRUE, 
		SYMBOL = BR_SE_PERMANENT,
		CATEGORIES = (CONFIGURATION)
		(* Description: Whether this forwarding address is in NVRAM,
				and will thus remain across power fails. *)
	    END ATTRIBUTE Permanent;

	    ATTRIBUTE Control Information = 15 : ControlInfoType
		PREDICTABLE = FALSE,
		ACCESS = NONSETABLE, 
		DISPLAY = TRUE, 
		SYMBOL = BR_SE_CONTROL_INFO,
		CATEGORIES = (CONFIGURATION)
		(* Description: Whether Outbound Port is locked or learned. *)
	    END ATTRIBUTE Control Information;

	    ATTRIBUTE Forward Ports = 16 : PortListType
		PREDICTABLE = FALSE,
		ACCESS = SETABLE,
		DISPLAY = TRUE, 
		DEPENDS ON = "Hardware Type IN SET ( 
	         DEFEB DECbridge 600, DEFEB DECbridge 610, 
	         DEFEB DECbridge 618, DEFEB DECbridge 620, DEFEB DECbridge 624,
	         DEFEB DECbridge 626, DEFEB DECbridge 628)",
		SYMBOL = BR_SE_PORT_LIST,
		CATEGORIES = (CONFIGURATION)
		(* Description: List of ports for per-port blackballing. *)
	    END ATTRIBUTE Forward Ports;

	    ATTRIBUTE Forward Map = 17 : PortMapType
		PREDICTABLE = FALSE,
		ACCESS = SETABLE, 
		DISPLAY = TRUE, 
		DEPENDS ON = "Hardware Type IN SET ( 
	         DEFEB DECbridge 600, DEFEB DECbridge 610, 
	         DEFEB DECbridge 618, DEFEB DECbridge 620, DEFEB DECbridge 624,
	         DEFEB DECbridge 626, DEFEB DECbridge 628)",
		SYMBOL = BR_SE_MAP,
		CATEGORIES = (CONFIGURATION)
		(* Description: Sequence of per-port outbound port masks. *)
	    END ATTRIBUTE Forward Map;

	    ATTRIBUTE Others = 18 : ProtDispType
		PREDICTABLE = FALSE,
		ACCESS = SETABLE,
		DISPLAY = TRUE, 
		DEPENDS ON = "Hardware Type IN SET ( 
	         DEFEB DECbridge 600, DEFEB DECbridge 610, 
	         DEFEB DECbridge 618, DEFEB DECbridge 620, DEFEB DECbridge 624,
	         DEFEB DECbridge 626, DEFEB DECbridge 628)",
		SYMBOL = BR_SE_OTHERS,
		CATEGORIES = (CONFIGURATION)
		(* Description: Dispositions for unspecified in-ports.*)
	    END ATTRIBUTE Others;

	    ATTRIBUTE Map Present = 19 : Boolean
		PREDICTABLE = FALSE,
		ACCESS = NONSETABLE,
		DISPLAY = TRUE, 
		DEPENDS ON = "Hardware Type IN SET ( 
	         DEFEB DECbridge 600, DEFEB DECbridge 610, 
	         DEFEB DECbridge 618, DEFEB DECbridge 620, DEFEB DECbridge 624,
	         DEFEB DECbridge 626, DEFEB DECbridge 628)",
		SYMBOL = BR_SE_MAP_PRESENT,
		CATEGORIES = (CONFIGURATION)
		(* Description: Map presence flag in wildcard Show. *)
	    END ATTRIBUTE Map Present;

	    ATTRIBUTE Filter Ports = 20 : PortListType
		PREDICTABLE = FALSE,
		ACCESS = SETABLE,
		DISPLAY = TRUE, 
		DEPENDS ON = "Hardware Type IN SET ( 
	         DEFEB DECbridge 600, DEFEB DECbridge 610, 
	         DEFEB DECbridge 618, DEFEB DECbridge 620, DEFEB DECbridge 624,
	         DEFEB DECbridge 626, DEFEB DECbridge 628)",
		SYMBOL = BR_SE_FILTER_PORTS,
		CATEGORIES = (CONFIGURATION)
		(* Description: List of ports for per-port blackballing. *)
	    END ATTRIBUTE Filter Ports;

	    ATTRIBUTE Filter Map = 21 : PortMapType
		PREDICTABLE = FALSE,
		ACCESS = SETABLE, 
		DISPLAY = TRUE, 
		DEPENDS ON = "Hardware Type IN SET ( 
	         DEFEB DECbridge 600, DEFEB DECbridge 610, 
	         DEFEB DECbridge 618, DEFEB DECbridge 620, DEFEB DECbridge 624,
	         DEFEB DECbridge 626, DEFEB DECbridge 628)",
		SYMBOL = BR_SE_FILTER_MAP,
		CATEGORIES = (CONFIGURATION)
		(* Description: Sequence of per-port outbound port masks. *)
	    END ATTRIBUTE Filter Map;

	END ATTRIBUTES; (* CHARACTERISTIC *)

T.RTitleUserPersonal
Name
DateLines
1082.1VERNA::V_GILBERTWed Jun 05 1991 15:2611
The problem displaying the construction is due to empty sequence of unsigned8
(portlisttype).  The decode routines for V1.1 do not handle empty set of/
sequence of correctly; they assume (incorrectly) that there must be at least
one member.  This bug has already been fixed for V1.2

The other problem with the AM returning Forward Map attribute with a Not
Available reason code is a bug with a reason code being returned for a
constructor.  Reason codes work correctly for primitive datatypes but do
not work correctly for constructors.  It will be fixed for V1.2.

Verna