Robert Goto wrote:
>
> I am trying to get ftape to work with an Iomega 2gb drive. I have tried
> several distributions, Redhat 6.0, Suse, Caldera but I keep getting the
> error that the device is not configured or device does not support operation
> when I try to address the drive.
>
> According to the ftape page 4.02 is supposed to be built into the newer
> versions of the kernel.....could it be that some distributions don't support
> it.
>
> I have also tried installing the rpms but still no go.
>
> Hardware wise I am using one of the newer Asus P3 boards.......
>
> Any assistance would be much appreciated.
I'm using SuSE Linux 6.3 and had success accessing my Ditto 2GB.
That's how I did it.
Get
http://www.instmath.rwth-aachen.de/~heine/ftape/archives/ftape-4.x/unstable/ftape-4.x-1999_09_11.tar.gz
I assume you've got kernel 2.2.14, because I did it with this version. It might
work with others. Now do the following
cd /tmp
tar -xvzf PATH/ftape-4.x-1999_09_11.tar.gz
cd ftape-4.x-1999_09_11/scripts
sh MAKEDEV.ftape
cd kernel-inclusion
./gokernel.sh
Reconfigure your kernel with "make menuconfig" and select the following:
General setup:
<M> Parallel port support
<M> PC-style hardware
Character devices:
<M> Parallel printer support
[*] Support IEEE1284 status readback <-- not really needed!
Character devices ---> Ftape, the floppy tape device driver:
<M> Ftape
<M> Zftape
[*] Enable procfs status report
<M> Driver for Micro Solutions Backpack parport drive
--- Hardware configuration, first ftape device
(Parallel) FDC driver for first ftape device
--- Parallel Port FDC setup
(Backpack) Parallel Port Floppy Tape Controllers
(-1) Parport Number to Use
Now recompile your kernel and install all modules.
Next edit /etc/conf.modules and add/modify those lines
# load ftape/zftape automatically
alias char-major-27 zftape
# user bpck-fdc.o for /dev/qft0
options ftape ft_fdc_driver=bpck-fdc,none,none,none
#options bpck-fdc ft_fdc_parport=0
# no special options required for the bpck-fdc.o module
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7,none <-- check if your parallelport
has this settings, else
correct this to reflect your
bios settings!!!!!
after a reboot insert a tape into your Ditto 2GB and do the following
"mt -f /dev/nqft0 status"
now your syslog file (eg. /var/log/messages) should show something like this:
kernel: ftape v4.03-pre-4 06/30/99
kernel:
kernel: (c) 1993-1996 Bas Laarhoven
kernel: (c) 1995-1996 Kai Harrekilde-Petersen
kernel: (c) 1996-1998 Claus-Justus Heine ([EMAIL PROTECTED])
kernel:
kernel: QIC-117 driver for QIC-40/80/3010/3020/Ditto 2GB/MAX floppy tape drives.
kernel: Compiled for Linux version 2.2.14
kernel: installing QIC-117 floppy tape hardware drive ...
kernel: ftape_init @ 0xc683f21c.
kernel: zftape for ftape v4.03-pre-4 06/30/99
kernel: (c) 1996, 1997 Claus-Justus Heine ([EMAIL PROTECTED])
kernel: vfs interface for ftape floppy tape driver.
Support for QIC-113 compatible volume table.
Compiled for Linux version 2.2.14
kernel: [000] zftape-init.c (zft_init) - zft_init @ 0xc68740fc.
kernel: [001] zftape-init.c (zft_init) - installing zftape VFS interface for ftape
driver ....
kernel: bpck-fdc.c: bpck_fdc_register @ 0xc68844c4
kernel: [002] fdc-io.c (fdc_register) - Probing for bpck-fdc tape drive slot 0.
kernel: parport0: PC-style at 0x378 (0x778), irq 7 [SPP,ECP,ECPPS2]
kernel: parport0: no IEEE-1284 device present.
kernel: [003] 0 fdc-parport.h (ft_parport_probe) - dev: c11fd680.
kernel: [004] 0 fdc-parport.h (ft_parport_probe) - irq: 7.
kernel: [005] 0 fdc-parport.h (ft_parport_probe) - port: 378.
kernel: [006] 0 bpck-fdc.c (bpck_fdc_probe) - Bpck parallel port tape drive
interface for ftape v4.03-pre-4 06/30/99.
[..]
kernel: [020] 0 ftape-ctl.c (ftape_log_vendor_id) - tape drive type: Iomega DITTO
2GB.
kernel: [027] 0 ftape-io.c (ftape_report_configuration) - TR-3 tape detected.
kernel: [028] 0 ftape-ctl.c (ftape_init_drive) - unknown length QIC-3020 tape.
[..]
MfG / Regards
Friedrich Lobenstock