[1717] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

EXT2 fs problem? Can anyone help?

daemon@ATHENA.MIT.EDU (Stephen Costaras)
Thu Apr 17 11:14:49 1997

From: Stephen Costaras <stevecs@chaven.com>
To: linux-scsi@vger.rutgers.edu
Date: 	Thu, 17 Apr 1997 10:08:35 -0500 (CDT)


Sorry to have to ask this question, but I've exhusted any ideas I might have in
finding out information elsewhere.  

I have been getting several types of errors lately from my news drive (running
INN v1.51) which is a 4-gig Seagate ST15150W Barracuda drive.  This drive
is off of an Adaptec AHA2940UW controller, along with a couple extra drives (news
is not a high-priority item here).

The types of errors that I have been getting are attached below.  I have been seeing this type of 
problem since 2.0.14 and have tried tracking it down through all revisions up to 2.0.30 which 
I'm running now.  I have been able to completely rule out the cables (Granite Digital), Active
terminator (Also Granite Digital), and the drive itself both by using Adaptec's block verification
program as well as running several stand-alone and simultanious badblock checks against the device.
The later was done to help test the low-level driver and hardware subsystem under load.  No problems
were reported.  The errors only seem to occur when INN is writing to the drive for the articles
which to me would indicate a problem w/ EXT2.  This happends on all drives that I use (swapped drives).
as well as on all controllers (I have 5 AHA2940UW's across all the systems here).  All cards/systems
have the exact same rom bios revisions (1.23 for the AHA2940).  

I have attempted to try turning on Tagged Queueing and Paging as well as leaving them off.  No observable
affects to the problem.

I have attached all the pertainent information below.  I am hopeing that someone here can help 
me carry on the search.


Stephen Costaras
stevecs@chaven.com

-----------> syslog <-----------
Apr  4 00:01:22 news kernel: scsi : aborting command due to timeout : pid 12707541, scsi1, channel 0, id 5, lun 0 0x08 02 da 37 16 00 
Apr  4 00:01:22 news kernel: aic7xxx: (abort) Aborting scb 0, TCL 5/0/0
Apr  4 00:01:22 news kernel: SCSI host 1 abort (pid 12707541) timed out - resetting
Apr  4 00:01:22 news kernel: SCSI bus is being reset for host 1 channel 0.
Apr  4 00:01:22 news kernel: aic7xxx: (reset) target/channel 5/0
Apr  4 00:01:22 news kernel: aic7xxx: (abort_reset) scb state 0x1, Data-Out phase, SCSISIGI = 0x0
Apr  4 00:01:22 news kernel: aic7xxx: (abort_scb) scb 0 is disconnected; bus device reset message queued.
Apr  4 00:01:22 news kernel: aic7xxx: (isr) sending bus device reset to target 5
Apr  4 00:01:22 news kernel: scsi : aborting command due to timeout : pid 12707539, scsi1, channel 0, id 5, lun 0 0x08 02 da 1f 08 00 
Apr  4 00:01:22 news kernel: aic7xxx: (abort) Aborting scb 10, TCL 5/0/0
Apr  4 00:01:22 news kernel: SCSI host 1 abort (pid 12707539) timed out - resetting
Apr  4 00:01:22 news kernel: SCSI bus is being reset for host 1 channel 0.
Apr  4 00:01:22 news kernel: aic7xxx: (reset) target/channel 5/0
Apr  4 00:01:22 news kernel: aic7xxx: (abort_reset) scb state 0x1, Message-Out phase, SCSISIGI = 0xa4
Apr  4 00:01:22 news kernel: aic7xxx: (abort_scb) scb 10 is disconnected; bus device reset message queued.
Apr  4 00:01:22 news kernel: scsi : aborting command due to timeout : pid 12707540, scsi1, channel 0, id 5, lun 0 0x08 aic7xxx: received IMMEDDONE for target 5, scb 22, state 7
Apr  4 00:01:22 news kernel: aic7xxx: (reset_device) target/channel 5/A, active_scb 0
Apr  4 00:01:22 news kernel: aic7xxx: (match_scb) comparing target/channel 5/A to scb 5/A
Apr  4 00:01:22 news last message repeated 8 times
Apr  4 00:01:22 news kernel: scsi1: Bus Device Reset delivered, 9 SCBs aborted.
Apr  4 00:01:22 news kernel: aic7xxx: (done_aborted_scbs) Aborting scb 6, TCL=5/0/0
Apr  4 00:01:22 news kernel: aic7xxx: (done_aborted_scbs) Aborting scb 2, TCL=5/0/0
Apr  4 00:01:22 news kernel: aic7xxx: (done_aborted_scbs) Aborting scb 10, TCL=5/0/0
Apr  4 00:01:22 news kernel: aic7xxx: (done_aborted_scbs) Aborting scb 7, TCL=5/0/0
Apr  4 00:01:22 news kernel: aic7xxx: (done_aborted_scbs) Aborting scb 14, TCL=5/0/0
Apr  4 00:01:22 news kernel: aic7xxx: (done_aborted_scbs) Aborting scb 15, TCL=5/0/0
Apr  4 00:01:22 news kernel: aic7xxx: (done_aborted_scbs) Aborting scb 0, TCL=5/0/0
Apr  4 00:01:22 news kernel: aic7xxx: (done_aborted_scbs) Aborting scb 3, TCL=5/0/0
Apr  4 00:01:22 news kernel: 02 da 2f 04 00 
Apr  4 00:01:22 news kernel: scsi1: Received MSG_WDTR, Target 5, channel A needwdtr(0xffe0).
Apr  4 00:01:22 news kernel: scsi1: Target 5, channel A, using 16 bit transfers.
Apr  4 00:01:22 news kernel: scsi1: Target 5, channel A, now synchronous at 10.0MHz, offset 8.

Apr  8 06:53:56 news kernel: EXT2-fs warning (device 08:61): ext2_free_blocks: bit already cleared for block 1652384
Apr  8 06:53:56 news last message repeated 3 times
Apr  8 06:53:56 news kernel: EXT2-fs warning (device 08:61): ext2_free_inode: bit already cleared for inode 412542
Apr  8 07:00:42 news kernel: EXT2-fs warning (device 08:61): ext2_free_blocks: bit already cleared for block 1652384
Apr  8 07:00:42 news kernel: EXT2-fs warning (device 08:61): ext2_free_blocks: bit already cleared for block 1652384
Apr  8 07:00:42 news kernel: EXT2-fs warning (device 08:61): ext2_free_inode: bit already cleared for inode 412542
Apr  8 07:01:59 news kernel: EXT2-fs warning (device 08:61): ext2_free_blocks: bit already cleared for block 1652374
Apr  8 07:01:59 news last message repeated 9 times

Apr 10 06:14:45 news kernel: attempt to access beyond end of device
Apr 10 06:14:45 news kernel: 08:61: rw=0, want=943141168, limit=4192933
Apr 10 06:14:45 news kernel: attempt to access beyond end of device
Apr 10 06:14:45 news kernel: 08:61: rw=0, want=1008744244, limit=4192933

Apr 17 01:16:06 news kernel: EXT2-fs error (device 08:61): ext2_readdir: bad entry in directory #530483: rec_len %  != 0 - offset=0, inode=779052897, rec_len=15882, name_len=2592
-------------> syslog <-----------
-------------> /proc/scsi <-----------
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST32550W         Rev: 0021
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST15150W         Rev: 0022
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 00
  Vendor: SEAGATE  Model: ST15150W         Rev: 0023
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
  Vendor: SEAGATE  Model: ST15150W         Rev: 0016
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 03 Lun: 00
  Vendor: SEAGATE  Model: ST15150W         Rev: 0016
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 04 Lun: 00
  Vendor: SEAGATE  Model: ST15150W         Rev: 0023
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 05 Lun: 00
  Vendor: SEAGATE  Model: ST15150W         Rev: 0022
  Type:   Direct-Access                    ANSI SCSI revision: 02
--------------> /proc/scsi <---------------
--------------> /proc/scsi/aic7xxx/1 <----------
Adaptec AIC7xxx driver version: 4.0/3.2/4.0

Compile Options:
  AIC7XXX_RESET_DELAY    : 15
  AIC7XXX_CMDS_PER_LUN   : 8
  AIC7XXX_TWIN_SUPPORT   : Enabled
  AIC7XXX_TAGGED_QUEUEING: Enabled
  AIC7XXX_PAGE_ENABLE    : Enabled
  AIC7XXX_PROC_STATS     : Disabled

Adapter Configuration:
          SCSI Adapter: AHA-2940 Ultra
                        (AIC-788x chipset)
              Host Bus: Wide
               Base IO: 0x8100
                   IRQ: 10
                  SCBs: Used 32, HW 16, Page 255
            Interrupts: 13959842
         Serial EEPROM: True
  Extended Translation: Disabled
        SCSI Bus Reset: Enabled
            Ultra SCSI: Disabled
     Target Disconnect: Enabled
------------> /proc/scsi/aic7xxx/1 <------------
-----------> /proc/pci <------------
PCI devices found:
  Bus  0, device  13, function  0:
    Ethernet controller: DEC DC21140 (rev 32).
      Medium devsel.  Fast back-to-back capable.  IRQ 15.  Master Capable.  Latency=32.  Min Gnt=20.Max Lat=40.
      I/O at 0x8200.
      Non-prefetchable 32 bit memory at 0xe0002000.
  Bus  0, device  12, function  0:
    SCSI storage controller: Adaptec AIC-7881U (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.  Latency=32.  Min Gnt=8.Max Lat=8.
      I/O at 0x8100.
      Non-prefetchable 32 bit memory at 0xe0001000.
  Bus  0, device  11, function  0:
    SCSI storage controller: Adaptec AIC-7881U (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=32.  Min Gnt=8.Max Lat=8.
      I/O at 0x8000.
      Non-prefetchable 32 bit memory at 0xe0000000.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371SB Natoma/Triton II PIIX3 (rev 0).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.  
      I/O at 0xf000.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371SB Natoma/Triton II PIIX3 (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   0, function  0:
    Host bridge: Intel 82441FX Natoma (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.  
--------------> /proc/pci <---------
--------------> .config for 2.0.30 <----------
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y

CONFIG_NET=y
CONFIG_PCI=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_M686=y

CONFIG_BLK_DEV_FD=y

CONFIG_NET_ALIAS=y
CONFIG_INET=y
CONFIG_IP_ACCT=y
CONFIG_IP_ALIAS=y

CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y

CONFIG_ATALK=y

CONFIG_SCSI=y

CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y

CONFIG_SCSI_AIC7XXX=y

CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_NET_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=y

CONFIG_QUOTA=y
CONFIG_MINIX_FS=y
CONFIG_EXT2_FS=y
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
CONFIG_ISO9660_FS=y

CONFIG_SERIAL=y
CONFIG_RTC=y
----------------> .config for 2.0.30 <----------

home help back first fref pref prev next nref lref last post