I've assembled some notes from old manuals and other sources
on the formats used for on-disk file systems through the
Additional notes, comments on style, and whatnot are welcome.
(It may be sensible to send anything in the last two categories
directly to me, rather than to the whole list.)
> Message: 1
> Date: Wed, 14 Jun 2006 16:24:29 -0700 (PDT)
> From: Martin Lovick <martin_lovick(a)yahoo.com>
> Subject: [pups] bitsavers document
> To: pups(a)minnie.tuhs.org
> Message-ID: <20060614232429.78414.qmail(a)web36905.mail.mud.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> whilst looking around the bitsavers.org pdf archive, I
> found a document called
> Having had a quick scan through, it contains a source
> code listing and some commentary (lions i hear you
No, not Lions. The author is listed on the first page as one T. R.
> The strange thing is that all of the source code
> appears to be in assembler...
yup. This would be an early pdp11 UNIX from the period before the
rewrite in C.
> whats this about?
It appears to be a listing of an assembly language version of an
early UNIX kernel for the pdp11 in the pages labelled E*-*; the pages
F*-* are a commentary; G*-* is a glossary of terms used; H*-*
contains a description of each function in the kernel with complete
details of each function.
> is it a comentary of PDP-7 unix?
It's (Bell Labs flavor) pdp11 assembly language.
Milo Velimirović <milov(a)uwlax.edu>
Unix Computer Network Administrator 608-785-6618 Office
ITS Network Services 608-386-2817 Cell
University of Wisconsin - La Crosse
La Crosse, Wisconsin 54601 USA 43 48 48 N 91 13 53 W
Unix: Where /etc/init is job #1.
Hi Bent Lee,
you asked for help
>I need help with the V6 kernel compilation. I read the Unix setup guide
>file /usr/sys/run. I've seen one problem so far with the /usr/sys/run
>file. That is
>that the two lib files (lib1 & lib2) did not contain any symbols.
>When I ran:
># ar r ../lib1
># ar r ../lib2
>I got a string of error messages from ld.
which error messages?
>But after I did this:
># ar r ../lib1 *.o
># ar r ../lib2 *.o
This might have corrupted your lib files. These two lines are only meant as
templates to replace some files in your archives, that is lib, if necessary.
But replacing an object file is necessary only if you changed the corresponding
source file and recompiled it.
Here are the files supposed to be in lib1:
# ar t lib1
>I have these missing symbols
># ld -x l.o m40.o c.o ../lib1 ../lib2
>_end (defined by ld if successful)
>_iinit (from alloc.c)
>_iget (from iget.c)
replace lib1 and lib2 with the original files and it should work!
You might want to consult
for help installing V6.
"Dijkstra is right, but you don't say such things!"
(A less courageous programmer)
I need help with the V6 kernel compilation. I read the Unix setup guide
file /usr/sys/run. I've seen one problem so far with the /usr/sys/run
file. That is
that the two lib files (lib1 & lib2) did not contain any symbols.
When I ran:
# ar r ../lib1
# ar r ../lib2
I got a string of error messages from ld.
But after I did this:
# ar r ../lib1 *.o
# ar r ../lib2 *.o
I have these missing symbols
# ld -x l.o m40.o c.o ../lib1 ../lib2
Can anyone help me with this?
(I saw that MIT athena has a V6 repository with a Makefile in it
But I cannot access it at all. (-_-) )