From alex@zen.nash.org  Sat May 11 10:11:17 1996
Received: from zen.nash.org (nash.pr.mcs.net [204.95.47.72])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA23159
          Sat, 11 May 1996 10:11:08 -0700 (PDT)
Received: (from alex@localhost) by zen.nash.org (8.7.5/8.6.12) id MAA00407; Sat, 11 May 1996 12:10:22 -0500 (CDT)
Message-Id: <199605111710.MAA00407@zen.nash.org>
Date: Sat, 11 May 1996 12:10:22 -0500 (CDT)
From: Alex Nash <alex@zen.nash.org>
Reply-To: nash@mcs.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: gibbs@freebsd.org
Subject: Adaptec 2940 Changes (May 10th)
X-Send-Pr-Version: 3.2

>Number:         1188
>Category:       kern
>Synopsis:       May 10th pci/aic7870.c changes break my CD-ROM drive
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gibbs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 11 10:20:02 PDT 1996
>Closed-Date:    Sat May 11 19:11:50 PDT 1996
>Last-Modified:  Sat May 11 19:15:39 PDT 1996
>Originator:     Alex Nash
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
>Environment:

Adaptec 2940UW PCI attached to:
   Device  Bus   Description
   ------  ----  -----------
     3     Std   Sony CSD-760S CD-ROM drive
     9     Wide  4.3GB Quantum hard drive

aic7870.c version 1.11.2.11 (-stable supped as of May 10th)

>Description:

Hard disk functions normally, but attempting to mount the CD-ROM drive
causes the CD-ROM to be continuously accessed and never mounted.
CTRL-C aborts the mount but the CD-ROM drive activity light continues
and subsequent hard disk accesses are very slow (blocked by the CD-ROM
hogging the bus?).  The kernel generates the following messages:

May 11 10:59:47 zen /kernel: cd0(ahc0:3:0): timed out in dataout phase, SCSISIGI == 0x48
May 11 10:59:48 zen /kernel: cd0(ahc0:3:0): BUS DEVICE RESET message queued.
May 11 10:59:48 zen /kernel: cd0(ahc0:3:0): timed out in dataout phase, SCSISIGI == 0x48
May 11 10:59:48 zen /kernel: ahc0: Issued Channel A Bus Reset #1. 3 SCBs aborted
May 11 10:59:48 zen /kernel: cd0(ahc0:3:0): UNIT ATTENTION asc:29,0
May 11 10:59:48 zen /kernel: cd0(ahc0:3:0):  Power on, reset, or bus device reset occurred
May 11 10:59:49 zen /kernel: sd0(ahc0:9:0): UNIT ATTENTION asc:29,0
May 11 10:59:49 zen /kernel: sd0(ahc0:9:0):  Power on, reset, or bus device reset occurred sks:80,0
May 11 10:59:49 zen /kernel: , retries:3

>How-To-Repeat:

Mount the CD-ROM drive :)

>Fix:

Temporary fix: Reverse latest pci/aic7870.c changes back to version
1.11.2.10 Sun Apr 28 19:37:09 1996.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gibbs 
State-Changed-When: Sat May 11 19:11:50 PDT 1996 
State-Changed-Why:  
Fixed in revision 1.11.2.12 of the stable branch and rev 1.31 of the main 
branch: add missing "+ io_port" to outbs to the SCSICONF scratch ram location. 


Responsible-Changed-From-To: freebsd-bugs->gibbs 
Responsible-Changed-By: gibbs 
Responsible-Changed-When: Sat May 11 19:11:50 PDT 1996 
Responsible-Changed-Why:  
I maintain the aic7xxx driver. 
>Unformatted:
Fixed in revision 1.11.2.12 of the stable branch and rev 1.31 of the main
branch:  add missing + io_port to outbs to the SCSICONF area of scratch
ram.
