From geoff@caribbean.sea-incorporated.com Fri Oct  1 16:18:37 1999
Return-Path: <geoff@caribbean.sea-incorporated.com>
Received: from caribbean.sea-incorporated.com (caribbean.sea-incorporated.com [209.74.10.130])
	by hub.freebsd.org (Postfix) with ESMTP id 048F9150ED
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  1 Oct 1999 16:18:20 -0700 (PDT)
	(envelope-from geoff@caribbean.sea-incorporated.com)
Received: from localhost (geoff@localhost)
	by caribbean.sea-incorporated.com (8.9.3/8.9.3) with ESMTP id TAA75779
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 1 Oct 1999 19:15:02 -0400 (EDT)
	(envelope-from geoff@caribbean.sea-incorporated.com)
Message-Id: <Pine.BSF.4.10.9910011904540.75767-100000@caribbean.sea-incorporated.com>
Date: Fri, 1 Oct 1999 19:15:02 -0400 (EDT)
From: "Geoffrey C. Speicher" <geoff@caribbean.sea-incorporated.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: CAM 3.3-RELEASE fails boot w/2940UW + non-wide device

>Number:         14083
>Category:       kern
>Synopsis:       CAM 3.3-RELEASE fails boot w/2940UW + non-wide device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gibbs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct  1 16:20:01 PDT 1999
>Closed-Date:    Sat Feb 24 12:11:37 PST 2001
>Last-Modified:  Sat Feb 24 12:11:54 PST 2001
>Originator:     Geoffrey C. Speicher
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:

FreeBSD sirius.trassociates.com 3.3-RELEASE FreeBSD 3.3-RELEASE #12: Sat Sep 25 10:42:56 EDT 1999     root@:/usr/source/3.3-RELEASE/src/sys/compile/SIRIUS  i386

>Description:

	Upgrade to 3.3 resulted in unbootable kernel, failing when probing
	SCSI devices, as shown in these portions from `desg`:

	ahc0: <Adaptec 2940 Ultra SCSI
	ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
	...
	ahc0:A:1: refuses WIDE negotiation.  Using 8bit transfers
	Unexpected busfree.  LASTPHASE == 0xa0
	SEQADDR == 0x153
	ahc0:A:2: refuses WIDE negotiation.  Using 8bit transfers
	ahc0:A:2: refuses WIDE negotiation.  Using 8bit transfers
	ahc0:A:2: refuses WIDE negotiation.  Using 8bit transfers
	ahc0:A:2: refuses WIDE negotiation.  Using 8bit transfers
	ahc0:A:2: refuses WIDE negotiation.  Using 8bit transfers
	ahc0:A:2: refuses WIDE negotiation.  Using 8bit transfers
	ahc0:A:2: refuses WIDE negotiation.  Using 8bit transfers
	ahc0:A:2: refuses WIDE negotiation.  Using 8bit transfers
	Rebooting...

	(The reboot was forced by Ctrl-Alt-Del, after the kernel was
	hanging there for several minutes.)

	Previously (all versions since CAM's inception), the
	"refuses WIDE negotiation" message would appear once per
	device, but everything would then work as expected.


>How-To-Repeat:

	Boot an AHA-2940UW (maybe others?) with a non-wide device
	attached.  Make sure the SCSI BIOS is set to do wide
	transfers on the device, or everything will probably work
	just fine.

>Fix:

	Turn off wide transfers for non-wide devices in SCSI BIOS.  :)
	(Drives incapable of synchronous transfers still display
	a similar message but neither hangs nor produces the
	"Unexpected busfree" business.)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->gibbs 
Responsible-Changed-By: gibbs 
Responsible-Changed-When: Mon Oct 4 14:48:24 PDT 1999 
Responsible-Changed-Why:  
My driver. 
State-Changed-From-To: open->feedback 
State-Changed-By: gibbs 
State-Changed-When: Mon Oct 4 14:49:00 PDT 1999 
State-Changed-Why:  
I can't seem to reproduce this here with an ST34371N attached to 
a 2940UW.  The odd thing about this report is that CAM shouldn't 
even attempt to negotiate wide to a device that does not claim 
wide support.  What kind of device are you using?  Do you get 
the same behaviour using a 4.0-snap install floppy? 
State-Changed-From-To: feedback->closed 
State-Changed-By: gibbs 
State-Changed-When: Sat Feb 24 12:11:37 PST 2001 
State-Changed-Why:  
No response from originator. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=14083 
>Unformatted:
