aix7xxx scsi problem after 2.4.18

From: Rainer Eisenhofer (Rainer.Eisenhofer@gmx.de)
Date: Sat Sep 07 2002 - 07:31:36 EST


I have got a problem with the aix7xxx scsi driver contained in kernel
versions > 2.4.18.
My scsi disk based system hangs frequently and I get following errors in
the log:

>>>>>>>>>>
Sep 7 13:52:57 linux kernel: scsi0:0:1:0: Attempting to queue an ABORT
message
Sep 7 13:52:57 linux kernel: scsi0: Dumping Card State while idle, at
SEQADDR 0x7
Sep 7 13:52:57 linux kernel: ACCUM = 0xe0, SINDEX = 0x64, DINDEX =
0x65, ARG_2 = 0xff
Sep 7 13:52:57 linux kernel: HCNT = 0x0 SCBPTR = 0xa
Sep 7 13:52:57 linux kernel: SCSISEQ = 0x12, SBLKCTL = 0x0
Sep 7 13:52:57 linux kernel: DFCNTRL = 0x0, DFSTATUS = 0x14
Sep 7 13:52:57 linux kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0
= 0x80
Sep 7 13:52:57 linux kernel: SSTAT0 = 0x0, SSTAT1 = 0xa
Sep 7 13:52:57 linux kernel: STACK == 0xe1, 0x156, 0x186, 0x3
Sep 7 13:52:57 linux kernel: SCB count = 36
Sep 7 13:52:57 linux kernel: Kernel NEXTQSCB = 11
Sep 7 13:53:23 linux kernel: Card NEXTQSCB = 11
Sep 7 13:53:23 linux kernel: QINFIFO entries:
Sep 7 13:53:23 linux kernel: Waiting Queue entries:
Sep 7 13:53:23 linux kernel: Disconnected Queue entries: 10:13
Sep 7 13:53:23 linux kernel: QOUTFIFO entries:
Sep 7 13:53:23 linux kernel: Sequencer Free SCB List: 13 2 3 12 15 9 8
5 11 4 7 6 0 14 1
Sep 7 13:53:23 linux kernel: Sequencer SCB Info: 0(c 0x60, s 0x17, l 0,
t 0xff) 1(c 0x60, s 0x17, l 0, t 0xff) 2(c 0x60, s 0x17, l 0, t 0xff)
3(c 0x60, s 0x17, l 0, t 0xff) 4(c 0x60, s 0x17, l 0, t 0xff) 5(c 0x60,
s 0x17, l 0, t 0xff) 6(c 0x60, s 0x17, l 0, t 0xff) 7(c 0x60, s 0x17, l
0, t 0xff) 8(c 0x60, s 0x17, l 0, t 0xff) 9(c 0x60, s 0x17, l 0, t 0xff)
10(c 0x64, s 0x17, l 0, t 0xd) 11(c 0x60, s 0x17, l 0, t 0xff) 12(c
0x60, s 0x17, l 0, t 0xff) 13(c 0x60, s 0x17, l 0, t 0xff) 14(c 0x60, s
0x17, l 0, t 0xff) 15(c 0x60, s 0x17, l 0, t 0xff)
Sep 7 13:53:23 linux kernel: Pending list: 13(c 0x60, s 0x17, l 0)
Sep 7 13:53:23 linux kernel: Kernel Free SCB list: 4 19 8 6 14 1 0 2 5
9 10 12 35 28 15 3 7 29 30 31 24 25 26 27 20 21 22 23 16 17 18 34 33 32
Sep 7 13:53:23 linux kernel: DevQ(0:0:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:1:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:2:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:4:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:5:0): 0 waiting
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): Queuing a recovery SCB
Sep 7 13:53:23 linux kernel: scsi0:0:1:0: Device is disconnected,
re-queuing SCB
Sep 7 13:53:23 linux kernel: Recovery code sleeping
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): Abort Tag Message Sent
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): SCB 13 - Abort Tag Completed.
Sep 7 13:53:23 linux kernel: Recovery SCB completes
Sep 7 13:53:23 linux kernel: Recovery code awake
Sep 7 13:53:23 linux kernel: aic7xxx_abort returns 0x2002
Sep 7 13:53:23 linux kernel: scsi0:0:1:0: Attempting to queue an ABORT
message
Sep 7 13:53:23 linux kernel: scsi0: Dumping Card State while idle, at
SEQADDR 0x8
Sep 7 13:53:23 linux kernel: ACCUM = 0xe2, SINDEX = 0x64, DINDEX =
0x65, ARG_2 = 0x2
Sep 7 13:53:23 linux kernel: HCNT = 0x0 SCBPTR = 0xa
Sep 7 13:53:23 linux kernel: SCSISEQ = 0x12, SBLKCTL = 0x0
Sep 7 13:53:23 linux kernel: DFCNTRL = 0x0, DFSTATUS = 0x2d
Sep 7 13:53:23 linux kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0
= 0x80
Sep 7 13:53:23 linux kernel: SSTAT0 = 0x5, SSTAT1 = 0xa
Sep 7 13:53:23 linux kernel: STACK == 0xe1, 0xe1, 0x186, 0x3
Sep 7 13:53:23 linux kernel: SCB count = 36
Sep 7 13:53:23 linux kernel: Kernel NEXTQSCB = 13
Sep 7 13:53:23 linux kernel: Card NEXTQSCB = 13
Sep 7 13:53:23 linux kernel: QINFIFO entries:
Sep 7 13:53:23 linux kernel: Waiting Queue entries:
Sep 7 13:53:23 linux kernel: Disconnected Queue entries: 10:11
Sep 7 13:53:23 linux kernel: QOUTFIFO entries:
Sep 7 13:53:23 linux kernel: Sequencer Free SCB List: 13 2 3 12 15 9 8
5 11 4 7 6 0 14 1
Sep 7 13:53:23 linux kernel: Sequencer SCB Info: 0(c 0x60, s 0x17, l 0,
t 0xff) 1(c 0x60, s 0x17, l 0, t 0xff) 2(c 0x60, s 0x17, l 0, t 0xff)
3(c 0x60, s 0x17, l 0, t 0xff) 4(c 0x60, s 0x17, l 0, t 0xff) 5(c 0x60,
s 0x17, l 0, t 0xff) 6(c 0x60, s 0x17, l 0, t 0xff) 7(c 0x60, s 0x17, l
0, t 0xff) 8(c 0x60, s 0x17, l 0, t 0xff) 9(c 0x60, s 0x17, l 0, t 0xff)
10(c 0x64, s 0x17, l 0, t 0xb) 11(c 0x60, s 0x17, l 0, t 0xff) 12(c
0x60, s 0x17, l 0, t 0xff) 13(c 0x60, s 0x17, l 0, t 0xff) 14(c 0x60, s
0x17, l 0, t 0xff) 15(c 0x60, s 0x17, l 0, t 0xff)
Sep 7 13:53:23 linux kernel: Pending list: 11(c 0x60, s 0x17, l 0)
Sep 7 13:53:23 linux kernel: Kernel Free SCB list: 4 19 8 6 14 1 0 2 5
9 10 12 35 28 15 3 7 29 30 31 24 25 26 27 20 21 22 23 16 17 18 34 33 32
Sep 7 13:53:23 linux kernel: DevQ(0:0:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:1:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:2:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:4:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:5:0): 0 waiting
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): Queuing a recovery SCB
Sep 7 13:53:23 linux kernel: scsi0:0:1:0: Device is disconnected,
re-queuing SCB
Sep 7 13:53:23 linux kernel: Recovery code sleeping
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): Abort Tag Message Sent
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): SCB 11 - Abort Tag Completed.
Sep 7 13:53:23 linux kernel: Recovery SCB completes
Sep 7 13:53:23 linux kernel: Recovery code awake
Sep 7 13:53:23 linux kernel: aic7xxx_abort returns 0x2002
Sep 7 13:53:23 linux kernel: scsi0:0:1:0: Attempting to queue a TARGET
RESET message
Sep 7 13:53:23 linux kernel: scsi0:0:1:0: Command not found
Sep 7 13:53:23 linux kernel: aic7xxx_dev_reset returns 0x2002
Sep 7 13:53:23 linux kernel: scsi0:0:1:0: Attempting to queue an ABORT
message
Sep 7 13:53:23 linux kernel: scsi0: Dumping Card State while idle, at
SEQADDR 0x7
Sep 7 13:53:23 linux kernel: ACCUM = 0xe4, SINDEX = 0x64, DINDEX =
0x65, ARG_2 = 0x3
Sep 7 13:53:23 linux kernel: HCNT = 0x0 SCBPTR = 0xa
Sep 7 13:53:23 linux kernel: SCSISEQ = 0x12, SBLKCTL = 0x0
Sep 7 13:53:23 linux kernel: DFCNTRL = 0x0, DFSTATUS = 0x2d
Sep 7 13:53:23 linux kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0
= 0x80
Sep 7 13:53:23 linux kernel: SSTAT0 = 0x5, SSTAT1 = 0xa
Sep 7 13:53:23 linux kernel: STACK == 0xe1, 0xe1, 0x186, 0x3
Sep 7 13:53:23 linux kernel: SCB count = 36
Sep 7 13:53:23 linux kernel: Kernel NEXTQSCB = 11
Sep 7 13:53:23 linux kernel: Card NEXTQSCB = 11
Sep 7 13:53:23 linux kernel: QINFIFO entries:
Sep 7 13:53:23 linux kernel: Waiting Queue entries:
Sep 7 13:53:23 linux kernel: Disconnected Queue entries: 10:13
Sep 7 13:53:23 linux kernel: QOUTFIFO entries:
Sep 7 13:53:23 linux kernel: Sequencer Free SCB List: 13 2 3 12 15 9 8
5 11 4 7 6 0 14 1
Sep 7 13:53:23 linux kernel: Sequencer SCB Info: 0(c 0x60, s 0x17, l 0,
t 0xff) 1(c 0x60, s 0x17, l 0, t 0xff) 2(c 0x60, s 0x17, l 0, t 0xff)
3(c 0x60, s 0x17, l 0, t 0xff) 4(c 0x60, s 0x17, l 0, t 0xff) 5(c 0x60,
s 0x17, l 0, t 0xff) 6(c 0x60, s 0x17, l 0, t 0xff) 7(c 0x60, s 0x17, l
0, t 0xff) 8(c 0x60, s 0x17, l 0, t 0xff) 9(c 0x60, s 0x17, l 0, t 0xff)
10(c 0x64, s 0x17, l 0, t 0xd) 11(c 0x60, s 0x17, l 0, t 0xff) 12(c
0x60, s 0x17, l 0, t 0xff) 13(c 0x60, s 0x17, l 0, t 0xff) 14(c 0x60, s
0x17, l 0, t 0xff) 15(c 0x60, s 0x17, l 0, t 0xff)
Sep 7 13:53:23 linux kernel: Pending list: 13(c 0x60, s 0x17, l 0)
Sep 7 13:53:23 linux kernel: Kernel Free SCB list: 4 19 8 6 14 1 0 2 5
9 10 12 35 28 15 3 7 29 30 31 24 25 26 27 20 21 22 23 16 17 18 34 33 32
Sep 7 13:53:23 linux kernel: DevQ(0:0:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:1:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:2:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:4:0): 0 waiting
Sep 7 13:53:23 linux kernel: DevQ(0:5:0): 0 waiting
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): Queuing a recovery SCB
Sep 7 13:53:23 linux kernel: scsi0:0:1:0: Device is disconnected,
re-queuing SCB
Sep 7 13:53:23 linux kernel: Recovery code sleeping
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): Abort Tag Message Sent
Sep 7 13:53:23 linux kernel: (scsi0:A:1:0): SCB 13 - Abort Tag Completed.
Sep 7 13:53:23 linux kernel: Recovery SCB completes
Sep 7 13:53:23 linux kernel: Recovery code awake
Sep 7 13:53:23 linux kernel: aic7xxx_abort returns 0x2002
<<<<<<<<<<

Everything works fine with kernel 2.4.18 and before, so I don't think
it's a hardware problem.
Because I'm not on the kernel mailing list it would be nice, if you set
me CC to this mail thread.

Thanks,
Rainer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:30 EST