Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2003 15:21:32 -0700
From:      Dr Lyman Hazelton <lrh@alum.mit.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Nasty hardware problem...
Message-ID:  <200312021521.33192.lrh@alum.mit.edu>

next in thread | raw e-mail | index | archive | help

--Boundary-00=_sBRz/iHl4Z0mdbZ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I trying to bring up a file server a system with a 1.5GHz AMD Athlon, 
256MB RAM, an older AHA2940 SCSI card with an IBM DDYS-T18350N hard 
drive.  The hard drive is connected to the second channel (the 
Ultra-wide channel) on the 2940.  During the boot process (from the 
dmesg) the machine stops with a SCSI Status Error (Check Condition) 
saying it refuses Tagged commands.  The boot system appears to then 
go into untagged mode and finds that the SCSI card has been RESET.  
There follows a dump of the card, which I have attached here.  Could 
this be because the data rate frequency is set too high?  I lowered 
it from 20MB/s to 16MB/s, but I could go as low as 10MB/s.  On the 
other hand, that may have nothing to do with the problem.  This is 
kind of a shot in the dark, I know... but someone out there in 
FreeBSD land might have seen something like this before.  Please 
forgive the long message.

       -Lyman

--Boundary-00=_sBRz/iHl4Z0mdbZ
Content-Type: text/plain;
  charset="iso-8859-1";
  name="dump"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="dump"

Dec  2 21:10:55 Cogitek-UX2 kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
Dec  2 21:10:55 Cogitek-UX2 kernel: ahc0: Dumping Card State in Message-in phase, at SEQADDR 0x1bf
Dec  2 21:10:55 Cogitek-UX2 kernel: Card was paused
Dec  2 21:10:55 Cogitek-UX2 kernel: ACCUM = 0x0, SINDEX = 0x31, DINDEX = 0xc0, ARG_2 = 0x8
Dec  2 21:10:55 Cogitek-UX2 kernel: HCNT = 0x0 SCBPTR = 0x7
Dec  2 21:10:55 Cogitek-UX2 kernel: SCSISIGI[0xe6]:(REQI|BSYI|MSGI|IOI|CDI) ERROR[0x0] 
Dec  2 21:10:55 Cogitek-UX2 kernel: SCSIBUSL[0x80] LASTPHASE[0xe0]:(MSGI|IOI|CDI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SBLKCTL[0x2]:(SELWIDE) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SSTAT0[0x7]:(DMADONE|SPIORDY|SDONE) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SSTAT1[0x3]:(REQINIT|PHASECHG) SSTAT2[0x0] SSTAT3[0x0] 
Dec  2 21:10:55 Cogitek-UX2 kernel: SIMODE0[0x0] SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x4]:(DIRECTION) 
Dec  2 21:10:55 Cogitek-UX2 kernel: DFSTATUS[0x6d]:(FIFOEMP|DFTHRESH|HDONE|FIFOQWDEMP|DFCACHETH) 
Dec  2 21:10:55 Cogitek-UX2 kernel: STACK: 0x144 0x0 0x191 0x199
Dec  2 21:10:55 Cogitek-UX2 kernel: SCB count = 70
Dec  2 21:10:55 Cogitek-UX2 kernel: Kernel NEXTQSCB = 69
Dec  2 21:10:55 Cogitek-UX2 kernel: Card NEXTQSCB = 69
Dec  2 21:10:55 Cogitek-UX2 kernel: QINFIFO entries: 
Dec  2 21:10:55 Cogitek-UX2 kernel: Waiting Queue entries: 15:32 
Dec  2 21:10:55 Cogitek-UX2 kernel: Disconnected Queue entries: 8:34 11:36 5:2 3:59 13:53 6:41 0:15 10:8 1:38 12:35 9:9 2:1 4:40 14:33 
Dec  2 21:10:55 Cogitek-UX2 kernel: QOUTFIFO entries: 
Dec  2 21:10:55 Cogitek-UX2 kernel: Sequencer Free SCB List: 7 
Dec  2 21:10:55 Cogitek-UX2 kernel: Sequencer SCB Info: 
Dec  2 21:10:55 Cogitek-UX2 kernel: 0 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0xf] 
Dec  2 21:10:55 Cogitek-UX2 kernel: 1 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x26] 
Dec  2 21:10:55 Cogitek-UX2 kernel: 2 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x1] 
Dec  2 21:10:55 Cogitek-UX2 kernel: 3 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x3b] 
Dec  2 21:10:55 Cogitek-UX2 kernel: 4 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:55 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x28] 
Dec  2 21:10:55 Cogitek-UX2 kernel: 5 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x2] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 6 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x29] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 7 SCB_CONTROL[0x10]:(MK_MESSAGE) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0xff] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 8 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x22] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 9 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x9] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 10 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x8] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 11 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x24] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 12 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x23] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 13 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x35] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 14 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x21] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 15 SCB_CONTROL[0x10]:(MK_MESSAGE) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] SCB_TAG[0x20] 
Dec  2 21:10:56 Cogitek-UX2 kernel: Pending list: 
Dec  2 21:10:56 Cogitek-UX2 kernel: 32 SCB_CONTROL[0x10]:(MK_MESSAGE) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 56 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 55 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 58 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 34 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 36 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 2 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 59 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 53 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 41 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 15 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 8 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 38 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 35 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 9 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 1 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 40 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: 33 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x87]:(TWIN_CHNLB) 
Dec  2 21:10:56 Cogitek-UX2 kernel: SCB_LUN[0x0] 
Dec  2 21:10:56 Cogitek-UX2 kernel: Kernel Free SCB list: 50 51 52 19 47 4 12 16 7 13 14 0 18 21 22 3 20 26 43 42 46 45 44 23 17 5 57 54 28 48 27 10 6 24 39 11 37 49 30 29 31 25 68 67 66 65 64 63 62 61 60 
Dec  2 21:10:56 Cogitek-UX2 kernel: Untagged Q(8): 32 
Dec  2 21:10:56 Cogitek-UX2 kernel: 
Dec  2 21:10:56 Cogitek-UX2 kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
Dec  2 21:10:56 Cogitek-UX2 kernel: ahc0: Bus Device Reset on A:8. 18 SCBs aborted
Dec  2 21:10:56 Cogitek-UX2 kernel: (da1:ahc0:0:8:0): WRITE(06). CDB: a 6 1 7f 20 0 
Dec  2 21:10:56 Cogitek-UX2 kernel: (da1:ahc0:0:8:0): CAM Status: SCSI Status Error
Dec  2 21:10:56 Cogitek-UX2 kernel: (da1:ahc0:0:8:0): SCSI Status: Check Condition
Dec  2 21:10:56 Cogitek-UX2 kernel: (da1:ahc0:0:8:0): UNIT ATTENTION asc:29,3
Dec  2 21:10:56 Cogitek-UX2 kernel: (da1:ahc0:0:8:0): Bus device reset function occurred
Dec  2 21:10:56 Cogitek-UX2 kernel: (da1:ahc0:0:8:0): Retrying Command (per Sense Data)

--Boundary-00=_sBRz/iHl4Z0mdbZ--



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