On Wed, Feb 22, 2012 at 10:07 AM, Roland Dreier <roland@xxxxxxxxxxxxxxx> wrote: >> Feb 21 12:47:03 san kernel: [449608.875316] ABORT_TASK: Found referenced qla2xxx task_tag: 1189792 >> Feb 21 12:47:03 san kernel: [449608.893278] qla2xxx 0000:0b:00.0: qla2x00_error_entry: error entry, type 0x12 status 0x8 > > Interesting... this second line means we sent a CTIO IOCB (response > to incoming command) to the Qlogic card that it didn't like (status 8 > is "Invalid Entry Parameter")... Hi Jim,et Can you apply the attached patch and run your tests? When you get that "error entry" like, you should also get a kernel message like Firmware dump saved to temp buffer (<HOST#>/<KERNEL PTR>) take that <HOST#> value and run the attached script like qla_dmp.sh <HOST#> and send back the firmware dump file for analysis. That should give us a clue as to what the driver is doing wrong. Thanks! Roland
drivers/scsi/qla2xxx/qla_isr.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index ed214b8..5f01c25 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -1968,6 +1968,7 @@ qla2x00_error_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, sts_entry_t *pkt) /* Target command with high bits of handle set */ qla_printk(KERN_ERR, ha, "%s: error entry, type 0x%0x status 0x%x\n", __func__, pkt->entry_type, pkt->entry_status); + ha->isp_ops->fw_dump(vha, 1); return; }
Attachment:
qla_dmp.sh
Description: Bourne shell script