The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
To: tuhs@tuhs.org
Cc: jnc@mercury.lcs.mit.edu
Subject: [TUHS] Re: A Census of /etc and /sys Prior to V4
Date: Fri, 19 May 2023 22:04:57 -0400 (EDT)	[thread overview]
Message-ID: <20230520020457.BA28718C074@mercury.lcs.mit.edu> (raw)

    > From: Matt G.

    > there is a "core" file included, I wonder if kernel text is swept up in
    > that.

My _guess_ is perhaps not; the disks were really small (the UNIX people
started with an RF11, which the first DEC machine I used - a RSTS system -
also had; that was _really small - 512KB :-).

Probably it did whatever V1 did. I was not up for going to look, since I
wasn't familiar with the V1 code - but then I decided to break down and look
at it, and also create a minimal index to say what's in each module. (Here:

  https://gunkies.org/wiki/UNIX_First_Edition#Source_index

if anyone is interested. Made easier because the code is very well commented;
it's very easy to read.)

The code to take core dumps is in u1, at 'badsys:'. It dumps the user's
entire possible memory space (i.e. not just up to the 'break'), and then
(separately) the 'user' area. The system is not included. I doubt V2/V3 are
different.


    > ac and mq EAE registers are still in use in s2-bits binaries

Interesting. How did you work that out, BTW? Also, V1 seems to mandate use of
a KE11-A (use is made of it throughout the kernel).

     > but have been replaced by s1-bits.

Interesting; how did you work that out? V3's core (V):

  http://squoze.net/UNIX/v3man/man5/core

doesn't give the format, just says "The actual format of the information is
complicated because it depends on what hardware is present (EAE,
floating-point option)". Do you have C3's db(I) source? Oh, wait, TUHS has
what claims to be V2's db source:

  https://minnie.tuhs.org/cgi-bin/utree.pl?file=V2/cmd/db1.s

but it actually seems to be later; it's conditionalized for having the FPP.
So it must be for a machine running the -11/45 - which we seem to have
decided is V3?

The header for TUHS' V2 says: "The files in cmd/ are recreated from the text
fragments found on the file s1-bits.gz." Which agrees with your take:

    > All in all that pegs the s1-bits fragments as being closer in character
    > to V3

That's all for the moment...

	Noel

             reply	other threads:[~2023-05-20  2:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-20  2:04 Noel Chiappa [this message]
2023-05-20  4:13 ` segaloco via TUHS
  -- strict thread matches above, loose matches on Subject: below --
2023-05-19 14:36 Noel Chiappa
2023-05-19 15:15 ` segaloco via TUHS
2023-05-15  4:27 [TUHS] " segaloco via TUHS
2023-05-15 12:19 ` [TUHS] " Clem Cole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230520020457.BA28718C074@mercury.lcs.mit.edu \
    --to=jnc@mercury.lcs.mit.edu \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).