Subject: port-hp300/3769: hp300 SCSI timing out too fast on select
To: None <gnats-bugs%gnats.netbsd.org@qpoint.inode.org>
From: None <dej@ox.org>
List: netbsd-bugs
Date: 06/21/1997 21:15:22
>Number:         3769
>Category:       port-hp300
>Synopsis:       hp300 SCSI timing out too fast on select
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 21 18:35:00 1997
>Last-Modified:
>Originator:     David Jones
>Organization:
	INODE Community Networking
>Release:        NetBSD-current, June 21/97
>Environment:
	
System: NetBSD endplay 1.2G NetBSD 1.2G (ENDPLAY) #3: Sat Jun 21 19:01:21 EDT 1997 dej@endplay:/usr/src/sys/arch/hp300/compile/ENDPLAY hp300


>Description:
My HP425 will not recognize a Quantum Fireball 730 MB SCSI disk.
It recognizes the Rodime disk used as a boot drive.
>How-To-Repeat:
Put a Rodime RO3000T (200 MB size) and a Quantum Fireball 730 MB disk
into the two drive bays of an HP425 and boot it.  The system will
not see the Quantum disk.
>Fix:
The problem is that the hp300 SCSI driver times out too quickly on
a select.  For this reason, the initial device probe does not see
devices that are slow to respond to selection.  It's odd that the
older Rodime drive responds in time, but the newer Quantum drive
does not.

In issue_select(), I changed the following, and it works for me:

	hd->scsi_tch = 15;
	hd->scsi_tcm = 32;
	hd->scsi_tcl = 4;

However, this code may need a re-think.  The driver really ought to
implement the selection timeout procedure as per section 5.1.3.1 of
ANSI X3.131-1991.

>Audit-Trail:
>Unformatted: