Re: External Iomega Ditto
Agustín Martín Domingo <[email protected]> Fri, 27 Sep 2002 16:51:57 +0200
| Newsgroups | gmane.linux.tape |
|---|---|
| Message-ID | <[email protected]> |
James Smith wrote:
> checked all those usual suspects
>
> the /etc/modutils/ftape-util has the correct entries & is unchanged
>
> the /etc/modules.conf has the correct entries & is unchanged
>
> they both match each other
>
> lost for ideas here
>
Well, you encouraged me to try my old Colorado trakker and see what
happens. I hope some of the things I found be useful to you. Note that
this is the first time I try things with a parallel port unit under
Linux, and that I have no idea whether it would have worked before
without these changes. These are my software versions:
Linux kernel 2.4.19
ftape module built from 2002.08.02 snapshot (from ftape-source)
Debian testing as of today.
1) Adding trakker on the ftape-util file to be used as unit 1
(with an internal unit as unit 0) and trying after
update-modules:
# mt -f /dev/nqft1 status
mt: /dev/nqft1: No such device or address
Info from the logs:
kernel: (c) 1996-2000 Claus-Justus Heine <[email protected]>
kernel: vfs interface for ftape floppy tape driver.
kernel: Support for QIC-113 compatible volume table.
kernel: Compiled for Linux version 2.4.19
kernel: [000] zftape-init.c (zft_init) - zft_init @ 0xc89569b0.
kernel: [001] zftape-init.c (zft_init) - installing zftape VFS
Interface for ftape driver ....
kernel: trakker.c: trakker_register @ 0xc8965e50
kernel: [002] fdc-io.c (fdc_register) - Probing for trakker tape
drive slot 1.
kernel: parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
kernel: parport_pc: Via 686A parallel port: io=0x378
kernel: [003] 1 fdc-parport.h (ft_parport_probe) - dev: c24af2c0.
kernel: [004] 1 fdc-parport.h (ft_parport_probe) - irq: -1.
kernel: [005] 1 fdc-parport.h (ft_parport_probe) - port: 378.
that is no sucess at all. (Nothing new in /proc/interrupts related to
parport)
2) Removing modules and adding a line to /etc/modutils/ftape-util (this
line should really go in a local-changes file in that dir):
options parport_pc io=0x378 irq=7
update-modules and trying again:
# mt -f /dev/nqft1 status
qic-117 drive type = 0x00047, no tape or door open
drive status = 1
sense key error = 0
residue count = 0
file number = -1
block number = -1
gstat = 40000
Works! I also see interrupt 7 used in /proc/interrupts by parport0.
In both cases 1) and 2) my parallel printer works. I really do not know
what was changed in woody, but I wold really like to know it.
One more thing, you probably do not need to put any interrupt as an
option for bkp-fdc, is parport who choses that. For my trakker I needed only
options ftape ft_fdc_driver=ftape-internal,trakker,none,none
(apart from the change above).
Hope this helps
Agustin
--
=====================================================================
Agustin Martin Domingo, Dpto. de Fisica, ETS Arquitectura Madrid,
(U. Politecnica de Madrid) tel: +34 91-336-6536, Fax: +34 91-336-6554,
email:[email protected], http://corbu.aq.upm.es/~agmartin/welcome.html
-
To unsubscribe from this list: send the line "unsubscribe linux-tape" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html