Subject: kern/23815: old scsi hard drive with bad tagged command queuing implementation
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jfaulkne@denali.cs.neu.edu>
List: netbsd-bugs
Date: 12/21/2003 05:58:15
>Number:         23815
>Category:       kern
>Synopsis:       old scsi hard drive with bad tagged command queuing implementation
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 21 05:59:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jim Faulkner
>Release:        1.6.2_RC3
>Organization:
>Environment:
NetBSD leech 1.6.2_RC3 NetBSD 1.6.2_RC3 (MYKERNEL) #1: Fri Dec 19 22:09:16 UTC 2003     root@leech:/usr/src/sys/arch/sparc/compile/MYKERNEL sparc

>Description:
I have an old external SCSI hard drive with a bad TCQ implementation, which I use with my sparcstation 20.  I had hoped to install NetBSD directly onto the external hard drive, unfortunately the installation failed because of TCQ SCSI errors.  I am sure that TCQ is the problem because I also have to manually deactivate TCQ under solaris (unlike netbsd, the solaris installation is unaffected).

So, I installed NetBSD on another hard drive, recompiled the kernel with TCQ disabled on my external SCSI drive, and moved NetBSD over to the external drive.  Fortunately everything worked!  I am hoping you guys can add these lines to /sys/dev/scsipi/scsiconf.c so I don't have to do that again:
        {{T_DIRECT, T_FIXED,
         "SEAGATE ", "SX910800N", ""},     PQUIRK_NOTAG},

>How-To-Repeat:
try installing netbsd on a seagate SX910800N.
>Fix:
add these lines to /sys/dev/scsipi/scsiconf.c:

        {{T_DIRECT, T_FIXED,
         "SEAGATE ", "SX910800N", ""},     PQUIRK_NOTAG},

>Release-Note:
>Audit-Trail:
>Unformatted: