[PARPORT] Iomega Ditto Max Pro only works with tar not cpio


Neil Soper (ae605@dial.pipex.com)
Thu, 20 May 1999 23:26:06 +0100


I am fairly new to Linux so I hope this is not too stupid a question. I have RH 5.2 installed (Linux kernel 2.0.36) and downloaded ftape-4.03-pre-2 a month or so back. I have a parallel port Iomega Ditto Max Pro which I plan to use as a backup device. I load a number of modules at boot-time as follows:

insmod ./ftape-internal.o ft_fdc_fc10=0 ft_fdc_mach2=0 ft_fdc_base=0x210 ft_fdc_dma=0 ft_fdc_threshold=15 # ft_fdc_rate_limit=4000

modprobe parport || true # pre-2.1 kernels don't have the parport module
insmod ./trakker.o

insmod ./bpck-fdc.o

all done from a script called insert that came with ftape.

At first all seemed fine I tried tar and dd to the device /dev/qft1 and it worked OK, however I found that entire system backups using tar are not possible (I think it creates an image in the /tmp directory before writing it out), so I thought I'd try cpio instead. At this point I found that cpio got a write error, so I checked the dmesg output and found loads of warnings related to the ftape modules. I have included them all because I don't know what might be relevant!

---------------------dmesg output------------------------------------------------------

gister_R3448e164) - Probing for ftape-internal tape drive slot 0.

[003] 0 fdc-internal.c (_fdc_int_detect) - called with count 0.

[004] 0 fdc-internal.c (fdc_int_request_regions) - address 0x3f0 occupied (by floppy driver?), using it anyway.

[005] 0 fdc-internal.c (_fdc_int_detect) - fdc[0] base: 0x0210, irq: 6, dma: 0.

[006] 0 ftape-buffer.c (add_one_buffer) - buffer nr #1 @ 0180cc98, dma area @ 00ed0000.

[007] 0 ftape-buffer.c (add_one_buffer) - buffer nr #2 @ 0180c998, dma area @ 00f78000.

[008] 0 ftape-buffer.c (add_one_buffer) - buffer nr #3 @ 0180cf18, dma area @ 00f70000.

trakker.c: trakker_register @ 0x0306613c

[009] fdc-io.c (fdc_register_R3448e164) - Probing for trakker tape drive slot 1.

[010] 1 trakker.c (trakker_checksum) - checksum error (off by 50).

[011] 1 trakker.c (trakker_checksum) - checksum error (off by 50).

[012] 1 trakker.c (trakker_checksum) - checksum error (off by eb).

[013] 1 trakker.c (trakker_checksum) - checksum error (off by eb).

[014] 1 trakker.c (trakker_checksum) - checksum error (off by eb).

[015] 1 trakker.c (trakker_checksum) - checksum error (off by eb).

[016] 1 trakker.c (trakker_detect) - can't find trakker interface for ftape id 1.

[017] 1 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.

bpck-fdc.c: bpck_fdc_register @ 0x0306f35c

[018] fdc-io.c (fdc_register_R3448e164) - Probing for bpck-fdc tape drive slot 1.

[019] 1 bpck-fdc.c (bpck_fdc_probe) - Bpck parallel port tape drive interface for ftape v4.03-pre-2 11/05/98.

[020] bpck-fdc.c (bpck_fdc_switch_proto) - Need delay 1 for proto 0.

[021] bpck-fdc.c (bpck_fdc_switch_proto) - Need delay 1 for proto 0.

[022] bpck-fdc.c (bpck_fdc_log_adapter) - bpck floppy tape at 0x378, mode 0 (4-bit), delay 1.

[023] 1 bpck-fdc.c (bpck_fdc_probe) - Setting bpck irq to 7.

[024] 1 ftape-buffer.c (add_one_buffer) - buffer nr #1 @ 00e8a518, dma area @ 03072000.

[025] 1 ftape-buffer.c (add_one_buffer) - buffer nr #2 @ 00e8a598, dma area @ 03072000.

[026] 1 ftape-buffer.c (add_one_buffer) - buffer nr #3 @ 00e8a618, dma area @ 03072000.

[027] 1 ftape-buffer.c (add_one_buffer) - buffer nr #4 @ 00e8a698, dma area @ 03072000.

Swansea University Computer Society IPX 0.34 for NET3.035

IPX Portions Copyright (c) 1995 Caldera, Inc.

Appletalk 0.17 for Linux NET3.035

[028] 1 ftape-calibr.c (ftape_calibrate) - calibr_count: 424, calibr_time: 9954 us.

