Hi Peter,

On 13-Jan-99 Peter Spiess wrote:
> Hi Carl,
> 
>> From your lsmod listing you don't have one of the drive specific
>> drivers loaded.  Depending on which drive you have you need to
>> load either bpck-fdc.o, trakker.o, or internal.o.  Unless you have
>> tapes that used zft-compressor.o from an old release of ftape you
>> won't need it since ftape no longer can compress data.
> 
> I insert in the file /etc/conf.modules the following lines:
> 
> alias char-major-27    zftape
> options ftape ft_fdc_driver=ftape-internal,bpck-fdc:none,none,none

You don't need both ftape-internal and bpck-fdc, determine what type
of drive you have and then just load the module that you need.

My /etc/conf.modules looks like this:

#
# /etc/conf.modules
#

#
# load ftape/zftape automatically
#
alias char-major-27 zftape
pre-install ftape-internal /sbin/swapout 20
options ftape ft_fdc_driver=ftape-internal,none,none,none
options ftape-internal ft_fdc_base=0x370 ft_fdc_irq=6 ft_fdc_dma=2

> It should automatically load the needed modules by use. After the 
> command "ftmt -f /dev/qft0 status (a tape is loaded) i get the 
> message: ftmt: /dev/qft0: No such device or address.
> lsmod shows now:
> 
> zftape  20            0 (autoclean)
> ftape    35    [zftape]        0 (autoclean)

When I run lsmod I get (minus all the other junk of cause):

ftape-internal     3            0 (autoclean)
zftape            20            0 (autoclean)
ftape             34    [ftape-internal zftape] 0 (autoclean)

I use kerneld so that's why there is an (autoclean) on mine.

> Hmm ..don't work - unloading the modules ftape and zftape (rmmod) and
> a new experiment. Now I load the modules with modprobe:
> 
> server:/etc # modprobe zftape
> server:/etc # modprobe ftape-internal
> server:/etc # lsmod
> Module         Pages    Used by
> ftape-internal     3            0
> zftape            20            0
> ftape             35    [ftape-internal zftape] 0
> 
> It seems ok, no error-message occurs :)
> And now: server:/etc # ftmt -f /dev/qft0 status
> 
> It works and works and works... till I stop it with ctrl-c :(
> ftmt -f /dev/nqft0 reten works fine. The tapedrive start to rewind 
> the tape. After finishing the prompt comes back. But no backup is 
> possible. Without tape-cassette "status" shows:
> 
> Es handelt sich um ein Conner TSM850R/1700R/TST3200R
> Floppybandlaufwerkm (Laufwerkscode = 0x0156) Bandlaufwerksstatus  =
> 0x00e35109 Generischer Laufwerksstatus = 0x00040000 (Im Einzelnen: *
> door open (no tape) * ) Fehlercode   = 0x00001b1f Residuum 
>  = 0 Dateinummer   = -1 Blocknummer   = -1
> 
> A look in /proc/ftape shows about five directories:0, 1, 2, 3 and 
> driver. In /proc/0/cartridge I can read the datas of the tape !?!

Do a cat /proc/ftape/driver/drivers you should get something like:

Lowlevel fdc drivers registered with ftape

ftape-internal -- driver for internal FDC controllers (FC-10/FC-20/82078
/Ditto EZ)

Drivers registered for device 0: ftape-internal 

Drivers registered for device 1: 

Drivers registered for device 2: 

Drivers registered for device 3: 

> 
> segments  :   102
> tracks    :    20
> length    :     0ft
> formatted : yes
> writable  : yes
> QIC spec. : QIC-3020
> fmt-code  : 0
> 
> If I take out the cassette, the file contains, that no tape is 
> loaded.

Yup, If there is not tape in the machine the it will tell you there
are no tapes in the machine.

> I don't now, what's wrong. tar or kbackup makes no backup. The 
> tapedrive don't work.
> Sadhunathan has more luck ;)
> 
> Servus
>   Peter
> ------------

Try to do a raw dump to the tape with something like:

dd if=somefilename of=/dev/rawft0

Look it up in a man page don't just take my example verbatum.

Carl

----------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 13-Jan-99
Time: 20:06:57
----------------------------------

Reply via email to