From seki@axis.sysrap.cs.fujitsu.co.jp  Sun Apr  7 07:56:26 1996
Received: from fgwmail.fujitsu.co.jp (fgwmail.fujitsu.co.jp [164.71.1.133])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA15331
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 7 Apr 1996 07:56:24 -0700 (PDT)
Received: from fdmmail.fujitsu.co.jp by fgwmail.fujitsu.co.jp (8.7.5+2.6Wbeta6/3.4W4-MX960305-Fujitsu Mail Gateway)
	id XAA14244; Sun, 7 Apr 1996 23:56:16 +0900 (JST)
Received: from axis.sysrap.cs.fujitsu.co.jp by fdmmail.fujitsu.co.jp (8.6.12+2.5Wb4/3.3W5-MX960229-Fujitsu Domain Mail Master)
	id XAA28525; Sun, 7 Apr 1996 23:55:44 +0900
Received: (from seki@localhost) by axis.sysrap.cs.fujitsu.co.jp (8.6.12/8.6.12.01) id XAA01984; Sun, 7 Apr 1996 23:47:46 +0900
Message-Id: <199604071447.XAA01984@axis.sysrap.cs.fujitsu.co.jp>
Date: Sun, 7 Apr 1996 23:47:46 +0900
From: seki@sysrap.cs.fujitsu.co.jp
Reply-To: seki@sysrap.cs.fujitsu.co.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: 960323 SNAP doesn't boot with AHA 2940
X-Send-Pr-Version: 3.2

>Number:         1123
>Category:       i386
>Synopsis:       ahc driver hangs on boot
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gibbs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr  7 08:00:03 PDT 1996
>Closed-Date:    Sat Apr 20 14:31:48 PDT 1996
>Last-Modified:  Sat Apr 20 14:34:41 PDT 1996
>Originator:     Masahiro SEKIGUCHI
>Release:        FreeBSD 2.2-960323-SNAP i386
>Organization:
Fujitsu
>Environment:

	Pentium 133MHz, 48MB RAM, AHA 2940

>Description:

	I booted with the 960323 SNAP boot floppy.
	While the kernel boots, ahc driver dies with the following messages:

	ahc0: <Adaptec 2940 SCSI host adapter> rev 3 int a irq 11 on pci0:5
	ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
	ahc0 waiting for SCSI devices to settle
	ahc0: ahc_intr - referenced scb not valid during scsiint 0x2a scb(15)

	BTW, the machine had no trouble on 2.1 RELEASE and 960303 SNAP.

>How-To-Repeat:

	Boot on my machine...  It always dies at the same point.

>Fix:
	
	N/A
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gibbs 
Responsible-Changed-By: gpalmer 
Responsible-Changed-When: Mon Apr 8 18:50:17 PDT 1996 
Responsible-Changed-Why:  
This is Justins territory 
State-Changed-From-To: open->closed 
State-Changed-By: gibbs 
State-Changed-When: Sat Apr 20 14:31:48 PDT 1996 
State-Changed-Why:  
Fixed in Rev 1.61 of i386/scsi/aic7xxx.c.  Don't reference the 
active SCB before handling SCSIRSTI interrupts. 
>Unformatted:
