I appreciate that there may not be anyone able to help me with this, 
but here's the story.
At a flea market I picked up an:

ArchiveXLe 5540e
40MB 3.5" External Tape Drive

I removed the tape drive from its external casing, and plugged it 
into existing power and FDC
controller cable on my AOpen 486 Vi15G computer.

I'm running a RedHat Linux 5.0 installation, kernel  2.2.5-15

It doesn't work and that's why I'm writing this.

i'll describe exactly what I have done to try and provide some kind 
soul with the information
they need to give me some advice.


1) restart the linux box

2) load the driver
        [root@ns2 /]# /sbin/modprobe zftape

3) this returns in /var/log/messages:

Feb  5 13:14:59 ns2 kernel: (c) 1993-1996 Bas Laarhoven ([EMAIL PROTECTED])
Feb  5 13:14:59 ns2 kernel: (c) 1995-1996 Kai Harrekilde-Petersen 
([EMAIL PROTECTED])
Feb  5 13:14:59 ns2 kernel: (c) 1996-1997 Claus-Justus Heine 
([EMAIL PROTECTED])
Feb  5 13:14:59 ns2 kernel: QIC-117 driver for QIC-40/80/3010/3020 
floppy tape drives
Feb  5 13:14:59 ns2 kernel: Compiled for Linux version 2.2.5-15 with 
versioned symbols
Feb  5 13:14:59 ns2 kernel: [000] ftape-init.c (ftape_init) - 
installing QIC-117 floppy tape hardware drive ... .
Feb  5 13:14:59 ns2 kernel: [001] ftape-init.c (ftape_init) - 
ftape_init @ 0xc205f050.
Feb  5 13:14:59 ns2 kernel: [002]   ftape-buffer.c (add_one_buffer) - 
buffer nr #1 @ c084f800, dma area @ c09e8000.
Feb  5 13:14:59 ns2 kernel: [003]   ftape-buffer.c (add_one_buffer) - 
buffer nr #2 @ c084f650, dma area @ c0d88000.
Feb  5 13:14:59 ns2 kernel: [004]   ftape-buffer.c (add_one_buffer) - 
buffer nr #3 @ c09a3010, dma area @ c0d80000.
Feb  5 13:14:59 ns2 kernel: [005]   ftape-calibr.c (time_inb) - inb() 
duration: 1688 nsec.
Feb  5 13:14:59 ns2 kernel: [006]  ftape-calibr.c (ftape_calibrate) - 
TC for `ftape_udelay()' = 4598 nsec (at 1279 counts).
Feb  5 13:14:59 ns2 kernel: [007]  ftape-calibr.c (ftape_calibrate) - 
TC for `fdc_wait()' = 3407 nsec (at 2559 counts).
Feb  5 13:18:03 ns2 kernel: zftape for ftape v3.04d 25/11/97
Feb  5 13:18:03 ns2 kernel: (c) 1996, 1997 Claus-Justus Heine 
([EMAIL PROTECTED])
Feb  5 13:18:03 ns2 kernel: vfs interface for ftape floppy tape driver.
Feb  5 13:18:03 ns2 kernel: Support for QIC-113 compatible volume 
table, dynamic memory allocation
Feb  5 13:18:03 ns2 kernel: and builtin compression (lzrw3 algorithm).
Feb  5 13:18:03 ns2 kernel: Compiled for Linux version 2.2.5-15 with 
versioned symbols
Feb  5 13:18:03 ns2 kernel: [008] zftape-init.c (zft_init) - zft_init 
@ 0xc2083ad8.
Feb  5 13:18:03 ns2 kernel: [009] zftape-init.c (zft_init) - 
installing zftape VFS interface for ftape driver ....

4) then, without a tape in the drive i run:
        [root@ns2 /]# ftmt -f /dev/qft1 status

5) which returns:

        This is a Insight 80Mb, Irwin 80SX floppy tape drive, (drive 
type = 0x10005)
        drive status         = 0x00000001
        generic drive status = 0x00040000
        (In particular: * door open (no tape) * )
        sense key error      = 0x00000000
        residue count        = 0
        file number          = -1
        block number         = -1

6) I presume this tells me that at least the drive is talking to the 
driver, though it identifies
        the drive as an Insight or Irwin 80SX drive, where in reality 
its and ArchiveXLe 5540e.

7) in /var/log/messages i have:

Feb  5 13:19:38 ns2 kernel: [010]     fdc-io.c (fdc_config) - fdc 
base: 0x3f0, irq: 6, dma: 2.
Feb  5 13:19:38 ns2 kernel: [011]     fdc-io.c (fdc_probe) - Type 
82077AA FDC found.
Feb  5 13:19:42 ns2 kernel: [012]    ftape-ctl.c 
(ftape_get_drive_status) - no cartridge present.
Feb  5 13:19:42 ns2 kernel: [013]      ftape-io.c 
(ftape_report_operation_Rf5ac4591) - missing status stop bit.
Feb  5 13:19:43 ns2 kernel: [014]    ftape-ctl.c 
(ftape_log_vendor_id) - tape drive type: Insight 80Mb, Irwin 80SX.

8) i put in the tape (it came with only one) and execute the following:

[root@ns2 hugo]# ftmt -f /dev/qft1 status

