I've assembled some notes from old manuals and other sources
on the formats used for on-disk file systems through the
Seventh Edition:
http://www.cita.utoronto.ca/~norman/old-unix/old-fs.html
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
> PreliminaryUnixImplementationDocument_Jun72.pdf.
> Having had a quick scan through, it contains a source
> code listing and some commentary (lions i hear you
> say).
No, not Lions. The author is listed on the first page as one T. R.
Bashkow.
> 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.
>
> regards
>
> Martin
--
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
>and the
>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
>and
># ar r ../lib2
>
>I got a string of error messages from ld.
which error messages?
>
>But after I did this:
># ar r ../lib1 *.o
>and
># 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[12], 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
main.o
alloc.o
iget.o
prf.o
rdwri.o
slp.o
subr.o
text.o
trap.o
sig.o
sysent.o
clock.o
fio.o
malloc.o
nami.o
pipe.o
sys1.o
sys2.o
sys3.o
sys4.o
>
>I have these missing symbols
># ld -x l.o m40.o c.o ../lib1 ../lib2
>Undefined:
>_end (defined by ld if successful)
>_edata (same)
>_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
http://www.ba-stuttgart.de/~helbig/os/script/chapt1.1
for help installing V6.
Regards,
Wolfgang
--
"Dijkstra is right, but you don't say such things!"
(A less courageous programmer)
Hi All
I need help with the V6 kernel compilation. I read the Unix setup guide
and the
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
and
# ar r ../lib2
I got a string of error messages from ld.
But after I did this:
# ar r ../lib1 *.o
and
# ar r ../lib2 *.o
I have these missing symbols
# ld -x l.o m40.o c.o ../lib1 ../lib2
Undefined:
_end
_edata
_iinit
_iget
_update
_schar
_namei
_maknode
_access
_itrunc
_iput
_alloc
_uchar
_closef
_getf
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. (-_-) )
thanks
bent lee