[2813] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: [2.1.x] AIC7xxx problems

daemon@ATHENA.MIT.EDU (Michael H. Warfield)
Fri Nov 14 11:51:38 1997

From: "Michael H. Warfield" <mhw@wittsend.com>
In-Reply-To: <Pine.LNX.3.96.971113215323.319A-100000@ufp.in-trier.de> from Bernhard Rosenkraenzer at "Nov 13, 97 09:53:36 pm"
To: linux@bero-online.ml.org (Bernhard Rosenkraenzer)
Date: 	Fri, 14 Nov 1997 11:45:55 -0500 (EST)
Cc: linux-scsi@vger.rutgers.edu

Bernhard Rosenkraenzer enscribed thusly:
> Hello,

> I'm having some problems with an Adaptec AHA2940UW SCSI controller in new
> 2.1 Linux kernels (at least 2.1.59-2.1.63):
> The driver doesn't detect my IMS CDD2000 anymore (The other devices
> continue to work fine; the CDD2000 works with 2.0.30).
> The thing that sets the CDD2000 apart from the other devices I'm using is
> that it can't handle Wide-SCSI or synchronous transfers, I guess the
> problem is related to this.

	That's really weird because that's my exact same setup in my office
workstation.  It's a Pentium Pro with an AHA2940UW, 3 Ultra Wide 2 Gig
drives and then an internal CDD2000.  Here's my "cat /proc/proc/scsi"

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST32155W         Rev: 0528
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: SEAGATE  Model: ST32171W         Rev: 0338
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: WDIGTL   Model: ENTERPRISE       Rev: 1.43
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: IMS      Model: CDD2000/00       Rev: 1.20
  Type:   CD-ROM                           ANSI SCSI revision: 02

	This is currently running 2.1.60 and running just fine.

	One question does come to mind though...  Are you using the internal
or external version of the CDD2000.  If you are using the external version,
you would have to be using one of the Wide to normal style external SCSI
cables.  In the configuration section of the AHA2940 manual there are some
documented combinations of internal narrow bus, internal wide bus, and
external bus.  External narrow bus is explicitly excluded.  Also excluded
are combinations using ALL THREE.  Both of those conditions result in problems
with the bus terminations.  I noticed that recent AHA2940 drivers contain
warnings when they detect card autotermination to check to make sure the
termination is correct.  I'm wondering if something might have changed with
the latest drivers that has affected the cards behavior in this regard and
now your bus is no longer properly terminated.  It would fit your symptoms.

	One difference between my setup and yours...  I don't have any
other narrow bus devices on the card.  Looks like your CD-ROM and
possibly the Connor Hard Drive are narrow bus.  Only the IBM Hard drive
looks like it's a wide bus (higher rate, model terminates in "W").  If
ALL of your narow devices are internal, you are all set.  If you've got
some internal and some external along with the interal wide bus drive,
all bets are off...

> Any ideas?

> LLaP
> bero
> 
> This is the kernel output at boot time (the CDD2000 is at ID 5):
> 
>  aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 8
>  scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.1/3.2
>  scsi : 1 host.
>    Vendor: CONNER    Model: CFP2105S  2.14GB  Rev: 2B4B
>    Type:   Direct-Access                      ANSI SCSI revision: 02
>  Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
>    Vendor: IBM       Model: DCAS-34330W       Rev: S65A
>    Type:   Direct-Access                      ANSI SCSI revision: 02
>  Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
>    Vendor: PLEXTOR   Model: CD-ROM PX-12TS    Rev: 1.02
>    Type:   CD-ROM                             ANSI SCSI revision: 02
>  Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
>  scsi0: Target 5, channel A, refusing WIDE negotiation; using 8 bit
> transfers.
>  scsi : detected 1 SCSI cdrom 2 SCSI disks total.
> 
> Configuration (as found in /proc/scsi/aic7xxx/0):
> 
> Adaptec AIC7xxx driver version: 4.1/3.2
> Compile Options:
>   AIC7XXX_RESET_DELAY    : 15
>   AIC7XXX_TAGGED_QUEUEING: Disabled
>   AIC7XXX_PAGE_ENABLE    : Disabled
>   AIC7XXX_PROC_STATS     : Disabled
> 
> Adapter Configuration:
>           SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
>                         (AIC-788x chipset)
>               Host Bus: Wide
>                Base IO: 0x6400
>         Base IO Memory: 0xe0804000
>                    IRQ: 10
>                   SCBs: Used 3, HW 16, Page 16
>             Interrupts: 3294
>          Serial EEPROM: True
>   Extended Translation: Enabled
>         SCSI Bus Reset: Enabled
>             Ultra SCSI: Enabled
>      Target Disconnect: Enabled
> 
> 
> In 2.0.30:
> 
> scsi0: Target 0, channel A, now synchronous at 10.0MHz, offset 15.
>   Vendor: CONNER    Model: CFP2105S  2.14GB  Rev: 2B4B
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> scsi0: Target 1, channel A, now synchronous at 20.0MHz, offset 8.
>   Vendor: IBM       Model: DCAS-34330W       Rev: S65A
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
> scsi0: Target 4, channel A, now synchronous at 10.0MHz, offset 15.
>   Vendor: PLEXTOR   Model: CD-ROM PX-12TS    Rev: 1.02
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
> scsi0: Target 5, channel A, refusing WIDE negotiation; using 8 bit
> transfers.
> scsi0: Target 5, channel A, refusing synchronous negotiation; using
> asynchronous transfers.
>   Vendor: IMS       Model: CDD2000/00        Rev: 1.26
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr1 at scsi0, channel 0, id 5, lun 0
> scsi : detected 2 SCSI cdroms 2 SCSI disks total.
> 
> 
> Adaptec AIC7xxx driver version: 4.0/3.2/4.0
> 
> Compile Options:
>   AIC7XXX_RESET_DELAY    : 15
>   AIC7XXX_TWIN_SUPPORT   : Enabled
>   AIC7XXX_TAGGED_QUEUEING: Disabled
>   AIC7XXX_PAGE_ENABLE    : Disabled
>   AIC7XXX_PROC_STATS     : Disabled
> 
> Adapter Configuration:
>           SCSI Adapter: AHA-2940 Ultra
>                         (AIC-788x chipset)
>               Host Bus: Wide
>                Base IO: 0x6400
>                    IRQ: 10
>                   SCBs: Used 4, HW 16, Page 16
>             Interrupts: 3564
>          Serial EEPROM: True
>   Extended Translation: Enabled
>         SCSI Bus Reset: Enabled
>             Ultra SCSI: Enabled
>      Target Disconnect: Enabled


	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

home help back first fref pref prev next nref lref last post