Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2001 19:37:45 -0600 (CST)
From:      Johnny Casey <jjcasey@uchicago.edu>
To:        aic7xxx@freebsd.org
Subject:   Reoccuring Corruption w/ Adaptec 29160N
Message-ID:  <200102030137.f131bj201428@maclean-6-111.rh.uchicago.edu>

next in thread | raw e-mail | index | archive | help
Hello,

Some problems.  If anybody possibly might have some ideas regarding
what follows, I would greatly appreciate it.  Otherwise, there are
several more diagnostic avenues hardware wise...

I just recently got a seagate barracuda drive and a adaptec 29160N
card.  Since then I've been having reoccuring errors in files.
Sometimes only with specific files, though the choice seems random.  I
am using Linux and the driver pointed to by doug from adaptec.

Basically, I'll do some form of writing to the drive and the kernel
SCSI driver generates this message (especially when moving specific
pieces of data, I even tried chopping files up w/ dd...):

scsi0: PCI error Interrupt at seqaddr = 0x8a
scsi0: Data Parity Error Detected during address or write data phase

seqaddr appears semirandom...

The error seems to corrupt files, which can be shown by unmounting the
partition and doing a simple cmp between the original and the copy.
Inaddition, the error seems to only occur when copying specific files
(notably several mp3s...).  When creating (copying) files from two
different sources errors seem to start in the same place.  I can also
make a copy, demonstrate that the copy failed, move the file and then
try again with the two bad copies being identical...

Originally, I thought this might be a cable/termination problem since
the drive was only negotiating at 40 MB/s instead of 160.  However, I
replaced the cable and now am seeing 160 MB/s, but the errors persist.
In addition I had a similar problem with my SCSI burner earlier,
though I haven't tested it recently.  I originally was using an
aha1522B with the burner.

Relevant stats...

I'm running Linux kernel 2.2.18 w/ aic7xxx compiled as a module and
scsi_mod/sd_mod(?) compiled into the kernel.

I checked that the PCI bus is running at 33 MHz w/ a frontside bus of
66 MHz.  I have a pentium II 266 w/ 48 MB of RAM.

/proc/scsi/scsi:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST318436LWV      Rev: 0010
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: RICOH    Model: CD-R/RW MP7040S  Rev: 1.40
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: UMAX     Model: Vista-S6E        Rev: V1.6
  Type:   Scanner                          ANSI SCSI revision: 02

/proc/scsi/aic7xxx/0:

Adaptec AIC7xxx driver version: 6.1.0
aic7892: Wide Channel A, SCSI Id=7, 32/255 SCBs
Channel A Target 0 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
        Goal: 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
        Curr: 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
        Channel A Target 0 Lun 0 Settings
                Commands Queued 7725
                Commands Active 0
                Command Openings 253
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
        Goal: 3.300MB/s transfers
        Curr: 3.300MB/s transfers
        Channel A Target 1 Lun 0 Settings
                Commands Queued 1
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Channel A Target 2 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 3 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
        Goal: 3.300MB/s transfers
        Curr: 3.300MB/s transfers
        Channel A Target 3 Lun 0 Settings
                Commands Queued 1
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Channel A Target 4 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)

etc...

Channel A Target 15 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)

/proc/pci:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 82441FX Natoma (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
  Latency=32.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371SB PIIX3 ISA (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
  bursts.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371SB PIIX3 IDE (rev 0).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
  Latency=32.
      I/O at 0xffa0 [0xffa1].
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371SB PIIX3 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 5.  Master
  Capable.  Latency=64.
      I/O at 0xef80 [0xef81].
  Bus  0, device  17, function  0:
    SCSI storage controller: Adaptec AIC-7892 (rev 2).
      Medium devsel.  Fast back-to-back capable.  BIST capable.  IRQ
  10.  Master Capable.  Latency=64.  Min Gnt=40.Max Lat=25.
      I/O at 0xec00 [0xec01].
      Non-prefetchable 64 bit memory at 0xfebfb000 [0xfebfb004].
  Bus  0, device  18, function  0:
    Multimedia video controller: 3Dfx Voodoo2 (rev 2).
      Fast devsel.  Fast back-to-back capable.
      Prefetchable 32 bit memory at 0xfb000000 [0xfb000008].
  Bus  0, device  19, function  0:
    VGA compatible controller: Matrox Millennium II (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master
  Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xfc000000 [0xfc000008].
      Non-prefetchable 32 bit memory at 0xfebfc000 [0xfebfc000].
      Non-prefetchable 32 bit memory at 0xfe000000 [0xfe000000].
  Bus  0, device  20, function  0:
    Ethernet controller: 3Com 3C905 100bTX (rev 0).
      Medium devsel.  IRQ 5.  Master Capable.  Latency=64.  Min
  Gnt=3.Max Lat=8.      I/O at 0xef00 [0xef01].

I'm wondering if this problem is specific to my motherboard.  The docs
say that it is PCI 2.1 compliant and ATX 2.01.  An old FX83-A.

thanks,
--johnny


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?200102030137.f131bj201428>