Date: Wed, 14 Apr 2004 17:18:28 +0100 From: William Bailey <wb@pro-net.co.uk> To: freebsd-questions@freebsd.org Cc: David Bestwick <david@axholme.co.uk> Subject: /dev/sa0 DSS-4 drive help Message-ID: <407D6454.3020508@pro-net.co.uk>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, I am currently trying to get a DSS-4 type drive working on a 5.2.1 RELEASE system but am haveing no joy at all. From dmesg at boot the device if found as sa0 at ahc0 bus 0 target 6 lun 0 sa0: <ARCHIVE Python 06408-XXX 8130> Removable Sequential Access SCSI-3 device sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit) 'mt status' gives the following (first 2 lines) Mode Density Blocksize bpi Compression Current: 0x26:DDS-4 1024 bytes 97000 DCLZ I have also tried setting blocksize to variable without any success (mt blocksize 0). Now when i try to use dump or tar the system will just sit there untill i get a kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> message which then locks out the tape drive untill. For an example the command 'tar -cf /dev/sa0 /root/*-supfile' gave the following dump... For reference ls -l /root/*-supfile returns... - -r--r--r-- 1 root wheel 2761 Apr 9 17:23 /root/doc-supfile - -r--r--r-- 1 root wheel 3831 Apr 9 17:22 /root/ports-supfile - -r--r--r-- 1 root wheel 3957 Apr 9 17:22 /root/stable-supfile |>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< ahc0: Dumping Card State while idle, at SEQADDR 0x9 Card was paused ACCUM = 0x0, SINDEX = 0x14, DINDEX = 0xe4, ARG_2 = 0x0 HCNT = 0x0 SCBPTR = 0x1e SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) SXFRCTL0[0x80]:(DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) STACK: 0x0 0x163 0x109 0x3 SCB count = 40 Kernel NEXTQSCB = 32 Card NEXTQSCB = 32 QINFIFO entries: Waiting Queue entries: Disconnected Queue entries: 1:7 QOUTFIFO entries: Sequencer Free SCB List: 30 20 14 12 23 28 26 18 11 16 25 0 29 24 17 5 21 22 27 15 6 2 3 31 19 4 13 10 7 9 8 Sequencer SCB Info: ~ 0 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 1 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) SCB_SCSIID[0x67] SCB_LUN[0x0] SCB_TAG[0x7] ~ 2 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 3 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 4 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 5 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 6 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 7 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 8 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 9 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 10 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 11 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 12 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 13 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 14 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 15 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 16 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 17 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 18 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 19 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 20 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 21 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 22 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 23 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 24 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 25 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 26 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 27 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 28 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 29 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 30 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] ~ 31 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff] Pending list: ~ 7 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x67] SCB_LUN[0x0] Kernel Free SCB list: 20 14 18 10 9 39 35 8 23 12 37 17 24 15 27 22 26 36 33 3 34 38 21 25 13 11 29 4 16 19 28 5 2 1 0 6 31 30 Untagged Q(6): 7 |>>>>>>>>>>>>>>>> sg[0] - Addr 0x168a7e42 : Length 446 sg[1] - Addr 0x16968000 : Length 4096 sg[2] - Addr 0x16869000 : Length 2048 (sa0:ahc0:0:6:0): Queuing a BDR SCB (sa0:ahc0:0:6:0): Bus Device Reset Message Sent (sa0:ahc0:0:6:0): no longer in timeout, status = 34b ahc0: Bus Device Reset on A:6. 1 SCBs aborted (sa0:ahc0:0:6:0): Unexpected busfree in Message-in phase SEQADDR == 0x1a6 (sa0:ahc0:0:6:0): failed to write terminating filemark(s) (sa0:ahc0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 (sa0:ahc0:0:6:0): CAM Status: SCSI Status Error (sa0:ahc0:0:6:0): SCSI Status: Check Condition (sa0:ahc0:0:6:0): UNIT ATTENTION asc:29,0 (sa0:ahc0:0:6:0): Power on, reset, or bus device reset occurred (sa0:ahc0:0:6:0): Unretryable error (sa0:ahc0:0:6:0): REWIND. CDB: 1 0 0 0 0 0 (sa0:ahc0:0:6:0): CAM Status: SCSI Status Error (sa0:ahc0:0:6:0): SCSI Status: Check Condition (sa0:ahc0:0:6:0): HARDWARE FAILURE asc:44,0 (sa0:ahc0:0:6:0): Internal target failure (sa0:ahc0:0:6:0): Retrying Command (per Sense Data) (sa0:ahc0:0:6:0): REWIND. CDB: 1 0 0 0 0 0 (sa0:ahc0:0:6:0): CAM Status: SCSI Status Error (sa0:ahc0:0:6:0): SCSI Status: Check Condition (sa0:ahc0:0:6:0): HARDWARE FAILURE asc:44,0 (sa0:ahc0:0:6:0): Internal target failure (sa0:ahc0:0:6:0): Retries Exhausted (sa0:ahc0:0:6:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Regards, William Bailey. Pro-Net Internet Services Ltd. http://www.pro-net.co.uk/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAfWRUzSfrYDJMXmERAi6FAJ48yz544R7kSJYcrnnsuNdV6LuS/wCfd8vU 3clWFazKZSCFt5K26pUsR5A= =JGcG -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407D6454.3020508>