Subject: DLT problems
To: None <netbsd-users@NetBSD.org>
From: Tracy Di Marco White <netbsd@gendalia.org>
List: netbsd-users
Date: 01/07/2005 20:59:29
I've had problems using my DLT drives for a while.  I've got two drives
I've been able to try, a DLT8000 & a DLT7000.  I've got two cards I've
tried with, an adaptec 2940 and a Tekram 390F.  I've got a bunch of
different tapes, and I've had the DLT8000 work fine connected to 
an Alpha running Digital Unix.

The errors generated when the adaptec is connected are much more verbose,
but I'm not sure what I should be learning from them.  Once I get these
errors, I can't use the DLT until I reboot.

Any suggestions or ideas on what I can do to get my backups working
again?

ahc1:SCB 0xf - timed out
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahc1: Dumping Card State while idle, at SEQADDR 0x7
Card was paused
ACCUM = 0xdd, SINDEX = 0x57, DINDEX = 0x26, ARG_2 = 0x3
HCNT = 0x0 SCBPTR = 0x0
SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1] 
SCSISEQ[0x12] SBLKCTL[0x2] SCSIRATE[0x0] SEQCTL[0x10] 
SEQ_FLAGS[0xc0] SSTAT0[0x5] SSTAT1[0xa] SSTAT2[0x0] 
SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xa4] SXFRCTL0[0x80] 
DFCNTRL[0x0] DFSTATUS[0x2d] 
STACK: 0x0 0x153 0x194 0x3
SCB count = 16
Kernel NEXTQSCB = 14
Card NEXTQSCB = 14
QINFIFO entries: 
Waiting Queue entries: 
Disconnected Queue entries: 0:15 
QOUTFIFO entries: 
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
Sequencer SCB Info: 
  0 SCB_CONTROL[0x44] SCB_SCSIID[0x57] 
SCB_LUN[0x0] SCB_TAG[0xf] 
  1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
  2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
  3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
  4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
  5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
  6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
  7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
  8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
  9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] 
SCB_LUN[0xff] SCB_TAG[0xff] 
Pending list: 
 15 SCB_CONTROL[0x40] SCB_SCSIID[0x57] 
SCB_LUN[0x0] 
Kernel Free SCB list: 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
Untagged Q(5): 15 

>>>>>>>>>>>>>>>>>
sg[0] - Addr 0xb3fc2e0 : Length 3360
sg[1] - Addr 0xb724000 : Length 4096
sg[2] - Addr 0xb65d000 : Length 4096
sg[3] - Addr 0xb7b8000 : Length 4096
sg[4] - Addr 0xb719000 : Length 4096
sg[5] - Addr 0xb72c000 : Length 4096
sg[6] - Addr 0xb665000 : Length 4096
sg[7] - Addr 0xb7c0000 : Length 4096
sg[8] - Addr 0xb460000 : Length 224
ahc1:Queuing a BDR SCB
ahc1:Bus Device Reset Message Sent
st0(ahc1:0:5:0): ahc1: no longer in timeout, status = 0
ahc1: Bus Device Reset on A:5. 1 SCBs aborted
st0: already open
st0: already open

-Tracy