<div dir="auto">It is the BSD kernel or the emulator setup I question as to being correct.  The clues being<div dir="auto">An almost 4 mb available memory coupled to a roughly 300 kb user space. The 300kb doesn't make sense at all from the limits of the split i/d memory layout. It's roughly 10% of available.</div><div dir="auto">It's inferring that the kernel itself is being configured as a 3.5 mb runtime image.</div><div dir="auto">Almost as if dynamic kernel level  buffers are being over allocated by a configuration parameter or a miscalculation.</div><div dir="auto"><br></div><div dir="auto">The other clue being the dump of the printf style format strings from the data portion of the involved user space program images as it boots. That's the sign of a wrong address potentially being used. An address fault causing an abend happening to multiple binaries being launched for example</div><div dir="auto"><br></div><div dir="auto">These are the anomalies I see.</div><div dir="auto"><br></div><div dir="auto">The solution requires someone very familiar with the bsd 2.11 boot up sequence and the underlying executables involved. I am a V6, v7. System V head.</div><div dir="auto"><br></div><div dir="auto">Unfortunately Mr. Jolitz is no longer with us.</div><div dir="auto"><br></div><div dir="auto">As I recall, the bsd folks were back porting some of the features of the Vax virtual version of the bsd kernel as appropriate to the pdp version. I dont recall what was involved in that effort.  The source code environment for 2.11 would help.</div><div dir="auto"><br></div><div dir="auto">I also don't know if those failure messages are coming from the bsd image handling address faults etc. or the actual emulator underneath detecting problems in the binary as it executes it.</div><div dir="auto"><br></div><div dir="auto">So the questions to be answered are</div><div dir="auto"><br></div><div dir="auto">1. Why is the user memory only 10% of the available?</div><div dir="auto"><br></div><div dir="auto">2. What is dumping and the "why of it" the text strings in the data space portion of the program image?</div><div dir="auto"><br></div><div dir="auto">I don't the answer. But it all strikes me as odd.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Apr 7, 2025, 12:15 PM Ron Natalie <<a href="mailto:ron@ronnatalie.com">ron@ronnatalie.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-break:after-white-space"><div>The 45 also has split I/D.    The 11/ 70 is designed that if you can put a kernel that is cognizant only of the lower numbers in the line, it will still work.</div><div><br></div><div> </div>
<div>
<div>------ Original Message ------</div>
<div>From "Kenneth Goodwin" <<a href="mailto:kennethgoodwin56@gmail.com" target="_blank" rel="noreferrer">kennethgoodwin56@gmail.com</a>></div>
<div>To "Folkert van Heusden" <<a href="mailto:folkert@vanheusden.com" target="_blank" rel="noreferrer">folkert@vanheusden.com</a>></div>
<div>Cc "The Eunuchs Hysterical Society" <<a href="mailto:tuhs@tuhs.org" target="_blank" rel="noreferrer">tuhs@tuhs.org</a>></div>
<div>Date 4/7/2025 8:02:01 AM</div>
<div>Subject [TUHS] Re: running BSD 2.11 on my PDP 11/70 emulator</div></div><div><br></div>
<div id="m_6784845114094007759xba2200001c5a47d"><blockquote cite="http://CAMQbRb1RL-PzoooYLDNeryS28+YkL_X0xnQ2BTA_jmzenSp6TA@mail.gmail.com" type="cite" class="m_6784845114094007759cite2">
<div dir="auto">To me it looks like a memory issue of some sort. Setup of the MMU etc.<div dir="auto"><br></div><div dir="auto">1. Your user memory is less than 10% of "available memory" which should be the amount left after the kernel loads and allocates dynamic  buffers. User memory should be alot closer to available number. Unless it is referring to limits of mmu per process and not total available for all user level programs.</div><div dir="auto"><br></div><div dir="auto">2. The bulk of the text dump seems to just be random initialized data dumped from Ram.</div><div dir="auto">Aka - Printf() format strings.  Indicates that the wrong address in memory is potentially being accessed. </div><div dir="auto"><br></div><div dir="auto">Perhaps the pdp11 emulator configuration does not have a correct mmu for your image file.</div><div dir="auto"> </div><div dir="auto">For example,  you are running the 11/70 emulation and the binary image you are running is actually compiled for a pdp 11/45.</div><div dir="auto"><br></div><div dir="auto">The 11/70 has an mmu supporting split instruction and data spaces. 64k instruction,  64k data. But the kernel you are using was compiled to run on a non split I And D version of the pdp11 supporting only 64kb of combined user and data.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 7, 2025, 3:30 AM Folkert van Heusden <<a href="mailto:folkert@vanheusden.com" target="_blank" rel="noreferrer">folkert@vanheusden.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
For fun I'm developing a PDP 11/70 emulator. It runs on everything from <br>
ESP32 microcontrollers up to linux, windows, etc<br>
<a href="https://vanheusden.com/emulation/PDP-11/kek/" rel="noreferrer noreferrer noreferrer" target="_blank">https://vanheusden.com/emulation/PDP-11/kek/</a><br>
Currently it can run UNIX 7 in multi user mode.<br>
Of course I would like it to run BSD 2.11 as well (because of the <br>
networking support). It boots, but after outputting the memory amounts <br>
it produces a lot of garbage. It does eventually complete booting and <br>
then allows you to log in.<br>
I wonder if you sees this: <br>
<a href="https://paste.nurd.space/mqIDB_0SjoDoJoasOGkiNQ_NjpRsCufAJCnKTA7ZxUI" rel="noreferrer noreferrer noreferrer" target="_blank">https://paste.nurd.space/mqIDB_0SjoDoJoasOGkiNQ_NjpRsCufAJCnKTA7ZxUI</a> <br>
(text) or <br>
<a href="https://imgpaste.nurd.space/pics/437bcf0d149a017168cbbf2def8560917a037a3935c5c3aa1fbea2f7e43b485a.png" rel="noreferrer noreferrer noreferrer" target="_blank">https://imgpaste.nurd.space/pics/437bcf0d149a017168cbbf2def8560917a037a3935c5c3aa1fbea2f7e43b485a.png</a> <br>
(image), does this ring a bell to anyone? I verified with simh that the <br>
disk-image should work.<br>
<br>
<br>
regards<br>
<br>
-- <br>
<a href="http://www.vanheusden.com" rel="noreferrer noreferrer noreferrer" target="_blank">www.vanheusden.com</a><br>
</blockquote></div>
</blockquote></div>
</div></blockquote></div>