ahd0: Unexpected PKT busfree condition

tim tim at sterlingmicros.com.au
Mon Sep 22 02:24:01 PDT 2003


Hi Guys

I am running 4.8_release on a intel SE7501BR2 server board. Everything appeared to be running fine for about 3 months but just the other day this message popped up (see below) and ever since the machine has ran like crap. The speed at which it serves files (via samba)to the windows network is pathetic,before this message came up it ran like the wind but now it doesn't and my customer is kinda getting a bit fed up with the slow access speeds and i really need to find a solution to this quick!!...i am using a 36gb Seagate 15,000 rpm drive (sorry can't remember the exact model from memory but i wil post it, if it is required). Basically i think it is one of three things 1)Dodgy Motherboard 2)H/D on the way out 3)dodgy drivers in Freebsd. I am really hoping it is 1 or 2 because it's easy to send the stuff back and get it replaced but i really don't want to use another OS unless it's OpenBSD but 3.3 doesn't seem to support the on-board scsi but maybe 3.4 will but that ain't due till october i think. i doubt this matters but i am only running 1 xeon on this board.

cheers

Tim


ahd0: Unexpected PKT busfree condition
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahd0: Dumping Card State at program address 0x10 Mode 0x22
Card was paused
HS_MAILBOX[0x40]:(ENINT_COALESS) INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK)
SEQINTSTAT[0x0] SAVED_MODE[0x11] DFFSTAT[0x0]:(CURRFIFO_0)
SCSISIGI[0x24]:(P_DATAOUT_DT|BSYI) SCSIPHASE[0x1]:(DATA_OUT_PHASE)
SCSIBUS[0x0] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI)
SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x8]:(SCS_SEQ_INT1M0)
SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] SSTAT0[0x0]
SSTAT1[0x19]:(REQINIT|BUSFREE|PHASEMIS)
SSTAT2[0x0] SSTAT3[0x80] PERRDIAG[0x0]
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO)
LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x81]:(LQIGSAVAIL|PACKETIZED)
LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81]:(LQOSTOP0)

SCB Count = 80 CMDS_PENDING = 54 LASTSCB 0x20 CURRSCB 0x20 NEXTSCB 0x14
qinstart = 2990 qinfifonext = 2990
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
 18 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x12]
  5 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x5]
 36 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x24]
 33 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x21]
 26 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x1a]
 43 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x2b]
 37 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x25]
  7 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x7]
 63 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x3f]
 23 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x17]
 35 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x23]
 47 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x2f]
 39 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x27]
 44 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x2c]
 31 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x1f]
  6 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x6]
  1 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x1]
 34 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x22]
 24 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x18]
 16 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x10]
  2 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x2]
 19 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x13]
 12 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0xc]
 38 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x26]
 27 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x1b]
 30 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x1e]
  3 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x3]
 10 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0xa]
  9 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x9]
 79 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x4f]
 48 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x30]
 49 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x31]
 50 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x32]
 51 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x33]
 52 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x34]
 53 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x35]
 54 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x36]
 55 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x37]
 56 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x38]
 57 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x39]
 58 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x3a]
 59 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x3b]
 60 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x3c]
 61 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x3d]
 62 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x3e]
  4 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x4]
 22 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x16]
 25 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x19]
 45 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x2d]
 15 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0xf]
 13 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0xd]
 17 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x11]
 29 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x1d]
 46 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] SCB_TAG[0x2e]
Total 54
Kernel Free SCB list: 8 32 28 20 41 40 14 21 11 42 0 78 77 76 75 74 73 72 71
70 69 68 67 66 65 64
Sequencer Complete DMA-inprog list:
Sequencer Complete list:
Sequencer DMA-Up and Complete list:

ahd0: FIFO0 Active, LONGJMP == 0x80ff, SCB 0x2d, LJSCB 0xff00
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENS
AVEPTRS)
SEQINTSRC[0x10]:(CFG4DATA) DFCNTRL[0x4]:(DIRECTION)
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) SG_CACHE_SHADOW[0x2]:(LAST_SEG)
SG_STATE[0x0] DFFSXFRCTL[0x0] SOFFCNT[0x7e] MDFFSTAT[0x2]:(DATAINFIFO)
SHADDR = 0x00, SHCNT = 0x0 HADDR = 0x00, HCNT = 0x0
CCSGCTL[0x10]:(SG_CACHE_AVAIL)
ahd0: FIFO1 Active, LONGJMP == 0x25c, SCB 0xf, LJSCB 0xf
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENS
AVEPTRS)
SEQINTSRC[0x40]:(CTXTDONE) DFCNTRL[0xc]:(DIRECTION|HDMAEN)
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
SG_CACHE_SHADOW[0xa3]:(LAST_SEG_DONE|LAST_SEG)
SG_STATE[0x0] DFFSXFRCTL[0x0] SOFFCNT[0x7e]
MDFFSTAT[0x16]:(DATAINFIFO|DLZERO|LASTSDONE)
SHADDR = 0x0d164000, SHCNT = 0x0 HADDR = 0x0d164000, HCNT = 0x0
CCSGCTL[0x0]
LQIN: 0x5 0x0 0x0 0x2d 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x40 0x0 0x0
0x0 0x2 0x0
ahd0: LQISTATE = 0x25, LQOSTATE = 0x0, OPTIONMODE = 0x42
ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0xa
SIMODE0[0xc]:(ENOVERRUN|ENIOERR)
CCSCBCTL[0x0]
ahd0: REG0 == 0x1c, SINDEX = 0x122, DINDEX = 0x102
ahd0: SCBPTR == 0x8, SCB_NEXT == 0xf, SCB_NEXT2 == 0xff18
CDB a 0 1 80 20 8c
STACK: 0x120 0x0 0x0 0x255 0x23e 0x8e 0x2e 0x10
>>>>>>>>>>>>>>>>>


More information about the freebsd-scsi mailing list