[029] 1 ftape-calibr.c (ftape_calibrate) - TC for `fdc_wait()' = 23476 nsec (at 424 counts).

[030] 1 fdc-io.c (fdc_probe) - Type i82078-1 or 5Volt i82078SL FDC found.

[031] 1 ftape-ctl.c (ftape_log_vendor_id) - tape drive type: Iomega DITTO MAX.

[032] 1 ftape-ctl.c (ftape_get_drive_status_Rfce64bdc) - error status set.

[033] 1 ftape-io.c (ftape_report_error_R1e3db2bb) - errorcode: 26.

[034] 1 ftape-ctl.c (ftape_get_drive_status_Rfce64bdc) - status: new cartridge.

[035] 1 ftape-io.c (ftape_report_configuration) - TR-3 tape detected.

[036] 1 ftape-ctl.c (ftape_init_drive) - post QIC-117B drive @ 2000 Kbps.

[037] 1 ftape-ctl.c (ftape_calibrate_data_rate_R60916cc1) - Highest FDC supported data rate: 2000 Kbps.

[038] 1 ftape-io.c (ftape_report_configuration) - TR-3 tape detected.

[039] 1 ftape-ctl.c (ftape_init_drive) - unknown length QIC-3020 tape.

[040] 1 zftape-write.c (check_write_access) - write-count 102 must be multiple of block-size 10240.

[041] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

[042] 1 ftape-read.c (ftape_decode_header_segment_R33a117a7) - calculated tape length is 388 ft.

[043] 1 ftape-bsm.c (print_bad_sector_map) - 1480840 Kb usable on this tape.

[044] 1 ftape-bsm.c (print_bad_sector_map) - 74 bad sectors.

[045] 1 zftape-read.c (zft_read_header_segments) - Segments written since first format: 135856.

[046] 1 zftape-read.c (zft_read_header_segments) - zftape->ftape->first_data_segment: 2, zftape->ftape->last_data_segment: 51067.

[047] 1 zftape-read.c (check_read_access) - req_len 512 not a multiple of block size 10240.

[048] 1 ftape-ctl.c (ftape_print_history) - == Non-fatal errors this run: ==.

[049] 1 ftape-ctl.c (ftape_print_history) - fdc isr statistics:

id_am_errors : 0

id_crc_errors : 0

data_am_errors : 0

data_crc_errors : 0

overrun_errors : 0

no_data_errors : 0

retries : 0.

[050] 1 ftape-ctl.c (ftape_print_history) - ecc statistics:

crc_errors : 0

crc_failures : 0

ecc_failures : 0

sectors corrected: 0.

[051] 1 ftape-ctl.c (ftape_print_history) - tape motion statistics:

repositions : 2.

[052] 1 zftape-write.c (check_write_access) - write-count 512 must be multiple of block-size 10240.

[053] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

[054] 1 zftape-write.c (check_write_access) - write-count 512 must be multiple of block-size 10240.

[055] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

[056] 1 zftape-write.c (check_write_access) - write-count 512 must be multiple of block-size 10240.

[057] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

[058] 1 zftape-write.c (check_write_access) - write-count 512 must be multiple of block-size 10240.

[059] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

[060] 1 zftape-write.c (check_write_access) - write-count 512 must be multiple of block-size 10240.

[061] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

st: Unloaded.

st: Unloaded.

[062] 1 ftape-ctl.c (ftape_print_history) - == Non-fatal errors this run: ==.

[063] 1 ftape-ctl.c (ftape_print_history) - fdc isr statistics:

id_am_errors : 0

id_crc_errors : 0

data_am_errors : 0

data_crc_errors : 0

overrun_errors : 0

no_data_errors : 0

retries : 0.

[064] 1 ftape-ctl.c (ftape_print_history) - ecc statistics:

crc_errors : 0

crc_failures : 0

ecc_failures : 0

sectors corrected: 0.

[065] 1 ftape-ctl.c (ftape_print_history) - tape motion statistics:

repositions : 9.

st: Unloaded.

[066] 1 zftape-read.c (check_read_access) - req_len 16384 not a multiple of block size 10240.

[067] 1 zftape-write.c (check_write_access) - write-count 8192 must be multiple of block-size 10240.

[068] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

[069] 1 zftape-write.c (check_write_access) - write-count 8192 must be multiple of block-size 10240.

[070] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

[071] 1 zftape-read.c (check_read_access) - req_len 8192 not a multiple of block size 10240.

[072] 1 zftape-read.c (check_read_access) - req_len 8192 not a multiple of block size 10240.

[073] 1 zftape-write.c (check_write_access) - write-count 8192 must be multiple of block-size 10240.

[074] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

[075] 1 zftape-read.c (check_read_access) - req_len 8192 not a multiple of block size 10240.

[076] 1 zftape-write.c (check_write_access) - write-count 8192 must be multiple of block-size 10240.

[077] 1 zftape-write.c (_zft_write) - check_write_access(zftape, req_len, &zftape->volume, &zftape->pos, zftape->blk_sz) failed: -22.

--------------------------------------------------------------------------------------------

I know a little more now than when I first set this up and I believe that zftape and ftape have been merged (is this correct?). Should I try a newer version of ftape, or is the problem likely to be more fundamental as to how the parallel port is handled? I don't really want to upgrade my kernel if I can avoid it cos everything else seems to work right now! Any advice would be appreciated!



This archive was generated by hypermail 2.0b3 on Thu 20 May 1999 - 18:37:42 EDT