Discussion:
[Simh] tcpip problem
Phil King
2018-05-17 04:47:30 UTC
Permalink
tried to telnet in from a terminal on the same computer my vax is running and it is not working so you are correct i have an ip problem  i have to do something thin wtih the router and some reconfig in the vax to the end of my ability after that i will try to ask for help thanks all for your help you are all good people 
Phil
Philip King 4681 Carr Rd Hillsboro Ohio 45121 9374421909 ***@yahoo.com

On Monday, May 14, 2018, 11:02:53 PM EDT, <simh-***@trailing-edge.com> wrote:

Send Simh mailing list submissions to
    ***@trailing-edge.com

To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.trailing-edge.com/mailman/listinfo/simh
or, via email, send a message with subject or body 'help' to
    simh-***@trailing-edge.com

You can reach the person managing the list at
    simh-***@trailing-edge.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Simh digest..."


Today's Topics:

  1. Re:  cant get windows motiff to work logging in remotely
      (Jeremy Begg)


----------------------------------------------------------------------

Message: 1
Date: Tue, 15 May 2018 12:28:38 +0930
From: Jeremy Begg <***@vsm.com.au>
To: Phil King <***@yahoo.com>
Cc: Jeremy Begg <***@vsm.com.au>, ***@trailing-edge.com
Subject: Re: [Simh] cant get windows motiff to work logging in
    remotely
Message-ID: <A641DABB-1C7C-4BCE-B4F4-***@vsm.com.au>
Content-Type: text/plain; charset="utf-8"

Hi Phil,

Most likely cause is the X11 server (Xephyr ?)  is not allowing connections from the emulated VAX (X11 client).
With any luck the X11 server will have a log file somewhere showing the connection attempt.

Also check that you can connect from the VAX to the X11 server, e.g.
$ telnet 192.168.42.130 /port=6003
If you get “no route to host”, “connection refused” or similar you have a basic TCP/IP issue between your VMS environment and the host PC.

Regards,

    Jeremy Begg
watching a video on youtube to login into openvms with motiff.
create a
Xephyr -screen 1024x768 -ac :3
set display
set display/create/node=192.168.42.130/transport=tcpip/server=3
show display
  Device:    WSA2:  [super]
    Node:      192.168.42.130
    Transport: TCPIP
    Server:    3
    Screen:    0
next command is set/term/detach gives this error
  create/term/detach
%DECW-E-CANT_OPEN_DISPL, Can't open display
Send Simh mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Simh digest..."
  1. Re:  here is the information you requested (Mark Pizzolato)
----------------------------------------------------------------------
Message: 1
Date: Mon, 14 May 2018 15:24:06 -0700
Subject: Re: [Simh] here is the information you requested
Content-Type: text/plain; charset="utf-8"
Hi Phil,
This looks close, but needs a little adjustment.
SET QVSS ENABLE
This will enable the video device and if the operating system you run (VMS or Ultrix) has graphic device support (DECWindows, or something else) and that device support has devices for the QVSS (aka VCB01) device, then things should work reasonably well.  DECWindows under VMS has device support for this.
-          Mark
Sent: Monday, May 14, 2018 3:15 PM
Subject: [Simh] here is the information you requested
Here is my show version command verbage
MicroVAX 3900 simulator V4.0-0 Current        git commit id: f2f4bfa8
sim> show ver
MicroVAX 3900 simulator V4.0-0 Current
        64b data
        64b addresses
        Threaded Ethernet Packet transports:PCAP:TAP:VDE:NAT:UDP
        Idle/Throttling support is available
        Virtual Hard Disk (VHD) support
        RAW disk and CD/DVD ROM support
        Asynchronous I/O support (Lock free asynchronous event queue)
        Asynchronous Clock support
        FrontPanel API Version 12
        Compiler: GCC 7.3.0
        Simulator Compiled as C arch: x64 (Release Build) on May 14 2018 at 18:07:57
        Memory Access: Little Endian
        Memory Pointer Size: 64 bits
        Large File (>2GB) support
        SDL Video support: SDL Version 2.0.8
        PCRE RegEx (Version 8.39 2016-06-14) support for EXPECT commands
        OS clock resolution: 1ms
        Time taken by msleep(1): 1ms
        OS: Linux bigblue 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
        git commit id: f2f4bfa8
        git commit time: 2018-04-25T14:15:45-07:00
