Well, I give up.  I just can't get ftformat to work.  I've tried just about
every variant of the command line I can think of, and I still get the same
error - "Unknown format API version. Giving up"

Info:  Kernel 2.2.14 with built-in ftape driver
        ftformat v1.07
        Colorado Jumbo 1400 tape drive on the floppy port

What's curious is that I can't find a /dev/rawft0, 1, 2, 3  
I have /dev/rawqft0, 1, 2, 3 - same thing?

Anyone have any ideas about what I need to do to be able to format tapes?
I have some MC 3000XL's formatted to QIC-3010 that I'd like to reformat to
QIC-3020.  After I give ftformat the command line below, the drive
shoeshines for about 20 minutes and then ftformat comes up with the
"unknown API" error.  I tried other tapes, same problem. 

Cheers,

Tony Kerr

[root@bigdaddy log]# ftmt -f /dev/qft0 status
This is a Colorado 1400 floppy tape drive, (drive type = 0x11c3)
drive status         = 0x00639865
generic drive status = 0x41000000
(In particular: * at begin of tape * tape online * )
sense key error      = 0x00001b1f
residue count        = 0
file number          = 0
block number         = 0

MTIOCVOLINFO result:
file number          = 0
block size           = 28672
physical space used  =   29.0 kilobytes
real size of volume  =   28.0 kilobytes

MTIOCGETSIZE result:
total bytes on tape  =  333.8 megabytes
total bytes used     =   58.0 kilobytes
total bytes left     =  333.8 megabytes
[root@bigdaddy log]#
[root@bigdaddy log]# ftformat -v -d -f /dev/rawqft0 --format-parameters
qic-stan
dard=QIC-3020 \
>
Tape drive type: Colorado 1400 (0x11c3)
Unknown format API version. Giving up.
[root@bigdaddy log]#

Kernel messages follow:                        

