Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 10:01:56 +0200
From:      "Michal Illich, adresa do konferenci" <list@illich.cz>
To:        aic7xxx@freebsd.org
Subject:   Disks with aic79xx slow
Message-ID:  <41060BF4.1010505@illich.cz>

next in thread | raw e-mail | index | archive | help
Hello everyone,

	we have system with 8 SCSI disks on Adaptec AIC7901 Ultra320 SCSI adapter. 
The problem is they run too slow - 35MB/s benchmarked with hdparm.
	It looks that the driver chooses slow rates to handle them:

         User: 320.000MB/s transfers (160.000MHz DT|IU|RTI|QAS, 16bit)
         Goal: 40.000MB/s transfers (40.000MHz)
         Curr: 40.000MB/s transfers (40.000MHz)

	This happens at boot time:

LQIRetry for LQICRCI_LQ to release ACK
(scsi0:A:10): 40.000MB/s transfers (20.000MHz DT, 16bit)
(scsi0:A:10): 40.000MB/s transfers (20.000MHz, 16bit)
(scsi0:A:10): 40.000MB/s transfers (40.000MHz)
(scsi0:A:11): 320.000MB/s transfers (160.000MHz DT|IU|RTI|QAS, 16bit
scsi0: Transmission error detected

	(full error report at the end of mail)

	Our hardware is:
motherboard Intel SE7210TP1-E (with onboard Adaptec 7901)
Chenbro case with SCSI backplanes
disks: 6x IBM 73GB 10k, 2x Maxtor Atlas 36GB 10k

	Do you know how to fix this?

	Have a nice day,

Michal Illich

--------------
063, SCB 0x3
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVE
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]
SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL)
LQIN: 0x5 0x0 0x0 0x3 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xfc 0x0 0x0
scsi0: LQISTATE = 0x2b, LQOSTATE = 0x0, OPTIONMODE = 0x52
scsi0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1

SIMODE0[0xc]:(ENOVERRUN|ENIOERR)
CCSCBCTL[0x4]:(CCSCBDIR)
scsi0: REG0 == 0x3, SINDEX = 0x1ff, DINDEX = 0x116
scsi0: SCBPTR == 0xff03, SCB_NEXT == 0xff00, SCB_NEXT2 == 0x0
CDB 3 1 0 0 0 0
STACK: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:2:0): 0 waiting
DevQ(0:3:0): 0 waiting
DevQ(0:8:0): 0 waiting
DevQ(0:9:0): 0 waiting
DevQ(0:10:0): 0 waiting
LQIRetry for LQICRCI_LQ to release ACK
scsi0:A:10): 40.000MB/s transfers (20.000MHz DT, 16bit)
(scsi0:A:10): 40.000MB/s transfers (20.000MHz, 16bit)
(scsi0:A:10): 40.000MB/s transfers (40.000MHz)
(scsi0:A:11): 320.000MB/s transfers (160.000MHz DT|IU|RTI|QAS, 16bit)
scsi0: Transmission error detected
LQISTAT1[0x10]:(LQICRCI_LQ) LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
SCSISIGI[0x60]:(P_DATAIN_DT) PERRDIAG[0xc4]:(CRCERR|HIPERR|HIZERO)
 >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi0: Dumping Card State at program address 0x22 Mode 0x22
Card was paused
HS_MAILBOX[0x0] INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0]
SAVED_MODE[0x11] DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE)
SCSISIGI[0x74]:(P_DATAIN_DT|BSYI|ATNI) SCSIPHASE[0x0]
SCSIBUS[0x7d] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI)
SEQCTL0[0x0] SEQINTCTL[0x0] SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0]
SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0]
PERRDIAG[0x0] SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80]:(PACKETIZED)
LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0xe1]:(LQOSTOP0|LQOPKT)

SCB Count = 4 CMDS_PENDING = 1 LASTSCB 0xffff CURRSCB 0x3 NEXTSCB 0xffc0
qinstart = 257 qinfifonext = 257
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
   3 FIFO_USE[0x0] SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xb7]
Total 1
Kernel Free SCB list: 2 1 0
Sequencer Complete DMA-inprog list:
Sequencer Complete list:
Sequencer DMA-Up and Complete list:

scsi0: FIFO0 Free, LONGJMP == 0x804b, SCB 0x3
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVE
SEQINTSRC[0x0] DFCNTRL[0x4]:(DIRECTION) DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_A
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]
SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL)
scsi0: FIFO1 Free, LONGJMP == 0x8063, SCB 0x3
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVE
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]
SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL)
LQIN: 0x5 0x0 0x0 0x3 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xec 0x0 0x0
scsi0: LQISTATE = 0x2b, LQOSTATE = 0x0, OPTIONMODE = 0x52
scsi0: OS_SPACE_CNT = 0x1f MAXCMDCNT = 0x1

SIMODE0[0xc]:(ENOVERRUN|ENIOERR)
CCSCBCTL[0x4]:(CCSCBDIR)
scsi0: REG0 == 0x3, SINDEX = 0x118, DINDEX = 0x118
scsi0: SCBPTR == 0xff03, SCB_NEXT == 0xff00, SCB_NEXT2 == 0x0
CDB 3 1 0 0 0 0
STACK: 0x10 0x0 0x0 0x0 0x0 0x0 0x0 0x0
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
(and so on for all disks)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41060BF4.1010505>