[LispM] MacIvory Setup

Raymond Wiker Raymond.Wiker@fast.no
Fri, 23 Feb 2001 10:21:59 +0100


=09I see that Far=E9 has finally got his MacIvory III -
congratulations!

=09I've been planning to write some notes about my experiences
with setting up a MacIvory II. Part of the reason that I haven't done
so (yet) is that it's taken me some time to get hold of a larger disk
for my Quadra - it's now got a 4.3GB Seagate Hawk.

=09I had a bit of trouble setting up the machine with the new
disk, partly caused by the fact that my CDROM is not an original Apple
unit, and so requires a custom (or modified) driver. The same goes for
the hard disk: it is not one of the Apple-OEM'ed units, so I had to
get a patched version of HD setup. The OS is MacOS 7.5.5, by the way,
with OpenTransport (a TCP/IP package) 1.1.2 installed on top of it.

=09Initially, I set the HD up with a single partition. This
caused the Ivory "Breath of Life" application to fail, with similar
symptoms as Far=E9 describes on <URL:http://fare.tunes.org/LispM.html>.=

Far=E9 says that his problem was caused by the speed of the CDROM; I
suspect that my problems were caused by either the disk volume size or
file system block size exceeding the MacIvory SW's expectations.=20
Anyway, the problem disappeared when I repartitioned the disk as 2
partitions of slightly less than 2 GB each, and a smaller partition of
about 300MB.=20

=09An additional benefit is that the file system block size
was reduced in the same process, and a small file that occuped 127k on
the large partition was down to 31k on the small(er) partition. This
is supposedly not a problem with MacOS 8.1, which has an improved
file system.=20

=09Once this was done, I used the MacIvory control panel to set
up a maximum-sized FEP file system on one of the 2GB
partitions. (Actually, when I had a single 4GB partition, the MacIvory
control panel suggested a FEP partition of about 2GB. I suspect that
there may be a limit of 2GB for a FEP partition - does anybody know?)

=09At this point I was able to boot Genera. The first thing to be
done (or one of the first) should be to set up a local LMFS (file
system). This is done through the Filer application (Select F). Choose
Local Operations->Maintenance->Initialize (I think!) to set up a new
file system; I chose a size of 1200000 (1.2M) FEP blocks. This sets
up a file in the FEP file system to hold the LMFS; it also zeroes out
the file, which takes some time (at least on a MacIvory II).

=09It's also a good idea to install the "genera 8 3 y2k
patch". If you have this file placed in the top level of the volume
named "Disk", with a file name "genera_8_3_y2k_patch.lisp"(e.g), you
can read it into the editor with the command

Edit File HOST:Disk:genera_8_3_y2k_patch.lisp

=09The editor is (probably) going to ask if you want to read this
file as an uninterpreted binary file. Answer yes to this question. If
the file not been munged during transfer (via FTP or whatever), it
should show up as properly formatted lisp code in the editor. To
compile and load the patch, you can use the editor command "M-x
Compile Buffer". After doing this, switch back to the Lisp Listener
and type "Show Herald"to verify that the patch is loaded.

=09If you do a "Save World" now, you'll have a Lisp image that
includes the Y2K patch. It's probably better to do a couple of other
things first, though.

=09The command "Define Site" can be used to change the site and
host name, and also to set the system up for installing the system
distribution from CDROM. I used the site name "Museum" and the host
name "Ivory", and left the other settings unchanged. Then, I had to
edit the file local.boot to change the namespace settings

=09namespace Museum=20
=09namespace path Ivory:>sys>site>MUSEUM-namespace.text

--- I think, I'm not in front of the machine right now.

=09With all this in place, you can do a "Save World Incremental",
followed by a Cold Boot of Genera.

=09If everything went well, the machine should boot, the
herald should indicate the site and host name specified to "Define
Site" and the y2k patch should also be indicated by the herald.

=09The "Define Site" command should also have set up a
translation for the logical host "SYS:" that points to the LMFS file
system. If so, it's time to restore the rest of the system from
CDROM...

=09After the files have been restored, you can do a "Load System
IP-TCP" and "Load System IP-TCP Documentation". Then, use the command
"(tcp:initialize-internet-namespace)" to set up the local IP address
as well as the (default) router name and IP address.

=09At this point it is probably a good idea to save the world
again. I chose to do a "Save World Complete" (after first doing
"Optimize World").

=09//Raymond.

--=20
Raymond Wiker
Raymond.Wiker@fast.no