Trouble getting ftape to work properly with DJ-20 (QIC-80) floppy tape drive

Trouble getting ftape to work properly with DJ-20 (QIC-80) floppy tape drive

Post by Daniel J. Wrigh » Sun, 04 Apr 1999 04:00:00



I'm having trouble getting ftape to work properly with my tape drive.
I'm
using the ftape version that comes with the 2.2.5 kernel distribution.

My tape drive is working properly in NT, so I'm certain that its a
configuration problem and not a hardware problem.  Whenever I try to do
a ftformat ( from the ftape tools distribution ), I get the following
entries in my /var/log/messages file:

Apr  2 22:20:09 meteu kernel: [000] ftape-init.c (ftape_init) -
installing QIC-117 floppy tape hardware drive ... .
Apr  2 22:20:09 meteu kernel: [001] ftape-init.c (ftape_init) -

Apr  2 22:20:09 meteu kernel: [002]   ftape-buffer.c (add_one_buffer) -

Apr  2 22:20:09 meteu kernel: [003]   ftape-buffer.c (add_one_buffer) -

Apr  2 22:20:09 meteu kernel: [004]   ftape-buffer.c (add_one_buffer) -

Apr  2 22:20:09 meteu kernel: [005]   ftape-calibr.c (time_inb) - inb()
duration: 1372 nsec.
Apr  2 22:20:09 meteu kernel: [006]  ftape-calibr.c (ftape_calibrate) -
TC for `ftape_udelay()' = 1111 nsec (at 5119 counts).
Apr  2 22:20:09 meteu kernel: [007]  ftape-calibr.c (ftape_calibrate) -
TC for `fdc_wait()' = 2820 nsec (at 2559 counts).
Apr  2 22:20:09 meteu kernel: zftape for ftape v3.04d 25/11/97 for Linux
2.2.5

Apr  2 22:20:09 meteu kernel: [009]  zftape-init.c (zft_init) -
installing zftape VFS interface for ftape driver ....
Apr  2 22:32:09 meteu kernel: [010]     fdc-io.c (fdc_config) - fdc
base: 0x3f0, irq: 6, dma: 2.
Apr  2 22:32:09 meteu kernel: [011]     fdc-io.c (fdc_probe) - Type
82077AA FDC found.
Apr  2 22:32:10 meteu kernel: [012]    ftape-ctl.c
(ftape_get_drive_status) - error status set.
Apr  2 22:32:11 meteu kernel: [013]     ftape-io.c (ftape_report_error)
- errorcode: 26.
Apr  2 22:32:11 meteu kernel: [014]    ftape-ctl.c
(ftape_get_drive_status) - status: new cartridge.
Apr  2 22:32:12 meteu kernel: [015]    ftape-ctl.c (ftape_log_vendor_id)
- tape drive type: Colorado DJ-10/DJ-20.
Apr  2 22:32:12 meteu kernel: [016]    ftape-ctl.c (ftape_init_drive) -

Apr  2 22:32:12 meteu kernel: [017]     ftape-ctl.c
(ftape_calibrate_data_rate) - Highest FDC supported data rate: 1000
Kbps.
Apr  2 22:32:14 meteu kernel: [018]    ftape-ctl.c (ftape_init_drive) -
307 ft. QIC-80 tape.
Apr  2 22:46:36 meteu kernel: [019]        ftape-read.c
(ftape_decode_header_segment) - wrong signature in header segment.
Apr  2 22:46:36 meteu kernel: [020]      zftape-read.c
(zft_read_header_segments) - ftape_read_header_segment(zft_hseg_buf)
failed: -5.
Apr  2 22:46:38 meteu kernel: [021]   ftape-ctl.c (ftape_disable) - ==
Non-fatal errors this run: ==.
Apr  2 22:46:38 meteu kernel: [022]   ftape-ctl.c (ftape_disable) - fdc
isr statistics:
Apr  2 22:46:38 meteu kernel:  id_am_errors     :   0
Apr  2 22:46:38 meteu kernel:  id_crc_errors    :   0
Apr  2 22:46:38 meteu kernel:  data_am_errors   : 230
Apr  2 22:46:38 meteu kernel:  data_crc_errors  :   0
Apr  2 22:46:38 meteu kernel:  overrun_errors   :   0
Apr  2 22:46:38 meteu kernel:  no_data_errors   :   1
Apr  2 22:46:38 meteu kernel:  retries          : 223.
Apr  2 22:46:38 meteu kernel: [023]   ftape-ctl.c (ftape_disable) - ecc
statistics:
Apr  2 22:46:38 meteu kernel:  crc_errors       :  32
Apr  2 22:46:38 meteu kernel:  crc_failures     :   0
Apr  2 22:46:38 meteu kernel:  ecc_failures     :   0
Apr  2 22:46:38 meteu kernel:  sectors corrected:   0.
Apr  2 22:46:38 meteu kernel: [024]   ftape-ctl.c (ftape_disable) -
Warning: 3472 media defects!.
Apr  2 22:46:38 meteu kernel: [025]   ftape-ctl.c (ftape_disable) - tape
motion statistics:
Apr  2 22:46:38 meteu kernel: repositions       : 224.

I am certain that there is no problem with the tape or with the drive.
I've tried ftformat, ftmt erase, mt erase, and doing a backup with tar.
They all give the same problem.
The lines that stick out the most to me are lines 13 and 19.  Does
anybody know what ftape error code 26 is, or what "wrong signature in
header segment" means?  I've searched all over the ftape web page
looking for info on this, and there just doesn't seem to be any.

Thanks for any help in advance.

--

 Daniel J. Wright                       Ahoo Ehdonhon Edeh Hdahne
 HTTP://DWRIGHT.HOME.ML.ORG             "Bringer of Fireworks"


 
 
 

Trouble getting ftape to work properly with DJ-20 (QIC-80) floppy tape drive

Post by Robert Lync » Sun, 04 Apr 1999 04:00:00



> I'm having trouble getting ftape to work properly with my tape drive.
> I'm
> using the ftape version that comes with the 2.2.5 kernel distribution.

[snip-long logging stuff]

> I am certain that there is no problem with the tape or with the drive.
> I've tried ftformat, ftmt erase, mt erase, and doing a backup with tar.
> They all give the same problem.
> The lines that stick out the most to me are lines 13 and 19.  Does
> anybody know what ftape error code 26 is, or what "wrong signature in
> header segment" means?  I've searched all over the ftape web page
> looking for info on this, and there just doesn't seem to be any.

> Thanks for any help in advance.

> --

>  Daniel J. Wright                       Ahoo Ehdonhon Edeh Hdahne
>  http://www.veryComputer.com/             "Bringer of Fireworks"



I'd try upgrading to ftape-4.0.2 (? something like that).  The stuff
that comes with the kernel is 1 version older than current.  May cure
your problem.

HTH.  Bob L.
--

http://www.veryComputer.com/~rm*/

 
 
 

1. archive 5580 (qic-80) tape drive and ftape

I am trying to set up an archive tape drive.  It is a model 5580 and I
am using 3M DC2080 tapes in it.  I am running RedHat 6.1 (2.2.12-20).
It has ftape 3.04d.  I installed the ftape module using the command
insmod ftape.  When the ftape module loads, I get the following in my
syslogd messages file:

Mar  8 09:49:34 localhost kernel: ftape v3.04d 25/11/97
Mar  8 09:49:34 localhost kernel: (c) 1993-1996 Bas Laarhoven

Mar  8 09:49:34 localhost kernel: (c) 1995-1996 Kai Harrekilde-Petersen

Mar  8 09:49:34 localhost kernel: (c) 1996-1997 Claus-Justus Heine

Mar  8 09:49:34 localhost kernel: QIC-117 driver for QIC-40/80/3010/3020
floppy tape drives
Mar  8 09:49:34 localhost kernel: Compiled for Linux version 2.2.12-20
with versioned symbols
Mar  8 09:49:34 localhost kernel: [000] ftape-init.c (ftape_init) -
installing QIC-117 floppy tape hardware drive ... .
Mar  8 09:49:34 localhost kernel: [001] ftape-init.c (ftape_init) -

Mar  8 09:49:34 localhost kernel: [002]   ftape-buffer.c

Mar  8 09:49:34 localhost kernel: [003]   ftape-buffer.c

Mar  8 09:49:34 localhost kernel: [004]   ftape-buffer.c

Mar  8 09:49:34 localhost kernel: [005]   ftape-calibr.c (time_inb) -
inb() duration: 634 nsec.
Mar  8 09:49:34 localhost kernel: [006]  ftape-calibr.c
(ftape_calibrate) - TC for `ftape_udelay()' = 830 nsec (at 10239
counts).
Mar  8 09:49:34 localhost kernel: [007]  ftape-calibr.c
(ftape_calibrate) - TC for `fdc_wait()' = 1774 nsec (at 5119 counts).

I downloaded and compiled ftape-tools-1.07.  I tried ftformat, with no
luck.  I tried tar cvf /dev/ftape /tmp, with no luck.  All I get is "no
such device".

I downloaded and compiled ftape-4.02, but that failed with the following
errors:

fdc-io.c: In function `fdc_interrupt_wait':
fdc-io.c:433: structure has no member named `timeout'
fdc-io.c:454: structure has no member named `timeout'
make[2]: *** [fdc-io.o] Error 1
make[2]: Leaving directory `/root/ftape-4.02/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/ftape-4.02/ftape'
make: *** [all] Error 2

All that said, I am still not able to access the drive in linux.  Is
there some hardware setup I missed.  I have found nothing on the net
about this hardware.  I am remaking the kernel with ftape enabled (not a
module) and also with the proc fs enabled.

Any ideas anyone?  What am I doing wrong?

Greg

2. Solaris 2.0 and C libraries

3. (Z)Ftape with QIC-80 drives and 2120-EXtra tapes

4. Installing from InfoMagic CD - Using Linux

5. Conner QIC-80 "floppy" tape drive

6. routing/gatewaying

7. wanted information on QIC-40/QIC-80 tape drives.

8. MIDI question

9. Problems with ftape 2.08 spanning tapes (QIC-80)

10. Using ftape with long (170MB) QIC-80 tapes

11. ftape success for Archive QIC-80 drive

12. ftape-0.9.8/.99pl14l/CoreTape QIC-80 drive

13. QIC-80 tape floppy I/F implementations