[PARPORT] Re: ftape with Trakker parallel port

From: Tony Laszlo (laszlo@gol.com)
Date: Fri Jul 07 2000 - 03:12:25 EDT

  • Next message: Tony Laszlo: "[PARPORT] Re: ftape with Trakker parallel port"

    Jochen and all,

    Please let me know if my sending such a lengthy report
    is not appropriate for these fora.

    Thank you very much for your time and assistance.

    Conclusions first: still no success with Trakker.

    I have recompiled the kernel so that:

    CONFIG_PNP=y
    CONFIG_PNP_PARPORT=m

    I did make dep, make clean, made the new kernel,
    rebooted, cd to the linux source directory, did
    make clean again, make modules and make
    modules_install.
    After rebooting, I then did a make distclean in the
    ftape directory (/usr/src/ftape-4.x-1999_09_11/)

    then make and make install.

    MCONFIG points to the proper directory for Linux source
    (/usr/src/linux/)

    ------------------------

    This specs for this machine are as follows:

    I have also been trying various bios and jumper adjustments.
    After my initial failures with ftape and Trakker, I tried
    Trakker under Win95. I found that, while the device worked
    on a separate Windows machine, it didn't work on the Linux
    service that I need it on (temporarily running under Win95).
    It seemed that the parallel port LPT1 was faulty. Now, this
    port is on the motherboard together with several other ports
    including the one that goes to the display, mouse, etc.
    I could not find any jumper which might disable the
    faulty parallel port.

    IBM Aptiva 520 2144-68J (DX486CPU/ 100Mhz, 60M Ram, ISA bus)
    So, I bought a new ISA multiport card which as a parallel
    port. I think this is it being recognized by dmesg:

    Serial driver version 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ
    DETECT_IRQ enabled

    * Not sure if it means anything, but occasionally (not always) I get
    this in dmesg:

    Jul 7 00:06:55 net kernel: Floppy drive(s): fd0 is 1.44M
    Jul 7 00:06:55 net kernel: DOR0=4
    Jul 7 00:06:55 net kernel: floppy interrupt on bizarre fdc 1
    Jul 7 00:06:55 net kernel: handler=00000000
    Jul 7 00:06:55 net kernel: FDC 0 is a post-1991 82077

    I then took a look at the bios setting for the machine.
    There is only one setting for parallel port. It had been
    set to LPT 1 at 0x378 IRQ=7 and SPP. The only other options are
    LPT 1 at 0x3BC IRQ=7, LPT 2 at 0x278 IRQ=7 and Disabled.
    (Port modes are ecp & bi-di, epp & bi-di, ps/2 & bi-di
    and compatible [maybe that is SPP]).

    There is no way that I can see to set one port for IRQ = 7 and
    the other port to another IRQ value. I have tried all the
    options in the bios settings, in various orders. including
    disabled.

    I have also tried moving the jumper around on the new
    parallel port, e.g., 7, 5, 6, 9, 11, etc.). I even tried
    it with no jumper on it.

    None of this has had much of an effect on what happens
    when I do insmod parport and insmod parport_pc.

    The system usually recognizes both parallel ports
    but fails to identify their irq values.

    Jul 7 12:30:57 net kernel: parport0: PC-style at 0x378 [SPP]
    Jul 7 12:30:57 net kernel: parport1: PC-style at 0x278 [SPP,PS2,EPP]

    cat /proc/parport/0/hardware
    base: 0x378
    irq: none
    dma: none
    modes: SPP

    cat /proc/parport/1/hardware
    base: 0x278
    irq: none
    dma: none
    modes: SPP,ECP,ECPPS2

    under these conditions, insmod trakker
    fails. These are the relevant lines
    from /etc/conf.modules :
    (I comment and uncomment the "options parport_pc"
    lines and try different irq vales).

    alias char-major-27 zftape
    alias parport_lowlevel parport_pc
    options parport_pc io=0x278 irq=6
    # options parport_pc io=0x278 irq=auto
    options ftape ft_fdc_driver=trakker,none,none,none

    -------------------------------------------------------

    Here's a sample of what's in the /var/log/messages after
    insmod trakker.

    Thanks!

    Jul 7 12:46:45 net kernel: trakker.c: trakker_register @ 0xc485def0
    Jul 7 12:46:45 net kernel: [002] fdc-io.c (fdc_register_R7d7204fe) - Probing for trakker tape drive slot 0.
    Jul 7 12:46:45 net kernel: [003] 0 fdc-parport.h (ft_parport_probe) - dev: c3886760.
    Jul 7 12:46:45 net kernel: [004] 0 fdc-parport.h (ft_parport_probe) - irq: -1.
    Jul 7 12:46:45 net kernel: [005] 0 fdc-parport.h (ft_parport_probe) - port: 378.
    Jul 7 12:46:45 net kernel: [006] 0 fdc-parport.h (ft_parport_probe) - dev: c3886760.
    Jul 7 12:46:45 net kernel: [007] 0 fdc-parport.h (ft_parport_probe) - irq: 5.
    Jul 7 12:46:45 net kernel: [008] 0 fdc-parport.h (ft_parport_probe) - port: 278.
    Jul 7 12:46:45 net kernel: [009] 0 trakker.c (trakker_checksum) - checksum error (off by 63).
    Jul 7 12:46:45 net kernel: [010] 0 trakker.c (trakker_checksum) - checksum error (off by 63).
    Jul 7 12:46:45 net kernel: [011] 0 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 0.
    Jul 7 12:46:45 net kernel: [012] 0 trakker.c (trakker_detect) - can't find trakker interface for ftape id 0.
    Jul 7 12:46:45 net kernel: [013] 0 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.
    Jul 7 12:46:45 net kernel: [014] fdc-io.c (fdc_register_R7d7204fe) - Probing for trakker tape drive slot 1.
    Jul 7 12:46:45 net kernel: [015] 1 fdc-parport.h (ft_parport_probe) - dev: c3886760.
    Jul 7 12:46:45 net kernel: [016] 1 fdc-parport.h (ft_parport_probe) - irq: -1.
    Jul 7 12:46:45 net kernel: [017] 1 fdc-parport.h (ft_parport_probe) - port: 378.
    Jul 7 12:46:45 net kernel: [018] 1 fdc-parport.h (ft_parport_probe) - dev: c3886760.
    Jul 7 12:46:45 net kernel: [019] 1 fdc-parport.h (ft_parport_probe) - irq: 5.
    Jul 7 12:46:45 net kernel: [020] 1 fdc-parport.h (ft_parport_probe) - port: 278.
    Jul 7 12:46:45 net kernel: [021] 1 trakker.c (trakker_checksum) - checksum error (off by 63).
    Jul 7 12:46:45 net kernel: [022] 1 trakker.c (trakker_checksum) - checksum error (off by 63).
    Jul 7 12:46:45 net kernel: [023] 1 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 1.
    Jul 7 12:46:45 net kernel: [024] 1 trakker.c (trakker_detect) - can't find trakker interface for ftape id 1.
    Jul 7 12:46:45 net kernel: [025] 1 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.
    Jul 7 12:46:45 net kernel: [026] fdc-io.c (fdc_register_R7d7204fe) - Probing for trakker tape drive slot 2.
    Jul 7 12:46:45 net kernel: [027] 2 fdc-parport.h (ft_parport_probe) - dev: c3886760.
    Jul 7 12:46:45 net kernel: [028] 2 fdc-parport.h (ft_parport_probe) - irq: -1.
    Jul 7 12:46:45 net kernel: [029] 2 fdc-parport.h (ft_parport_probe) - port: 378.
    Jul 7 12:46:45 net kernel: [030] 2 fdc-parport.h (ft_parport_probe) - dev: c3886760.
    Jul 7 12:46:45 net kernel: [031] 2 fdc-parport.h (ft_parport_probe) - irq: 5.
    Jul 7 12:46:45 net kernel: [032] 2 fdc-parport.h (ft_parport_probe) - port: 278.
    Jul 7 12:46:45 net kernel: [033] 2 trakker.c (trakker_checksum) - checksum error (off by 63).
    Jul 7 12:46:45 net kernel: [034] 2 trakker.c (trakker_checksum) - checksum error (off by 63).
    Jul 7 12:46:45 net kernel: [035] 2 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 2.
    Jul 7 12:46:45 net kernel: [036] 2 trakker.c (trakker_detect) - can't find trakker interface for ftape id 2.
    Jul 7 12:46:45 net kernel: [037] 2 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.
    Jul 7 12:46:45 net kernel: [038] fdc-io.c (fdc_register_R7d7204fe) - Probing for trakker tape drive slot 3.
    Jul 7 12:46:45 net kernel: [039] 3 fdc-parport.h (ft_parport_probe) - dev: c3886760.
    Jul 7 12:46:45 net kernel: [040] 3 fdc-parport.h (ft_parport_probe) - irq: -1.
    Jul 7 12:46:45 net kernel: [041] 3 fdc-parport.h (ft_parport_probe) - port: 378.
    Jul 7 12:46:45 net kernel: [042] 3 fdc-parport.h (ft_parport_probe) - dev: c3886760.
    Jul 7 12:46:45 net kernel: [043] 3 fdc-parport.h (ft_parport_probe) - irq: 5.
    Jul 7 12:46:45 net kernel: [044] 3 fdc-parport.h (ft_parport_probe) - port: 278.
    Jul 7 12:46:45 net kernel: [045] 3 trakker.c (trakker_checksum) - checksum error (off by 63).
    Jul 7 12:46:45 net kernel: [046] 3 trakker.c (trakker_checksum) - checksum error (off by 63).
    Jul 7 12:46:45 net kernel: [047] 3 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 3.
    Jul 7 12:46:45 net kernel: [048] 3 trakker.c (trakker_detect) - can't find trakker interface for ftape id 3.
    Jul 7 12:46:45 net kernel: [049] 3 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.
    Jul 7 12:46:45 net kernel: [050] trakker.c (trakker_register) - fdc_register_R7d7204fe(&trakker_ops) failed: -6.

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 03:31:26 EDT