[Simh] VAX-11/780 DEUNA Ethernet problems with 4.3BSD

Mark Pizzolato mark at infocomm.com
Wed Sep 17 00:48:57 EDT 2008


Roy,
 
No problem.  I'm pretty sure that any issues around broadcast handling are also fixed in my new version.
 
As I said, after some cleanup checking, I'll pass the relevant files to you so you can test for yourself to close the issue completely.
 
- Mark

--- On Tue, 9/16/08, roy hills <royhills at hotmail.com> wrote:

From: roy hills <royhills at hotmail.com>
Subject: RE: [Simh] VAX-11/780 DEUNA Ethernet problems with 4.3BSD
To: mark at infocomm.com
Cc: simh at trailing-edge.com
Date: Tuesday, September 16, 2008, 1:14 AM




#yiv1271280787 .hmmessage P
{
margin:0px;padding:0px;}
#yiv1271280787 {
FONT-SIZE:10pt;FONT-FAMILY:Tahoma;}

Mark,

Many thanks for taking the time to look into this and determine the problem.

Your explanation fits the symptoms I'm seeing, as I suspect that the 4.3BSD DEUNA driver is not initialising
the source address part of the Ethernet frame, and this therefore contains some random data which then
gets used as the source address.

If the DEUNA uses its own device MAC, how does it work with DECnet which changes the MAC
address to AA-00-04-00-xx-yy?  This is not an issue for me, as I only want to use TCP/IP, but it might
be for people running VMS.

Did you manage to look at the second issue that I found, namely that the DEUNA appeared not to
pass broadcast traffic to the OS?  I found that the system would not respond to ARP requests, and it
looked like the OS was never seeing the broadcast frames.

Roy

> Date: Mon, 15 Sep 2008 15:49:32 -0700
> From: mark at infocomm.com
> Subject: Re: [Simh] VAX-11/780 DEUNA Ethernet problems with 4.3BSD
> To: royhills at hotmail.com
> CC: mark at infocomm.com
> 
> Roy,
> 
> There is indeed a problem here. You can use a combination of Wireshark on the simh Windows machine to verify the same unusual source mac addresses without the specific need for a distant tcpdump agent.
> 
> The odd thing is that networking works at all. 
> 
> The DEUNA, being a very early ethernet NIC, is somewhat unique. All modern NICs provide a means for a host computer (the VAX780 running any OS) to send and receive complete ethernet frames. The host presents the complete packet for transmission (including the destination and source MAC addresses). The NIC is responsible for computing and providing the frame CRC while transmitting the packet on the wire, and for checking it on received packets, but it doesn't mess with the source/destination MAC addresses in the packet header on packets sent or received. 
> 
> The DEUNA/DELUA, as I said above, being early NIC implementations are unique in that they actually insert the device MAC address in the source address part of the outgoing packet (instead of counting on the host driver software to perform this operation). The bug is that the original code presumed that the OS would provide the MAC address. The fix is for the emulated DEUNA to insert it into the source address of the outgoing packet like the DEUNA/DELUA documentation says in section 4.6/4.8.
> 
> I've got a working fix. I'll submit this, along with several other changes I've been working on for inclusion in a simh future version. I'm trying to get these changes built cleanly across the platforms I can test on, so I'm not ready to submit these. I'll see if I can zip up the changed files and send them to you in the next few days.
> 
> - Mark




Get Hotmail on your mobile from Vodafone Try it Now 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20080916/f6686f89/attachment-0003.html>


More information about the Simh mailing list