Subject: Resolved: amiga-1.2.1 install fails: /bin/sh terminated
To: None <netbsd-bugs@NetBSD.ORG>
From: Jim Dutton <jimd@dutton2.it.siu.edu>
List: netbsd-bugs
Date: 08/11/1997 23:06:32
In article <5smj2t$gnc@saluki-news.it.siu.edu>,
	jimd@dutton4.it.siu.edu (Jim Dutton) writes:

Hmmm - my problem seems to have been because of two HD's on two SCSI
controllers, and the formatting of the drives was not quite kosher.

HDToolBox writes out a "sys:tools/drive specifications" (or something like
that). Using HDToolbox for each device (for each SCSI controller) winds up
rereading this file, which has an effect on HDToolbox and how it perceives
each HD.

In the end, going back and forth between HDToolbox, deleting the old
HDToolbox drive specs and rereading each drive, reformatting each drive,
and saving out the changes, finally appeared to have gotten things
formatted properly (since each drive/controller has a different number of
blocks per cylinder, this is important).

Now, calculating the beginning block of <swap>, using BFFS1.5beta/DCP to
write out the INST-121.FS filesystem, and booting with -b, gets to the
expected intallation prompt and process. (SIGH)

One new problem is that the 1.2 installation process is only recognizing
one of the two HD's, so I can't chose the other HD to put /usr on.

The moral of the story appears to be that when multiple SCSI controllers
are HDToolbox driven (ie; don't have their own, special formatting tool),
that one needs to be careful about what DRIVE SPECS are used for each use
of HDToolbox, EVEN THOUGH HDToolbox FINDS the correct device after
scanning the SCSI bus (looking for the DEVICE= tool setting).

Each use of HDToolbox will reuse that "sys:tools/<whatever>" file, and if
working with a different drive/controller than what is written in this
file, formatting results may be wrong. (at least, that appears to be what
happened to me)

SO - the problems below have been "fixed".



>ALL of the inst-fs/bin files are 876544 bytes - is this right?
>
>After using BFFS-1.5beta/dcp to copy inst-121.fs to the <swap>
>partition and loadbsd -b netbsd is executed, NetBSD-1.2.1 starts up and
>then appears to bomb out with something similar to:
>
>	<date> init: /bin/sh terminated
>	Enter pathname ....
>	
>over and over again.
>
>P.S. I canNOT use xstreamtodev because it is brain dead, and is not
>able to handle more than one SCSI controller, so I have to use DCP.
>
>P.S.S. I have downloaded the install filesystem three times now, all
>with the same results.