9) the drive does some whirring, then the AOpen box makes a series of 
short beeps (you know that kinda
        'i don't like this' kind of sound), the drive does some more 
whirring and then
        the console returns:

ftmt: /dev/qft1: Input/output error

10) and in /var/log/messages i get:

Feb  5 13:21:17 ns2 kernel: [015]    ftape-ctl.c 
(ftape_get_drive_status) - status: new cartridge.
Feb  5 13:22:34 ns2 kernel: [016]    ftape-ctl.c (ftape_init_drive) - 
Warning: tape is not formatted !.
Feb  5 13:22:35 ns2 kernel: [017]      ftape-io.c 
(ftape_report_operation_Rf5ac4591) - No acknowledge after 302 msec. 
(95 iter).
Feb  5 13:22:35 ns2 kernel: [018]      ftape-io.c 
(ftape_report_operation_Rf5ac4591) - timeout on Acknowledge.
Feb  5 13:22:35 ns2 kernel: [019]    ftape-ctl.c (ftape_init_drive) - 
pre QIC-117C drive @ 500 Kbps.
Feb  5 13:22:35 ns2 kernel: [020]            ftape-io.c 
(ft_check_cmd_restrictions) - Fatal: tape removed or reinserted !.
Feb  5 13:22:35 ns2 kernel: [021]           ftape-io.c 
(ftape_command_R799305e4) - ft_check_cmd_restrictions(command) 
failed: -5.
Feb  5 13:22:35 ns2 kernel: [022]          ftape-io.c 
(ftape_seek_head_to_track) - 
ftape_command_R799305e4(QIC_SEEK_HEAD_TO_TRACK) f
ailed: -5.
Feb  5 13:22:35 ns2 kernel: [023]         ftape-rw.c 
(ftape_start_tape) - failed to reposition.
Feb  5 13:22:35 ns2 kernel: [024]        ftape-read.c 
(ftape_read_segment_fraction_Rc87f4ed7) - Error: segment 0 
unreachable.
Feb  5 13:22:35 ns2 kernel: [025]       ftape-read.c 
(ftape_read_header_segment_Ra2b14b3c) - header segment damaged, 
trying backup.
Feb  5 13:22:35 ns2 kernel: [026]            ftape-io.c 
(ft_check_cmd_restrictions) - Fatal: tape removed or reinserted !.
Feb  5 13:22:35 ns2 kernel: [027]           ftape-io.c 
(ftape_command_R799305e4) - ft_check_cmd_restrictions(command) 
failed: -5.
Feb  5 13:22:35 ns2 kernel: [028]          ftape-io.c 
(ftape_seek_head_to_track) - 
ftape_command_R799305e4(QIC_SEEK_HEAD_TO_TRACK) f
ailed: -5.
Feb  5 13:22:35 ns2 kernel: [029]         ftape-rw.c 
(ftape_start_tape) - failed to reposition.
Feb  5 13:22:35 ns2 kernel: [030]        ftape-read.c 
(ftape_read_segment_fraction_Rc87f4ed7) - Error: segment 1 
unreachable.
Feb  5 13:22:35 ns2 kernel: [031]       ftape-read.c 
(ftape_read_header_segment_Ra2b14b3c) - no readable header segment 
found.
Feb  5 13:22:35 ns2 kernel: [032]      zftape-read.c 
(zft_read_header_segments) - 
ftape_read_header_segment_Ra2b14b3c(zft_hseg_buf)
failed: -5.
Feb  5 13:22:35 ns2 kernel: [033] zftape-init.c (zft_ioctl) - failed: 
not busy, failure or wrong unit.
Feb  5 13:22:35 ns2 kernel: [034]   ftape-ctl.c 
(ftape_disable_R7b52f04b) - == Non-fatal errors this run: ==.
Feb  5 13:22:35 ns2 kernel: [035]   ftape-ctl.c 
(ftape_disable_R7b52f04b) - fdc isr statistics:
Feb  5 13:22:35 ns2 kernel:  id_am_errors     :   0
Feb  5 13:22:35 ns2 kernel:  id_crc_errors    :   0
Feb  5 13:22:35 ns2 kernel:  data_am_errors   :   0
Feb  5 13:22:35 ns2 kernel:  data_crc_errors  :   0
Feb  5 13:22:35 ns2 kernel:  overrun_errors   :   0
Feb  5 13:22:35 ns2 kernel:  no_data_errors   :   0
Feb  5 13:22:35 ns2 kernel:  retries          :   0.
Feb  5 13:22:35 ns2 kernel: [036]   ftape-ctl.c 
(ftape_disable_R7b52f04b) - ecc statistics:
Feb  5 13:22:35 ns2 kernel:  crc_errors       :   0
Feb  5 13:22:35 ns2 kernel:  crc_failures     :   0
Feb  5 13:22:35 ns2 kernel:  ecc_failures     :   0
Feb  5 13:22:35 ns2 kernel:  sectors corrected:   0.

11) the "reten" command also seems to work fine, but any kind of reading,
        writing or formatting request fails.

So any ideas?
Do i just need to get a new tape?
Is the drive probably only useful for a paperweight?
Is it the multi-function FDC card I have on the computer that's 
likely not working?

Any suggestions or ideas would be appreciated.

Thanks


Hugo Jackson

Reply via email to