Try to increase the time after resetting the bus. You need to compile a new kernel
with about 10 or 15 seconds (default are five seconds).  You will find the option
under SCSI support => SCSI low-level drivers => Delay in seconds after SCSI bus
reset.
That may help.

Greetings, Dietmar

Maximilien Oursel wrote:

> Hello,
> I have a SCSI Timeout problem that I have beeing trying to solve for some time
> now.
> I saw that there is a new update for the AIC7xxx driver (5.1.14)
> my questions are:
> 1) should I update the driver? If it's worse how can I get back to the previous
> driver?
> 2) is the problem else where and how can I solve it?
>
> I have provided some information on my system, please fell free to ask for more
> if you need so.
>
> Thx in advance for the help you will bring.
>                                    M
>
> MY HARDWARE:
> -----------
> Mother board: Asus P2L97 440LX AGP
> Pentium II 233MHz, overcloked at 300MHz
> 128 Mo of RAM
> SCSI: Adaptec 2940UW PCI, Bios updated to 1.34.3 (I already had the problem
> before)
> Hard Disk: Quantum UW 2.2Go and 4.5Go
> CD-Rom: Plextor 32x
> CD-Writer: Yamaha CDR400
> Jaz 1Go external
>
> SOFTWARE:
> --------
> RedHat French 5.2 with kernel 2.0.36-0.7
>
> I tried with kernel 2.0.36-3: no change
> I tried with only the 2 HD and the CD-Rom (with a physical terminator on the
> cd-rom): no change
> I even tried with only the 2 HD: no change
>
> ---
> BOOTING MESSAGES:
>
> Memory: sized by int13 0e801h
> Console: 16 point font, 400 scans
> Console: colour VGA+ 80x25, 1 virtual console (max 63)
> pcibios_init : BIOS32 Service Directory structure at 0x000f9a20
> pcibios_init : BIOS32 Service Directory entry at 0xf04e0
> pcibios_init : PCI BIOS revision 2.10 entry at 0xf0510
> Probing PCI hardware.
> Calibrating delay loop.. ok - 299.01 BogoMIPS
> Memory: 127568k/131072k available (748k kernel code, 384k reserved, 2164k 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: IGMP, ICMP, UDP, TCP
> Linux IP multicast router 0.07.
> 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.36 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #1 Tue Oct 13
> 22:17:11 EDT 1998
> Starting kswapd v 1.4.2.2
> 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
> PS/2 auxiliary pointing device detected -- driver installed.
> Real Time Clock Driver v1.09
> Ramdisk driver initialized : 16 ramdisks of 4096K size
> ide: i82371 PIIX (Triton) on PCI bus 0 function 33
>     ide0: BM-DMA at 0xc800-0xc807
>     ide1: BM-DMA at 0xc808-0xc80f
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> md driver 0.36.3 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).
> (scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 11/0
> (scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
> (scsi0) Warning - detected auto-termination
> (scsi0) Please verify driver detected settings are correct.
> (scsi0) If not, then please properly set the device termination
> (scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
> (scsi0) during machine bootup.
> (scsi0) Cables present (Int-50 NO, Int-68 YES, Ext-68 YES)
> (scsi0) Downloading sequencer code... 419 instructions downloaded
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.2/3.2.4
>        <Adaptec AHA-294X Ultra SCSI host adapter>
> scsi : 1 host.
>   Vendor: QUANTUM   Model: XP32275W          Rev: LXY4
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
>   Vendor: QUANTUM   Model: XP34550W          Rev: LXY4
>   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-32TS    Rev: 1.02
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
>   Vendor: YAMAHA    Model: CDR400t           Rev: 1.0j
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr1 at scsi0, channel 0, id 3, lun 0
>   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
> (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 4445380 [2170 MB] [2.2 GB]
>  sda: sda1 sda2 < sda5 sda6 >
> (scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 8.
> SCSI device sdb: hdwr sector= 512 bytes. Sectors= 8890760 [4341 MB] [4.3 GB]
>  sdb: sdb1 sdb2 < sdb5 sdb6 sdb7 >
> (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]
> sdc: Write Protect is off
>  sdc: sdc4
> VFS: Mounted root (ext2 filesystem) readonly.
> Trying to unmount old root ... okay
> Adding Swap: 32092k swap-space (priority -1)
> sysctl: ip forwarding off
> Swansea University Computer Society IPX 0.34 for NET3.035
> IPX Portions Copyright (c) 1995 Caldera, Inc.
> Appletalk 0.17 for Linux NET3.035
> scsi : aborting command due to timeout : pid 3249, scsi0, channel 0, id 4, lun 0
> Write (6) 00 00 21 01 00
> scsi : aborting command due to timeout : pid 3250, scsi0, channel 0, id 4, lun 0
> Write (6) 00 01 21 01 00
> scsi : aborting command due to timeout : pid 3251, scsi0, channel 0, id 4, lun 0
> Write (6) 00 02 21 01 00
> scsi : aborting command due to timeout : pid 3246, scsi0, channel 0, id 1, lun 0
> Write (10) 00 00 67 b3 c2 00 00 02 00
> scsi : aborting command due to timeout : pid 3247, scsi0, channel 0, id 1, lun 0
> Write (10) 00 00 69 b3 b6 00 00 02 00
> scsi : aborting command due to timeout : pid 3248, scsi0, channel 0, id 1, lun 0
> Write (10) 00 00 6a b3 b4 00 00 04 00
> SCSI host 0 abort (pid 3246) timed out - resetting
> SCSI bus is being reset for host 0 channel 0.
> (scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 8.
> (scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15.
>
> ----
>
> PCI devices found:
>   Bus  0, device  11, function  0:
>     SCSI storage controller: Adaptec AIC-7881U (rev 1).
>       Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable.
> Latency=32.  Min Gnt=8.Max Lat=8.
>       I/O at 0xc000.
>       Non-prefetchable 32 bit memory at 0xdd800000.
>   Bus  0, device   4, function  3:
>     Bridge: Intel 82371AB PIIX4 ACPI (rev 1).
>       Medium devsel.  Fast back-to-back capable.
>   Bus  0, device   4, function  2:
>     USB Controller: Intel 82371AB PIIX4 USB (rev 1).
>       Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.
> Latency=32.
>       I/O at 0xc400.
>   Bus  0, device   4, function  1:
>     IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
>       Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.
>       I/O at 0xc800.
>   Bus  0, device   4, function  0:
>     ISA bridge: Intel 82371AB PIIX4 ISA (rev 1).
>       Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.
>   Bus  1, device   0, function  0:
>     VGA compatible controller: ATI Mach64 GB (rev 92).
>       Medium devsel.  Fast back-to-back capable.  IRQ 127.  Master Capable.
> Latency=64.  Min Gnt=8.
>       Prefetchable 32 bit memory at 0xdf000000.
>       I/O at 0xd800.
>       Non-prefetchable 32 bit memory at 0xde000000.
>   Bus  0, device   1, function  0:
>     PCI bridge: Intel 440LX - 82443LX PAC AGP (rev 3).
>       Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.
> Min Gnt=9.
>   Bus  0, device   0, function  0:
>     Host bridge: Intel 440LX - 82443LX PAC Host (rev 3).
>       Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.
>       Prefetchable 32 bit memory at 0xe0000000.
>
> ----
>
> Adaptec AIC7xxx driver version: 5.1.2/3.2.4
> Compile Options:
>   AIC7XXX_RESET_DELAY    : 15
>   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     : Disabled
>
> Adapter Configuration:
>            SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
>                            Ultra Wide Controller
>     PCI MMAPed I/O Base: 0xdd800000
>  Adapter SEEPROM Config: SEEPROM found and used.
>       Adaptec SCSI BIOS: Enabled
>                     IRQ: 11
>                    SCBs: Active 0, Max Active 2,
>                          Allocated 15, HW 16, Page 255
>              Interrupts: 3731
>       BIOS Control Word: 0x18a6
>    Adapter Control Word: 0x0053
>    Extended Translation: Enabled
> Disconnect Enable Flags: 0xffff
>      Ultra Enable Flags: 0x0003
>  Tag Queue Enable Flags: 0x0000
> Ordered Queue Tag Flags: 0x0000
> Default Tag Queue Depth: 8
>     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
>   40.0 MByte/sec, offset 8
>     Device Negotiation Settings
>         Period Offset Bus Width
> User       012    008        1
> Goal       012    008        1
> Current    012    008        1
>     Total transfers 103 (103 read;0 written)
>       blks(512) rd=109; blks(512) wr=0
>
> (scsi0:0:1:0)
>   Device using Wide/Sync transfers at
>   40.0 MByte/sec, offset 8
>     Device Negotiation Settings
>         Period Offset Bus Width
> User       012    008        1
> Goal       012    008        1
> Current    012    008        1
>     Total transfers 2815 (2005 read;810 written)
>       blks(512) rd=19071; blks(512) wr=2066
>
> (scsi0:0:4:0)
>   Device using Narrow/Sync transfers at
>   10.0 MByte/sec, offset 15
>     Device Negotiation Settings
>         Period Offset Bus Width
> User       012    008        1
> Goal       012    015        0
> Current    025    015        0
>     Total transfers 675 (628 read;47 written)
>       blks(512) rd=630; blks(512) wr=805
>
> ----
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to [EMAIL PROTECTED]






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

Reply via email to