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
El 21/11/2012, a les 11:06, Sampsa Laine <sampsa at mac.com> va escriure:
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.
Got a sample say Debian/390 setup you'd like to share?
Oh, I think so... but I'll have to dig for it. I know it works for z/OS (I can tn3270/ssh into the emulated machine, use IMS Connect, access DB2 remotely, ) so there is no reason for it to not work for Linux.
As for level 2, I think the Hercules implementation uses tunX devices, which work at level 3, so I guess it simply won't work for anything not IP.
I'd like it to support other protocols encapsulation... XCF for instance. Hercules-based Parallel SYSPLEXes would be doable then :)
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES
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.
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.
Got a sample say Debian/390 setup you'd like to share?
Sampsa
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 :)
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.
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES