Re: [PARPORT] Parallel ZIP-drive is little buggy with kernel 2.4.0-test1

From: The Contact (TheContact@MailAndNews.com)
Date: Wed Jun 07 2000 - 09:05:25 EDT

  • Next message: The Contact: "Re: [PARPORT] Parallel ZIP-drive is little buggy with kernel 2.4.0-test1"

    Tim Waugh wrote:
    > > Because I said to my BIOS to use EPP instead of ECP+EPP, I can't print
    > > anymore with my printer (through my ZIP-drive). When I change the
    > > BIOS-setting to ECP+EPP, I can print.
    >
    > This is a bug: you ought to be able to print regardless of the port's
    > mode. What exactly happens when you try to print, through the ZIP
    > drive, when in EPP mode? Are there any kernel messages? What is the
    > behaviour of this:
    >
    > # echo blah > /dev/lp0
    
    The printer doesn't react, although the system does say that I'm
    printing something.
    $ lpq
    lp is ready and printing
    Rank Owner Job Files Total Size
    active User1 53 (standard input) 7022 bytes

    
    > Do you still find it faster under 2.2?

    The speed of copying is less with 2.4.0test1-ac9 than with 2.2.15, but
    the whole system reacts differently. With 2.2.15, playing a game
    (Heretic II Demo) while copying isn't that hard (although the game does
    gets slower - a little), but 2.4.0test1-ac9 is almost impossible.
    Heretic just waits until the copying is done, and then resumes.

    > Can you show me timings?

    Yes, ofcourse:
    (commands executed just after logging in, without Xserver on - moving
    mouse to see if system gets slower)
    - With 2.2.15 -
    $ time cp /home/User1/Downloads/Tarballs/linux-2.4.0-test1.tar.gz
    0.13user 4.30system 1:02.16elapsed 7%CPU (0avgtext+0avgdata
    0maxresident)k
    0inputs+0outputs (5254major+38minor)pagefaults 19swaps
    --> Mouse doesn't shock...

    - With 2.4.0test1-ac9 -
    $ time cp /home/User1/Downloads/Tarballs/linux-2.4.0-test1.tar.gz
    0.03user 3.74system 0:56.70elapsed 6%CPU (0avgtext+0avgdata
    0maxresident)k
    0inputs+0outputs (139major+36minor)pagefaults 0swaps
    --> Mouse does shock...

    Although it seems I don't have a problem with speed, I must say that
    waiting a whole minute for copying 20 Meg feels longer than playing a
    game or something while copying 20 Meg in more than a minute. But that
    also frightens me. If my whole system gets slower with 2.4.0test1-ac9,
    why doesn't time give a higher CPU-usage?

    > As I said, I found it quite a lot faster to do a 'cp', but I think a lot of
    > that is to do with VM changes rather than anything in the driver.

    What is VM? Virtual Memory?

    > relevant sections of dmesg output might help.

    - 2.2.15 -
    ...
    parport0: PC-style at 0x378 [SPP,PS2,EPP]
    parport_probe: failed
    parport0: no IEEE-1284 device present.
    ...
    lp0: using parport0 (polling).
    ...
    ppa: Version 2.03 (for Linux 2.2.x)
    ppa: Found device at ID 6, Attempting to use EPP 16 bit
    ppa: Communication established with ID 6 using EPP 16 bit
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    scsi1 : Iomega VPI0 (ppa) interface
    scsi : 2 hosts.
      Vendor: IOMEGA Model: ZIP 100 Rev: J.03
      Type: Direct-Access ANSI SCSI revision: 02
    Detected scsi removable disk sda at scsi1, channel 0, id 6, lun 0
    scsi : detected 1 SCSI disk total.
    sda : READ CAPACITY failed.
    sda : status = 0, message = 00, host = 0, driver = 28
    sda : extended sense code = 2
    sda : block size assumed to be 512 bytes, disk size 1GB.
    ...
    Partition check:
     sda:scsidisk I/O error: dev 08:00, sector 0
     unable to read partition table
    ...
    lp0 off-line
    ...

     ( While booting, there is no ZIP-disk inserted, therefor the
    failed-msg's. )

    - 2.4.0test1-ac9 -
    ...
    parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
    parport0: cpp_mux: aa55f00f52ad51(00)
    parport0: cpp_daisy: aa5500ff(00)
    parport0: assign_addrs: aa5500ff(00)
    parport0: cpp_mux: aa55f00f52ad51(00)
    parport0: cpp_daisy: aa5500ff(00)
    parport0: assign_addrs: aa5500ff(00)
    ...
    lp0: using parport0 (polling).
    ...
    ppa: Version 2.03 (for Linux 2.2.x)
    ppa: Found device at ID 6, Attempting to use EPP 32 bit
    ppa: Communication established with ID 6 using EPP 32 bit
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    scsi1 : Iomega VPI0 (ppa) interface
    scsi : 2 hosts.
      Vendor: IOMEGA Model: ZIP 100 Rev: J.03
      Type: Direct-Access ANSI SCSI revision: 02
    Detected scsi removable disk sda at scsi1, channel 0, id 6, lun 0
    scsi : detected 1 SCSI disk total.
    sda : READ CAPACITY failed.
    sda : status = 0, message = 00, host = 0, driver = 28
    sda : extended sense code = 2
    sda : block size assumed to be 512 bytes, disk size 1GB.
     sda: I/O error: dev 08:00, sector 0
     unable to read partition table
    ...
    ppdev: user-space parallel port driver
    ...

    Also I should say that, when the root runs printtool, printtool does
    find a printer at /dev/lp0 (but printing a test page or equivalent still
    doesn't work).

    PS: Thx a lot for putting so much time in this problem, Tim. I really
    appreciate it.
    PSS: Please concentrate on the printing-problem. The system-slow-problem
    is of less importance.
     
    THE CONTACT
     (\___/)
     /0\ /0\
     \__V__/ I am invisible, but always reachable, -°)
    /|:. .:|\ I gather intel, but always unseen, /\\
    \\:::::// I am The Contact _\_V
     `"" ""`
    TheContact@MailAndNews.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 Jun 07 2000 - 09:13:32 EDT