Apr 13 21:56:23 bigdaddy kernel:  id_am_errors     :   0 
Apr 13 21:56:23 bigdaddy kernel:  id_crc_errors    :  22 
Apr 13 21:56:23 bigdaddy kernel:  data_am_errors   :  27 
Apr 13 21:56:23 bigdaddy kernel:  data_crc_errors  :   0 
Apr 13 21:56:23 bigdaddy kernel:  overrun_errors   :   0 
Apr 13 21:56:23 bigdaddy kernel:  no_data_errors   : 118 
Apr 13 21:56:23 bigdaddy kernel:  retries          : 168. 
Apr 13 21:56:23 bigdaddy kernel: [226]   ftape-ctl.c (ftape_disable) - ecc
statistics: 
Apr 13 21:56:23 bigdaddy kernel:  crc_errors       :  24 
Apr 13 21:56:23 bigdaddy kernel:  crc_failures     :   0 
Apr 13 21:56:23 bigdaddy kernel:  ecc_failures     :   1 
Apr 13 21:56:23 bigdaddy kernel:  sectors corrected:   0. 
Apr 13 21:56:23 bigdaddy kernel: [227]   ftape-ctl.c (ftape_disable) -
Warning: 1470 media defects!. 
Apr 13 21:56:23 bigdaddy kernel: [228]   ftape-ctl.c (ftape_disable) - tape
motion statistics: 
Apr 13 21:56:23 bigdaddy kernel: repositions       : 170. 
Apr 13 21:59:34 bigdaddy kernel: [229]    ftape-ctl.c
(ftape_get_drive_status) - status: new cartridge. 
Apr 13 21:59:35 bigdaddy kernel: [230]    ftape-ctl.c (ftape_init_drive) -
post QIC-117B drive @ 1000 Kbps. 
Apr 13 21:59:35 bigdaddy kernel: [231]     ftape-ctl.c
(ftape_calibrate_data_rate) - Highest FDC supported data rate: 500 Kbps. 
Apr 13 21:59:35 bigdaddy kernel: [232]      ftape-io.c
(ftape_set_data_rate) - Rate change failed!. 
Apr 13 21:59:35 bigdaddy kernel: [233]      ftape-io.c
(ftape_set_data_rate) - fdc_set_data_rate(data_rate) failed: -22. 
Apr 13 21:59:35 bigdaddy kernel: [234]     ftape-ctl.c
(ftape_calibrate_data_rate) - set datarate failed. 
Apr 13 21:59:35 bigdaddy kernel: [235]    ftape-ctl.c (ftape_init_drive) -
ftape_calibrate_data_rate(qic_std) failed: -5. 
Apr 13 21:59:35 bigdaddy kernel: [236]   ftape-ctl.c (ftape_enable) -
ftape_init_drive() failed: -5. 
Apr 13 21:59:35 bigdaddy kernel: [237]  zftape-ctl.c (_zft_open) -
ftape_enable failed: -5. 
Apr 13 21:59:35 bigdaddy kernel: [238] zftape-init.c (zft_open) -
_ftape_open failed. 
Apr 13 21:59:42 bigdaddy kernel: [239]    ftape-ctl.c
(ftape_get_drive_status) - error status set. 
Apr 13 21:59:43 bigdaddy kernel: [240]     ftape-io.c (ftape_report_error)
- errorcode: 31. 
Apr 13 22:01:00 bigdaddy PAM_pwdb[6243]: (su) session opened for user news
by (uid=0)
Apr 13 22:01:02 bigdaddy PAM_pwdb[6243]: (su) session closed for user news
Apr 13 22:07:30 bigdaddy kernel: [241]          ftape-ecc.c
(ftape_ecc_correct_data) - ECC failed (>3 CRC errors). 
Apr 13 22:07:30 bigdaddy kernel: [242]         ftape-read.c
(correct_and_copy_fraction) - ecc failure on segment 0. 
Apr 13 22:07:30 bigdaddy kernel: [243]        ftape-read.c
(ftape_read_segment_fraction) - ecc failed, retry. 
Apr 13 22:15:35 bigdaddy kernel: [244]        ftape-read.c
(ftape_decode_header_segment) - calculated tape length is 207 ft. 
Apr 13 22:15:35 bigdaddy kernel: [245]          ftape-bsm.c
(print_bad_sector_map) - 341856 Kb usable on this tape. 
Apr 13 22:15:35 bigdaddy kernel: [246]          ftape-bsm.c
(print_bad_sector_map) - 1446 bad sectors. 
Apr 13 22:15:35 bigdaddy kernel: [247]      zftape-read.c
(zft_read_header_segments) - Segments written since first format: 953. 
Apr 13 22:15:35 bigdaddy kernel: [248]      zftape-read.c
(zft_read_header_segments) - ft_first_data_segment: 2,
ft_last_data_segment: 11839. 
Apr 13 22:15:48 bigdaddy kernel: [249]   ftape-ctl.c (ftape_disable) - ==
Non-fatal errors this run: ==. 
Apr 13 22:15:48 bigdaddy kernel: [250]   ftape-ctl.c (ftape_disable) - fdc
isr statistics: 
Apr 13 22:15:48 bigdaddy kernel:  id_am_errors     :   0 
Apr 13 22:15:48 bigdaddy kernel:  id_crc_errors    :  16 
Apr 13 22:15:48 bigdaddy kernel:  data_am_errors   :  29 
Apr 13 22:15:48 bigdaddy kernel:  data_crc_errors  :   0 
Apr 13 22:15:48 bigdaddy kernel:  overrun_errors   :   0 
Apr 13 22:15:48 bigdaddy kernel:  no_data_errors   : 122 
Apr 13 22:15:48 bigdaddy kernel:  retries          : 168. 
Apr 13 22:15:48 bigdaddy kernel: [251]   ftape-ctl.c (ftape_disable) - ecc
statistics: 
Apr 13 22:15:48 bigdaddy kernel:  crc_errors       :  24 
Apr 13 22:15:48 bigdaddy kernel:  crc_failures     :   0 
Apr 13 22:15:48 bigdaddy kernel:  ecc_failures     :   1 
Apr 13 22:15:48 bigdaddy kernel:  sectors corrected:   0. 
Apr 13 22:15:48 bigdaddy kernel: [252]   ftape-ctl.c (ftape_disable) -
Warning: 1470 media defects!. 
Apr 13 22:15:48 bigdaddy kernel: [253]   ftape-ctl.c (ftape_disable) - tape
motion statistics: 
Apr 13 22:15:48 bigdaddy kernel: repositions       : 170. 

Reply via email to