SCSI debug messages in FreeBSD 4.6 and 5.1
Hsiang-Yi Huang
xenia at rd.accusys.com.tw
Mon May 17 20:02:10 PDT 2004
Here is what I got when I try to get data through SCSI card...what's
wrong???
May 17 09:44:44 kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins
<<<<<<<<<<<<<<<<<
May 17 09:44:44 kernel: ahd0: Dumping Card State at program address
0x2c Mode 0x22
May 17 09:44:44 kernel: Card was paused
May 17 09:44:44 kernel: HS_MAILBOX[0x0] INTCTL[0x80]:(SWTMINTMASK)
SEQINTSTAT[0x0]
May 17 09:44:44 kernel: SAVED_MODE[0x11]
DFFSTAT[0x11]:(CURRFIFO_1|FIFO0FREE)
May 17 09:44:44 kernel: SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0]
SCSIBUS[0x0]
May 17 09:44:44 kernel: LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
SCSISEQ0[0x0]
May 17 09:44:44 kernel: SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI)
SEQCTL0[0x10]:(FASTMODE)
May 17 09:44:44 kernel: SEQINTCTL[0x10]:(SCS_SEQ_INT1M1) SEQ_FLAGS[0x0]
SEQ_FLAGS2[0x0]
May 17 09:44:44 kernel: SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0]
SSTAT3[0x0]
May 17 09:44:44 kernel: PERRDIAG[0xc0]:(HIPERR|HIZERO)
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO)
May 17 09:44:44 kernel: LQISTAT0[0x0] LQISTAT1[0x0]
LQISTAT2[0x1]:(LQIGSAVAIL)
May 17 09:44:44 kernel: LQOSTAT0[0x0] LQOSTAT1[0x0]
LQOSTAT2[0x1]:(LQOSTOP0)
May 17 09:44:44 kernel:
May 17 09:44:44 kernel: SCB Count = 16 CMDS_PENDING = 3 LASTSCB 0x2
CURRSCB 0x2 NEXTSCB 0x0
May 17 09:44:44 kernel: qinstart = 92 qinfifonext = 92
May 17 09:44:44 kernel: QINFIFO:
May 17 09:44:44 kernel: WAITING_TID_QUEUES:
May 17 09:44:44 kernel: Pending list:
May 17 09:44:44 kernel: 2 FIFO_USE[0x0]
SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7]
May 17 09:44:44 kernel: Total 1
May 17 09:44:44 kernel: Kernel Free SCB list: 1 15 3 4 5 6 7 8 9 10 11
12 13 14 0
May 17 09:44:44 kernel: Sequencer Complete DMA-inprog list:
May 17 09:44:44 kernel: Sequencer Complete list:
May 17 09:44:44 kernel: Sequencer DMA-Up and Complete list:
May 17 09:44:44 kernel:
May 17 09:44:44 kernel: ahd0: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0
May 17 09:44:44 kernel:
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA
|ENSAVEPTRS)
May 17 09:44:44 kernel: SEQINTSRC[0x0] DFCNTRL[0x0]
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
May 17 09:44:44 kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0]
DFFSXFRCTL[0x0]
May 17 09:44:44 kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO)
SHADDR = 0x00, SHCNT = 0x0
May 17 09:44:44 kernel: HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x0]
May 17 09:44:44 kernel: ahd0: FIFO1 Active, LONGJMP == 0x8277, SCB 0x2
May 17 09:44:44 kernel:
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA
|ENSAVEPTRS)
May 17 09:44:44 kernel: SEQINTSRC[0x10]:(CFG4DATA) DFCNTRL[0x0]
DFSTATUS[0x88]:(HDONE|PRELOAD_AVAIL)
May 17 09:44:44 kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0]
DFFSXFRCTL[0x0]
May 17 09:44:44 kernel: SOFFCNT[0x0] MDFFSTAT[0x6]:(DATAINFIFO|DLZERO)
SHADDR = 0x0200, SHCNT = 0xfffe00
May 17 09:44:44 kernel: HADDR = 0x00, HCNT = 0x0
CCSGCTL[0x10]:(SG_CACHE_AVAIL)
May 17 09:44:44 kernel: LQIN: 0x8 0x0 0x0 0x2 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
May 17 09:44:44 kernel: ahd0: LQISTATE = 0x0, LQOSTATE = 0x0,
OPTIONMODE = 0x42
May 17 09:44:44 kernel: ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1
May 17 09:44:44 kernel:
May 17 09:44:44 kernel: SIMODE0[0xc]:(ENOVERRUN|ENIOERR)
May 17 09:44:44 kernel: CCSCBCTL[0x4]:(CCSCBDIR)
May 17 09:44:44 kernel: ahd0: REG0 == 0x2, SINDEX = 0x122, DINDEX =
0x102
May 17 09:44:44 kernel: ahd0: SCBPTR == 0xff02, SCB_NEXT == 0xff00,
SCB_NEXT2 == 0x0
May 17 09:44:44 kernel: CDB 2 1 0 0 0 0
May 17 09:44:44 kernel: STACK: 0x15 0x125 0x125 0x125 0x25e 0x25e 0x25e
0x29
May 17 09:44:44 kernel: <<<<<<<<<<<<<<<< Dump Card State Ends
>>>>>>>>>>>>>>>>>>
May 17 09:44:59 kernel: (pass0:ahd0:0:0:0): SCB 0x2 - timed out
What I try to do is writing a program which can pull some data and
information from a device through a SCSI card. And the program works
fine for Solaris and Red Hat Linux but when I tried my program in
FreeBSD 4.6 and 5.1, I got this message. What should I do???
More information about the freebsd-scsi
mailing list