From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5289e984584236e0 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-transit.tcx.org.uk!eternal-september.org!feeder.eternal-september.org!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.sys.dec Subject: Re: RSX11 Tape file Structure? Date: Tue, 22 Feb 2011 23:20:49 +0100 Organization: Update Computer Club Message-ID: References: NNTP-Posting-Host: 178-83-28-113.dynamic.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: Iltempo.Update.UU.SE 1298413250 1029 178.83.28.113 (22 Feb 2011 22:20:50 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Tue, 22 Feb 2011 22:20:50 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: Xref: g2news2.google.com comp.sys.dec:3067 On 2011-02-22 19:41, Holm Tiffe wrote: > In article, > Johnny Billquist writes: >> On 2011-02-21 12:53, Holm Tiffe wrote: >>> Ok, thanks guys for the hint in the right direction. >> >> No problems. >> >>> 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! :-) >> >> Excellent! >> >>> 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. >> >> What do you mean by a "raw" device? Send just random bytes? How about a >> terminal line? >> A raw chunk of "data"? What about a disk? > > I meant a way out of simhs 2.11BSD system to the Host system (here FreeBSD 8). > I tought forst that writing a tar file to one of simhs tape device files is > a easy way to do that. > With a disk file this is possible too, I must write to the raw (character) > device then. I've first thinkered about a tape, since a tape was what I've > wanted (to put onme in the 11/53 drive). > Now I have the network up and running so this isn't a problem anymore, but > the GENERIC Kernel had no networking. Well, you know that you can run tar against disks as well? (Or atleast you used to be able to do that way back in ancient history...) Anyway, since the problem is solved, I think we can leave this. >> What makaes it more complex is the fact that those 4144 byte records are >> actually a part of a BRU saveset, so in fact, that is another level of >> archiving, in which you then have directories, files, and so on... > > BRU... aha. :-| > I've read this while trying to install RSX11. Don't know what this means. Rich Alderson already answered this one. To clarify a bit more - BRU is the RSX equivalent to dump/restore (or tar) in Unix, more or less. But they are not compatible, and don't totally overlap as functionality goes. >>> Now I have to decrypt what SYSGEN want's to know from me :-~ >> >> Ah... SYSGEN for 11M. That is a complex beast... :-) >> However, the manual is available on bitsavers. >> >> Also, if you are running 11M+ instead of 11M, the sysgen is much more >> user friendly. > > Where to get one? How about looking at ftp://www.trailing-edge.com/pub/rsx_dists/ ? > There is a RSX-11M-PLUS V2.1 Baseline (Disk image RD52) and a > RSX-11M V3.2 for 11/45, 124KW, 50Hz (Disk image RK07) on the website > http://pdp-11.org.ru/files.pl. Sould I thake one from them? I think not. See above... ;-) > Installing from a tape was relatively easy, but I don't have an RD52 nor > a RK07. But I have an RQDX3 and old 20MB disks.... > I don't know of this 11/45 OS will run on my 11/53. > > BTW: we have 50Hz here. The frequency is specified when you run a SYSGEN. If you get it wrong, it only means that the clock in the OS will be running a bit fast, or slow, depending on which way it is wrong. :-) If you want to install on a real 11/53, and only have a 20MB disk, you are going to be very short on space, and you might not be able to install 11M+ correctly at all... Start playing with simh to get a feel for the whole thing. > I've already let sysgen run and it rattelet some time on the disk, but.. > > It seems, that I have an chicken and egg problem: > > I don't know anything about RSX11, thats all "�$)$&/$&/&" !. :-) But we're here to help you. > There is no documentation on the net for Sysadmins that know nothing > about installing RSX11 right for the first time. Sure there is: http://www.bitsavers.org/pdf/dec/pdp11/rsx11/RSX11M_V4.1_Apr83/ or http://www.bitsavers.org/pdf/dec/pdp11/rsx11/RSX11Mplus_V4.x/ will get you pretty recent versions of manuals. Be prepared, though. These are big manuals, with lots of information. Not something your read through in one hour. But there you will find whole manuals dedicated to only SYSGEN, as well as manuals for system administration, program development, just use the system, and whatnot. > The beginners docs always presuppose a running and fine set up system > to begin with. What documentation are you thinking of here? > Because of this something like this is a big problem: > > ; >> ; Create Executive build files >> ; >> PIP RSXMC.MAC=SY0:RSXMC0.MAC/AP >> ; >> * 1. Do you wish to edit any of the Executive files? [Y/N]: N >> ; > > > .... yes, I've made a typo and wanted to edit the file TTDRVBLD.CMD to > add a controller. But how the f***k can I edit this file? You do not want to edit the file to add a controller. At this point, you have already passed by the point in the SYSGEN, where you tell which controllers you have. Editing TTDRVBLD.CMD is many times not enough to add additional controllers, so don't even try that unless you are an expert on RSX systems. SYSGEN is your friend here, and you should use it. > I've failed at this position to produce a directory listing with pip, typed > something in that put almost any assembler source file to TI:. Could stop it > with CTRL-C, but the next typed in char resumed this until reset. :-( > Is anyone here that says UNIX-OSes are cryptic and user unfriendly? > > WHO SAYS THIS? (raised eyebrow) Me? :-) Anyway, there are some basic concepts you really need to know to get the hang of things. RSX is sometimes, and in some ways, not a trivial experience. And since you have not even got a system setup properly yet, it becomes even more "exciting". :-) This is like running a Unix system in single user mode, with no file systems mounted yet, and no /etc/fstab, or just about any other config file set up. How easy do you think such a scenario would be for someone who have never seen unix before? Anyway, to point out a few very basic things first of all: ^C don't abort any program in RSX. Any command you type in RSX is essentially like doing anything in unix, and terminating it with "&". ^C in RSX just brings up a prompt from your command line interpreter. At that point, you can kill the command, if you want to. Pressing enter will just finish the CLI part, and the program will continue its output, if that is what it was doing. Getting a directory listing: PIP /LI In your baseline system, you are using MCR, which is a very weird CLI for "young" people. Once you have the system set up, you can have DCL instead, which is way more user friendly. > Ok, next problem is the language, I've a natural german speaker, never had > english in the school or something like this (its only from Unix and > communicating with People like you on the net, yes I know swedish is > different to english also...), so I don't fully understood this setup process. Can't really help much with the language. While I do speak basic german (I live in Z�rich), I'm not at all proficient enough to use it at this level. However, the setup process as such is that when you install the system from tape, it restores a very basic, rudimentary RSX system for you. The main purpose of this system is really just to allow you to run through a SYSGEN, in order to compile a system which actually match what hardware you have, and what options you want. > I'm suspecting now, that my install to the DU1 was a mistake. No, it was not (really). > From that what I've read in the meantime I suppose that my DU1 is now > something like a scratch disk from where the installion to the real > system disk has to take place. If this is the case I have to remove the > entire "\xa7$)$&/$&/&", add a new "scratch disk" to the UC07 and start > from the beginning.. No. You can install to any disk. At boot time, RSX sees what disk it was booted from, and sets up pointers that this disk is the system disk. The end result of this is that any disk is as good as another as your system disk. It makes no difference. Running a SYSGEN means you will compile a whole kernel, and lots of system programs and device drivers, which will be used to build a new system image. This image normally will live on the same disk. You then bootstrap the new image, and then you use that one instead. You can (of course) move to another disk if you want, but there is no requirement to do this. Also, you can change the unit number of a disk and reboot, and it will still work fine. There is no hard connections inside a built system to a unit number. What unit the system disk have is detected at boot time (as mentioned above), and everything adapts to this. Unlike Unix, which sometimes have weird configs at build time which ties the kernel to a specific disk for the root file system and swap area, and in most cases point to specific disks in /etc/fstab which must be changed if you move disks around. So, with RSX, your DU1: can just be changed to DU0:, and off you go. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol