ftape parport problems

[email protected] Tue, 16 Sep 2003 20:36:56
Newsgroups gmane.linux.tape
Message-ID <[email protected]>
Is anybody listening on this list?
I subscribed a week ago and sent this mail - but there weren't any messages at all...


Dear Mr. Heine,

at first I want to thank you for your work concerning ftape. Although the documentation is great i have had (and still have) some difficulties.

My configuration:
- vanilla kernel 2.4.22
- ftape-4.x-2003_05_31, since the stable version ftape-4.04a fails to compile:
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from /usr/src/linux-2.4.22/include/linux/fs.h:12,
                 from /usr/src/linux-2.4.22/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.22/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.22/include/linux/sched.h:9,
                 from ../../include/linux/ftape.h:35,
                 from ftape_syms.c:32:
/usr/src/linux-2.4.22/include/linux/wait.h: In function `__add_wait_queue_tail':/usr/src/linux-2.4.22/include/linux/wait.h:220: warning: implicit declaration of function `list_add_tail'
In file included from ftape-tracing.h:35,
                 from ftape_syms.c:33:
[...]
[lots of further warning ...]
[...]
make[2]: *** [ftape_syms.o] Fehler 1
make[2]: Leaving directory `/usr/src/ftape-4.04a/ftape/lowlevel'
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/usr/src/ftape-4.04a/ftape'
make: *** [all] Fehler 2
- Iomega Tape 250 Parallel Port II,
  It is working fine under Win32; I have verified that it uses a Micro Solutions 
  controller chip by opening it

Problem: 
	insmod ftape.o
 	insmod bpck-fdc.o
	dmesg
  leads to:
ftape v4.05 03/17/2002
 
(c) 1993-1996 Bas Laarhoven
(c) 1995-1996 Kai Harrekilde-Petersen
(c) 1996-2000 Claus-Justus Heine <[email protected])
 
QIC-117 driver for QIC-40/80/3010/3020/Ditto 2GB/MAX floppy tape drives.
Compiled for Linux version 2.4.22 (SMP).
installing QIC-117 floppy tape driver ...
ftape_init @ 0xdcab2180.
bpck-fdc.c: bpck_fdc_register @ 0xd89aab70
[000] 0  fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 0.
[001] 0 bpck-fdc.c (bpck_fdc_detect) - can't find bpck interface for ftape id 0.[002] 0 bpck-fdc.c (bpck_fdc_detect) - ft_parport_probe(fdc, &bpck->parinfo) failed: -6.
[...]
[same errors for ftape id1-3]
[...]

  Of course parport and parport_pc modules are loaded properly before:
parport0: PC-style at 0x378 [PCSPP(,...)]

  I have also already tried changing the kernel parport configuration settings
  without any luck (or change). Here are my present settings:
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set

  A printer which I also connected to this parallel port (it the "onboard" port on
  my ASUS P2B-F) works fine. In fact, the above problems are independent from lp being 	 loaded or not. (Btw the BIOS settings presently (also changed several times already)
  are as following: io 0x378, irq 7, SPP-mode.)

So I believe that independently from the question wheter my controller could work with ftape or not, there is a problem allocating the parallel port with the current kernel version. (Weird, since linux-2.4.22/drivers/parport/ChangeLog says that were no major
changes...)
Any ideas / solutions? I would really be happy using my good old tape under linux now.

Sincerely
Jörg Meyer
-
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