[TUHS] New patch for 2.11BSD on PDP-11: network DEUNA does not respond to ethernet broadcasts
j_hoppe at t-online.de
Fri Aug 7 19:29:21 AEST 2009
I found and patched an error in the network driver for UNIBUS ethernet
DEUNA/DELUA in 2.11BSD for PDP-11.
Build 2.11 BSD with ethernet/TCP/IP support over DEUNA/DELUA controller.
Configure the network.
Boot up 2.11 BSD, switch to multiuser mode.
Wait for 15 Minutes, until all ARP caches in the system are aged out.
Try to ping the PDP-11 from a network node, which is NOT listed anywhere
PDP-11's network configuration files. Ping will fail.
Important: since arp requests are also arp responses, do not ping the
test node from your
PDP-11. The test node may not be contacted by the PDP-11!
Before testing, verify on the test node that the PDP-11 is unkown. The
command "arp -a" must not display the PDP-11 yet.
You can clean the test node's arp cache by executing "arp -d *".
This can also be reproduced in SimH,
for example with the installation downloadable at
The DEUNA/DELUA does not answer ARP requests, so other network nodes
can not get the PDP-11's ethernet MACID and can not send anything to it.
The DEUNA/DELUA does not answer ARP because it does not receive ethernet
(those addressed to MACID FF:FF:FF:FF:FF:FF).
And it is not receiving broadcasts, because the DELUA driver in
did not set up the DELUA's packet filter to receive FF:FF:FF:FF:FF:FF.
In /sys/pdpif/if_de.c , the DEUNA/DELUA must be programmed to receive
ethernet broadcast pakets.
The good way would be to explicitly add MACID FF:FF:FF:FF:FF:FF to the
The fast and dirty way was to program the DELUA to receive ALL multicasts,
by setting one more bit in the mode register:
In /sys/pdpif/if_de.c, change line
ds->ds_pcbb.pcbb2 = MOD_TPAD|MOD_HDX;
ds->ds_pcbb.pcbb2 = MOD_TPAD|MOD_HDX|MOD_ENAL;
This is a major bug, as it prevents the PDP-11 under 2.11BSD to run as a
It's hard to believe that it is still there.
In the typical quick "boot up and ping someone" test, it is almost
The bug is not present in the DELQA driver "if_qe.c".
I did posted already to alt.sys.pdp11 newsgroup.
The error has been acknowledeged by one other user.
In the BSD patch archive, this bug seems not to be addressed.
TUHS mailing list
TUHS at minnie.tuhs.org
More information about the TUHS