Weird SCSI Errors, AIC 7880

Duncan Sterling buffalo at radix.net
Wed Apr 23 07:42:29 PDT 2003


Greetings All,

I'm seeing some strange errors from a newly set up RH 7.3 box. The
machine is a P-I 200, with an Adaptec 7880 (older 2940). On this machine
I have two quantum fireball ST2.1S model 2.1 gig drives.

The machine is setup with both drives mirrored to eachother in a
software RAID 1 array. The kernel version is box-stock, 2.4.18-3, and
the AIC7xxx driver version is 6.2.5.

Not too long after completing the OS install (the RAID array was built
during the install) I started seeing a number of SCSI errors I've never
seen before. Suspecting that one of the drives might be going bad, I
checked both with smartctl, but both drives appear to be fine.

The SCSI errors in the logs are numerous, but here's a good sample of
them (mostly in sequential order); I'll include a cat of
/proc/scsi/aic7xxx/0 at the end.

TIA for any and all advice/pointers,

--Duncan
------------------------------------------------------------------------------

sylog entries
------------------------------------------------------------------------------

scsi0: Dumping Card State while idle, at SEQADDR 0x7
ACCUM = 0x4, SINDEX = 0x1f, DINDEX = 0x8c, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x7
SCSISEQ = 0x12, SBLKCTL = 0x2
 DFCNTRL = 0x0, DFSTATUS = 0x29
LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80
SSTAT0 = 0x5, SSTAT1 = 0xa
STACK == 0x3, 0xec, 0x147, 0xcb
SCB count = 32
Kernel NEXTQSCB = 23
Card NEXTQSCB = 23
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries: 15:0 12:13 13:18 8:5 6:1 11:4 14:11
QOUTFIFO entries:
Sequencer Free SCB List: 7 2 10 9 5 3 4 0 1
LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80
SSTAT0 = 0x5, SSTAT1 = 0xa
STACK == 0x3, 0xec, 0x147, 0x0
SCB count = 32
Kernel NEXTQSCB = 31
Card NEXTQSCB = 31
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries: 7:23 15:0 12:13 13:18 8:5 6:1 11:4 14:11
QOUTFIFO entries:
Sequencer Free SCB List: 2 10 9 5 3 4 0 1
Sequencer SCB Info: 0(c 0x60, s 0x7, l 0, t 0xff) 1(c 0x60, s 0x7, l 0,
t 0xff)
2(c 0x60, s 0x7, l 0, t 0xff) 3(c 0x60, s 0x7, l 0, t 0xff) 4(c 0x60, s
0x7, l 0
, t 0xff) 5(c 0x60, s 0x7, l 0, t 0xff) 6(c 0x64, s 0x17, l 0, t 0x1)
7(c 0x64,
s 0x17, l 0, t 0x17) 8(c 0x64, s 0x17, l 0, t 0x5) 9(c 0x60, s 0x7, l 0,
t 0xff)
 10(c 0x60, s 0x7, l 0, t 0xff) 11(c 0x64, s 0x17, l 0, t 0x4) 12(c
0x64, s 0x17
, l 0, t 0xd) 13(c 0x64, s 0x17, l 0, t 0x12) 14(c 0x64, s 0x17, l 0, t
0xb) 15(
c 0x64, s 0x17, l 0, t 0x0)
Pending list: 23(c 0x60, s 0x17, l 0), 0(c 0x60, s 0x17, l 0), 13(c
0x60, s 0x17
, l 0), 18(c 0x60, s 0x17, l 0), 5(c 0x60, s 0x17, l 0), 1(c 0x60, s
0x17, l 0),
 4(c 0x60, s 0x17, l 0), 11(c 0x60, s 0x17, l 0)
Kernel Free SCB list: 12 21 6 19 3 16 17 2 22 24 25 26 27 20 7 14 15 8 9
10 30 2
9 28
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 12 waiting
(scsi0:A:1:0): Queuing a recovery SCB
scsi0:0:1:0: Device is disconnected, re-queuing SCB
Recovery code sleeping
(scsi0:A:1:0): Abort Tag Message Sent
(scsi0:A:1:0): SCB 23 - Abort Tag Completed.
Recovery SCB completes
Recovery code awake
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command found on device queue
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command not found
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command found on device queue
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command not foundaic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command found on device queue
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command not found
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command found on device queue
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command not found
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command found on device queue
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command not found
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command found on device queue
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
(scsi0:A:1:0): Queuing a recovery SCB
scsi0:0:1:0: Device is disconnected, re-queuing SCB
Recovery code sleeping
(scsi0:A:1:0): Abort Tag Message Sent
(scsi0:A:1:0): SCB 4 - Abort Tag Completed.
Recovery SCB completes
Recovery code awake
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0: Dumping Card State while idle, at SEQADDR 0x7
ACCUM = 0x8, SINDEX = 0xb, DINDEX = 0x8c, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0xb
SCSISEQ = 0x12, SBLKCTL = 0x2
 DFCNTRL = 0x0, DFSTATUS = 0x29
LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80
SSTAT0 = 0x5, SSTAT1 = 0xa
STACK == 0x3, 0xec, 0x147, 0xcb
SCB count = 32
Kernel NEXTQSCB = 4
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries: 15:0 12:13 13:18 8:5 6:1
QOUTFIFO entries:
Sequencer Free SCB List: 11 14 7 2 10 9 5 3 4 0 1
Sequencer SCB Info: 0(c 0x60, s 0x7, l 0, t 0xff) 1(c 0x60, s 0x7, l 0,
t 0xff)
2(c 0x60, s 0x7, l 0, t 0xff) 3(c 0x60, s 0x7, l 0, t 0xff) 4(c 0x60, s
0x7, l 0
, t 0xff) 5(c 0x60, s 0x7, l 0, t 0xff) 6(c 0x64, s 0x17, l 0, t 0x1)
7(c 0x60,
s 0x17, l 0, t 0xff) 8(c 0x64, s 0x17, l 0, t 0x5) 9(c 0x60, s 0x7, l 0,
t 0xff)
 10(c 0x60, s 0x7, l 0, t 0xff) 11(c 0x60, s 0x17, l 0, t 0xff) 12(c
0x64, s 0x1
7, l 0, t 0xd) 13(c 0x64, s 0x17, l 0, t 0x12) 14(c 0x60, s 0x17, l 0, t
0xff) 1
5(c 0x64, s 0x17, l 0, t 0x0)
Pending list: 0(c 0x60, s 0x17, l 0), 13(c 0x60, s 0x17, l 0), 18(c
0x60, s 0x17
, l 0), 5(c 0x60, s 0x17, l 0), 1(c 0x60, s 0x17, l 0)
Kernel Free SCB list: 11 23 31 12 21 6 19 3 16 17 2 22 24 25 26 27 20 7
14 15 8
9 10 30 29 28
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
(scsi0:A:1:0): Queuing a recovery SCB
scsi0:0:1:0: Device is disconnected, re-queuing SCB
Recovery code sleeping
(scsi0:A:1:0): Abort Tag Message Sent
DevQ(0:1:0): 0 waiting
(scsi0:A:1:0): Queuing a recovery SCB
scsi0:0:1:0: Device is disconnected, re-queuing SCB
Recovery code sleeping
(scsi0:A:1:0): Abort Tag Message Sent
(scsi0:A:1:0): SCB 0 - Abort Tag Completed.
Recovery SCB completes
Recovery code awake
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command not found
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command not found
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue an ABORT message
scsi0:0:1:0: Command not found
aic7xxx_abort returns 0x2002
scsi0:0:1:0: Attempting to queue a TARGET RESET message
scsi0:0:1:0: Command not found
aic7xxx_dev_reset returns 0x2002
(scsi0:A:0:0): Locking max tag count at 8
(scsi0:A:1:0): Locking max tag count at 8
--------------------------------------------------------------
cat  /proc/scsi/aic7xxx/0
---------------------------------------------------------------

Adaptec AIC7xxx driver version: 6.2.5
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Channel A Target 0 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
        Goal: 10.000MB/s transfers (10.000MHz, offset 15)
        Curr: 10.000MB/s transfers (10.000MHz, offset 15)
        Channel A Target 0 Lun 0 Settings
                Commands Queued 31289
                Commands Active 0
                Command Openings 8
                Max Tagged Openings 8
                Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
        Goal: 10.000MB/s transfers (10.000MHz, offset 15)
        Curr: 10.000MB/s transfers (10.000MHz, offset 15)
        Channel A Target 1 Lun 0 Settings
                Commands Queued 31625
                Commands Active 0
                Command Openings 8
                Max Tagged Openings 8
                Device Queue Frozen Count 0
Channel A Target 2 Negotiation Settings
User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 3 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 4 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 5 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 6 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 7 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 8 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 9 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 10 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 11 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 12 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 13 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 14 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
Channel A Target 15 Negotiation Settings
        User: 20.000MB/s transfers (10.000MHz, offset 255, 16bit)
---------------------------------------------------------------------------



More information about the aic7xxx mailing list