[PARPORT] Another 'device busy' incident

From: Greg Peters (gregapeters@hotmail.com)
Date: Wed Nov 15 2000 - 16:20:59 EST

  • Next message: Andreas Sliwka: "[PARPORT] Problems with a CD-Jet"

    I have a Zip drive and an Epson computer on the parallel port.
    - RH6.2
    - Dell Inspiron 7500
    - Zip unused for the moment (I use it under Windows)

    Printing worked just fine until a few days ago. I wanted to automate a task
    by streaming some stuff directly to the printer, so I needed to learn to
    print from a shell script. I executed some command line instructions in the
    Printing Usage Howto. This only produced errors, or created files called
    /root/lp or |lp or whatever.

    When I finished, printing would not work any more. I may have broken
    something.

    I apologise if the answer is in Documentation/parport.txt. I don't have this
    file and I don't know where to find it. All the refrences to it just call it
    Documentation/parport.txt

    I have read just about every message in the current archives on the subject
    of busy device. I have tried to follow the instructions but nothing has
    improved the situation.

    Here is some information:

    - bios setup: parallel port Auto/EPP (I also tried EPP/IRQ7 and
    ECP/378/IRQ7/DMA3) - nothing works

    # insmod imm
    Using /lib/modules/2.2.14-5.0/scsi/imm.o
    /lib/modules/2.2.14-5.0/scsi/imm.o: init_module: Device or resource busy

    # modprobe imm
    /lib/modules/2.2.14-5.0/scsi/imm.o: init_module: Device or resource busy
    /lib/modules/2.2.14-5.0/scsi/imm.o: insmod
    /lib/modules/2.2.14-5.0/scsi/imm.o failed
    /lib/modules/2.2.14-5.0/scsi/imm.o: insmod imm failed

    # modprobe parport_lowlevel (returns nothing)

    # modprobe -c|grep parport
    alias parport_lowlevel parport_pc
    options parport_pc io=0x378 irq=none

    # lpq
    lp is ready and printing
    Rank Owner Job Files Total Size
    1st root 19 (standard input) 42973 bytes

    # lpc status all
    lp:
            queuing is enabled
            printing is enabled
            1 entry in spool area
            lp is ready and printing

    # dmesg produces an endless spew of VFS: Disk change bla bla bla

    /var/log/messages
    parport0: PC-style at 0x378 [SPP,PS2,EPP]
    parport0: no IEEE-1284 device present.
    lp0: using parport0 (polling).
    lp0 on fire

    (I couldn't smell any smoke)

    When I try to send text directly to the port from printtool, sometimes I get
    lp0: file busy.

    When I print from Netscape sometimes I get the message can't restart lpd
    daemon.

    One more thing:
    I have a desktop machine running exactly the same version of RH, and it
    prints ok (like the laptop did up until 2 days ago). Are there any other
    files than conf.modules that I could compare between the two machines?

    Thanks!!!

    Greg

    _____________________________________________________________________________________
    Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com

    -- 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 : Wed Nov 15 2000 - 16:24:55 EST