Subject: port-vax/4454: Standalone copy of rx50 diskettes fails with DBL ERR2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Havard.Eidnes@runit.sintef.no>
List: netbsd-bugs
Date: 11/09/1997 22:18:59
>Number:         4454
>Category:       port-vax
>Synopsis:       Standalone copy of rx50 diskettes fails with DBL ERR2
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov  9 13:20:03 1997
>Last-Modified:
>Originator:     Havard Eidnes
>Organization:
	SINTEF RUNIT
>Release:        NetBSD 1.3_ALPHA snapshot
>Environment:
	MicroVAX-III (3500), 2xRD54, 2xRX50 + extra MSCP/SCSI disk controller

>Description:
	We are trying to install NetBSD/VAX 1.3_ALPHA from RX50 diskettes
	written on a PC using the putr.com program.  After running edlabel
	and putting a label on dua0, we try to copy the miniroot, but that
	appears to fail.

	The standalone copy program fails once it starts reading the
	second rx50 diskette.  The last output was:

	OK to go on ? [g/a] g
	Reading ...
	?12 DBL ERR2
		PC = 2CC07400

	This invariably happened in the following situations:

	1) boot from dua2, copy from dua3 (or in Unix syntax ra(3,0)).
	2) as above, tried to read the first copy diskette twice
	   (so it's not a bad diskette causing this)
	3) boot from dua2, also copy from dua2

>How-To-Repeat:
	Boot the standalone copy from rx50, start copy, copy from rx50,
	notice that it crashes when preparing (?) to read the second
	diskette.

>Fix:
	Don't know.

	I do however note that devopen() apparently trashes the fname
	argument string, zeroing out the paranthesis, thus, the code
	takes a different path inside devopen() on the second call to 
	devopen() from the copy program.

	I also note the absence of the otherwise relatively common
	"readdisklabel: no disk label" error message after the "Reading ..."
	message above.
>Audit-Trail:
>Unformatted: