Hi!

We have some serious problems to set up our Linux-server
timeout problems (system hang) with aic7895

When we execute some heavy file transfers
tar - | tar - , or similar cp actions we get this:

: scsi : aborting command due to timeout : pid 199204, scsi0, channel 0, id 1,
lun 0 Read (6) 17 03 17 02 00
: (scsi0:0:1:0) Parity error during Command phase.
: SCSI host 0 abort (pid 199204) timed out - resetting
: SCSI bus is being reset for host 0 channel 0.
: SCSI host 0 channel 0 reset (pid 199204) timed out - trying hardertimeout
: SCSI bus is being reset for host 0 channel 0.
: (scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 8.
: (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
: SCSI host 0 abort (pid 199204) timed out - resetting
: SCSI bus is being reset for host 0 channel 0.
: scsi : aborting command due to timeout : pid 200515, scsi0, channel 0, id 0,
lun 0 Read (6) 01 80 49 02 00
: scsi : aborting command due to timeout : pid 200562, scsi0, channel 0, id 0,
lun 0 Read (6) 03 ee 73 02 00
: SCSI host 0 channel 0 reset (pid 199204) timed out - trying harder
: SCSI bus is being reset for host 0 channel 0.
: SCSI host 0 reset (pid 199204) timed out again -
: probably an unrecoverable SCSI bus or device hang.

We also tried different transfere rates (via BIOS) between 20 and 40 Mbyte/sec:
the same as above. Without heavy traffic on the SCSI-bus the systems seems to
be stable.


Hardware:
- GigaByte BXDS - Dual Slot1 and aic7895 dual channel UW SCSI chip
- Running actually with only one CPU : Celeron 300A
- 64 MB SDRAM
- 2(3) Seagate ST34520W drives
(- Toshiba  Model: CD-ROM XM-3501TA Rev: 3054)
(- HP DAT   Model: C1533A           Rev: 9503)
- PCI NE2000 clone 'RealTek RTL-8029'
- CirrusLogic 5446 VGA

Linux:
RedHat 5.2 distribution with patches
Kernel 2.0.36 or  2.2.0-pre4 to -pre9
slightly different behaviour with fdisk but problem persists

For kernel 2.0.36 we applied patches for aic7xxx.c: 5.1.2 -> 5.1.6
(ftp://ftp.redhat.com/pub/aic/)

Tested:
Cabling, termination, swapping drive IDs and positions - on both channels A
and B, no BIOS control (with 1542C for booting) - problem still
persisting.

With 1542 contr. max. 8Mbyte/sec without any timeouts is possible
otherwise (10M/s) it won't recognize any devices (???) in this GiBy BXDS board.

Testing aic7895 with narrow devices up to 10Mbyte/sec (CD and tape) seems
to be o.k. but not tested with narrow HDDs yet...

The Seagate drives function well at 40.0 Mbyte/sec with the same Peripherials
in a GigaByte BXS (Single slot 1 with aic7800 UW) - only difference is the
CPU: PII266.

Somehow strange: every of our three equal Seagate drives behave
different in respect of failure rate (one very often, the others
rare) independent of their position on the scsi-bus or as boot or
non boot device.


Any ideas / experience / help?

Thanks i.a.!

===============================================================================
 Janos Palinkas : Institute f. Physical Biology
                  Heinrich-Heine-University
                  40225 Duesseldorf / Germany

          email : [EMAIL PROTECTED]



BOOTLOG:
...
: (scsi0) <Adaptec AIC-7895 Ultra SCSI host adapter> found at PCI 12/0
: (scsi0) Wide Channel A, SCSI ID=7, 32/255 SCBs
: (scsi0) Downloading sequencer code... 404 instructions downloaded
: (scsi1) <Adaptec AIC-7895 Ultra SCSI host adapter> found at PCI 12/1
: (scsi1) Wide Channel B, SCSI ID=7, 32/255 SCBs
: (scsi1) Downloading sequencer code... 404 instructions downloaded
: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
:        <Adaptec AIC-7895 Ultra SCSI host adapter>
: scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
:        <Adaptec AIC-7895 Ultra SCSI host adapter>
: scsi : 2 hosts.
:   Vendor: SEAGATE   Model: ST34520W          Rev: 1281
:   Type:   Direct-Access                      ANSI SCSI revision: 02
: Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
:   Vendor: SEAGATE   Model: ST34520W          Rev: 1281
:   Type:   Direct-Access                      ANSI SCSI revision: 02
: Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
: scsi : detected 2 SCSI disks total.
: (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
: SCSI device sda: hdwr sector= 512 bytes. Sectors= 8888924 [4340 MB] [4.3 GB]
: (scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 8.
: SCSI device sdb: hdwr sector= 512 bytes. Sectors= 8888924 [4340 MB] [4.3 GB]
...
: scsi logging level set to 0x00000001
...
: scsi logging level set to 0x01249241



/proc/scsi/aic7xxx/0:

Adaptec AIC7xxx driver version: 5.1.10/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 5
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Enabled

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7895 Ultra SCSI host adapter
                           Ultra Wide Controller Channel A
    PCI MMAPed I/O Base: 0xe8000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 10
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 32, Page 255
             Interrupts: 243819
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x005e
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Wide/Sync transfers at 20.0 MByte/sec, offset 8
  Transinfo settings: current(25/8/1), goal(25/8/1), user(25/8/1)
  Total transfers 151208 (99247 reads and 51961 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1   91571    1446    2539    2456     379     458     397
  Writes:       0   44014    5985    1250      71      69      28     544


(scsi0:0:1:0)
  Device using Wide/Sync transfers at 20.0 MByte/sec, offset 8
  Transinfo settings: current(25/8/1), goal(25/8/1), user(25/8/1)
  Total transfers 92477 (84116 reads and 8361 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1   78475      91      62     613      82    4792       0
  Writes:       0    5171    2146     307     670      36      20      11


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to