From: holm@freibergnet.de (Holm Tiffe)
Subject: Re: RSX11 Tape file Structure?
Date: Mon, 21 Feb 2011 11:53:57 +0000 (UTC) [thread overview]
Message-ID: <ijtjok$2uk$1@news.freibergnet.de> (raw)
In-Reply-To: ijsdn9$nh7$1@Iltempo.Update.UU.SE
In article <ijsdn9$nh7$1@iltempo.update.uu.se>,
Johnny Billquist <bqt@softjar.se> writes:
> On 2011-02-20 20:24, Holm Tiffe wrote:
>> Hi,
>>
[..]
> As Roger Ivie suggests - if it works with simh, there must already be
> blocking information in the file, or else simh would not be able to use
> the file either.
>
> However, the most common format for tapes on a file for simh is actually
> 4 bytes of blocksize, then data, then the same four bytes of block size
> again. The exception being if the block is a tape mark, which is just a
> single four bytes of zero. Not repeated.
>
> An alternative format is just two bytes of block size, followed by the
> data. And then next block.
>
> By the way, I hope you also understand how to actually write a tape from
> a Unix system, with correct block sizes. Don't try to use dd, since that
> will most definitely not be useful.
>
> As for the actual block sizes of the tape, for a bootable tape on a
> PDP-11 in general, the first two blocks are usually identical, and is
> boot blocks. 512 bytes each. After that, it's up to the boot block (and
> thus the system).
>
> For RSX, a popular block size for tapes is 4144 bytes. But since RSX
> uses ANSI format tapes, you'll have some 80 byte blocks in there with
> volume headers and file headers, and so on, before you actually get to
> any data blocks. And also, for backups and the like, the last block of
> any save set can be just about any size. And tape marks are also used,
> which look like 0-byte blocks when you read them. But writing tape marks
> is a special operation.
>
> Johnny
:-) Yes, ioctls..
Ok, thanks guys for the hint in the right direction.
I've already read simh's documentation about tape structures and
hacked together a simple program that wrote me a tape.
It worked at the first try! :-)
Still wondering if there is a "raw" device in simh just to exchange data
without filtering. I'e wondered about hte ugly characters in a uuencoded
tar file that I wrote out in simh just to get the 2.11BSD Kernel Configuration
to the real machine. Filtered with tail and col -b to get it clean...
Now I kow better what happened here.
I've never seen block sizes of 4144 before, tought this was a bug
in my program first..
[snip]
foffs 0006a664, blen bl 581 = 4096:1000
foffs 0006b66c, blen bl 582 = 4096:1000
foffs 0006c674, blen bl 583 = 2048:0800
foffs 0006ce7c, blen bl 584 = 80:0050
foffs 0006ced4, blen bl 585 = 4096:1000
foffs 0006dedc, blen bl 586 = 4096:1000
foffs 0006eee4, blen bl 587 = 4096:1000
foffs 0006feec, blen bl 588 = 4096:1000
foffs 00070ef4, blen bl 589 = 4096:1000
foffs 00071efc, blen bl 590 = 4096:1000
foffs 00072f04, blen bl 591 = 4096:1000
foffs 00073f0c, blen bl 592 = 4096:1000
foffs 00074f14, blen bl 593 = 3584:0e00
foffs 00075d1c, blen bl 594 = 80:0050
foffs 00075d74, blen bl 595 = 4096:1000
foffs 00076d7c, blen bl 596 = 4096:1000
foffs 00077d84, blen bl 597 = 4096:1000
foffs 00078d8c, blen bl 598 = 4096:1000
foffs 00079d94, blen bl 599 = 4096:1000
foffs 0007ad9c, blen bl 600 = 4096:1000
foffs 0007bda4, blen bl 601 = 4096:1000
foffs 0007cdac, blen bl 602 = 4096:1000
foffs 0007ddb4, blen bl 603 = 2048:0800
foffs 0007e5bc, blen bl 604 = 80:0050
foffs 0007e614, blen bl 605 = 4144:1030
foffs 0007f64c, blen bl 606 = 4144:1030
foffs 00080684, blen bl 607 = 4144:1030
foffs 000816bc, blen bl 608 = 4144:1030
[snap]
The tape has a rather complex structure... hmmm
that are ~200k of those logs above.
Now I have to decrypt what SYSGEN want's to know from me :-~
BTW: In Sysgens device listing has no DEQNA, can I set this to DEUNA?
What means non mapped System? It thinks I have 1n 11/34, typing in
11/53 doesn't work....
Regards,
Holm
next prev parent reply other threads:[~2011-02-21 11:53 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-20 19:24 RSX11 Tape file Structure? Holm Tiffe
2011-02-20 19:44 ` Roger Ivie
2011-02-21 1:04 ` Johnny Billquist
2011-02-21 11:53 ` Holm Tiffe [this message]
2011-02-21 13:08 ` Bob Eager
2011-02-21 16:27 ` Holm Tiffe
2011-02-21 17:36 ` Bob Eager
2011-02-22 17:43 ` Holm Tiffe
2011-02-22 18:26 ` Bob Eager
2011-02-22 19:16 ` Bob Eager
2011-02-21 19:20 ` Johnny Billquist
2011-02-22 18:41 ` Holm Tiffe
2011-02-22 19:56 ` Rich Alderson
2011-02-22 22:26 ` Johnny Billquist
2011-02-23 23:32 ` Rich Alderson
2011-02-24 9:18 ` Johnny Billquist
2011-02-22 22:20 ` Johnny Billquist
2011-02-23 10:57 ` Holm Tiffe
2011-02-23 18:28 ` Holm Tiffe
2011-02-23 19:12 ` Holm Tiffe
2011-02-23 23:54 ` Rich Alderson
2011-02-24 9:24 ` Johnny Billquist
2011-02-24 16:52 ` Holm Tiffe
2011-02-24 23:38 ` Johnny Billquist
2011-02-25 7:02 ` Holm Tiffe
2011-02-25 7:35 ` Holm Tiffe
2011-02-25 9:13 ` Johnny Billquist
2011-02-25 11:21 ` Holm Tiffe
2011-02-25 16:40 ` Holm Tiffe
2011-02-25 20:20 ` Holm Tiffe
2011-02-26 1:24 ` Johnny Billquist
2011-02-26 7:01 ` Holm Tiffe
2011-02-26 9:08 ` Johnny Billquist
2011-02-26 9:29 ` Holm Tiffe
2011-02-26 9:39 ` Holm Tiffe
2011-02-26 9:55 ` Johnny Billquist
2011-02-26 10:15 ` Holm Tiffe
2011-02-26 10:21 ` Holm Tiffe
2011-02-26 10:35 ` Johnny Billquist
2011-02-26 10:32 ` Johnny Billquist
2011-02-26 11:00 ` Holm Tiffe
2011-02-26 11:13 ` Johnny Billquist
2011-02-26 12:37 ` Holm Tiffe
2011-02-26 18:32 ` Holm Tiffe
2011-02-26 23:47 ` Johnny Billquist
2011-02-27 11:35 ` Holm Tiffe
2011-02-27 11:59 ` Johnny Billquist
2011-02-27 12:35 ` Holm Tiffe
2011-02-27 12:43 ` Holm Tiffe
2011-02-27 13:37 ` Johnny Billquist
2011-02-27 14:49 ` Holm Tiffe
2011-02-27 15:10 ` Holm Tiffe
2011-02-28 1:33 ` Johnny Billquist
2011-02-27 19:38 ` Holm Tiffe
2011-02-28 1:50 ` Johnny Billquist
2011-02-28 13:49 ` Bob Koehler
2011-02-26 9:53 ` Johnny Billquist
2011-02-26 1:20 ` Johnny Billquist
2011-02-26 7:16 ` Holm Tiffe
2011-02-26 9:15 ` Johnny Billquist
2011-02-26 1:18 ` Johnny Billquist
2011-02-26 7:07 ` Holm Tiffe
2011-02-26 9:19 ` Johnny Billquist
2011-02-26 12:56 ` Holm Tiffe
2011-02-26 23:53 ` Johnny Billquist
2011-02-24 9:44 ` Johnny Billquist
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox