<div><div dir="auto">I think you made the worst choice for your attach command: wifi is not ethernet, contrary to popular belief. Can you post results when your attach to a real ethernet device ?</div></div><div dir="auto"><br></div><div dir="auto">Wilm</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op zo 31 mei 2020 om 17:37 schreef Phil J FIsher <<a href="mailto:phil.fisher@peejayeff.co.uk">phil.fisher@peejayeff.co.uk</a>><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All<br>
Following Mark P's feedback and comments, this is in many respects a<br>
re-submission of a previous poorly put together post.<br>
<br>
My goal in all this is to make an Ethernet adapter on PDP11 under SimH<br>
available to RSX11M+ V4.6 so that I can enable networking within that<br>
environment.  I have not been able to do this so far despite following what<br>
I believed to be correct approaches.<br>
<br>
The following setup comes from running SIMH on a Win10 box directly using a<br>
pre-built binary.<br>
<br>
SIMH><br>
sim> show version<br>
PDP-11 simulator V4.0-0 Current<br>
    Simulator Framework Capabilities:<br>
        32b data<br>
        32b addresses<br>
        Threaded Ethernet Packet transports:PCAP:NAT:UDP<br>
        Idle/Throttling support is available<br>
        Virtual Hard Disk (VHD) support<br>
        RAW disk and CD/DVD ROM support<br>
        Asynchronous I/O support (Lock free asynchronous event queue)<br>
        Asynchronous Clock support<br>
        FrontPanel API Version 12<br>
    Host Platform:<br>
        Compiler: Microsoft Visual C++ 15.00.30729.01<br>
        Simulator Compiled as C arch: x86 (Release Build) on Mar 10 2020 at<br>
00:42:02<br>
        Build Tool: simh-Visual-Studio-Project<br>
        Memory Access: Little Endian<br>
        Memory Pointer Size: 32 bits<br>
        Large File (>2GB) support<br>
        SDL Video support: SDL Version 2.0.10, PNG Version 1.6.37, zlib:<br>
1.2.11<br>
        PCRE RegEx (Version 8.43 2019-02-23) support for EXPECT commands<br>
        OS clock resolution: 1ms<br>
        PDTime taken by msleep(1): 1ms<br>
        Ethernet packet info: Unsupported - Npcap version 0.9991, based on<br>
libpcap version 1.9.1<br>
        Time taken by msleep(1): 1ms<br>
        OS: Microsoft Windows [Version 10.0.18363.836]<br>
        Architecture: x86 on AMD64, Processors: 4<br>
        Processor Id: Intel64 Family 6 Model 142 Stepping 9, GenuineIntel,<br>
Level: 6, Revision: 8e09<br>
        git commit id: c30c88c2<br>
        git commit time: 2020-03-10T00:18:19-07:00<br>
<br>
CONFIG><br>
PDP-11 simulator configuration<br>
<br>
CPU     11/70, FPP, RH70, autoconfiguration disabled, idle enabled<br>
SYSTEM<br>
RHA     address=17776700-17776753, vector=254, BR5<br>
RHB     disabled<br>
RHC     disabled<br>
CLK     60Hz, address=17777546-17777547, vector=100, BR6<br>
PCLK    disabled<br>
PTR     address=17777550-17777553, vector=70, BR4<br>
PTP     address=17777554-17777557, vector=74, BR4<br>
TTI     address=17777560-17777563, vector=60, BR4<br>
TTO     address=17777564-17777567, vector=64, BR4<br>
TDC     disabled<br>
CR      disabled<br>
LPT     address=17777514-17777517, vector=200, BR4<br>
DLI     disabled<br>
DLO     disabled<br>
DCI     disabled<br>
DCO     disabled<br>
DZ      address=17760100-17760107*, vector=300-304*, BR5, lines=8<br>
VH      disabled<br>
RC      disabled<br>
RF      disabled<br>
RK      address=17777400-17777417, vector=220, BR5, 8 units<br>
RL      RL11, address=17774400-17774411, vector=160, BR5, 4 units<br>
HK      disabled<br>
RX      disabled<br>
RY      disabled<br>
RP      Massbus adapter 0 (RHA), 8 units<br>
RS      disabled<br>
RQ      disabled<br>
RQB     disabled<br>
RQC     disabled<br>
RQD     disabled<br>
TC      disabled<br>
TM      disabled<br>
TS      disabled<br>
TQ      TU81 (180MB), address=17774500-17774503, no vector, BR5, 4 units<br>
TU      disabled<br>
TA      disabled<br>
VT      disabled<br>
XQ      disabled<br>
XQB     disabled<br>
XU      disabled<br>
XUB     disabled<br>
KG      disabled<br>
DMC     disabled<br>
DUP     disabled<br>
DPV     disabled<br>
KDP     disabled<br>
KE      disabled<br>
ROM     4 units<br>
CH      disabled<br>
NG      disabled<br>
DAZ     disabled<br>
<br>
NETWORK><br>
sim> sh eth<br>
ETH devices:<br>
 eth0   \Device\NPF_{0CAAD8E0-0523-432A-89C3-29377479808C} (VirtualBox<br>
Host-Only Network)<br>
 eth1   \Device\NPF_{A2D25F8C-319D-4D10-A2D1-F612E89065DC} (Local Area<br>
Connection* 10)<br>
 eth2   \Device\NPF_{EAE8073C-4368-41F5-9B70-77671D8038DE} (WiFi)<br>
 eth3   \Device\NPF_{2CEDB723-3207-46CB-A136-081880A0C53A} (VMware Network<br>
Adapter VMnet1)<br>
 eth4   \Device\NPF_{87E9C4CC-4570-4792-840C-D13C7E5806B0} (Local Area<br>
Connection* 2)<br>
 eth5   \Device\NPF_{3290B149-A507-49C1-86EE-EB9D894D48A1} (Local Area<br>
Connection* 8)<br>
 eth6   \Device\NPF_{A5A812CA-928E-4EA9-8738-2E125D177FF3} (Local Area<br>
Connection* 3)<br>
 eth7   \Device\NPF_{E4948FE0-C106-4D09-9310-EB0B72477D28} (VMware Network<br>
Adapter VMnet8)<br>
 eth8   \Device\NPF_{21E275FA-748D-414E-942D-E86C23FF7260} (Local Area<br>
Connection* 9)<br>
 eth9   \Device\NPF_{438585F9-46EB-4060-8674-0029AE4FAEE1} (Ethernet)<br>
 eth10  nat:{optional-nat-parameters}                      (Integrated NAT<br>
(SLiRP) support)<br>
 eth11  udp:sourceport:remotehost:remoteport               (Integrated UDP<br>
bridge support)<br>
<br>
MANUAL CONFIG DELUA><br>
sim> set XU enable<br>
sim> set XU autoconfigure<br>
sim> set XU type=DELUA<br>
sim> sh xu<br>
XU      no vector, BR5, MAC=08:00:2B:03:FE:68, type=DELUA<br>
        throttle=disabled<br>
        not attached<br>
