From grandi@new-www.tuc.noao.edu  Thu Feb 27 07:55:27 1997
Received: from new-www.tuc.noao.edu (new-www.tuc.noao.edu [140.252.1.28])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA03455
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Feb 1997 07:55:24 -0800 (PST)
Received: (from grandi@localhost)
	by new-www.tuc.noao.edu (8.8.5/8.8.5) id IAA01289;
	Thu, 27 Feb 1997 08:55:18 -0700 (MST)
Message-Id: <199702271555.IAA01289@new-www.tuc.noao.edu>
Date: Thu, 27 Feb 1997 08:55:18 -0700 (MST)
From: grandi@noao.edu
Reply-To: grandi@noao.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: Adaptec 2940 Ultra cannot see Exabyte 8505 and loops during boot
X-Send-Pr-Version: 3.2

>Number:         2828
>Category:       kern
>Synopsis:       Adaptec 2940 Ultra cannot see Exabyte 8505 and loops during boot
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 27 08:00:01 PST 1997
>Closed-Date:    Sat Mar 8 23:23:55 PST 1997
>Last-Modified:  Sat Mar  8 23:25:55 PST 1997
>Originator:     Steve Grandi
>Release:        FreeBSD 2.2-970225-GAMMA i386
>Organization:
National Optical Astronomy Observatories, Tucson, AZ  USA
>Environment:

Gateway P6-200, 96MB RAM, Adaptec 2940 Ultra/Wide SCSI card, 3 Micropolis
3391 9GB SCSI disks, Matshita SCSI CD-ROM, Exabyte 8505XL SCSI Tape

Boot messages (when the Exabyte is disconnected from the bus!):

FreeBSD 2.2-970225-GAMMA #0: Wed Feb 26 11:56:29 MST 1997
    grandi@new-www.tuc.noao.edu:/usr/src/sys/compile/WWW
Calibrating clock(s) relative to mc146818A clock ... i586 clock: 199435372 Hz, i8254 clock: 1193203 Hz
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
  Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 100663296 (98304K bytes)
avail memory = 94969856 (92744K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:11
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:1:0): "MICROP 3391SS P419" type 0 fixed SCSI 2
sd0(ahc0:1:0): Direct-Access 8681MB (17780058 512 byte sectors)
(ahc0:2:0): "MICROP 3391SS P419" type 0 fixed SCSI 2
sd1(ahc0:2:0): Direct-Access 8681MB (17780058 512 byte sectors)
(ahc0:3:0): "MICROP 3391SS P419" type 0 fixed SCSI 2
sd2(ahc0:3:0): Direct-Access 8681MB (17780058 512 byte sectors)
ahc0:A:5: refuses WIDE negotiation.  Using 8bit transfers
(ahc0:5:0): "MATSHITA CD-ROM CR-506 8S04" type 5 removable SCSI 2
cd0(ahc0:5:0): CD-ROM cd present [253530 x 2048 byte records]
vx0 <3COM 3C905 Fast Etherlink XL PCI> rev 0 int a irq 10 on pci0:15
mii[*mii*] address 00:60:97:6e:a4:d6
vga0 <VGA-compatible display device> rev 65 on pci0:17
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
apm0: disabled, not probed.
changing root device to sd0a

>Description:

