Hi,
The last few weeks have seen a lot of improvements to the PiDP-11 software as well as to the contents of the "software museum".
I just uploaded a beta version; the download & install procedure is in the freshly minted manual: https://www3.ispnet.net/pidp11/PiDP-11%20Manual%20v0.2.odtIt would be great if I could get some feedback from adventurous souls before dubbing this the New Release. Bug reports are very welcome, please let me know what Pi you use and what compile date simh displays when it starts up (PDP-11 simulator V4.0-0 Current REALCONS build Jan 12 2019)
To upgrade,
- I recommend to just rename /opt/pidp11 into /opt/xidp11 and then start with a fresh pidp11 subdirectory. That way you can always revert to the old version.
- No need to rerun the install script, just do the following:
apt-get update
apt-get install libsdl2-dev
apt-get install libpcap-dev
for some additional things the new version needs.I expect that new updates will come out much more regularly from now on. If you find any bugs, please just send me an email.
What has changed:
- decent setup for handling (re)booting into the various operating systems.
The kludgy bootscripts/ directory is replaced by a systems/ directory, and a text file (systems/selections) now maps SR switch values to named subdirectories.
- networking enabled, very easy to do now for RSX and 211BSD. But only through Ethernet for the moment.
Thanks to Mark Matlock, Bob Meyer and Johnny Billquist for doing the hard work!
- graphics. Play lunar lander under RT-11 to name one thing, but more is on its way.
Thanks to Ian Schofield for doing the hard work (all the work, really) here!- bug fix for the incidental LED flashes (Ian again)
- bug fix for the front panel display of register values (Jörg Hoppe)
- some small fixes and cleaning up
- I've received a few reports of the front panel driver crashing occasionally. Alas, not here so far - so I hope this is fixed but I feel rather unsure about that still.
Thanks to many people, including-but-not-limited-to Ian Schofield, Mark Matlock, Terry Kennedy, Johnny Billquist, Bob Meyer, Angelo Papenhoff, Jörg Hoppe, Mike Hill and and - never mind, you know who you are! Much appreciated.
Lastly, the manual will steadily grow into a guided tour through PDP-11 as well as Raspberry Pi land. I think that makes sense, as many things are hard to discover if you're not aware of them. I think 99% of PiDP-11 builders miss out on interesting features - including myself. Self-studying an archaic OS (such as Raspbian) is fine, but a walk-through through the highlights tells you where to look.Please send me any how-tos that should be included, the manual is editable on the Pi's OpenOffice as well as MS Word if you feel like it.
Kind regards,
Oscar.
--
You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/54fca43c-a638-4b24-b0b5-82202e7c1381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Not sure if anyone has run across this – the Jan 4 release runs fine however the Jan 12 run so slow as to be unusable…
Last message on the console is “Connecting to localhost ….”
The idle pattern on the console is so slow that you can see the increments in the pattern.
Again – this is just with the Jan 12 release, the Jan 4 release runs just fine (still) on the same hardware
Peter
Thanks to many people, including-but-not-limited-to Ian Schofield, Mark Matlock, Terry Kennedy, Johnny Billquist, Bob Meyer, Angelo Papenhoff, Jörg Hoppe, Mike Hill and and - never mind, you know who you are! Much appreciated.
Lastly, the manual will steadily grow into a guided tour through PDP-11 as well as Raspberry Pi land. I think that makes sense, as many things are hard to discover if you're not aware of them. I think 99% of PiDP-11 builders miss out on interesting features - including myself. Self-studying an archaic OS (such as Raspbian) is fine, but a walk-through through the highlights tells you where to look.
Please send me any how-tos that should be included, the manual is editable on the Pi's OpenOffice as well as MS Word if you feel like it.
Kind regards,
Oscar.
--
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+unsubscribe@googlegroups.com.
1) the new selections file (Jan 12) has 0000 as idled vs 0000 as rsx11mplus for the Jan 4 release - so I ended up in an unexpected place as my switches were set to 0
2) the boot.ini file(s) tries to attach xu to eth0, my eth0 is unplugged as I'm using wlan0 for the moment so startup hangs waiting for the ethernet
1. I've rebuilt client11 with VDE support and sucessfully run 2.11BSD networking on a Pi Zero W over wlan0. In fact everything goes overwlan0 since that's the only interface it has. I can provide a writeup of my configuration.
2. The dos11 package is running is running a badly broken version of DOS
3. Someone was asking about IAS here. I've made a kit of IAS V3.4A with timesharing enabled.
John,Thank you! I'll update the manual with those improvements on Friday.On Wednesday, January 16, 2019 at 9:31:51 PM UTC+1, John Forecast wrote:1. I've rebuilt client11 with VDE support and sucessfully run 2.11BSD networking on a Pi Zero W over wlan0. In fact everything goes overwlan0 since that's the only interface it has. I can provide a writeup of my configuration.Oh! Yes, please. That has been a bit of a holy grail the last two weeks!
2. The dos11 package is running is running a badly broken version of DOS3. Someone was asking about IAS here. I've made a kit of IAS V3.4A with timesharing enabled.Unless you object, I will add those to the distribution on Friday as well.
HI Oscar,
--
You received this message because you are subscribed to a topic in the Google Groups "[PiDP-11]" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pidp-11/EfOin6Njln0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/cc097838-e096-4c72-8384-9bb4a68337a4%40googlegroups.com.
t’s now online at lemis.com/grog/Documentation/Lions .
I have found some errors in the boot.ini file used with the nankervis systems files, the disk image file links still point to the old 16 directories, no directory prefix is now needed the lines may be written in this fashion "attach rk0 ./rk0.dsk"
I do not have a PiDP11 yet though I am enjoying your systems updates, I have re-written the panelsim invocation to use the new system layout, This could be useful for others who want to used a system without a PiDP11. I amalgamated as much as I could into this single file (see attached) it takes the switch number as single argument to select the desired operating system, It should be run from the panelsim directory with the systems directory inside it. (I'll try it in /opt to match the Pidp11 shortly)
Kind regards, David.
Excellent. The display bit is an interesting point as if you RDP to the PiDP11, you may want a local display (having made sure the window isn't full screen!). With VNC there is no problem. I would merely add a note about this in the manual as I think most people will know how the window system works.
However, the fail mode is really obscure. But, a likely cause is Raspian going into standby. I will have a look at the settings for this and drop you a line. Having said this, the classic cause is power line transients.
Every generation of Raspberry Pi has upped the ante in terms of power supply requirements. For the first few Pis, you could toss any little USB power adapter at it, and aside from a tiny glitch here or there, you'd never really experience difficulties. You can even see in my Raspberry Pi Power Consumption benchmarks how each generation uses more power at idle, presumably due to more and more active circuits running all the time.
In my first set of performance tests, I was using my standard 5 port USB power supply, which puts out a nominal 2.4A at 5V... but in reality usually serves up 1.8A or so. With the Pi model 2 B and Pi model 3 B, this power supply never really caused an issue, and I never experienced CPU throttling even under load. However, the Pi model 3 B+ had 2x better performance when using a dedicated 2.4A power supply.
It was an amazing difference; at first, I thought maybe there was
some thermal throttling going on—I monitored the temperature with the
command while true; do /opt/vc/bin/vcgencmd measure_temp && sleep 1; done,
and it showed that the model 3 B spiked to 68.8°C under load, while the
Pi model 3 B+ hit 54.2°C. So it doesn't look like there's any thermal
throttling, and in fact the metal CPU enclosure on the model 3 B+ does a remarkably better job at thermal management than the plastic one on the 3 B.
Next I thought maybe there was some CPU frequency throttling going on. Measuring with the command watch -n 1 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq, the frequency went from idle at 600000 Hz (600 Mhz) to 1400000 Hz (1.4 Ghz). So it didn't look like there was any CPU frequency throttling either.
Finally, to get a raw performance statistic, I decided to run a barebones sysbench CPU test (specifically, sysbench --test=cpu --num-threads=4 --cpu-max-prime=2000 run) to see how things measured up:
That seemed awfully suspicious; a CPU clocked at 1.4 GHz should surely be faster—not 2x slower—than almost the same CPU at 1.2 GHz!
Once I switched out the power supply, all the numbers made more sense:
sysbench test went from 6.9920s to 3.1718s (75% faster)So, as with all things Pi: If you're experiencing strange issues regarding performance or stability, make sure you have a good (and ideally dedicated) micro USB power supply.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/ceff1b3c-20c0-d893-8639-db445495ce97%40gmail.com.
At any rate, we'll figure out a way to make the server more resilient.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/CAJAwMc2m%3DKhuRhwbCF3tqfdeJcY3iOzThrR%3D1e5VhnX51%2BtFkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
A difference in crash susceptibility when compiling with different
optimization levels does not necessarily mean that the optimizer is
producing any incorrect output to introduce the bug. It could just be
a consequence of timing differences with the different optimization
levels affecting a race condition. The bug of groups of LEDs all
flashing on was caused by a race condition, for example.
...compiling with "-O0" seems to help. This is a fairly huge concern to me only because "compiler optimization inroduced bugs" was was of the worst situations I've had to code through over the years. It was very common in both FORTRAN and C compilers that certain optimization levels would cause mysterious errors or even crashes and the only ultimate work-around was to use a different optimization level.
my experience of [core dumps] in a multi-threaded environment has not been good. Not uncommonly, gdb indicates a corrupted stack.
> Remember: simh->BlinkenBone->PiDP-11. If you want to port a new simh into BlinkenBone, that is non-trivial. Jörg Hoppe has kept up with changes and additions into simh, but doing it yourself will require a good mastery of the diffutils.
Indeed merging can be a bit of a chore, especially since the two projects don't share the same git history. I went ahead and merged the pdp11 changes from blinkenbone into the latest release of simh. This was done by taking a fresh copy of simh, and placing changes from BlinkenBone on top of it. This way the repository and it's makefile appears just like simh upstream, and should make merging a bit easier.
Caveats:
* Unfortunately this effort will probably not be very useful to anyone except PiDP-11 users, since I skipped all the other systems.
* No idea if the panel functionality still works fine with all the new changes in simh, I only did some quick tests with stepping instructions
* While merging new changes from simh is easier with "git merge", merging changes from BlinkenBone is still manual work
* While simh git history is there, blinkenbone git history is gone
I've uploaded my merge to github (see the realcons branch):
All: Given that I was among the early reporters of the bug, I am sorry that I am not currently in a position to help. My PiDP-11 is wrapped in bubble wrap at the bottom of a box while our house undergoes renovations.
--
You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/251e8c5e-166f-4ad3-9798-3f2adc7bc746%40googlegroups.com.