From dufault@hda.com  Tue May  2 14:21:28 1995
Received: from hda.com (hda.com [199.232.40.182])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA16266
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 2 May 1995 14:21:26 -0700
Received: (dufault@localhost) by hda.com (8.6.9/8.3) id RAA00698; Tue, 2 May 1995 17:19:54 -0400
Message-Id: <199505022119.RAA00698@hda.com>
Date: Tue, 2 May 1995 17:19:54 -0400
From: Peter Dufault <dufault@hda.com>
Reply-To: dufault@hda.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Can't config any but first bus of a host adapter
X-Send-Pr-Version: 3.2

>Number:         377
>Category:       kern
>Synopsis:       Can't config any but first bus of a host adapter
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May  2 14:30:03 1995
>Closed-Date:    Sat Aug 12 10:57:03 PDT 1995
>Last-Modified:  Sat Aug 12 10:58:38 PDT 1995
>Originator:     Peter &
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
Peter Dufault               Real Time Machine Control and Simulation
HD Associates, Inc.         Voice: 508 433 6936
dufault@hda.com             Fax:   508 433 5267
>Environment:

	

>Description:

You can not configure a device on the second bus of a multiple bus
adapter.  scsiconf uses a "key" of (host adapter, unit) to tell
what belongs on a given bus, and if the device on the second bus
collides with a device on the first bus the device slot allocation
will fail and the system will panic during boot.

>How-To-Repeat:

Try to configure a device on the second bus that collides with something
on the first bus and boot.

>Fix:

Work around:
Don't try to configure the devices, but live with the "autocounting"
devices;

Real fix:
Modify config to support a new keyword so that you can do things like:

controller scbus0 at aic0 bus 0
controller scbus2 at ahc0 bus 1

and modify scsiconf to use (host adapter, unit, bus) as the key.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gibbs 
State-Changed-When: Sat Aug 12 10:57:03 PDT 1995 
State-Changed-Why:  
Corrected in scsiconf.h revision 1.27 
date: 1995/07/17 23:38:01;  author: gibbs;  state: Exp;  lines: +22 -20 
Allow the specification of the controller bus when wiring down scsi buses. 
This is performed by using a line similar to: 

controller scbus0 at ahc0 bus 1 

to wire scbus0 to the second bus on an adaptec 2742T controller. 

Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org) 
>Unformatted:


