Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 1999 12:18:48 -0500
From:      "Gregory T. Norris" <haphazard@socket.net>
To:        aic7xxx@freebsd.org
Subject:   reset loop, 5.1.16 on kernel 2.2.7
Message-ID:  <19990502121848.A19529@glitch.snoozer.net>

next in thread | raw e-mail | index | archive | help
Last night, I had the aic7xxx driver go into an apparently neverending
cycle of attempting to reset the SCSI bus, and then timing out.  After
giving it about 45 minutes with no progress, I finally had to perform a
forced reboot.  At the time I was running version 5.1.16 under Linux
kernel 2.2.7 - all seems well if I revert to the 5.1.15 driver.

The messages I saw are as follows (my apologies if any are incorrect - I
had to write them down as they were scrolling by), repeated MANY times:

----------
wait_on_bh, CPU 0
irq: 0 [0 0]
bh:  1 [0 1]

<[c010ac0d]> <[c0154b36]> <[c0154bb1]> <[c0162f81]> <[c0146573]> <[c01304bb]> <[c013098a]> SCSI host 0 abort (pid 24015) timed out - resetting
SCSI bus is being reset for host 0 channel 0
SCSI host 0 channel 0 (pid 24015) timed out - trying harder
----------

The driver was compiled-in the kernel, with the following options (no
boot-time options were given):

     CONFIG_SCSI_AIC7XXX=y
     CONFIG_AIC7XXX_TCQ_ON_BY_DEFAULT=y
     CONFIG_AIC7XXX_CMDS_PER_DEVICE=24
     # CONFIG_AIC7XXX_PROC_STATS is not set
     CONFIG_AIC7XXX_RESET_DELAY=5

Now for some hardware details... the system is a dual PII-300 with 256Mb
of RAM.  The actual SCSI card is a 2940UW.  Below are the contents of
/proc/scsi/aic7xxx/0 and /proc/scsi/scsi (note: I'm pulling this in from
my current 5.1.15 environment).

---------- /proc/scsi/aic7xxx/0 ----------
Adaptec AIC7xxx driver version: 5.1.15/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
  AIC7XXX_PROC_STATS     : Disabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
                           Ultra Wide Controller
    PCI MMAPed I/O Base: 0xfebfe000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 19
                   SCBs: Active 0, Max Active 48,
                         Allocated 60, HW 16, Page 255
             Interrupts: 66071
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x005a
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0003
 Tag Queue Enable Flags: 0x0003
Ordered Queue Tag Flags: 0x0003
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 0:
      {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    Actual queue depth per device for aic7xxx host instance 0:
      {24,24,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
  Transinfo settings: current(12/8/1/0), goal(12/8/1/0), user(12/15/1/0)
  Total transfers 32899 (19379 reads and 13520 writes)


(scsi0:0:1:0)
  Device using Wide/Sync transfers at 40.0 MByte/sec, offset 8
  Transinfo settings: current(12/8/1/0), goal(12/8/1/0), user(12/15/1/0)
  Total transfers 32204 (7550 reads and 24654 writes)


(scsi0:0:5:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0/0), goal(12/15/0/0), user(12/15/0/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:6:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0/0), goal(12/15/0/0), user(12/15/0/0)
  Total transfers 0 (0 reads and 0 writes)

---------- /proc/scsi/scsi ----------
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST34501W         Rev: 0018
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: SEAGATE  Model: ST34501W         Rev: 0018
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: iomega   Model: jaz 1GB          Rev: J.86
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: PLEXTOR  Model: CD-ROM PX-20TS   Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
----------

I'd be happy to provide any additional information that might be
required.  Just let me know what would be helpful.

Thanx!



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990502121848.A19529>