The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Will Senn <will.senn@gmail.com>
To: Clem Cole <clemc@ccc.com>
Cc: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] v7 tar and 2bsd.tar
Date: Mon, 27 Jul 2020 22:20:21 -0500	[thread overview]
Message-ID: <7b892386-6856-6bb8-9d87-a628645ecf19@gmail.com> (raw)
In-Reply-To: <bcc34a7a-c2dd-53eb-9559-1ab2e0cf3762@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]

On 7/27/20 10:02 PM, Will Senn wrote:
> On 7/27/20 8:14 PM, Clem Cole wrote:
>> on v7:  dd if=/dev/rrkN of=ucbtar bs=1          <-- this should pull 
>> the binary with the padded last block in
>>
> Your instructions held up until I tried to read from the rk device - 
> here's my attach:
>
> in simh:
> set rk0 rk05
> att rk0 ucbtar
>
> then in v7 the rk's aren't in /dev, so:
>
> looked in c.c, rk is major dev 0, and rrk is dev 9, so...
> /etc/mknod /dev/rk0 b 0 0
> /etc/mknod /dev/rrk0 c 9 0
> chmod 640 /dev/*rk*
>
> and
> dd if=/dev/rrk0 of=ucbtar bs=1
> cannot open: /dev/rrk0
>
> Look reasonable?
>
> Will
>
OK. I remembered that I needed to recompile the kernel, so in addition 
to the above:

in v7:
chdir /usr/sys/conf
cc mkconf.c
mv a.out mkconf

echo rk >> myconf
cat myconf
hp
root hp 0
swap hp 1
swplo 0
nswap 8778
tm
4dc
rk

mkconf < myconf
console at 60
clock at 100
clock at 104
parity at 114
rk at 220
tm at 224
hp at 254
dc at 300
dc at 310
dc at 320
dc at 330
as - -o l.o l.s
cc -c c.c
ld -o unix -X -i l.o mch.o c.o ../sys/LIB1 ../dev/LIB2
mv unix /munix

rebooted and:
dd if=/dev/rrk0 of=ucbtar bs=1
read: Bad address
0+0 records in
0+0 records out

[-- Attachment #2: Type: text/html, Size: 2515 bytes --]

  reply	other threads:[~2020-07-28  3:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28  0:39 Will Senn
2020-07-28  1:14 ` Clem Cole
2020-07-28  3:02   ` Will Senn
2020-07-28  3:20     ` Will Senn [this message]
2020-07-28  3:21       ` Clem Cole
2020-07-28  3:47         ` Will Senn
2020-07-28  3:55           ` Will Senn
2020-07-28 13:38             ` Will Senn
2020-07-28 13:50               ` Clem Cole
2020-07-28  3:20     ` 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=7b892386-6856-6bb8-9d87-a628645ecf19@gmail.com \
    --to=will.senn@gmail.com \
    --cc=clemc@ccc.com \
    --cc=tuhs@minnie.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).