From owner-freebsd-bugs Thu Oct 14 13: 0: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1248B15109 for ; Thu, 14 Oct 1999 13:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA57133; Thu, 14 Oct 1999 13:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from subnet.sub.net (subnet.sub.net [212.227.14.21]) by hub.freebsd.org (Postfix) with ESMTP id 5E40615109 for ; Thu, 14 Oct 1999 12:58:58 -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 VAA22855 for FreeBSD-gnats-submit@freebsd.org; Thu, 14 Oct 1999 21:54:39 +0200 Received: (from bertram@localhost) by gummo.bbb.sub.org (8.9.2/8.9.2) id VAA07049; Thu, 14 Oct 1999 21:53:43 +0200 (CEST) (envelope-from bertram) Message-Id: <199910141953.VAA07049@gummo.bbb.sub.org> Date: Thu, 14 Oct 1999 21:53:43 +0200 (CEST) From: bertram@gummo.bbb.sub.org Reply-To: bertram@gummo.bbb.sub.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/14334: AHA-1542A not supported by FreeBSD 3.x ("compensating") Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14334 >Category: i386 >Synopsis: AHA-1542A not supported by FreeBSD 3.x ("compensating") >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 14 13:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Bertram Barth >Release: FreeBSD 3.1-RELEASE i386 >Organization: none/private >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message