From: clk@ernie.Princeton.EDU (Christopher Kranz)
Subject: diskless installation woes, help needed
Originator: news@nimaster
Organization: Princeton University
Date: Mon, 11 Jan 1993 19:56:38 GMT

I am in the process of converting our disk-poor Iris 4D/25s and 4D/35s to
diskless machines.  I am planning to use the local disk for paging and
scratch space.  I have run into a couple of problems in the process of
installing the diskless share trees and diskless client tress.

The exit commands from installing the share tree for the 4D/35s produced the
following errors:

idev: dependent driver shmiq is EXCLUDED
idev: dependent driver shmiq is EXCLUDED
bsd: dependent driver socket is EXCLUDED
uds: dependent driver socket is EXCLUDED
gr1_dev: dependent driver gfx is EXCLUDED
rrm: dependent driver gfx is EXCLUDED
Warning: no object file for sgi
Warning: no object file for bsd
Warning: no object file for dbg
Warning: no object file for mem
/usr/sysgen/root/usr/bin/ld:
Undefined:
dcachefast
kern_malloc
kern_free
strcmp
kern_calloc
 .
 .
 .
soisdisconnected
sonewconn
soisconnected
socantrcvmore
sofree
lboot: ld returned 256--failed

Does anyone know if this indeed a problem or just a side effect of building a
generic kernel for a given diskless class?


Assuming the above was not a problem, I went ahead and attempted to install a
client tree.  During the installation I got the following error messages:

Installing new versions of selected eoe2.sw subsystems
sh: /usr/diskless/client/4D35/client1/bin/rm: not found
[Aux Cmd] cd $rbase/usr/lib/fmfonts ; $rbase/bin/rm -f ChBlIc08.pcf.Z
          ChBlIc11.pcf.Z ChBlIc12.pcf.Z ChBlIc14.pcf.Z ChBlIc15.pcf.Z
          ChBlIc17.pcf.Z ChBlIc25.pcf.Z ChBlIc33.pcf.Z ChrBlk08.pcf.Z
          ChrBlk11.pcf.Z ChrBlk12.pcf.Z ChrBlk14.pcf.Z ChrBlk15.pcf.Z
          ChrBlk17.pcf.Z ChrBlk25.pcf.Z ChrBlk33.pcf.Z ChrtrI08.pcf.Z
          ChrtrI11.pcf.Z ChrtrI12.pcf.Z ChrtrI14.pcf.Z ChrtrI15.pcf.Z
          ChrtrI17.pcf.Z ChrtrI25.pcf.Z ChrtrI33.pcf.Z ChrtrR08.pcf.Z
          ChrtrR11.pcf.Z ChrtrR12.pcf.Z ChrtrR14.pcf.Z ChrtrR15.pcf.Z
          ChrtrR17.pcf.Z ChrtrR25.pcf.Z ChrtrR33.pcf.Z ChBlIc.ff ChrBlk.ff
          ChrtrI.ff ChrtrR.ff

I checked for myself and the file /usr/diskless/client/4D35/client1/bin/rm
did not exist.  I tried to figure out why.  After poking around a little I
discovered there are two eoe1.sw.cpp and eoe1.sw.lboot subsystems.  One set
is from the IRIX 4.0.5 CD and is referred to as "eoe1 4.0.5 A" on the CD ROM
label.  The other set is on the IDO 4.1 CD and is referred to as "eoe1 4.0.5"
on the CD ROM label.  The eoe1.idb from the IRIX 4.0.5 CD that contains the
commands to install rm, as well as other files, got clobbered when the second
eoe1 subsystem from the IDO 4.1 disk was installed during the share tree
installation.  

Now for the questions.  Was it a mistake to install both of them?  How do I
keep $DISKLESS/$SHARE/usr/lib/inst/eoe1.idb from getting over written by the
one on the IDO disk?  Which version of eoe1.sw.cpp and eoe1.sw.lboot do I
need to have installed, the ones from the IRIX 4.0.5 A CD or the one from IDO
4.1 CD?  Can I safely merge the two eoe1.idb files by hand?


BTW, for some reason clinst needs to be able to create a symbolic link in /
called share that points to $DISKLESS/$SHARE/$CLASS.  I had a directory in /
called share and could not get things to work until I renamed it to something
else.  I wish there had been some error message telling me that, I just
happened to stumble upon it.

Any and all pointers are welcome at this point.  Thanks.

	Christopher Kranz
	clk@princeton.edu
-- 
Christopher Kranz                  |  internet:  clk@Princeton.EDU
Systems Programmer, UNIX Systems   |    BITNET:  clk@PUCC
Princeton University               |      UUCP:  princeton!clk
87 Prospect Avenue, Room 200       |     Voice:  609-258-6033/6000