When I connect the Exabyte 8505XL to the SCSI bus (as target 6) and try to 
boot, the following happens...(The Exabyte is detected happily by the
Adaptec's preboot probing and the ID string is displayed).

ahc0:A:6: refuses WIDE negotiation.  Using 8bit transfers
ahc0: board is not responding
(ahc0:6:0): time out in datain phase, SCSISIGI==0x44 SEQADDR==0x13b
(ahc0:6:0): abort message in message buffer
ahc0: board is not responding
cmd fail
(ahc0:6:0): "unknown unknown ?????" type 13 fixed SCSI 0
uk0(ahc0:6:0): Unknown
ahc0: board is not responding
(ahc0:6:1): time out......

     repeat for all the LUNs followed by a reboot


>How-To-Repeat:

add the Exabyte to the bus.


>Fix:
	

>Release-Note:
>Audit-Trail:

From: Steve Grandi <grandi@noao.edu>
To: FreeBSD-gnats@freefall.freebsd.org, freebsd-bugs@freefall.freebsd.org
Cc:  Subject: Re: kern/2828: Adaptec 2940 Ultra cannot see Exabyte 8505 and loops during boot
Date: Thu, 27 Feb 1997 11:11:27 -0700 (MST)

 Rob Nelson <rob@mag-net.com> suggested that I tell the Adaptec BIOS to not
 try Wide transfers with the Exabyte.  I did as he suggested and Exabyte was
 found fine!  Thanks Rob!
 
 Steve Grandi, grandi@noao.edu
 
 
 FreeBSD 2.2-970225-GAMMA #0: Wed Feb 26 11:56:29 MST 1997
     grandi@new-www.tuc.noao.edu:/usr/src/sys/compile/WWW
 Calibrating clock(s) relative to mc146818A clock ... i586 clock: 199436527 Hz, i8254 clock: 1193211 Hz
 CPU: Pentium Pro (199.43-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x617  Stepping=7
   Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,<b11>,MTRR,PGE,MCA,CMOV>
 real memory  = 100663296 (98304K bytes)
 avail memory = 94969856 (92744K bytes)
 Probing for devices on PCI bus 0:
 chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
 chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
 chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
 ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:11
 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
 ahc0 waiting for scsi devices to settle
 (ahc0:1:0): "MICROP 3391SS P419" type 0 fixed SCSI 2
 sd0(ahc0:1:0): Direct-Access 8681MB (17780058 512 byte sectors)
 (ahc0:2:0): "MICROP 3391SS P419" type 0 fixed SCSI 2
 sd1(ahc0:2:0): Direct-Access 8681MB (17780058 512 byte sectors)
 (ahc0:3:0): "MICROP 3391SS P419" type 0 fixed SCSI 2
 sd2(ahc0:3:0): Direct-Access 8681MB (17780058 512 byte sectors)
 ahc0:A:5: refuses WIDE negotiation.  Using 8bit transfers
 (ahc0:5:0): "MATSHITA CD-ROM CR-506 8S04" type 5 removable SCSI 2
 cd0(ahc0:5:0): CD-ROM cd present [253530 x 2048 byte records]
 (ahc0:6:0): "EXABYTE EXB-85058SQANXR1 07T0" type 1 removable SCSI 2
 st0(ahc0:6:0): Sequential-Access density code 0x0,  drive empty
 vx0 <3COM 3C905 Fast Etherlink XL PCI> rev 0 int a irq 10 on pci0:15
 mii[*mii*] address 00:60:97:6e:a4:d6
 vga0 <VGA-compatible display device> rev 65 on pci0:17
 Probing for devices on the ISA bus:
 sc0 at 0x60-0x6f irq 1 on motherboard
 sc0: VGA color <16 virtual consoles, flags=0x0>
 sio0 at 0x3f8-0x3ff irq 4 on isa
 sio0: type 16550A
 sio1 at 0x2f8-0x2ff irq 3 on isa
 sio1: type 16550A
 sio2: disabled, not probed.
 sio3: disabled, not probed.
 lpt0 at 0x378-0x37f irq 7 on isa
 lpt0: Interrupt-driven port
 lp0: TCP/IP capable interface
 psm0 at 0x60-0x64 irq 12 on motherboard
 psm0: device ID 0
 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
 fdc0: NEC 72065B
 fd0: 1.44MB 3.5in
 npx0 on motherboard
 npx0: INT 16 interface
 apm0: disabled, not probed.
 changing root device to sd0a
 
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Sat Mar 8 23:23:55 PST 1997 
State-Changed-Why:  
Configuration problem.  The originator states that configuring 
the Adaptec card to not trywide transfers with the tape drive 
eliminates the problem. 

Perhaps we need some type of a no-wide quirk for this tape drive? 
>Unformatted:
