From:	CSBVAX::CSBVAX::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  7-FEB-1989 15:10
To:	MRGATE::"ARISIA::EVERHART"
Subj:	Re: etdriver broadcast problem 


Received: From KL.SRI.COM by CRVAX.SRI.COM with TCP; Tue,  7 FEB 89 10:57:50 PDT
Received: from TGV.COM by KL.SRI.COM with TCP; Tue, 7 Feb 89 10:40:21 PST
Date:     Tue, 7 Feb 89 10:06:19 PST
From:     adelman@TGV.COM (Kenneth Adelman)
Reply-To: Adelman@TGV.COM (Kenneth Adelman)
Message-Id: <890207100609.9a@TGV.COM>
Subject:  Re: etdriver broadcast problem 
To:       chris%skat.usc.edu@oberon.usc.edu
cc:       info-vax@kl.sri.com

> I'm having difficulty receiving ethernet broadcasts in a program I'm
> debugging.  The code works for all the VAXen we have running VMS 4.7
> with DEUNAs and DEQNAs, as well as a '730 w/DEUNA and a VS2000 w/DESVA
> running 5.0-2; however it doesn't run properly with our VAX 6220 with
> a DEBNA running 5.0-1 (our only BI machine).

    This is a bug in the ETDRIVER. It affects VMS V5.0 through V5.0-2
and is rumored to be fixed in VMS V5.1. Following is the patch CSC
gave me for it.

    Note that anyone running a third-party TCP product in this
configuration should probably have this (or an equivalent) patch
installed so they can receive ARP requests which are broadcasts.  I
believe that most VMS TCP vendors are distributing this to their
affected customers.

						Kenneth Adelman
						TGV, Incorporated



$ ! ***************************WARNING********************************
$ ! THIS PATCHED SOFTWARE IS EXPERIMENTAL DUE TO OUR INABILITY TO
$ ! EXHAUSTIVELY TEST IT THRU THE NORMAL FIELD TEST PROCESS
$ ! ******************************************************************
$ !
$ ! ETV50PATCH2.COM
$ !
$ ! This patch is for datalink problem number 23.  It will fix the problem
$ ! where packets destined to the broadcast address are not passed to the
$ ! user even though the user has enabled ALL MULTICAST or explicitly
$ ! enabled the broadcast as a multicast address.  This problem exists in
$ ! VMS V5.0 though VMS V5.0-2.
$ !
$ ! To install this patch:
$ !	1.  copy this file to ETDRIVER.COM
$ !	2.  copy SYS$LOADABLE_IMAGES:ETDRIVER.EXE to the same directory
$ !	3.  execute the .com file with the dcl command @ETDRIVER.COM
$ !	4.  copy the resulting ETDRIVER.EXE to SYS$LOADABLE_IMAGES:
$ !	5.  reboot the system
$ !
$ PATCH ETDRIVER.EXE
SET ECO 2
DEFINE ETDRIVER=11C
DEFINE ECR=2D29
SET PATCH ECR+34CF
REPLACE/INS ETDRIVER+1B5F
"	BISB	#02,B^60(R3)"
EXIT
"	BISB	#02,B^60(R3)"
"	BISB	#20,B^03(R2)"
EXIT
REPLACE/INS ETDRIVER+1B65
"	BBCC	#07,B^03(R2),1C8A"
"	BISB	#02,B^60(R3)"
EXIT
"	BBCC	#07,B^03(R2),F1$"
"	BISB	#02,B^60(R3)"
"F1$:	PUSHL	R1"
"	MOVAB	W^148(R5),R0"
"	MOVZBL	B^0B(R0),R1"
"	BEQL	F4$"
"	MOVAB	B^0C(R0),R0"
"F2$:	CMPL	#-1,(R0)+"
"	BNEQ	F3$"
"	CMPW	#-1,(R0)+"
"	BEQL	F5$"
"F3$:	SOBGTR	R1,F2$"
"F4$:	BBCC	#05,B^03(R2),F6$"
"	BISB	#02,B^60(R3)"
"	BRB	F6$"
"F5$:	BBSS	#05,B^03(R2),F6$"
"	BISB	#02,B^60(R3)"
"F6$:	MOVL	(SP)+,R1"
EXIT
UPDATE
EXIT
$ EXIT

