How to restart the PiDP blinking lights after they lockup

148 views
Skip to first unread message

Jon Crowell

unread,
May 28, 2025, 10:39:32 AM5/28/25
to [PiDP-11]
I want to restart the blinking lights code on the pi and not disrupt the SIMH/RSX system running.   I have 146 days of uptime and would rather not reboot.

Thanks,
Jon

Anton Lavrentiev

unread,
May 28, 2025, 10:51:54 AM5/28/25
to Jon Crowell, [PiDP-11]
Locked up lights do not affect either the running guest system or the
hosting Pi's Linux. So you would follow the same procedure to restart
both by logging into your guest system first, and executing a shutdown
procedure (e.g. "shutdown" or "run $shutup"), and then using the Pi's
shell to restart the system ("sudo shutdown -r now").

For that you can "ssh" to your Pi, and then first do "~/pdp.sh" --
that would open your DEC system console (in the virtual "screen"
terminal), from which you can shutdown it to the bare the sim> prompt.
Then, with Ctrl-A Ctrl-D you would exit back to the Unix (Pi) shell,
and then restart Pi with "sudo shutdown -r now".

HTH
> --
> 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 visit https://groups.google.com/d/msgid/pidp-11/b6ce92c8-2e4e-4575-9138-55a7b9dd7786n%40googlegroups.com.

Neal G.

unread,
May 29, 2025, 11:57:36 AM5/29/25
to [PiDP-11]
It is possible to restart the "server11" process which drives the front panel without restarting the entire PiDP-11, or restarting the emulated system (RSX). Here is one procedure to do this:

1. Open a linux shell to the RSX console
2. Use the "^e" keystroke to pause the simulation and enter the SimH command mode
The prompt "simh>" should appear
3. Type the command "set realcons disconnected"
4. Type the key sequence "^a c" to cause the screen application to open a secondary linux shell
5. Type the command "ps -ef  |grep server11" to find the process id of the stalled server11 process.
You should see something like this:
        root@raspberrypi:/opt/pidp11/bin# ps -ef|grep server11
        root      4526  1378  0 10:25 pts/0    00:00:00 sudo ./server11
        root      4532  4526 37 10:25 pts/0    00:06:02 ./server11
        root      6796  6770  0 10:41 pts/3    00:00:00 grep server11
The first number on the second line, the line with "./server11" that is not prefied by "sudo"  is the number you need; 4532 in this case.
6. Type the command "kill -9 4532"
7. Type the command "./server11&" to restart the proess
8. Type "exit" to end the secondary linux shell
The paused RSX console should reappear, waiting at the "simh>" prompt
If not, use key sequence "^a n" to return to the RSX console
9. Type the command "set realcons connected"
10. Type the command "continue" to resume RSX

Everything should now be back to normal. You will need to update the system time within RSX as it lost track of the current time while it was paused.
This sequence works on my older system where "pi" is the admin account and the user account the PiDP-11 software expects. The sequence may need modification for newer installs of the PiDP-11 software.

- Neal G.
Reply all
Reply to author
Forward
0 new messages