Re: [PARPORT] Re: ftape with Trakker parallel port - lots of fun

From: Tony Laszlo (laszlo@gol.com)
Date: Tue Aug 01 2000 - 03:00:42 EDT

  • Next message: Jochen Hoenicke: "Re: [PARPORT] Re: ftape with Trakker parallel port - lots of fun"
  • Next message: Tim Waugh: "Re: [PARPORT] ZIP Drive No Go on RH6.1"

    Hello all.

    Now trying to get ftape to work with Trakker on a
    Toshiba Sattelite (notebook, CPU=486sx, ram=8M, HD=1G, running Debian Potato
    w/ 2.2.17 kernel). Basically, I am trying this route after having
    unsuccessfully wrestled with the Aptiva's two parallel ports (re report
    from last month).

    I have compiled the kernel without FTAPE support, and with parport,
    parport_pc, parport_probe, lp and ppa.

    I was able to change BIOS so that printer port
    is bi-directional (=SPP?; all the was available -
    couldn't stipulate the irq).

    My questions/problems:

    * parport gets loaded automatically, together with parport_probe. Not
    sure how that happens. This kernel uses /etc/modules.conf and aks
    the user to delete conf.modules (I did). But parport_probe is not
    mentioned in this file. Earlier kernel on Debian used /etc/rc.d/rc.local,
    I think, but this kernel doesn't have such a file (/etc/rcx.d/xxx)
    Does anyone know where the system is getting the command to load
    parport_probe? It is not a big problem, but I have to rmmod this
    module each time I try to load ftape (ftape can only be loaded
    after parport_pc, apparently) and would rather not have to.

    * When parport_pc gets loaded, the hardward is recognized but
    not the irq. echo 7 > /proc/parport/irq goes without a problem.
    I have confirmed that lp and ppa work (the Iomega can be accessed
    without any problem at all) but ftape, while it does get "registered"
    still cannot be accessed, apparently not finding the irq...
    I uncommented the Trakker lines in MCONFIG like so:

    # For a HP Colorado Trakker parallel port drive, try
    #
    TRAKKER_DEV=0
    FDC_OPT += -DCONFIG_FT_FDC_PARPORT_$(TRAKKER_DEV)=-1 \
                    -DCONFIG_FT_PAR_$(TRAKKER_DEV)=1 \
                    -DCONFIG_FT_TRAKKER_$(TRAKKER_DEV)=1

    but didn't touch anything else. Do I need to do something to get this to go?
    It seems apparent that my problem is not with the port but with
    my Ftape configuration. Or, could be I am just unlucky with
    the kernel I have chosen?

    * The Ftape manuals talk about ftmt but I can only find mt. I
    assume that these are equivalent and work with the same commands...

    Thanks!

    Tony Laszlo
    Tokyo

    Aug 1 13:13:53 satellite kernel: ppa: Version 2.03 (for Linux 2.2.x)
    Aug 1 13:13:53 satellite kernel: ppa: Found device at ID 6, Attempting to use EPP 32 bit
    Aug 1 13:13:53 satellite kernel: ppa: Found device at ID 6, Attempting to use SPP
    Aug 1 13:13:53 satellite kernel: ppa: Communication established with ID 6 using SPP
    Aug 1 13:13:53 satellite kernel: scsi0 : Iomega VPI0 (ppa) interface
    Aug 1 13:13:53 satellite kernel: scsi : 1 host.
    Aug 1 13:13:53 satellite kernel: Vendor: IOMEGA Model: ZIP 100 Rev: J.03
    Aug 1 13:13:53 satellite kernel: Type: Direct-Access ANSI SCSI revision: 02
    Aug 1 13:13:53 satellite kernel: Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
    Aug 1 13:13:53 satellite kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
    Aug 1 13:13:53 satellite kernel: sda: Write Protect is off
    Aug 1 13:13:53 satellite kernel: sda: sda4

    Aug 1 14:50:28 satellite kernel: ftape v4.03-pre-4 06/30/99
    Aug 1 14:50:28 satellite kernel:
    Aug 1 14:50:28 satellite kernel: QIC-117 driver for QIC-40/80/3010/3020/Ditto 2GB/MAX floppy tape drives.
    Aug 1 14:50:28 satellite kernel: Compiled for Linux version 2.2.17
    Aug 1 14:50:42 satellite kernel: trakker.c: trakker_register @ 0xc100e040
    Aug 1 14:50:42 satellite kernel: [002] fdc-io.c (fdc_register_R21fc4ea6) - Probing for trakker tape drive slot 0.
    Aug 1 14:50:42 satellite kernel: [003] 0 fdc-parport.h (ft_parport_probe) - dev: c0085cc0.
    Aug 1 14:50:42 satellite kernel: [004] 0 fdc-parport.h (ft_parport_probe) - irq: 7.
    Aug 1 14:50:42 satellite kernel: [005] 0 fdc-parport.h (ft_parport_probe) - port: 378.
    Aug 1 14:50:42 satellite kernel: [006] 0 trakker.c (trakker_checksum) - checksum error (off by 9c).
    Aug 1 14:50:42 satellite kernel: [007] 0 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 0.
    Aug 1 14:50:42 satellite kernel: [008] 0 trakker.c (trakker_detect) - can't find trakker interface for ftape id 0.
    Aug 1 14:50:42 satellite kernel: [009] 0 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.
    Aug 1 14:50:42 satellite kernel: [010] fdc-io.c (fdc_register_R21fc4ea6) - Probing for trakker tape drive slot 1.
    Aug 1 14:50:42 satellite kernel: [011] 1 fdc-parport.h (ft_parport_probe) - dev: c0085cc0.
    Aug 1 14:50:42 satellite kernel: [012] 1 fdc-parport.h (ft_parport_probe) - irq: 7.
    Aug 1 14:50:42 satellite kernel: [013] 1 fdc-parport.h (ft_parport_probe) - port: 378.
    Aug 1 14:50:42 satellite kernel: [014] 1 trakker.c (trakker_checksum) - checksum error (off by 9c).
    Aug 1 14:50:42 satellite kernel: [015] 1 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 1.
    Aug 1 14:50:42 satellite kernel: [016] 1 trakker.c (trakker_detect) - can't find trakker interface for ftape id 1.
    Aug 1 14:50:42 satellite kernel: [017] 1 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.
    Aug 1 14:50:42 satellite kernel: [018] fdc-io.c (fdc_register_R21fc4ea6) - Probing for trakker tape drive slot 2.
    Aug 1 14:50:42 satellite kernel: [019] 2 fdc-parport.h (ft_parport_probe) - dev: c0085cc0.
    Aug 1 14:50:42 satellite kernel: [020] 2 fdc-parport.h (ft_parport_probe) - irq: 7.
    Aug 1 14:50:42 satellite kernel: [021] 2 fdc-parport.h (ft_parport_probe) - port: 378.
    Aug 1 14:50:42 satellite kernel: [022] 2 trakker.c (trakker_checksum) - checksum error (off by 9c).
    Aug 1 14:50:42 satellite kernel: [023] 2 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 2.
    Aug 1 14:50:42 satellite kernel: [024] 2 trakker.c (trakker_detect) - can't find trakker interface for ftape id 2.
    Aug 1 14:50:42 satellite kernel: [025] 2 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.
    Aug 1 14:50:42 satellite kernel: [026] fdc-io.c (fdc_register_R21fc4ea6) - Probing for trakker tape drive slot 3.
    Aug 1 14:50:42 satellite kernel: [027] 3 fdc-parport.h (ft_parport_probe) - dev: c0085cc0.
    Aug 1 14:50:42 satellite kernel: [028] 3 fdc-parport.h (ft_parport_probe) - irq: 7.
    Aug 1 14:50:42 satellite kernel: [029] 3 fdc-parport.h (ft_parport_probe) - port: 378.
    Aug 1 14:50:42 satellite kernel: [030] 3 trakker.c (trakker_checksum) - checksum error (off by 9c).
    Aug 1 14:50:42 satellite kernel: [031] 3 fdc-parport.h (ft_parport_probe) - can't find parport interface for ftape id 3.
    Aug 1 14:50:42 satellite kernel: [032] 3 trakker.c (trakker_detect) - can't find trakker interface for ftape id 3.
    Aug 1 14:50:42 satellite kernel: [033] 3 trakker.c (trakker_detect) - ft_parport_probe(fdc, &trakker->parinfo) failed: -6.
    Aug 1 14:59:55 satellite kernel: trakker successfully unloaded.

    -- 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 : Tue Aug 01 2000 - 03:15:51 EDT