From bertram@gummo.bbb.sub.org Thu Oct 14 12:14:06 1999
Return-Path: <bertram@gummo.bbb.sub.org>
Received: from subnet.sub.net (subnet.sub.net [212.227.14.21])
	by hub.freebsd.org (Postfix) with ESMTP id DF4B914E08
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Oct 1999 12:13:57 -0700 (PDT)
	(envelope-from bertram@gummo.bbb.sub.org)
Received: (from uucp@localhost)
	by subnet.sub.net (8.8.8/8.8.8/1.2subnet-linux) with UUCP id VAA21707
	for FreeBSD-gnats-submit@freebsd.org; Thu, 14 Oct 1999 21:13:26 +0200
Received: (from bertram@localhost)
	by gummo.bbb.sub.org (8.9.2/8.9.2) id VAA04800;
	Thu, 14 Oct 1999 21:10:14 +0200 (CEST)
	(envelope-from bertram)
Message-Id: <199910141910.VAA04800@gummo.bbb.sub.org>
Date: Thu, 14 Oct 1999 21:10:14 +0200 (CEST)
From: bertram@gummo.bbb.sub.org
Reply-To: bertram@gummo.bbb.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Subject:
X-Send-Pr-Version: 3.2

>Number:         14333
>Category:       i386
>Synopsis:       AHA-1542A not supported by FreeBSD 3.x ("compensating")
>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 Oct 14 12:20:01 PDT 1999
>Closed-Date:    Fri Dec 17 12:39:07 PST 1999
>Last-Modified:  Fri Dec 17 12:39:29 PST 1999
>Originator:     Bertram Barth
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
>Environment:
 
 AHA-1542A from 1988, FreeBSD 3.3-RELEASE
 
>Description:
 
 aha0 is found and probed correctly but fails when probing for
 attached devices. Output during boot is:
 
 aha0 at 0x330-0x333 irq 11 drq 5 on isa
 aha0: AHA-1540/1542 64 head BIOS FW Rev. 0.6 (ID=41) SCSI Host Adapter, SCSI ID 
 7, 16 CCBs
 Waiting 15 seconds for SCSI devices to settle
 aha0: AHA-1540A detected, compensating
 aha0: AHA-1540A detected, compensating
 aha0: AHA-1540A detected, compensating
 aha0: AHA-1540A detected, compensating
 aha0: AHA-1540A detected, compensating
 aha0: AHA-1540A detected, compensating
 
 then the machine just hangs.
 
 works with FreeBSD 2.x, output of "boot -v" in 2.2.8:
 aha0: Rev 41 (AHA-154x[AB]) V0.6, enabling residuals, target ops
 
>How-To-Repeat:
 
 Boot with Install-floppies of FreeBSD 3.x or 4.0-current
 
>Fix:
	
 disabling residuals in aha.c cured the problem on my machine.
 I've no clue about the consequences of the modification I did,
 but if possible I'd like to have this as the default for the
 GENERIC kernel, since it make installation possible with this
 controller. On the other hand residuals IMHO aren't the real
 source of the problem since obviously they worked in 2.2.8.
 
 Context diff of sources from 3.1-RELEASE follows:
 
 *** aha.c       Wed Jan 20 07:21:26 1999
 --- aha.c-orig  Thu Oct 14 20:55:46 1999
 ***************
 *** 242,249 ****
         aha->unit = unit;
         aha->tag = tag;
         aha->bsh = bsh;
 !       aha->ccb_sg_opcode = INITIATOR_SG_CCB_WRESID;
 !       aha->ccb_ccb_opcode = INITIATOR_CCB_WRESID;
   
         if (aha->unit != AHA_TEMP_UNIT) {
                 aha_softcs[unit] = aha;
 --- 242,249 ----
         aha->unit = unit;
         aha->tag = tag;
         aha->bsh = bsh;
 !       aha->ccb_ccb_opcode = INITIATOR_CCB;
 !       aha->ccb_sg_opcode = INITIATOR_SG_CCB;
   
         if (aha->unit != AHA_TEMP_UNIT) {
                 aha_softcs[unit] = aha;
 
 
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Nov 7 13:42:03 PST 1999 
Responsible-Changed-Why:  
Misfiled PR. 

From: Johan Karlsson <k@numeri.campus.luth.se>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: i386/14333: AHA-1542A not supported by FreeBSD 3.x ("compensating")
Date: Mon, 13 Dec 1999 23:26:59 +0100

 Please close.
 Duplicate of  i386/14334.
 
 /K
 
 --
 Johan Karlsson          mailto:k@numeri.campus.luth.se
 
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Fri Dec 17 12:39:07 PST 1999 
State-Changed-Why:  
Duplicate of i386/14334. 
>Unformatted:
