scsi resets

John David Duncan jdd at greatschools.net
Tue Apr 15 09:41:21 PDT 2003


Hi,

Can anyone help me diagnose what's going in this console output?
The machine is a dual Xeon, running 4.7-STABLE #1 (Sat Feb 15).
It has been in production use for almost a year.  Last week, I
replaced a failed disk; since then, these device resets have been
happening about twice a day.

I have this controller:

ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd800-0xd8ff
mem 0xfe9fe000-0xfe9fefff irq 16 at device 4.0 on pci4
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xdc00-0xdcff mem
0xfe9ff000-0xfe9fffff irq 17 at device 4.1 on pci4
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/ 253 SCBs

... and these drives:

da1 at ahc0 bus 0 target 1 lun 0
da1: <HITACHI DK32DJ-18MC AAAA> Fixed Direct Access SCSI-3 device
da1: 160.000MB/s transfers (80.000MHz, offset 100, 16bit), Tagged Queueing Enabled
da1: 17628MB (36102720 512 byte sectors: 255H 63S/T 2247C)

da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST318452LC 0004> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)


... and the console messages follow.

Thanks,

- JD


> >>>>>>>>>>>>>>>>>
> ahc0: Bus Device Reset on A:1. 1 SCBs aborted
> ahc0:A:1: no active SCB for reconnecting target - issuing BUS DEVICE RESET
> SAVED_SCSIID == 0x17, SAVED_LUN == 0x0, ARG_1 == 0x20 ACCUM = 0x0
> SEQ_FLAGS == 0xc0, SCBPTR == 0x1e, BTT == 0xff, SINDEX == 0x31
> SCSIID == 0x0, SCB_SCSIID == 0x17, SCB_LUN == 0x0, SCB_TAG == 0xff, SCB_CONTROL == 0x0
> SCSIBUSL == 0x20, SCSISIGI == 0xe6
> SXFRCTL0 == 0x88
> SEQCTL == 0x10
> >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
> ahc0: Dumping Card State in Message-in phase, at SEQADDR 0x1ae
> Card was paused
> ACCUM = 0x0, SINDEX = 0x31, DINDEX = 0xe4, ARG_2 = 0x8
> HCNT = 0x0 SCBPTR = 0x1e
> SCSIPHASE[0x8]:(MSG_IN_PHASE) SCSISIGI[0xe6]:(REQI|BSYI|MSGI|IOI|CDI)
> ERROR[0x0] SCSIBUSL[0x20] LASTPHASE[0xe0]:(MSGI|IOI|CDI)
> SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) SBLKCTL[0xa]:(SELWIDE|SELBUSB)
> SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED)
> SSTAT0[0x2]:(SPIORDY) SSTAT1[0x1]:(REQINIT) SSTAT2[0x0]
> SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
> SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
> STACK: 0x147 0xe9 0x16b 0x180
> SCB count = 70
> Kernel NEXTQSCB = 33
> Card NEXTQSCB = 33
> QINFIFO entries:
> Waiting Queue entries:
> Disconnected Queue entries: 5:7
> QOUTFIFO entries:
> Sequencer Free SCB List: 30 14 11 27 26 0 29 8 7 2 3 13 18 9 19 10 25 1 15 21 6 28 20 17 16 22 12 4 31 23 24
> Sequencer SCB Info:
>   0 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>   1 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>   2 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>   3 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>   4 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7]
> SCB_LUN[0x0] SCB_TAG[0xff]
>   5 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0x7]
>   6 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>   7 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>   8 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>   9 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  10 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  11 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  12 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  13 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  14 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  15 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  16 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  17 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  18 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  19 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  20 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  21 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  22 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  23 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  24 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  25 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  26 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  27 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  28 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  29 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17]
> SCB_LUN[0x0] SCB_TAG[0xff]
>  30 SCB_CONTROL[0x0] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
>  31 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7]
> SCB_LUN[0x0] SCB_TAG[0xff]
> Pending list:
>   7 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] SCB_LUN[0x0]
> Kernel Free SCB list: 26 0 58 35 43 59 17 31 41 52 48 45 67 30 20 40 68 42 38 2 34 12 47 19 18 54 44 14 13 53 55 39 64 25 4 24 28 46 36 16 57 11 22 15 9 32 65 23 3 37 10 49 21 1 69 50 6 8 66 29 56 5 27 51 63 62 61 60
>



More information about the freebsd-scsi mailing list