The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: jacob.ritorto@gmail.com (Jacob Ritorto)
Subject: [TUHS] 2.9 kernel compile
Date: Wed, 11 Feb 2015 22:23:20 -0500	[thread overview]
Message-ID: <CAHYQbfACaVPYw2j3S=rjHXg0QLrhCjtrXhsMqV+o+iePkdiBkw@mail.gmail.com> (raw)
In-Reply-To: <20150211211408.EAE9E18C096@mercury.lcs.mit.edu>

OK, I jiggled the memory board and the seqfault went away.  Which is weird
because I had all the boards out of this one, thoroughly vacuumed the
backplane and all boards and deoxidized the edge connectors before
reassembling.   So now the real box is behaving more like the simh and just
hanging, not panicing anymore.  How can I find this startup() you mention?

On Wed, Feb 11, 2015 at 4:14 PM, Noel Chiappa <jnc at mercury.lcs.mit.edu>
wrote:

>     > From: Jacob Ritorto
>
>     > I set simh to 11/34 and I managed to get actual panics before (that I
>     > didn't record)
>
> Ah.
>
>
>     > now I'm just getting hangs, mostly when hitting ctrl-D to bring
> system to
>     > mutiuser.
>
> The fact that it boots to the shell OK indicates things are mostly OK. I
> wonder what it's trying to do, in going to multi-user, that's wedging the
> system?
>
>     > Same if I mount -a in single user and then try to access /usr (works
> for
>     > a while, then hangs.).
>
> Ah. That sounds very much like a 'lost' interrupt. The process is waiting
> (inside the kernel) for the device to complete, and ..... crickets.
>
>     > When hung, I can still get character echo to my terminal
>
> So the machine is still running OK (most echoing is done inside the TTY
> interrupt handler).
>
>     >  but can't interrupt or background the running command, etc.
>
> Like I said, it's sleeping inside the kernel, and missed the wakeup event.
>
> If you have another console logged in, it would be interesting to see if
> that
> one is frozen too. If not, we can use tools like 'ps', running on the
> second
> line, to look at the first process and see what it's waiting for.
>
> Single user, the following hack:
>
>   sh < /dev/ttyX > /dev/ttyX &
>
> can be used to start a shell on another tty line (since going full
> multi-user
> seems to wedge it).
>
>     > Would it help if I traced memory and single-stepped through the
>     > (apparently) infinite loop?
>
> No, because it's very likely not a loop! ;-)
>
>
>     > here are some examples of crashes on the real pdp11/34 (booting via
>     > vtserver, then bringing in system from the MSCP disk), with the
> original
>     > 2.9bsd-MSCP kernel (the one specifically built for 11/23):
>     >
>     >  CONFIGURE SYSTEM:
>     >  ka6 = 2200
>     >  aps = 141572
>     >  pc = 50456 ps = 30250
>     >  __ovno = 7
>     >  trap type 11
>     >  panic: trap
>
> That's a segmentation fault. Very odd trap to get! 2.9 uses overlays right?
> Maybe there's a problem with how some overlay fits, or something? I don't
> know
> much about the overlay feature, never used it, sorry.
>
> Most of the other data (PS address, PC, KDSA6 contents, etc) aren't much
> use
> without a dump.
>
>
>     > and another: plain boring old hang at boot when trying to size
> devices.
>     > Can't even echo characters this time.
>
> If the init process hasn't got as far an opening the TTY, you might not get
> character echoing.
>
> If that randomly lost interrupt got lost very early on, you might could see
> this sort of behaviour.
>
>
>     > One thing I think is interesting is that it's claiming 158720KW of
>     > memory. Is that weird? ...  Where's it getting that odd number?
> Vanilla
>     > 2.9.1 on the real 11/34 boots with
>     >
>     >  Berkeley UNIX (Rev. 2.9.1) Sun Nov 20 14:55:50 PST 1983
>     >  mem = 135872
>
> No idea where it's coming from, but remember Beowulf Schaeffer's advice to
> Gregory Pelton in "Flatlander".
>
> And now that I think about it, if the system thinks it has more memory
> than it
> actually does, that would definitely cause problems.
>
> Probably you should put some printf()'s in startup() and see where it's
> coming
> from.
>
>         Noel
> _______________________________________________
> TUHS mailing list
> TUHS at minnie.tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/tuhs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20150211/f647ab2c/attachment.html>


  reply	other threads:[~2015-02-12  3:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-11 21:14 Noel Chiappa
2015-02-12  3:23 ` Jacob Ritorto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-12 15:44 Noel Chiappa
2015-02-12 15:27 Noel Chiappa
2015-02-13  2:20 ` Dave Horsfall
2015-02-12 13:47 Noel Chiappa
2015-02-12 14:16 ` Jacob Ritorto
2015-02-13  2:15   ` Dave Horsfall
2015-02-12  3:43 Noel Chiappa
2015-02-11 16:37 Noel Chiappa
2015-02-11 16:20 Noel Chiappa
2015-02-11 16:27 ` Cory Smelosky
2015-02-11 20:32 ` Jacob Ritorto
2015-02-11 20:38   ` Jacob Ritorto
2015-02-12  9:50 ` Dave Horsfall
2015-02-11 15:47 Jacob Ritorto

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='CAHYQbfACaVPYw2j3S=rjHXg0QLrhCjtrXhsMqV+o+iePkdiBkw@mail.gmail.com' \
    --to=jacob.ritorto@gmail.com \
    /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).