Ftape problems with parallel port BackPack Model Model 141080
[email protected] Sat, 11 Jan 2003 19:48:01 -0700
| Newsgroups | gmane.linux.tape |
|---|---|
| Message-ID | <[email protected]> |
Hello: I originally posted this 12/26/02. I didn't get any feed back. It makes me wonder if anyone actually uses ftape with a Microsolutions Backpack 250 or a Trakker drive connected to the parallel port? If you are out there I'd love to know how. I've spend almost a week fooling with this without success. I did find an archive: http://web.gnu.walfield.org/mail-archive/linux-tape/ which had some discussion about this three years ago, 1999 and 2000. However the more recent months archive directories are empty. Has this moved? I have two different machines, one with a 2.0.36 kernel and the other with both a 2.2.16 and a 2.4.20 kernel. I include the \var\log\messages from the first two of these kernels. They have the same error although 2.0 has parport compiled into the kernel and 2.2 uses modules (which it appears I initialize correctly). The key line is: [###] bpck-fdc.c (bpck_fdc_query_proto) - Got 0x78, expected either 0xc0 or 0x40. it line 21 for the 2.0 kernel and line 56 for the 2.2 kernel. Both are PC clones with io port=0x378 and irq = 7. Sadly both show the same reply to the bpck_fdc_query_proto above whether or not the tape drive is connected to the parallel port! Note I have the 2.2 configured to try a trakker and backpack drive, that's why they are both tested. Any suggestions would be welcome. ------------------------- 2.0.36 Kernel ------------- Memory: sized by int13 088h Console: 16 point font, 400 scans Console: colour VGA+ 80x25, 1 virtual console (max 63) pcibios_init : BIOS32 Service Directory structure at 0x000fb0c0 pcibios_init : BIOS32 Service Directory entry at 0xfb560 pcibios_init : PCI BIOS revision 2.10 entry at 0xfb590 Probing PCI hardware. Calibrating delay loop.. ok - 53.25 BogoMIPS Memory: 63140k/65536k available (748k kernel code, 384k reserved, 1264k data) Swansea University Computer Society NET3.035 for Linux 2.0 NET3: Unix domain sockets 0.13 for Linux NET3.035. Swansea University Computer Society TCP/IP for NET3.034 IP Protocols: IGMP, ICMP, UDP, TCP Linux IP multicast router 0.07. VFS: Diskquotas version dquot_5.6.0 initializedChecking 386/387 coupling... Ok, fpu using exception 16 error reporting. Checking 'hlt' instruction... Ok. Intel Pentium with F0 0F bug - workaround enabled. alias mapping IDT readonly ... ... done Linux version 2.0.36 ([email protected]) (gcc version 2.7.2.3) #1 Tue Oct 13 22:17:11 EDT 1998 Starting kswapd v 1.4.2.2 Serial driver version 4.13 with no serial options enabled tty00 at 0x03f8 (irq = 4) is a 16550A tty01 at 0x02f8 (irq = 3) is a 16550A tty02 at 0x03e8 (irq = 4) is a 16450 PS/2 auxiliary pointing device detected -- driver installed. Real Time Clock Driver v1.09 Ramdisk driver initialized : 16 ramdisks of 4096K size ide: i82371 PIIX (Triton) on PCI bus 0 function 57 ide0: BM-DMA at 0xf000-0xf007 ide1: BM-DMA at 0xf008-0xf00f hda: ST34321A, 4103MB w/128kB Cache, CHS=523/255/63, DMA hdb: WDC AC21200H, 1222MB w/128kB Cache, CHS=621/64/63, DMA hdc: CRD-8482B, ATAPI CDROM drive ide2: ports already in use, skipping probe ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8 scsi : 0 hosts. scsi : detected total. Partition check: hda: hda1 hda2 hda3 hdb: hdb1 hdb2 < hdb5 hdb6 > VFS: Mounted root (ext2 filesystem) readonly. Adding Swap: 34236k swap-space (priority -1) sysctl: ip forwarding off Swansea University Computer Society IPX 0.34 for NET3.035 IPX Portions Copyright (c) 1995 Caldera, Inc. Appletalk 0.17 for Linux NET3.035 ne2k-pci.c:v0.99L 2/7/98 D. Becker/P. Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0x6100, IRQ 11. eth0: PCI NE2000 found at 0x6100, IRQ 11, 00:40:33:9F:53:B7. ftape v4.04 07/23/2000 (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.0.36 (UP). installing QIC-117 floppy tape driver ... ftape_init @ 0x048241b0. zftape for ftape v4.04 07/23/2000 (c) 1996-2000 Claus-Justus Heine <[email protected]> vfs interface for ftape floppy tape driver. Support for QIC-113 compatible volume table. Compiled for Linux version 2.0.36 with versioned symbols [000] zftape-init.c (zft_init) - zft_init @ 0x04857f28. [001] zftape-init.c (zft_init) - installing zftape VFS interface for ftape driver .... zftape de-compressor for ftape v4.04 07/23/2000 (c) 1994-1998 Claus-Justus Heine <[email protected]> De-compressor for zftape (lzrw3 algorithm) Compiled for kernel version 2.0.36 with versioned symbols [002] zftape-compress.c (zft_compressor_init) - zft_compressor_init @ 0x048615b4. [003] zftape-compress.c (zft_compressor_init) - installing compressor for zftape .... bpck-fdc.c: bpck_fdc_register @ 0x0486b530 [004] 0+ftape-buffer.c (ftape_kmalloc_R2b926b1a) [005] 0 ftape-buffer.c (ftape_kmalloc_R2b926b1a) - allocated buffer @ 00095ce4, 236 bytes. [006] 0-ftape-buffer.c (ftape_kmalloc_R2b926b1a) [007] fdc-io.c (fdc_register_Rea35c80b) - Probing for bpck-fdc tape drive slot 0. [008] 0+bpck-fdc.c (bpck_fdc_detect) [009] 0 +ftape-buffer.c (ftape_kmalloc_R2b926b1a) [010] 0 ftape-buffer.c (ftape_kmalloc_R2b926b1a) - allocated buffer @ 0317c098, 68 bytes. [011] 0 -ftape-buffer.c (ftape_kmalloc_R2b926b1a) [012] 0 bpck-fdc.c (bpck_fdc_detect) - called with ftape id 0. [013] 0 +fdc-parport.h (ft_parport_probe) [014] 0 fdc-parport.h (ft_parport_probe_one) - base: 0x0378, irq: -1. [015] 0 +bpck-fdc.c (bpck_fdc_probe) [016] 0 bpck-fdc.c (bpck_fdc_probe) - Bpck parallel port tape drive interface for ftape v4.04 07/23/2000. [017] 0 +bpck-fdc.c (bpck_fdc_grab) [018] 0 +fdc-parport.h (ft_parport_claim) [019] 0 -fdc-parport.h (ft_parport_claim) [020] 0 -bpck-fdc.c (bpck_fdc_grab) [021] bpck-fdc.c (bpck_fdc_query_proto) - Got 0x78, expected either 0xc0 or 0x40. [022] 0 +bpck-fdc.c (bpck_fdc_release) [023] 0 -bpck-fdc.c (bpck_fdc_release) [024] 0 -bpck-fdc.c (bpck_fdc_probe) [025] 0 -fdc-parport.h (ft_parport_probe) [026] 0 +ftape-buffer.c (ftape_kfree_R3b673064) [027] 0 ftape-buffer.c (ftape_kfree_R3b673064) - released buffer @ 0317c098, 68 bytes. [028] 0 -ftape-buffer.c (ftape_kfree_R3b673064) [029] 0 bpck-fdc.c (bpck_fdc_detect) - can't find bpck interface for ftape id 0. [030] 0 bpck-fdc.c (bpck_fdc_detect) - ft_parport_probe(fdc, &bpck->parinfo) failed: -6. [031] 0-bpck-fdc.c (bpck_fdc_detect) [032] 0+fdc-io.c (fdc_destroy) [033] 0 fdc-io.c (fdc_destroy) - destroying fdc 0. [034] 0 +ftape-buffer.c (fdc_set_nr_buffers_R3407b95d) [035] 0 -ftape-buffer.c (fdc_set_nr_buffers_R3407b95d) [036] 0 +ftape-buffer.c (ftape_kfree_R3b673064) [037] 0 ftape-buffer.c (ftape_kfree_R3b673064) - released buffer @ 00095ce4, 236 bytes. [038] 0 -ftape-buffer.c (ftape_kfree_R3b673064) [039] 0-fdc-io.c (fdc_destroy) ------------------------- 2.2.16 Kernel ------------- itialized Pentium-III serial number disabled. CPU: Intel Pentium III (Coppermine) stepping 06 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. Checking for popad bug... OK. POSIX conformance testing by UNIFIX mtrr: v1.35a (19990819) Richard Gooch ([email protected]) PCI: PCI BIOS revision 2.10 entry at 0xfda95 PCI: Using configuration type 1 PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP TCP: Hash tables configured (ehash 131072 bhash 65536) Initializing RT netlink socket Starting kswapd v 1.5 Detected PS/2 Mouse Port. Serial driver version 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A pty: 512 Unix98 ptys configured Real Time Clock Driver v1.09 RAM disk driver initialized: 16 RAM disks of 4096K size loop: registered device at major 7 PCI_IDE: unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=2411 PCI_IDE: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:DMA hda: WDC WD400BB-75CLB0, ATA DISK drive hdd: IOMEGA ZIPCD3840INT-E, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: WDC WD400BB-75CLB0, 38166MB w/2048kB Cache, CHS=4865/255/63 hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache Uniform CD-ROM driver Revision: 3.10 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8 linear personality registered raid0 personality registered scsi : 0 hosts. scsi : detected total. Partition check: hda: hda1 hda2 hda3 < hda5 > VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 60k freed parport0: PC-style at 0x378, irq 7 [SPP,PS2] lp0: using parport0 (interrupt-driven). CSLIP: code copyright 1989 Regents of the University of California SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256). SLIP linefill/keepalive option. PPP: version 2.3.7 (demand dialling) PPP line discipline registered. PPP BSD Compression module registered ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P. Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0xdf80, IRQ 3. eth0: RealTek RTL-8029 found at 0xdf80, IRQ 3, 00:20:18:3B:1C:2F. Linux PCMCIA Card Services 3.1.16 kernel build: 2.2.16 #1 Thu Jun 8 16:37:54 PDT 2000 options: [pci] [cardbus] [pnp] PCI routing table version 1.0 at 0xf3080 PnP: PNP BIOS installation structure at 0xc00f2b10 PnP: PNP BIOS version 1.0, entry at f0000:23ca, dseg at f0000 Intel PCIC probe: not found. Databook TCIC-2 PCMCIA probe: not found. ds: no socket drivers loaded! iBCS: socksys registered on character major 30 parport0: PC-style at 0x378, irq 7 [SPP,PS2] ftape v4.04 07/23/2000 (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.2.16 (UP). installing QIC-117 floppy tape driver ... ftape_init @ 0xc806322c. zftape for ftape v4.04 07/23/2000 (c) 1996-2000 Claus-Justus Heine <[email protected]> vfs interface for ftape floppy tape driver. Support for QIC-113 compatible volume table. Compiled for Linux version 2.2.16 [000] zftape-init.c (zft_init) - zft_init @ 0xc8098aa8. [001] zftape-init.c (zft_init) - installing zftape VFS interface for ftape driver .... trakker.c: trakker_register @ 0xc80a1db0 [002] 0+ftape-buffer.c (ftape_kmalloc) [003] 0 ftape-buffer.c (ftape_kmalloc) - allocated buffer @ c7eaddc0, 236 bytes. [004] 0-ftape-buffer.c (ftape_kmalloc) [005] fdc-io.c (fdc_register) - Probing for trakker tape drive slot 0. [006] 0+trakker.c (trakker_detect) [007] 0 +ftape-buffer.c (ftape_kmalloc) [008] 0 ftape-buffer.c (ftape_kmalloc) - allocated buffer @ c6256530, 56 bytes. [009] 0 -ftape-buffer.c (ftape_kmalloc) [010] 0 fdc-parport.h (ft_parport_probe) - dev: c62564e0. [011] 0 fdc-parport.h (ft_parport_probe) - irq: 7. [012] 0 fdc-parport.h (ft_parport_probe) - port: 378. [013] 0 +trakker.c (trakker_probe) [014] 0 trakker.c (trakker_probe) - Initialising: 0. [015] 0 trakker.c (trakker_checksum) - checksum error (off by 63). [016] 0 trakker.c (trakker_probe) - Init-Sequence failed: 0. [017] 0 trakker.c (trakker_probe) - Initialising: 1. [018] 0 trakker.c (trakker_checksum) - checksum error (off by 63). [019] 0 trakker.c (trakker_probe) - Init-Sequence failed: 1. [020] 0 -trakker.c (trakker_probe) [021] 0 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 0. [022] 0 +ftape-buffer.c (ftape_kfree) [023] 0 ftape-buffer.c (ftape_kfree) - released buffer @ c6256530, 56 bytes. [024] 0 -ftape-buffer.c (ftape_kfree) [025] 0 trakker.c (trakker_detect) - can't find trakker interface for ftape id 0. [026] 0 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6. [027] 0-trakker.c (trakker_detect) [028] 0+fdc-io.c (fdc_destroy) [029] 0 fdc-io.c (fdc_destroy) - destroying fdc 0. [030] 0 +ftape-buffer.c (fdc_set_nr_buffers) [031] 0 +trakker.c (trakker_free) [032] 0 -trakker.c (trakker_free) [033] 0 -ftape-buffer.c (fdc_set_nr_buffers) [034] 0 +ftape-buffer.c (ftape_kfree) [035] 0 ftape-buffer.c (ftape_kfree) - released buffer @ c7eaddc0, 236 bytes. [036] 0 -ftape-buffer.c (ftape_kfree) [037] 0-fdc-io.c (fdc_destroy) bpck-fdc.c: bpck_fdc_register @ 0xc80aa460 [038] 0+ftape-buffer.c (ftape_kmalloc) [039] 0 ftape-buffer.c (ftape_kmalloc) - allocated buffer @ c7eaded0, 236 bytes. [040] 0-ftape-buffer.c (ftape_kmalloc) [041] fdc-io.c (fdc_register) - Probing for bpck-fdc tape drive slot 0. [042] 0+bpck-fdc.c (bpck_fdc_detect) [043] 0 +ftape-buffer.c (ftape_kmalloc) [044] 0 ftape-buffer.c (ftape_kmalloc) - allocated buffer @ c6256530, 60 bytes. [045] 0 -ftape-buffer.c (ftape_kmalloc) [046] 0 bpck-fdc.c (bpck_fdc_detect) - called with ftape id 0. [047] 0 fdc-parport.h (ft_parport_probe) - dev: c62564e0. [048] 0 fdc-parport.h (ft_parport_probe) - irq: 7. [049] 0 fdc-parport.h (ft_parport_probe) - port: 378. [050] 0 +bpck-fdc.c (bpck_fdc_probe) [051] 0 bpck-fdc.c (bpck_fdc_probe) - Bpck parallel port tape drive interface for ftape v4.04 07/23/2000. [052] 0 +bpck-fdc.c (bpck_fdc_grab) [053] 0 +fdc-parport.h (ft_parport_claim) [054] 0 -fdc-parport.h (ft_parport_claim) [055] 0 -bpck-fdc.c (bpck_fdc_grab) [056] bpck-fdc.c (bpck_fdc_query_proto) - Got 0x78, expected either 0xc0 or 0x40. [057] 0 +bpck-fdc.c (bpck_fdc_release) [058] 0 -bpck-fdc.c (bpck_fdc_release) [059] 0 -bpck-fdc.c (bpck_fdc_probe) [060] 0 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 0. [061] 0 +ftape-buffer.c (ftape_kfree) [062] 0 ftape-buffer.c (ftape_kfree) - released buffer @ c6256530, 60 bytes. [063] 0 -ftape-buffer.c (ftape_kfree) [064] 0 bpck-fdc.c (bpck_fdc_detect) - can't find bpck interface for ftape id 0. [065] 0 bpck-fdc.c (bpck_fdc_detect) - ft_parport_probe(fdc, &bpck->parinfo) failed: -6. [066] 0-bpck-fdc.c (bpck_fdc_detect) [067] 0+fdc-io.c (fdc_destroy) [068] 0 fdc-io.c (fdc_destroy) - destroying fdc 0. [069] 0 +ftape-buffer.c (fdc_set_nr_buffers) [070] 0 -ftape-buffer.c (fdc_set_nr_buffers) [071] 0 +ftape-buffer.c (ftape_kfree) [072] 0 ftape-buffer.c (ftape_kfree) - released buffer @ c7eaded0, 236 bytes. [073] 0 -ftape-buffer.c (ftape_kfree) [074] 0-fdc-io.c (fdc_destroy) ---------------------------------------------------------------------- Naturally neither works, a 'ftmt -f /dev/nqft0 status' returns with 'ftmt: /dev/qft0: Device not configured' In the process of testing all this I did download the most recent ftape-4.04 and ftape-tools-1.09. It may be of interest that I had problems building ftape-tools with the 2.0.36 kernel. Line 46 in libftvt.c includes <iconv.h> which doesn't exist in this distribution. I made a dummy file with the required definition. I also had problems with the definition of HAVE_MINOR in config.h, but the comments in vtblc.c make it clear it should not be defined for 2.0 kernel so I just edited the config.h. Everything built nicely in 2.2.16. I could not build ftape under 2.4.20. The ./configure script hung after displaying 'checking for own version ... ...' I tried to build it anyway, but was not successful. Have not tried to chase this down. I was careful about correctly defining my sym link, usr/src/linux, to point to the correct version and doing the 'make distclean' and 'make dep'. I've done enough damage to my ego this week, I think I will go on to something else for a while! Will - 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