sim>
Here is my config file
set cpu 512m
at nvr vax.nvr
set rq0 rauser=5000
set rq1 rauser=5000
;set rq2 rauser=5000
set rq2 rrd40
set rq3 rrd40
at rq0 /home/sureshot/vaxgirl/sd0.dsk
at rq1 /home/sureshot/vaxgirl/sd1.dsk
;at rq2 /home/sureshot/vaxgirl/sd2.dsk
at rq2 /home/sureshot/vaxgirl/layprod.iso
at rq3 /home/sureshot/vaxgirl/vmsvax1.iso
at xq0 eth2
SET CPU CONHALT
DEP BDR 0
BOOT CPU
EXIT
Here is the compile screen capture
lib paths are: /lib/x86_64-linux-gnu/ /usr/lib/ /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/libfakeroot/
include paths are: /usr/include
using libm: /usr/lib/x86_64-linux-gnu/libm.so
using librt: /usr/lib/x86_64-linux-gnu/librt.so
using libpthread: /usr/lib/x86_64-linux-gnu/libpthread.so /usr/include/pthread.h
using libpcreposix: /usr/lib/x86_64-linux-gnu/libpcreposix.so /usr/lib/x86_64-linux-gnu/libpcre.so /usr/include/pcreposix.h /usr/include/pcre.h
using libdl: /usr/lib/x86_64-linux-gnu/libdl.so /usr/include/dlfcn.h
using libSDL2: /usr/include/SDL2/SDL.h
using libpcap: /usr/include/pcap.h
using libvdeplug: /usr/lib/libvdeplug.so /usr/include/libvdeplug.h
***
*** - compiler optimizations and no debugging support. GCC Version: 7.3.0.
*** - dynamic networking support using Linux provided libpcap components.
*** - Local LAN packet transports: PCAP VDE TAP NAT(SLiRP)
*** - video capabilities provided by libSDL2 (Simple Directmedia Layer).
***
*** git commit id is f2f4bfa8fbaf2eb0b6bc1f2722889a025d7acd73.
*** git commit time is 2018-04-25T14:15:45-07:00.
***
gcc -std=gnu99 -U__STRICT_ANSI__  -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -Wno-unused-result -DSIM_GIT_COMMIT_ID=f2f4bfa8fbaf2eb0b6bc1f2722889a025d7acd73 -DSIM_GIT_COMMIT_TIME=2018-04-25T14:15:45-07:00 -DSIM_GIT_COMMIT_TIME=2018-04-25T14:15:45-07:00  -DSIM_COMPILER="GCC Version: 7.3.0" -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO  -DHAVE_PCREPOSIX_H -DHAVE_DLOPEN=so -DHAVE_UTIME -DHAVE_GLOB  sim_BuildROMs.c -o BIN/BuildROMs
BIN/BuildROMs
rm -f BIN/BuildROMs
gcc -std=gnu99 -U__STRICT_ANSI__  -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -Wno-unused-result -DSIM_GIT_COMMIT_ID=f2f4bfa8fbaf2eb0b6bc1f2722889a025d7acd73 -DSIM_GIT_COMMIT_TIME=2018-04-25T14:15:45-07:00 -DSIM_GIT_COMMIT_TIME=2018-04-25T14:15:45-07:00  -DSIM_COMPILER="GCC Version: 7.3.0" -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO  -DHAVE_PCREPOSIX_H -DHAVE_DLOPEN=so -DHAVE_UTIME -DHAVE_GLOB  VAX/vax_cpu.c VAX/vax_cpu1.c VAX/vax_fpa.c VAX/vax_io.c VAX/vax_cis.c VAX/vax_octa.c  VAX/vax_cmode.c VAX/vax_mmu.c VAX/vax_stddev.c VAX/vax_sysdev.c VAX/vax_sys.c  VAX/vax_syscm.c VAX/vax_syslist.c VAX/vax_vc.c VAX/vax_lk.c VAX/vax_vs.c VAX/vax_2681.c PDP11/pdp11_rl.c PDP11/pdp11_rq.c PDP11/pdp11_ts.c PDP11/pdp11_dz.c PDP11/pdp11_lp.c PDP11/pdp11_tq.c PDP11/pdp11_xq.c PDP11/pdp11_vh.c PDP11/pdp11_cr.c PDP11/pdp11_td.c PDP11/pdp11_io_lib.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_disk.c sim_serial.c sim_video.c sim_imd.c sim_card.c -DVM_VAX -DUSE_INT64 -DUSE_ADDR64 -DUSE_SIM_VIDEO -I VAX -I PDP11 -DHAVE_PCAP_NETWORK -I/usr/include/ -DBPF_CONST_STRING -DUSE_SHARED -DHAVE_VDE_NETWORK -DHAVE_TAP_NETWORK -Islirp -Islirp_glue -Islirp_glue/qemu -DHAVE_SLIRP_NETWORK -DUSE_SIMH_SLIRP_DEBUG slirp/*.c slirp_glue/*.c -DHAVE_LIBSDL -DUSE_SIM_VIDEO `/usr/bin/sdl2-config --cflags` `/usr/bin/sdl2-config --libs` -o BIN/microvax3900 -lm -lrt -lpthread -lpcreposix -lpcre -ldl -lvdeplug -Wl,-R,/usr/lib/ -L/usr/lib/
cp BIN/microvax3900 BIN/vax
Send Simh mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Simh digest..."
  1.  misspelled library name sorry (Phil King)
----------------------------------------------------------------------
Message: 1
Date: Mon, 14 May 2018 21:54:29 +0000 (UTC)
Subject: [Simh] misspelled library name sorry
Content-Type: text/plain; charset="utf-8"
libsdl1-dev i read this some ware in one of your post that this is needed to compile simh vax in linux to run the video i tried to recall from memory but one spelling is not my thing and my short term mem is not all that great once in long term good. Hey i am sorry to be such a pain but as i said i am a big fan of your work .. I can afford to have the real thing and your emulators work like i would never expect. Thanks for making them free. I will donate as soon as i get some things settled here with my home and health. i will send the other info you requested shortlythanks in advancePhil
Send Simh mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Simh digest..."
  1. Re:  simh not loading the video driver when compile with
      libcbl-dev (Mark Pizzolato)
----------------------------------------------------------------------
Message: 1
Date: Mon, 14 May 2018 14:17:14 -0700
Subject: Re: [Simh] simh not loading the video driver when compile
    with libcbl-dev
Content-Type: text/plain; charset="utf-8"
Hi Phil,
Dave suggested how DECWindows is started when the system boots, but it isn’t clear that you done everything else that might be necessary for that to be useful.
You mention libcbl-dev, but I’ve never heard of that.  Maybe you’ve mistyped something.
1)      Please provide the output produced when you built the simulator you are working with.
2)      Please provide the configuration file you are using to setup and run your simulator
3)      Please provide the output produced when you enter SHOW VERSION at the “sim> “ prompt when running the simulator in question.
- Mark
Sent: Sunday, May 13, 2018 10:03 PM
Subject: [Simh] simh not loading the video driver when compile with libcbl-dev
Is there anything i need to do to get openvms to load the video driver it is compile with with the proper dev lib
Phil
thanks in advance
Send Simh mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Simh digest..."
  1. Re:  Problems running simH in Android (Gene Irwin)
----------------------------------------------------------------------
Message: 1
Date: Thu, 10 May 2018 16:51:28 -0700
Subject: Re: [Simh] Problems running simH in Android
Content-Type: text/plain; charset="utf-8"
interestingly enough the pdp8 simulator seems fine. At least with rx devices
Same issue on my desktop.
I have used this very same process on older versions with my desktop
running an AMD FX processor, linux mint 18, and it has worked.
I went to the trailing edge page and went to the software kits section and
downloaded the 2 RSTS images.
I have looked in my archived copies if the kit, and the file sizes for the
disk images in my archived copy match the newly downloaded one.
PDP-11 simulator V4.0-0 Beta        git commit id: 9d2079df
sim> set cpu 1m
Disabling RK
Disabling HK
Disabling TM
sim> at rl0 rsts_full_rl.dsk
sim>
PDP-11 simulator V4.0-0 Current        git commit id: c1894a7d
sim> set cpu 1m
Disabling RK
Disabling HK
Disabling TM
sim> at rl0 rsts_full_rl.dsk
RL0: non expandable disk rsts_full_rl.dsk is smaller than simulated device
(2617KW < 2621KW)
File open error
sim>
this image I am using (rsts_full_rl.dsk) is newly downloaded from the kits
page on the
trailing edge site.
First, please follow the exact same steps (grabbing the same disk image),
using the same configuration file on any of your other favorite simh
hosts.  If this produces the same result, then it's not a platform problem.
In any case, precisely describe the steps, configuration file and source
of the disk image.
Let me know what you find.
  - Mark
Ok. So I switched to my tablet  (Samsung tab a) running 7.1.1 and things
built fine.  I pulled the software kit for rsts and when I tried to mount
the prebuilt rl0 the simulator errored.
RL0: non expandable disk rsts_full_r.dsk is smaller than simulated device
(2617KW < 2621KW)
File size according to ls -l is 5235200
Any ideas?
Skip the AltairZ80 for now.  The change that caused the redefinition was
done to potentially help the AltairZ80 author to fix the glob.h missing
issue.
Pull the latest and you should hopefully be able to build all but the
AltairZ80 simulator.
Jewhurst
*Sent:* Wednesday, May 9, 2018 4:17 PM
*Subject:* Re: [Simh] Problems running simH in Android
I just got that error too and now after doing a make clean, I cannot
build anything.
I'm having issues compiling on the note 8 with android 8.
Getting glob.h not found on the altairz80 and most give a warning about
redefinition of *DIR_ENTRY_CALLBACK
Kernel if 4.4.78
Works fine for me - LineageOS 14.1 (which is basically Nougat 7.1) on a
Nexus 7 tablet.
  John.
The github master branch code should now work under termux on Android for
at least Marshmallow on up.  I have tested Marshmallow and Oreo.  I would
1)      Install termux from the Google Play Store
    $ pkg install clang make git
    $ git clone https://github.com/simh/simh <https://github.com/simh/simh>
    $ cd simh
    $ make vax
    $ BIN/vax
    sim> B
If you end up at the >>> prompt everything looks good.  If you did this
without a physical keyboard connected, you won’t be able to type Control-E
to get back to the sim> prompt.  Just enter B ZZZ which is an unknown
device and the boot ROM will halt returning you to the sim> prompt.
Once you get that far, all the other simulators should build fine and be
usable pretty much like on most other Linux environments.  Things which
require root access won’t work since termux doesn’t give you that.  It
would be interesting to know if NAT mode networking works for the VAX
simulators

*From:* Mark Pizzolato
*Sent:* Tuesday, May 8, 2018 11:00 PM
*Subject:* RE: [Simh] Problems running simH in Android
Hi Ray,
Give the latest github code a try.
BTW, what Android version is running on your phone/tablet?
What is the output of ‘uname –a’ in your termux session?
-          Mark
  __
*Sent:* Tuesday, May 8, 2018 8:13 AM
*Subject:* Re: [Simh] Problems running simH in Android
To follow up a little more on this.
The call to tcsetattr() is failing with errno: 13 – Permission denied
*From:* Mark Pizzolato
*Sent:* Sunday, May 6, 2018 11:47 PM
*Subject:* RE: [Simh] Problems running simH in Android
I did a little digging and struggled with typing a whole bunch on my
phone.
The problem you’re seeing is due to the Linux OS environment you’re
running under doesn’t support ‘raw’ mode for terminal I/O.  When you
start a simulator the traffic to/from the simulated console device is
expected to be exactly the characters that the user types on the console
keyboard.  To achieve this, the current tt mode is gathered with
tcgetattr()
then those attributes are adjusted so that every character typed is
received
without any interpretation by the OS and output is also not translated
(i.e.
\n only sends a LF character instead of CRLF characters).  The error
message,
you seeing is due to the call a tcsetattr() failing.
*Sent:* Saturday, May 5, 2018 8:38 PM
*Subject:* Re: [Simh] Problems running simH in Android
If you’re not comfortable digging into this yourself, then please create
an
Issue at https://github.com/simh/simh/issues <https://github.com/simh/simh/issues><https://github.com/simh/simh/issues%20 <https://github.com/simh/simh/issues%20>> <https://github.com/simh/simh/issues%20 <https://github.com/simh/simh/issues%20>> and spell out exactly how to
recreate your setup and reproduce the problem.
*Sent:* Saturday, May 5, 2018 5:48 PM
*Subject:* [Simh] Problems running simH in Android
Greetings
I have been trying forever to get simh to run under the Termux Android
shell app and got very close but no cigar. It builds okay but then when I
PDP-11 simulator V4.0-0 Current        git commit id: f2f4bfa8
sim> do rt1154f.ini
Disabling XQ
rt1154f.ini-3> b rk0
sim_ttrun() returned: Console input I/O error
sim>
Any ideas?
Thanks
Ray
_______________________________________________
Simh mailing list
http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
_______________________________________________
Simh mailing list
http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
_______________________________________________
Simh mailing list
http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180510/c33b3d90/attachment.html <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180510/c33b3d90/attachment.html>>
------------------------------
Subject: Digest Footer
_______________________________________________
Simh mailing list
http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
------------------------------
End of Simh Digest, Vol 172, Issue 21
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180514/f5c0a6f2/attachment.html <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180514/f5c0a6f2/attachment.html>>
------------------------------
Subject: Digest Footer
_______________________________________________
Simh mailing list
http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
------------------------------
End of Simh Digest, Vol 172, Issue 24
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180514/263c9138/attachment.html <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180514/263c9138/attachment.html>>
------------------------------
Subject: Digest Footer
_______________________________________________
Simh mailing list
http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
------------------------------
End of Simh Digest, Vol 172, Issue 25
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180514/daddbe2d/attachment.html <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180514/daddbe2d/attachment.html>>
------------------------------
Subject: Digest Footer
_______________________________________________
Simh mailing list
http://mailman.trailing-edge.com/mailman/listinfo/simh <http://mailman.trailing-edge.com/mailman/listinfo/simh>
------------------------------
End of Simh Digest, Vol 172, Issue 27
*************************************
_______________________________________________
Simh mailing list
http://mailman.trailing-edge.com/mailman/listinfo/simh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180515/3b815b1c/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Simh mailing list
***@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

------------------------------

End of Simh Digest, Vol 172, Issue 29
*************************************
Johnny Billquist
2018-05-17 16:55:03 UTC
Permalink
Post by Phil King
tried to telnet in from a terminal on the same computer my vax is
running and it is not working so you are correct i have an ip problem  i
have to do something thin wtih the router and some reconfig in the vax
to the end of my ability after that i will try to ask for help thanks
all for your help you are all good people
Um. I would not be surprised if you just observe the problem others have
mentioned in the past. It is not uncommon for the host system to not be
able to communicate with the virtual machine, as the outgoing ethernet
packets are not been received. A switch will normally not help you, as
both hosts are on the same ethernet cable, and switches do not reflect
packets back on the port they come from. Routers might be more clever,
but it's not a given. But basically, your problem have a high chance of
being a problem of being able to communicate between two machines that
use the same physical ethernet interface.

Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: ***@softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Loading...