Newsgroup: it.comp.hardware
Titolo: Problemi con HD SCSI IBM DCAS-34330W + Adaptec AHA-2940 Ultra Wide

Ciao, da alcuni giorni ho dei problemi con un HD SCSI IBM connesso
ad un controller Adaptec AHA-2940 UW.  Come potete vedere dalla
configurazione e dal log seguenti l'HD va in timeout
per una decina di secondi con una frequenza di una/due volte al giorno,
senza nessun motivo apparente (nessun errore sulla superficie e` segnalato
dalle utility Adaptec EZ-SCSI).
In passato non era mai successo; qualcuno ha qualche idea?
Grazie in anticipo!
			-Sandro
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Output di vari comandi sulla configurazione:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/home/sergio% uname  -a
Linux 
athena.milk.it
 2.0.27 #5 Sat Jun 7 20:02:28 MET DST 1997 i686
/home/sergio% cat /proc/scsi/aic7xxx/0
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: 0xe000
                   IRQ: 12
                  SCBs: Used 2, HW 16, Page 16
            Interrupts: 6159
         Serial EEPROM: True
  Extended Translation: Enabled
        SCSI Bus Reset: Enabled
            Ultra SCSI: Enabled
     Target Disconnect: Enabled
/home/sergio% cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DCAS-34330W      Rev: S61A
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: PLEXTOR  Model: CD-ROM PX-20TS   Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Messaggio di boot:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000f8050
pcibios_init : BIOS32 Service Directory entry at 0xf7aa0
pcibios_init : PCI BIOS revision 2.10 entry at 0xf7ad0
Probing PCI hardware.
Calibrating delay loop.. ok - 199.07 BogoMIPS
Memory: 62844k/65536k available (732k kernel code, 384k reserved, 1216k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.27 (
ro...@athena.milk.it
) (gcc version 2.7.2.1) #5 Sat Jun 7 20:02:28 MET DST 1997
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
Sound initialization started
<Sound Blaster 16 (4.16)> at 0x220 irq 5 dma 1,5
<Sound Blaster 16> at 0x330 irq 5 dma 0
<Yamaha OPL3 FM> at 0x388
Sound initialization complete
Ramdisk driver initialized : 16 ramdisks of 4096K size
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2 
FDC 0 is a post-1991 82077
md driver 0.35 MAX_MD_DEV=4, MAX_REAL=8
scsi : 0 hosts.
scsi : detected total.
Partition check:
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
aic7xxx: BurstLen = 8 DWDs, Latency Timer = 32 PCLKS
aic7xxx: AHA-2940 Ultra Rev B.
aic7xxx: devconfig = 0x1580.
aic7xxx: Reading SEEPROM...done.
aic7xxx: Enabling support for Ultra SCSI speed.
aic7xxx: Extended translation enabled.
aic7xxx: Memory check yields 16 SCBs, paging not enabled.
aic7xxx: Enabling wide channel of AHA-2940 Ultra-Wide.
AHA-2940 Ultra-WIDE (PCI-bus), I/O 0xe000, Mem 0xfa000000:
    irq 12
    bus release time 40 bclks
    data fifo threshold 100%
    SCSI CHANNEL A:
        scsi id 7
        scsi selection timeout 256 ms
        scsi bus reset at power-on enabled
        scsi bus parity enabled
        scsi bus termination (low byte) disabled
        scsi bus termination (high byte) enabled
aic7xxx: Downloading sequencer code...done.
aic7xxx: Resetting the SCSI bus...done.
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
scsi : 1 host.
scsi0: Scanning channel A for devices.
scsi0: Received MSG_WDTR, Target 0, channel A needwdtr(0xfffb).
scsi0: Target 0, channel A, using 16 bit transfers.
scsi0: Target 0, channel A, now synchronous at 20.0MHz, offset 8.
  Vendor: IBM       Model: DCAS-34330W       Rev: S61A
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi0: Received MSG_WDTR, Target 3, channel A needwdtr(0xfffa).
scsi0: Target 3, channel A, now synchronous at 10.0MHz, offset 15.
  Vendor: PLEXTOR   Model: CD-ROM PX-20TS    Rev: 1.00
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8467200 [4134 MB] [4.1 GB]
 sda: sda1 sda2 sda3 sda4
VFS: Mounted root (ext2 filesystem) readonly.
Trying to unmount old root ... okay
Adding Swap: 72288k swap-space
Swansea University Computer Society IPX 0.34 for NET3.035
IPX Portions Copyright (c) 1995 Caldera, Inc.
Appletalk 0.17 for Linux NET3.035
3c509: WARNING! Module load-time probing works reliably only for EISA bus!!
loading device 'eth0'...
eth0: 3c509 at 0x300 tag 1, BNC port, address  00 20 af 90 7e 8e, IRQ 11.
3c509.c:1.07 6/15/95 
bec...@cesdis.gsfc.nasa.gov
CSLIP: code copyright 1989 Regents of the University of California
PPP: version 2.2.0 (dynamic channel allocation)
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
registered device ppp0
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Messaggio di errore generato:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
scsi : aborting command due to timeout : pid 5920, scsi0,
channel 0, id 0, lun 0 0x2a 00 00 21 de 27 00 00 02 00
aic7xxx: (abort) Aborting scb 1, TCL 0/0/0
scsi : aborting command due to timeout : pid 5920, scsi0, channel 0, id 0,
lun 0 0x2a 00 00 21 de 27 00 00 02 00
aic7xxx: (abort) Aborting scb 1, TCL 0/0/0
SCSI host 0 abort (pid 5920) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 0/0
aic7xxx: (abort_reset) scb state 0x1, Data-Out phase, SCSISIGI = 0x4
aic7xxx: (reset_device) target/channel -1/A, active_scb 1
aic7xxx: (match_scb) comparing target/channel -1/A to scb 0/A
aic7xxx: (reset_device) aborting SCB 0, TCL=0/0/0
aic7xxx: (match_scb) comparing target/channel -1/A to scb 0/A
aic7xxx: (match_scb) comparing target/channel -1/A to scb 0/A
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
aic7xxx: (done_aborted_scbs) Aborting scb 0, TCL=0/0/0
aic7xxx: (done_aborted_scbs) Aborting scb 1, TCL=0/0/0
scsi0: Target 0, channel A, now synchronous at 20.0MHz, offset 8.


Ho installato il kernel 2.0.32 con autoterminazione automatica.
Ho un pentium II con chipset LX, funziona tutto e molto bene;
se vuoi ti posso spedire il mio syslog.
Un simile problema lo avevo quando utilizzao un 2940W, pero' lo tenuto
talmente poco che non ho potuto piu' verificarne il funzionamento
(mi succedeva mentre utilizzavo il computer e non durante il boot).
Ciao.
-- 
// Umberto Zanatta         | e-mail: 
uzan...@nsl.ghirada.it
// Via Pasubio, 22/3       |         
lyap...@inca.dei.unipd.it
// 31022 - Preganziol (TV) |
// tel. 0422/93326         |