From root@guest.zipnet.net  Fri May 24 10:22:40 1996
Received: from guest.zipnet.net (guest.zipnet.net [199.232.255.43])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA06170
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 May 1996 10:22:35 -0700 (PDT)
Received: (from root@localhost) by guest.zipnet.net (8.7.5/8.7.3) id NAA00294; Fri, 24 May 1996 13:05:30 GMT
Message-Id: <199605241305.NAA00294@guest.zipnet.net>
Date: Fri, 24 May 1996 13:05:30 GMT
From: Charlie Root <root@guest.zipnet.net>
Reply-To: mi@aldan.zipnet.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: aic-7850 driver sees more cdroms then exists
X-Send-Pr-Version: 3.2

>Number:         1246
>Category:       kern
>Synopsis:       aic-7850 driver sees more cdroms then exists
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gibbs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 24 10:30:01 PDT 1996
>Closed-Date:    Mon Feb 17 00:33:01 PST 1997
>Last-Modified:  Tue Nov 27 19:04:53 PST 2001
>Originator:     Mikhail Teterin
>Release:        FreeBSD 2.2-960501-SNAP i386
>Organization:
>Environment:

	AIC-7850 on motherboard (Neptune chipset. EISA and PCI buses)

>Description:

	On power-on, adapter reports drives properly.
	aic-7850 driver says scsi BIOS not installed, using default
	parameters. Then:

ahc0 <Adaptec aic7850 SCSI host adapter> rev 0 int a irq 10 on pci0:3
ahc0: aic7850 Single Channel, SCSI Id=7, 3 SCBs
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
ahc0:A:0: refuses syncronous negotiation.  Using asyncronous transfers
(ahc0:0:0): "NEC CD-ROM DRIVE:501 2.3" type 5 removable SCSI 2
cd0(ahc0:0:0): CD-ROM 
cd0(ahc0:0:0): NOT READY asc:4,0 
(ahc0:2:0): "NEC CD-ROM DRIVE:841 1.0" type 5 removable SCSI 1
cd1(ahc0:2:0): CD-ROM cd present [154008 x 2048 byte records]
(ahc0:2:1): "NEC CD-ROM DRIVE:841 1.0" type 5 removable SCSI 1
cd2(ahc0:2:1): CD-ROM cd present [154008 x 2048 byte records]
(ahc0:2:2): "NEC CD-ROM DRIVE:841 1.0" type 5 removable SCSI 1
cd3(ahc0:2:2): CD-ROM cd present [154008 x 2048 byte records]
(ahc0:2:3): "NEC CD-ROM DRIVE:841 1.0" type 5 removable SCSI 1
cd4(ahc0:2:3): CD-ROM cd present [154008 x 2048 byte records]
(ahc0:2:4): "NEC CD-ROM DRIVE:841 1.0" type 5 removable SCSI 1
cd5(ahc0:2:4): CD-ROM cd present [154008 x 2048 byte records]
(ahc0:2:5): "NEC CD-ROM DRIVE:841 1.0" type 5 removable SCSI 1
cd6(ahc0:2:5): CD-ROM cd present [154008 x 2048 byte records]
(ahc0:2:6): "NEC CD-ROM DRIVE:841 1.0" type 5 removable SCSI 1
cd7(ahc0:2:6): CD-ROM cd present [154008 x 2048 byte records]
(ahc0:2:7): "NEC CD-ROM DRIVE:841 1.0" type 5 removable SCSI 1
cd8(ahc0:2:7): CD-ROM cd present [154008 x 2048 byte records]

	Depending on the actual order of cdroms on the bus, machine may
	hang. Otherwise, it proceeds, and both of the actual cdroms (0 and 2)
	may be succesfully mounted. Note, the cdrom with scsi-id2 is actually
	"NEC CD-ROM DRIVE:501", and is recognized as such, if it is porbed
	first.

>How-To-Repeat:

	Put two cdroms on the aic-7850 cable. (I do not have any scsi disks).
	Result will depend on their SCSI ids and, possibly, brands.

>Fix:
	
	Find the working combination and wait for the FreeBSD guys to fix it.	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: scrappy 
State-Changed-When: Mon Oct 21 22:14:31 PDT 1996 
State-Changed-Why:  

confirm status 

Responsible-Changed-From-To: freebsd-bugs->gibbs 
Responsible-Changed-By: gibbs 
Responsible-Changed-When: Tue Oct 22 02:02:59 PDT 1996 
Responsible-Changed-Why:  
my area. 
State-Changed-From-To: feedback->open 
State-Changed-By: scrappy 
State-Changed-When: Tue Oct 22 14:06:51 PDT 1996 
State-Changed-Why:  

Problem still exists... 

State-Changed-From-To: open->closed 
State-Changed-By: jmg 
State-Changed-When: Mon Feb 17 00:33:01 PST 1997 
State-Changed-Why:  
the default (of probing only one lun for cd-rom drives) fixes this. 
rev 1.70 of scsiconf.c 
>Unformatted:
