NetBSD Problem Report #1406

From gnats  Fri Aug 25 01:07:32 1995
Received: from bloom-beacon.MIT.EDU (brnstndkramden.acf.nyu.edu@BLOOM-BEACON.MIT.EDU [18.181.0.26]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id BAA05155 for <gnats-bugs@gnats.netbsd.org>; Fri, 25 Aug 1995 01:07:29 -0400
Message-Id: <199508250447.AAA16381@kolvir.arlington.ma.us>
Date: Fri, 25 Aug 1995 00:47:54 -0400
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: SDT-5000 needs looser revision check on quirks
X-Send-Pr-Version: 3.2

>Number:         1406
>Category:       kern
>Synopsis:       SDT-5000 needs looser revision check on quirks
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 25 01:20:02 +0000 1995
>Closed-Date:    Wed Nov 01 00:52:49 +0000 1995
>Last-Modified:  Wed Nov 01 00:55:41 +0000 1995
>Originator:     John Kohl
>Release:        -current as of 25 August 1995
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:

System: NetBSD pattern 1.0A NetBSD 1.0A (PATTERN) #83: Thu Aug 24 23:34:34 EDT 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386


>Description:
The SDT-5000 rev 3.26 needs SDEV_NOSYNCWIDE

>How-To-Repeat:
Try to use an SDT-5000 on an NCR scsi controller.  It will screw up sync
negotiation and make the SCSI bus stop working.

>Fix:

This fix loosens the check for the version number on SDT-5000
so that any 3.xx firmware will be marked as NOSYNCWIDE, and also puts
some #if 0 code under #ifdef SCSIDEBUG instead.

===================================================================
RCS file: scsi/RCS/scsiconf.c,v
retrieving revision 1.1
diff -c -r1.1 scsi/scsiconf.c
*** scsi/scsiconf.c	1995/08/25 03:20:32	1.1
--- scsi/scsiconf.c	1995/08/25 03:22:07
***************
*** 331,337 ****
  	{T_SEQUENTIAL, T_REMOV,
  	 "SONY    ", "SDT-2000        ", "2.09", SDEV_NOLUNS},
  	{T_SEQUENTIAL, T_REMOV,
! 	 "SONY    ", "SDT-5000        ", "3.17", SDEV_NOSYNCWIDE},
  	{T_SEQUENTIAL, T_REMOV,
  	 "TANDBERG", " TDC 3600       ", "",     SDEV_NOLUNS},
  	{T_SEQUENTIAL, T_REMOV,
--- 331,337 ----
  	{T_SEQUENTIAL, T_REMOV,
  	 "SONY    ", "SDT-2000        ", "2.09", SDEV_NOLUNS},
  	{T_SEQUENTIAL, T_REMOV,
! 	 "SONY    ", "SDT-5000        ", "3.", SDEV_NOSYNCWIDE},
  	{T_SEQUENTIAL, T_REMOV,
  	 "TANDBERG", " TDC 3600       ", "",     SDEV_NOLUNS},
  	{T_SEQUENTIAL, T_REMOV,
***************
*** 555,561 ****
  			continue;
  		priority += len;

! #if 0
  		printf("scsi_inqmatch: %d/%d/%d <%s, %s, %s>\n",
  		    priority, match->type, match->removable,
  		    match->vendor, match->product, match->revision);
--- 555,561 ----
  			continue;
  		priority += len;

! #ifdef SCSIDEBUG
  		printf("scsi_inqmatch: %d/%d/%d <%s, %s, %s>\n",
  		    priority, match->type, match->removable,
  		    match->vendor, match->product, match->revision);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pk 
State-Changed-When: Tue Oct 31 19:52:49 EST 1995 
State-Changed-Why:  
Done. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.