OK, so I'm quite lazy - does anyone have a prebuilt version where I could just tweak the SIMH / VMS settings? :)
There will be beer for any assistance should you be crazy enough to visit Helsinki.
Sampsa
On 23 Nov 2012, at 12:01, Stuart Martin wrote:
took me about 7 hours to build the kernel on the Pi. You can also build it on another machine (i.e. faster) if you use the right toolchain.
On 23 November 2012 09:45, Jordi Guillaumes i Pons <jg at jordi.guillaumes.name> wrote:
El 23/11/2012, a les 10:37, Jordi Guillaumes i Pons <jg at jordi.guillaumes.name> va escriure:
> With this setup I run 5 simulators in a single Pi, including a vax780 running VMS 4.7 working as my area router. Oh, I run Johnny's bridge in the Pi as well :)
Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,7 us, 6,2 sy, 28,9 ni, 62,9 id, 0,0 wa, 0,0 hi, 1,4 si, 0,0 st
KiB Mem: 497764 total, 447540 used, 50224 free, 37252 buffers
KiB Swap: 524284 total, 0 used, 524284 free, 316672 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14055 jguillau 30 10 52616 12m 1532 S 8,8 2,6 340:42.24 vax780
2701 jguillau 30 10 13916 5784 976 S 8,1 1,2 402:40.18 pdp10
19769 jguillau 30 10 50208 10m 1664 S 8,1 2,1 116:15.64 pdp11
19778 jguillau 30 10 48168 8564 1620 S 4,5 1,7 57:02.42 pdp11
19785 jguillau 30 10 42012 10m 1652 S 3,9 2,1 59:07.42 pdp11
18945 debian-t 35 15 34540 3520 2344 S 2,9 0,7 71:20.25 transmission-da
21232 jguillau 20 0 5196 1420 1044 R 1,3 0,3 0:00.35 top
1965 root 20 0 3572 952 688 S 0,3 0,2 9:08.55 latd
1 root 20 0 2136 672 564 S 0,0 0,1 0:11.69 init
2 root 20 0 0 0 0 S 0,0 0,0 0:00.12 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 1:27.33 ksoftirqd/0
:)
I've got LAT running in the Pi as well. I haven't tried DECnet yet (I'm not sure if the ARMHF kernel has it compiled in, and I am _NOT_ going to buld the kernel in the Pi since it could take whole days :)).
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES
took me about 7 hours to build the kernel on the Pi. You can also build it on another machine (i.e. faster) if you use the right toolchain.
On 23 November 2012 09:45, Jordi Guillaumes i Pons <jg at jordi.guillaumes.name> wrote:
El 23/11/2012, a les 10:37, Jordi Guillaumes i Pons <jg at jordi.guillaumes.name> va escriure:
> With this setup I run 5 simulators in a single Pi, including a vax780 running VMS 4.7 working as my area router. Oh, I run Johnny's bridge in the Pi as well :)
Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,7 us, 6,2 sy, 28,9 ni, 62,9 id, 0,0 wa, 0,0 hi, 1,4 si, 0,0 st
KiB Mem: 497764 total, 447540 used, 50224 free, 37252 buffers
KiB Swap: 524284 total, 0 used, 524284 free, 316672 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14055 jguillau 30 10 52616 12m 1532 S 8,8 2,6 340:42.24 vax780
2701 jguillau 30 10 13916 5784 976 S 8,1 1,2 402:40.18 pdp10
19769 jguillau 30 10 50208 10m 1664 S 8,1 2,1 116:15.64 pdp11
19778 jguillau 30 10 48168 8564 1620 S 4,5 1,7 57:02.42 pdp11
19785 jguillau 30 10 42012 10m 1652 S 3,9 2,1 59:07.42 pdp11
18945 debian-t 35 15 34540 3520 2344 S 2,9 0,7 71:20.25 transmission-da
21232 jguillau 20 0 5196 1420 1044 R 1,3 0,3 0:00.35 top
1965 root 20 0 3572 952 688 S 0,3 0,2 9:08.55 latd
1 root 20 0 2136 672 564 S 0,0 0,1 0:11.69 init
2 root 20 0 0 0 0 S 0,0 0,0 0:00.12 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 1:27.33 ksoftirqd/0
:)
I've got LAT running in the Pi as well. I haven't tried DECnet yet (I'm not sure if the ARMHF kernel has it compiled in, and I am _NOT_ going to buld the kernel in the Pi since it could take whole days :)).
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES
El 23/11/2012, a les 10:37, Jordi Guillaumes i Pons <jg at jordi.guillaumes.name> va escriure:
With this setup I run 5 simulators in a single Pi, including a vax780 running VMS 4.7 working as my area router. Oh, I run Johnny's bridge in the Pi as well :)
Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,7 us, 6,2 sy, 28,9 ni, 62,9 id, 0,0 wa, 0,0 hi, 1,4 si, 0,0 st
KiB Mem: 497764 total, 447540 used, 50224 free, 37252 buffers
KiB Swap: 524284 total, 0 used, 524284 free, 316672 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14055 jguillau 30 10 52616 12m 1532 S 8,8 2,6 340:42.24 vax780
2701 jguillau 30 10 13916 5784 976 S 8,1 1,2 402:40.18 pdp10
19769 jguillau 30 10 50208 10m 1664 S 8,1 2,1 116:15.64 pdp11
19778 jguillau 30 10 48168 8564 1620 S 4,5 1,7 57:02.42 pdp11
19785 jguillau 30 10 42012 10m 1652 S 3,9 2,1 59:07.42 pdp11
18945 debian-t 35 15 34540 3520 2344 S 2,9 0,7 71:20.25 transmission-da
21232 jguillau 20 0 5196 1420 1044 R 1,3 0,3 0:00.35 top
1965 root 20 0 3572 952 688 S 0,3 0,2 9:08.55 latd
1 root 20 0 2136 672 564 S 0,0 0,1 0:11.69 init
2 root 20 0 0 0 0 S 0,0 0,0 0:00.12 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 1:27.33 ksoftirqd/0
:)
I've got LAT running in the Pi as well. I haven't tried DECnet yet (I'm not sure if the ARMHF kernel has it compiled in, and I am _NOT_ going to buld the kernel in the Pi since it could take whole days :)).
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES
El 23/11/2012, a les 2:55, Sampsa Laine <sampsa at mac.com> va escriure:
Anyone got one of these built? I've got a raspberry Pi collecting dust and figured I might as well turn it into something useful, like an emulated VAX.
I do. It is realy easy to do. If I recall it correctly you need to do (after setting up the raspbian distro):
$ sudo apt-get install git
$ git pull https://github.com/simh
$ cd simh
$ git checkout v3.9-0 # This is optional if you don't want to build the HEAD version
$ sudo apt-get install vde2
$ sudo apt-get install libvdeplug2
$ sudo apt-get install libvdeplug2-dev
$ sudo apt-get libpcap-dev
$ sudo apt-get bridge-utils
Then you can build the emulators you want to use. I recommend to build just what you need, since compilation takes a little bit in the rasp-pi:
$ make vax
$ make vax780
$ make pdp11
$ ...
I am pretty sure you don't need anything more. And if you don't want to use vde then you can omit those packages too. If you use vde then you will probably want to set up your network using a /etc/network/interfaces file similar to mine:
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
auto tap0
iface tap0 inet manual
vde2-switch -t tap0 -n 16 -s /tmp/vde.ctl -M /tmp/vde.mgmt -m 666 --mgmtmode 666
auto br0
iface br0 inet static
address 192.168.0.8
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.128
bridge_ports eth0 tap0
up sysctl net.ipv4.conf.br0.proxy_arp=1
(The wlan stuff is not really necessary, and of course you must modify the adresses acordingly to your own configuration)
With this setup I run 5 simulators in a single Pi, including a vax780 running VMS 4.7 working as my area router. Oh, I run Johnny's bridge in the Pi as well :)
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES
On 23 Nov 2012, at 02:06, Cory Smelosky wrote:
I'd be interested trying this as well, I wonder how this compares to
the real thing.
We could pull out a LOT of cruft from a full install and optimise it if we were to do this. Can SIMH build against uClibc?
The first RaspberryPi system I bootstrapped SimH on was running this:
http://www.linuxsystems.it/2012/06/raspbian-wheezy-armhf-raspberry-pi-minim…
It's bare-bones and has no cruft, might be a good starting point. It hasn't been updated in a while though, I don't know if it's staying with the current package stream for Raspbian or not.
--
Mark Benson
http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK
Online Resource & Mailing List for DEC Enthusiasts.
On 22 Nov 2012, at 21:05, Jerome Ibanes <jibanes at gmail.com> wrote:
Sampsa,
I'd be interested trying this as well, I wonder how this compares to
the real thing.
We could pull out a LOT of cruft from a full install and optimise it if we were to do this. Can SIMH build against uClibc?
Jerome
On 22 Nov 2012, at 20:55, Sampsa Laine <sampsa at mac.com> wrote:
Anyone got one of these built? I've got a raspberry Pi collecting dust and figured I might as well turn it into something useful, like an emulated VAX.
Which Pi do you have?
I'd be willing to help with a SIMH-VAX distro for the pi. I've been wanting to write crappy shell scripts to generate simh configs anyway.
Sampsa
Anyone got one of these built? I've got a raspberry Pi collecting dust and figured I might as well turn it into something useful, like an emulated VAX.
Sampsa
On 21 Nov 2012, at 05:06, Sampsa Laine <sampsa at mac.com> wrote:
On 21 Nov 2012, at 12:01, Jordi Guillaumes i Pons wrote:
El 21/11/2012, a les 10:31, Sampsa Laine <sampsa at mac.com> va escriure:
z/OS, AIX/ESA[370] and Debian/390x all under one emulated z/Arch box. That WOULD be cool.
And slow. VERY slow :)
I wasn't thinking of using this for production use. Compiling the kernel on Hercules was a giggle, took like 2 days.
Could always cross-compile!
If only they could get Ethernet support working (right now the tun/tap thing is a weird point-to-point link AFAIK).
It is. It works fine for TCP/IP (at level 3) but no level 2 so far.
Really? How? I thought the level 3 works as a point to point link as I said, the level 2 stuff would let things like DECNET run.
Could possibly be done with tunnels, or hacking your own encapsulation via RJE.
I'd love DECNET on some virtual IBM gear.
Got a sample say Debian/390 setup you'd like to share?
Sampsa