sim><br>
<br>
Now I have deliberately not attached the XU device;  I just want to make<br>
sure it is picked up by RSX11M+.  I believe it should do so even if it then<br>
fails to do anything sensible.  I get identical results when attached to a<br>
network (for details of attach, see later).<br>
<br>
When booted (via RL0), RSX11M+ fires up as expected.  When I try to enable<br>
the network via NETINS.CMD, I see that it is not able to "install" the UNA-0<br>
network device.  <br>
<br>
NTL -- Config File -- Device UNA-0 Offline<br>
        CNT$DF  0,120,174510,5,,NX<br>
NTINIT -- Failed To Load Line UNA-0<br>
<br>
Inspecting the RSX11M+ config shows:<br>
<br>
RSX><br>
>con dis attr<br>
SYS<br>
                PDP-11/70, EIS,UNIBUS_Map,D-Space,SWR,Cache,FPP,<br>
                Clock=KW11-L, $TKPS=60., $TTPRM=000002, Cache_control=000001<br>
LAA<br>
                Csr=170460, Vector=000340, Pri=000005, Urm=000001<br>
YLA<br>
                Csr=177560, Vector=000060, Pri=000005, Urm=000001<br>
DLA<br>
                Csr=174400, Vector=000160, Pri=000005, Urm=000001<br>
DUA<br>
                Csr=172150, Vector=000154, Pri=000005, Urm=000001<br>
LPA<br>
                Csr=177514, Vector=000200, Pri=000004, Urm=000001<br>
MUA<br>
                Csr=174500, Vector=000260, Pri=000005, Urm=000001<br>
YZA<br>
                Csr=160100, Vector=000300, Pri=000005, Urm=000001<br>
VF0:    ,Type=<br>
VF1:    ,Type=<br>
LA0:    LAA0:<br>
CO0:<br>
TT0:    YLA0:<br>
TT1:    YZA0:<br>
TT2:    YZA1:<br>
TT3:    YZA2:<br>
TT4:    YZA3:<br>
TT5:    YZA4:<br>
TT6:    YZA5:<br>
TT7:    YZA6:<br>
TT10:   YZA7:<br>
VT0:<br>
DL0:    DLA0:,Type=RL02<br>
DL1:    DLA1:,Type=RL02<br>
DL2:    DLA2:,Type=RL02<br>
DL3:    DLA3:,Type=RL02<br>
NL0:<br>
DU0:    DUA0:<br>
DU1:    DUA1:<br>
DU2:    DUA2:<br>
DU3:    DUA3:<br>
LP0:    LPA0:<br>
MU0:    MUA0:,Type=TU81<br>
NN0:<br>
NM0:<br>
HT0:<br>
HT1:<br>
HT2:<br>
HT3:<br>
RT0:<br>
RT1:<br>
RT2:<br>
RT3:<br>
<br>
This seems to show that the device is not being seen by RSX11M+ at all since<br>
there is no device information.<br>
<br>
I also retried this having attached a network to the device XU0:<br>
<br>
ETH-ATTACHED><br>
sim> attach xu0 eth2<br>
Eth: opened OS device \Device\NPF_{EAE8073C-4368-41F5-9B70-77671D8038DE} -<br>
WiFi<br>
sim> sho xu0<br>
XU0     attached to eth2<br>
<br>
This gave exactly as far as I can tell the same results on booting RSX11M+<br>
and running the NETINS command script.<br>
<br>
If I am given guidance I can provide more information from SimH or from<br>
RSX11M+.<br>
<br>
I hope on this occasion I have provided the correct type of submission.<br>
<br>
<br>
-- <br>
Phil J Fisher         <a href="mailto:phil.fisher@peejayeff.co.uk" target="_blank">phil.fisher@peejayeff.co.uk</a><br>
Mobile:   +44 7984 781 929 (please leave message if busy or N/A)<br>
Director, PeeJayEff Services Ltd<br>
IT Consultancy and Technical Training in UNIXes/Linux<br>
<a href="http://www.peejayeff.co.uk/" rel="noreferrer" target="_blank">http://www.peejayeff.co.uk/</a><br>
<br>
Email and any attachments sent are scanned by McAfee<br>
Anti-Virus but integrity cannot be guaranteed.<br>
_____________________________________________________<br>
<br>
<br>
_______________________________________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com" target="_blank">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Wilm</div>