Open kenmartin-unix opened 1 year ago
Hi Ken,
When you created this issue you were provided with a template that asked you to provide some specific information and said:
<!--- PLEASE provide the below specified NON OPTIONAL details.
If they are not provided, the issue will most likely be quickly
closed immediately. It may be re-opened by you once you actually
provide this information: -->
<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug or why the suggested change or enhancement would be useful -->
- #### the output of "sim> SHOW VERSION" while running the simulator which is having the issue
- #### how you built the simulator or that you're using prebuilt binaries
<!--- This should include ALL the output produced by make while building just the simulator that is exhibiting the problem -->
- #### the simulator configuration file (or commands) which were used when the problem occurred.
<!--- The simulator configuration file, and any other relatively small files can be attached to this issue now or after it is created -->
- #### the expected behavior and the actual behavior
<!--- Please provide the output the simulator produced when you experienced the problem -->
- #### you may also need to provide specific pointers to data files that may be necessary to demonstrate the problem
<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug or why the suggested change or enhancement would be useful -->
- #### the output of "sim> SHOW VERSION" while running the simulator which is having the issue
- #### how you built the simulator or that you're using prebuilt binaries
<!--- This should include ALL the output produced by make while building just the simulator that is exhibiting the problem -->
- #### the simulator configuration file (or commands) which were used when the problem occurred.
<!--- The simulator configuration file, and any other relatively small files can be attached to this issue now or after it is created -->
- #### the expected behavior and the actual behavior
<!--- Please provide the output the simulator produced when you experienced the problem -->
- #### you may also need to provide specific pointers to data files that may be necessary to demonstrate the problem
In your case, you should probably also describe where you got, or how you created the system.dsk image you are working with.
sim> SHOW VERSION PDP-11 simulator V4.0-0 Current Simulator Framework Capabilities: 32b data 32b 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 Host Platform: Compiler: GCC 11.3.0 Simulator Compiled as C arch: x64 (Release Build) on Jan 31 2023 at 14:37:38 Build Tool: simh-makefile Memory Access: Little Endian Memory Pointer Size: 64 bits Large File (>2GB) support SDL Video support: No Video Support PCRE RegEx (Version 8.39 2016-06-14) support for EXPECT commands OS clock resolution: 1ms Time taken by msleep(1): 1ms Ethernet packet info: libpcap version 1.10.1 (with TPACKET_V3) OS: Linux ken-Inspiron-5755 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Processor Name: AMD A8-7410 APU with AMD Radeon R5 Graphics tar tool: tar (GNU tar) 1.34 curl tool: curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.13 git commit id: 09899c18 git commit time: 2023-01-22T13:55:58-0800
Disk images from: http://simh.trailing-edge.com/software.html
Built simply using make on Ubuntu 22.04
Following Mini-UNIX.pdf
Created folder: ~/SIMH/simh/BIN/pdp-11 In that folder inbluded: AncientUnix.pdf pdp11 setup.ini unix_v5_rk.dsk doc.dsk pdp11.ini source.dsk unix_v7_rl.dsk munix.tap README.txt system.dsk
Launched as: ./pdp11 setup.in and got: ~/SIMH/simh/BIN/pdp-11$ ./pdp11 setup.ini
PDP-11 simulator V4.0-0 Current git commit id: 09899c18 Disabling XQ /home/ken/SIMH/simh/BIN/pdp-11/setup.ini-3> attach tm0 munix.tap %SIM-INFO: TM0: Tape Image 'munix.tap' scanned as SIMH format /home/ken/SIMH/simh/BIN/pdp-11/setup.ini-4> attach rk0 system.dsk %SIM-ERROR: RK device: Non-existent parameter - RK05 /home/ken/SIMH/simh/BIN/pdp-11/setup.ini-5> attach rk1 source.dsk %SIM-ERROR: RK device: Non-existent parameter - RK05 /home/ken/SIMH/simh/BIN/pdp-11/setup.ini-6> attach rk2 doc.dsk %SIM-ERROR: RK device: Non-existent parameter - RK05 sim> i
Ken
I'm puzzled. There is a Unix V5 kit on trailing-edge but it doesn't contain the things you mentioned. And there is a Mini-Unix but that is described as relating to Unix V6. Could you describe precisely what image files you used, show the SIMH command used including any *.ini files referenced? I'd like to try to reproduce this but I don't have the information to do it.
OK I must be really dumb!! What exactly do I need to do? This might be the easiest solution.
I didn't mention any solution -- I meant to say that I don't know what files you are using, what SIMH commands and init files. With that information I could try to reproduce this and offer suggestions.
Don't worry about it SIMH is history. I can't spend all my time trying to get this to run. It was intended as a fun project for me but the fun is over. Trying to follow the Mini-Unix.doc has some missing basic setup information. Like where is and what is required. You "make" it then your on your own. Thanks anyway.
I'm sorry to hear you're giving up. I tried to help but without knowing what you're trying to do that isn't possible.
My goal is simple enough. I think.
I'd be happy to try. But I get very confused. You just mentioned both Unix V5 and V7 -- two different releases found on trailing-edge. And you mentioned mini-Unix which I didn't know of, but the document on trailing-edge says it's a Unix variant based on V6. One suggestion: get the current code and rebuild SIMH, that should cure the weird messages about attach problems with RK devices.
V5 requires that the underlying system is an 11/45. SimH defaults to an 11/73.
You need:
sim> set cpu 11/45
sim> att -e rk unix_v5_rk.dsk
sim> boot
@unix
#
Results:
sim> set cpu 11/45 sim> att -e rk unix_v5_rk.dsk %SIM-INFO: RK0: Amount of data in use in disk container 'unix_v5_rk.dsk' cannot be determined, skipping autosizing sim> boot
HALT instruction, PC: 000002 (HALT) sim> exit Goodbye
ken@ken-Inspiron-5755:~/SIMH/simh/BIN/pdp-11$ ls -l unix_v5_rk.dsk -rw-rw-r-- 1 ken ken 2494464 Sep 8 1998 unix_v5_rk.dsk
ken@ken-Inspiron-5755:~/SIMH/simh/BIN/pdp-11$
Ken
Try "boot rk". I'm not sure why "boot" without argument is accepted, or what it means.
Despite what the bug says, this is happening on V4, because no V3 release has that informational message. Still, even V4 should throw an error without a unit designator.
On Fri, Feb 3, 2023 at 10:07 AM Paul Koning @.***> wrote:
Try "boot rk". I'm not sure why "boot" without argument is accepted, or what it means.
— Reply to this email directly, view it on GitHub https://github.com/open-simh/simh/issues/168#issuecomment-1416001175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZM6TFB2S4GE74N2JYDGYLTWVUNLNANCNFSM6AAAAAAUN4PXTE . You are receiving this because you commented.Message ID: @.***>
pkoning2,
OK. That worked: unix.ini contains:
set cpu 11/45 att -e rk unix_v5_rk.dsk boot rk
./pdp11 unix.ini
That works good. Thanks. When trying to use the v7 virtual disk it says the dsk is too big? Should unix_v7_rk.dsk be able to work?
Ken
It probably expects 200 cylinders when the actual device size, as has been discussed elsewhere, is 203 cylinders. I just saw an example of that, I thought it was the V5 file. Anyway, see if it works if you simply ignore the message.
Can Not get Unix-V5 to run on PDP-11 SIMH 39
After firing up PDP-11 ./pdp11 setup.ini then this occurs:
sim> run 100000
Simulation stopped, PC: 100012 (BR 100012) sim> run 0 Resetting all devices... This may not have been your intention. The GO and CONTINUE commands do not reset devices.
HALT instruction, PC: 000002 (HALT) sim>
sim> diskinfo system.dsk Container: /home/ken/SIMH/simh/BIN/pdp-11/system.dsk Simulator: PDP-11 DriveType: RK05 SectorSize: 512 SectorCount: 4872 TransferElementSize: 2 AccessFormat: SIMH CreationTime: Tue Jan 31 18:30:14 2023 DeviceName: RK HighwaterSector: 4872 Container Size: 2,494,464 bytes
Any help appreciated. Thanks
Ken