Re: SCSI problems with recent kernel (pre7/aic7xxx)

Tom Eastep (eastep@loc1.tandem.com)
Thu, 21 Jan 1999 05:33:56 +0000


This is a multi-part message in MIME format.
--------------0613CA2A1A7E66F877EF9223
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

VALETTE Eric wrote:
>
> As I got no answer yet, I post it here. I have seen someone complaining
> on the list with the exact same problem I have. My second SCSI disk
> in unusable....
>
> I use 2.2.0pre7. Below is my SCSI configuration.
>
> First the SCSI config
> ---------------------
>
> (scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 12/0
> (scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
> (scsi0) Downloading sequencer code... 419 instructions downloaded
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
> <Adaptec AHA-294X Ultra SCSI host adapter>
> scsi : 1 host.
> Vendor: IBM OEM Model: DCHS09U Rev: 5353
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> (scsi0:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 8.
> Vendor: SEAGATE Model: ST39140N Rev: 1206
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
> (scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> Vendor: YAMAHA Model: CRW4260 Rev: 1.0h
> Type: CD-ROM ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
> Vendor: HP Model: C1533A Rev: A612
> Type: Sequential-Access ANSI SCSI revision: 02
> Detected scsi tape st0 at scsi0, channel 0, id 3, lun 0
> (scsi0:0:3:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> Vendor: iomega Model: jaz 1GB Rev: J^77
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi removable disk sdc at scsi0, channel 0, id 4, lun 0
> scsi : detected 1 SCSI tape 1 SCSI cdrom 3 SCSI disks total.
> sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 17796077 [8689 MB] [8.7 GB]
> SCSI device sdb: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB]
> (scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> SCSI device sdc: hdwr sector= 512 bytes. Sectors= 2091050 [1021 MB] [1.0 GB]
>
> Additionnal info :
> ------------------
> - The IBM OEM drive is a internal drive connected via the 50 pins slot
> - Other scsi are external devices connected via the external 68 pin slot
> - I have an IDE CDROM
>
> Then the error messages
> ----------------------
>
> Current error sd08:12: sense key Aborted Command
> Additional sense indicates Scsi parity error
> scsidisk I/O error: dev 08:12, sector 2310172
> scsi0 channel 0 : resetting for second half of retries.
> SCSI bus is being reset for host 0 channel 0.
> (scsi0:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 8.
> (scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> SCSI disk error : host 0 channel 0 id 1 lun 0 return code = 18000002
> Current error sd08:12: sense key Aborted Command
> Additional sense indicates Scsi parity error
> scsidisk I/O error: dev 08:12, sector 2310174
>
> NB : I have used the adaptec SCSI BIOS to re-format low level the Seagate disk and
> also used the check disk utility : they do not report problems. I have set the
> termination in the BIOS as follow :
>
> - low byte = Off
> - high byte = On,
>
> I have put the termination on the external cable. I do not know for the internal
> disk. But anyway this config used to work with older kernels... No copying
> vmlinux from the IBM OEM disk to the SEGATE kill the systems each time
> (llop of SCSI reset and then lookup)
>
> Any hint/patch welcome.
>

I saw similar problems when I started using the later AIC7xxx drivers. I
suspect that the problem has to do with the handling of external
devices. On my HP Vectra XU, the BIOS has a setting that disables ultra
(20 MB/sec) transfers when any devices are attached to the external
68-pin connector. I believe that recent AIC7xxx continue to try to
transfer an 20MB/sec even when the BIOS is so configured and such
external devices are attached (despite the fact that the total cable
length may be 7 feet or more). I solved this problem by taking a surplus
AVA1505 out of the closet and attaching some of the external devices to
that controller; those who don't have such a well stocked closet may not
be able to get around the problem that way...

-Tom

-- 
Tom Eastep
Compaq Computer Corporation
Enterprise Computing Group
Tandem Division
tom.eastep@compaq.com
--------------0613CA2A1A7E66F877EF9223
Content-Type: text/x-vcard; charset=us-ascii;
 name="eastep.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Tom Eastep
Content-Disposition: attachment;
 filename="eastep.vcf"

begin:vcard n:Eastep;Tom x-mozilla-html:TRUE org:Compaq Computer Corporation;Tandem Division adr:;;;;;; version:2.1 email;internet:tom.eastep@compaq.com x-mozilla-cpt:;-6528 fn:Tom Eastep end:vcard

--------------0613CA2A1A7E66F877EF9223--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/