From nobody@FreeBSD.org  Thu Apr 20 04:12:34 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 55E1237BC6F
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Apr 2000 04:12:34 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id EAA40564;
	Thu, 20 Apr 2000 04:12:33 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200004201112.EAA40564@freefall.freebsd.org>
Date: Thu, 20 Apr 2000 04:12:33 -0700 (PDT)
From: mako2@din.or.jp
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: DC-390 SCSI BIOS setting no effect and IBM DORS drive tag queueing problem.
X-Send-Pr-Version: www-1.0

>Number:         18110
>Category:       kern
>Synopsis:       DC-390 SCSI BIOS setting no effect and IBM DORS drive tag queueing problem.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 20 04:20:01 PDT 2000
>Closed-Date:    Sat Jul 21 18:42:12 PDT 2001
>Last-Modified:  Sat Jul 21 18:43:05 PDT 2001
>Originator:     Makoto Murakami
>Release:        5.0-current
>Organization:
Private
>Environment:
FreeBSD aquarium.leaf.din.or.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Thu Apr 20 18:42:29 JST 2000
     mako@aquarium.leaf.din.or.jp:/usr/src/sys/compile/AKARI  i386
>Description:
I use Tekram DC-390 SCSI Host Adapter and IBM DORS-32160 Harddisk
Drive.
DORS-32160 S82C have some problem when tag queueing enable,
So tag queueing disable on SCSI BIOS.
But, I cvsuped amd.c rev 1.5 -> rev 1.9, SCSI BIOS setting is ineffectual.
Accordingly, I add fix for cam_xpt.c. Detail is shown below:
(# camcontrol negotiate -n da -u ? -T disable is no effect.)

        {
                /* Broken tagged queuing drive */
                { T_DIRECT, SIP_MEDIA_FIXED, "IBM", "DORS*", "*" },
                /*quirks*/0, /*mintags*/0, /*maxtags*/0
        },

>How-To-Repeat:
configuration: use AMD 53c974 based SCSI Host Adapter
               and connected IBM DORS-32160 S82C drive.

>Fix:


>Release-Note:
>Audit-Trail:

From: Thomas Gellekum <tg@melaten.rwth-aachen.de>
To: mako2@din.or.jp
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/18110: DC-390 SCSI BIOS setting no effect and IBM DORS drive tag queueing problem.
Date: 28 Apr 2000 11:54:20 +0200

 mako2@din.or.jp writes:
 
 > I use Tekram DC-390 SCSI Host Adapter and IBM DORS-32160 Harddisk
 > Drive.
 > DORS-32160 S82C have some problem when tag queueing enable,
 
 ,----
 | amd0: <Tekram DC390(T)/AMD53c974 SCSI Host Adapter> port 0xe000-0xe07f irq 10 at device 11.0 on pci0
 | [...]
 | da1 at amd0 bus 0 target 2 lun 0
 | da1: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
 | da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
 | da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
 | [...]
 `----
 
 Seems to work fine in my box. What's `S82C' and `WA6A'? Firmware
 revision?
 
 tg
 

From: Makoto Murakami <mako2@din.or.jp>
To: Thomas Gellekum <tg@melaten.rwth-aachen.de>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/18110: DC-390 SCSI BIOS setting no effect and IBM DORS drive tag queueing problem.
Date: Sat, 29 Apr 2000 17:01:53 +0900

 In article <kq8zxyv9df.fsf@cip12.melaten.rwth-aachen.de> 
 Thomas Gellekum <tg@melaten.rwth-aachen.de> writes;
 
 > > I use Tekram DC-390 SCSI Host Adapter and IBM DORS-32160 Harddisk
 > > Drive.
 > > DORS-32160 S82C have some problem when tag queueing enable,
 > 
 > ,----
 > | amd0: <Tekram DC390(T)/AMD53c974 SCSI Host Adapter> port 0xe000-0xe07f irq 10 at device 11.0 on pci0
 > | [...]
 > | da1 at amd0 bus 0 target 2 lun 0
 > | da1: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
 > | da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
 > | da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
 > | [...]
 > `----
 > Seems to work fine in my box. What's `S82C' and `WA6A'? Firmware
 > revision?
 
 You maybe right.
 It drive change to action by firmware revision, after all...
 
 --
 Makoto Murakami <mako2@din.or.jp>
 
 
State-Changed-From-To: open->closed 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 18:42:12 PDT 2001 
State-Changed-Why:  

Problem was apparently solved by upgrading hardware's firmware. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18110 
>Unformatted:
