[net.unix-wizards] rp07 booting problem

netguest@Utexas-11@sri-unix (08/30/82)

Date: 24 Aug 1982 at 1707-CDT
I have come up with a solution for the problem of booting 4.1BSD VMUNIX
from a freshly-spunup rp07 on a VAX 11/780.  It seems that the drive
does not clear the Volume-Valid bit when the drive is spun down and then
spun back up.  However, bits such as the FMT22 (16 or 18 bit mode) get
cleared.  The following diff listing can be used as a pattern for fixing
a version of the standalone hp driver to corectly handle the drive.

	45,46d44
	< int	hp_init[MAXNMBA * 8] = { 0 };
	< 
	82,83c80
	< 	if ((hpaddr->hpds & HPDS_VV) == 0 ||
	< 	   ((hpaddr->hpdt & MBDT_TYPE) == MBDT_RP07 && !hp_init[unit]++)) {
	---
	> 	if ((hpaddr->hpds & HPDS_VV) == 0) {

This patch will work for the 4.1 driver.  I also have a patch for the 4.1a
standalone driver, however this has not been tested yet.

		Peter Staubach
		uucp: duke!uok!ps
		arpa: oku@utexas-11
-------