SCSI Tape Problems

Ted Mittelstaedt tedm at toybox.placo.com
Mon Sep 26 11:46:03 PDT 2005


Adam,

  at the command line, type "man send-pr" and follow the
instructions.  This list isn't the place for submitting
bugs in FreeBSD.

Ted

>-----Original Message-----
>From: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Adam Bayless
>Sent: Monday, September 26, 2005 8:03 AM
>To: Free BSD Questions list
>Subject: SCSI Tape Problems
>
>
>I have this:
>
>> sa0 at ahc0 bus 0 target 3 lun 0
>> sa0: <HP C1537A L708> Removable Sequential Access SCSI-2 device 
>
>Connected to this:
>
>> ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xd000-0xd0ff mem 
>> 0xe9511000-0xe9511fff irq 18 at device 10.0 on pci0 aic7880: Ultra
>> Wide Channel A, SCSI Id=7, 16/253 SCBs
>
>Running on this:
>
>> FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 
>10:21:06 UTC 2005 
>root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>
>When I try to write to it with amanda I get this in dmesg:
>
>> ahc0: Recovery Initiated
>>>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
>> ahc0: Dumping Card State while idle, at SEQADDR 0x7
>> Card was paused
>> ACCUM = 0x4a, SINDEX = 0x37, DINDEX = 0x24, ARG_2 = 0x3
>> HCNT = 0x0 SCBPTR = 0x0
>> SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]:(P_BUSFREE) 
>> SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) SBLKCTL[0x2]:(SELWIDE) 
>> SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
>SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) 
>> SSTAT0[0x5]:(DMADONE|SDONE) SSTAT1[0xa]:(PHASECHG|BUSFREE) 
>> SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] 
>SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) 
>> SXFRCTL0[0x80]:(DFON) DFCNTRL[0x0] 
>DFSTATUS[0x2d]:(FIFOEMP|DFTHRESH|HDONE|FIFOQWDEMP) 
>> STACK: 0x0 0x16a 0x19a 0x3
>> SCB count = 20
>> Kernel NEXTQSCB = 6
>> Card NEXTQSCB = 6
>> QINFIFO entries: 
>> Waiting Queue entries: 
>> Disconnected Queue entries: 0:14 
>> 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]:(DISCONNECTED|DISCENB) SCB_SCSIID[0x37] 
>> SCB_LUN[0x0] SCB_TAG[0xe] 
>>   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>>  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
>> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>> Pending list: 
>>  14 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x37] SCB_LUN[0x0] 
>> Kernel Free SCB list: 5 15 16 17 18 19 0 1 2 3 4 7 8 9 13 12 11 10 
>> Untagged Q(3): 14 
>> 
>> <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
>> (sa0:ahc0:0:3:0): SCB 0xe - timed out
>> sg[0] - Addr 0xa30a000 : Length 4096
>> sg[1] - Addr 0xa8ab000 : Length 4096
>> sg[2] - Addr 0xa10c000 : Length 4096
>> sg[3] - Addr 0x9e8d000 : Length 4096
>> sg[4] - Addr 0x9d0e000 : Length 4096
>> sg[5] - Addr 0xa3cf000 : Length 4096
>> sg[6] - Addr 0xa170000 : Length 4096
>> sg[7] - Addr 0xa3f1000 : Length 4096
>> (sa0:ahc0:0:3:0): Queuing a BDR SCB
>> ahc0: Timedout SCBs already complete. Interrupts may not be 
>functioning.
>> (sa0:ahc0:0:3:0): Bus Device Reset Message Sent
>> (sa0:ahc0:0:3:0): no longer in timeout, status = 24b
>> ahc0: Bus Device Reset on A:3. 1 SCBs aborted
>> (sa0:ahc0:0:3:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0 
>> (sa0:ahc0:0:3:0): CAM Status: SCSI Status Error
>> (sa0:ahc0:0:3:0): SCSI Status: Check Condition
>> (sa0:ahc0:0:3:0): UNIT ATTENTION asc:29,0
>> (sa0:ahc0:0:3:0): Power on, reset, or bus device reset occurred
>> (sa0:ahc0:0:3:0): Unretryable error
>> (sa0:ahc0:0:3:0): failed to write terminating filemark(s)
>
>I have no clue what that all this is supposed to be indicating to me.
>This same drive worked fine under BSD/OS 4.something. I installed 
>FreeBSD on the machine just a couple days ago and have been 
>getting this 
>result since then.
>
>Sorry for my cluelessness! Hope someone can help.
>
>Thanks,
>
>Adam
>
>
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at freebsd.org"
>
>-- 
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 
>9/23/2005
>


More information about the freebsd-questions mailing list