reading non-ANSI SCSI DAT data

reading non-ANSI SCSI DAT data

Post by Matthew Basti » Thu, 17 Feb 1994 03:43:20



I have some realtime aircraft data on a 4mm dat that I want to read. It was
produced by a PDP-11 running RT-11. I can not read this data from Linux. I
have fooled around with setting the block size but as yet have had no success.
I even went as far as creating a kernel with debuging turned on for the SCSI
tape driver but that did not shed any light on the matter.

I suspect that the problem is that the data is in a non-ansi format. Is there
anyway I can just dump a specified number of bytes from a dat drive?

Is there anyone out there who could help with this? It would save me from
having to deal with VMS (ie. read I'm desperate!!) where I can read the data.

Matthew Bastian
National Research Council of Canada
Institue for Aerospace Research

 
 
 

reading non-ANSI SCSI DAT data

Post by Wolfgang Schelongows » Thu, 17 Feb 1994 19:03:52



> I have some realtime aircraft data on a 4mm dat that I want to read. It was
> produced by a PDP-11 running RT-11. I can not read this data from Linux. I
> have fooled around with setting the block size but as yet have had no success
> I even went as far as creating a kernel with debuging turned on for the SCSI
> tape driver but that did not shed any light on the matter.

> I suspect that the problem is that the data is in a non-ansi format. Is there
> anyway I can just dump a specified number of bytes from a dat drive?

What do you mean by "can not read" / "data is in non-ansi format" ?
I.e. when you execute e.g. `dd if=/dev/st0 of=/tmp/test1 count=10`
1) There is an error message and /tmp/test1 has a size of zero
2) /tmp/test1 has a size of 5120, but its contents doesn't make
   sense to you ?

1) probably means you're out of luck. You might want to experiment
with mt.c (from gnu's cpio-2.3) to use MTSETDENSITY/BLK. DAT storage
as in X3B5/88-185A has density 19.

2) means that you 'just' have to find out which format your tape was
written. Use `od -cx /tmp/test1`.

--

I ATE'NT DEAD. (From Granny Weatherwax's legacy)
  -- Terry Pratchett, Lords and Ladies

 
 
 

1. Deciphering IBM/AIX SCSI Sense data to ANSI SCSI Sense data

[ Article crossposted from comp.periphs.scsi ]
[ Author was Jeff Johnson ]
[ Posted on Tue, 22 Dec 1992 00:06:22 GMT ]

Hello,

        Has anyone been able to decipher a correlation between ANSI Spec SCSI
Extended Sense Data and the Sense Data that is returned by IBM's AIX SCSI
Disk drive Diagnostics Routine?

        The data returned by the AIX diagnostics looks like HEX data but
its in a four digit format instead of typical two digit HEX data that
correlates to the Extended Sense Data Format.

        Below is the data from the AIX SCSI Diagnostics utility. If anyone can
find a key to deciphering it or how the data is grouped I'd appreciate it.
The subject drive is a Seagate Elite 1 ST41600N which conforms to ANSI SCSI-2
and Sense Data Format:

Detail Data
SENSE DATA
0603 0000 0801 F770 2000 0000 0800 0000 0102 0000 F000 0100 01F7 800A 0000 0000
1700 0080 0007 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 075E 0001 1080

If anyone has any ideas on how to read the above data into anything close to
SCSI Request Sense Data I'd really like to hear it.


I'll post the results.

-Jeff Johnson
 Western Scientific

2. apache and file upload..

3. ANSI vers non-ANSI "C" question!

4. arts constantly consuming CPU?

5. DAT tapes vs. non-DAT tapes ( SCSI )

6. dial in problem

7. Reading ANSI formatted DAT tapes

8. What could "modprobe: can't locate module net-pf-17" be?

9. g++ non-ansi compliance compile option

10. proper way to use non-ansi/posix c functions

11. Reading audio data from DAT

12. DAT tape (audio) and DDS-DAT (data)

13. External SCSI DAT DRIVE - READ ERROR