[PARPORT] Damm EPP mode and zip drives

From: Jean-Francois Landry (jf.landry@vif.com)
Date: Wed Jul 19 2000 - 20:46:17 EDT

  • Next message: Laurence John Oliver: "[PARPORT] Re: HP Colorado 5GBe help URGENTLY needed:-)"

    Hello all.

    I recently purchased a 250MB parallel port zip drive. Problem is, I can't get it
    to work when the parallel port is set to EPP mode. I tried it on my mainboard's
    parallel port and on a Lava PCI parallel port card. Using ECP or Normal, imm
    reports it's using PS/2 mode, and that works just fine except it's slow. When
    set to EPP (either 1.7 or 1.9) imm reports it's using EPP 32 bit but any attempt
    to access the drive results in zillions of SCSI errors.
    I then compiled imm with CONFIG_SCSI_IZIP_EPP16 . It says:

    imm: Version 2.03 (for Linux 2.0.0)
    imm: Found device at ID 6, Attempting to use EPP 16 bit
    imm: Found device at ID 6, Attempting to use PS/2
    imm: Communication established with ID 6 using PS/2
    scsi0 : Iomega VPI2 (imm) interface
    scsi : 1 host.
      Vendor: IOMEGA Model: ZIP 250 Rev: K.47
      Type: Direct-Access ANSI SCSI revision: 02

    Not much of an improvement, but at least it works on the Lava PCI card now.

    So, anyone knows how to tell imm to try EPP 8 bit mode? Or is my zip drive
    fubared?

    Details follow.

    Generic PC, Intel 440VX chipset, 1 Lava parallel PCI card

    Linux version 2.2.16 (jf@HAL) (gcc version 2.7.2.3) #1 Sun Jul 9 13:03:03 EDT 2000
    Detected 100229 kHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 199.88 BogoMIPS
    Memory: 47144k/49152k available (876k kernel code, 412k reserved, 684k data, 36k init)
    Dentry hash table entries: 8192 (order 4, 64k)
    Buffer cache hash table entries: 65536 (order 6, 256k)
    Page cache hash table entries: 16384 (order 4, 64k)
    CPU: Intel Pentium 75 - 200 stepping 06
    Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
    Checking 'hlt' instruction... OK.
    Intel Pentium with F0 0F bug - workaround enabled.
    POSIX conformance testing by UNIFIX
    PCI: PCI BIOS revision 2.10 entry at 0xfb280
    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
    TCP: Hash tables configured (ehash 65536 bhash 65536)
    Starting kswapd v 1.5
    Serial driver version 4.27 with no serial options enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    apm: BIOS version 1.2 Flags 0x07 (Driver version 1.13)
    Sound initialization started
    <Sound Blaster 16 (4.13)> at 0x220 irq 5 dma 1,5
    <Sound Blaster 16> at 0x330 irq 5 dma 0
    <Yamaha OPL3> at 0x388
    Sound initialization complete
    PIIX3: IDE controller on PCI bus 00 dev 39
    PIIX3: not 100% native mode: will probe irqs later
        ide0: BM-DMA at 0x9000-0x9007, BIOS settings: hda:pio, hdb:pio
        ide1: BM-DMA at 0x9008-0x900f, BIOS settings: hdc:pio, hdd:pio
    hda: Maxtor 7850 AV, ATA DISK drive
    hdb: Maxtor 90576D4, ATA DISK drive
    hdd: NEC CD-ROM DRIVE:273, ATAPI CDROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: Maxtor 7850 AV, 814MB w/64kB Cache, CHS=827/32/63, DMA
    hdb: Maxtor 90576D4, 5495MB w/256kB Cache, CHS=700/255/63, (U)DMA
    hdd: ATAPI 4X CD-ROM drive, 256kB Cache
    Uniform CD-ROM driver Revision: 3.09
    Partition check:
     hda: hda1 hda2
     hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 >
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 36k freed
    Adding Swap: 64224k swap-space (priority -1)
    parport0: PC-style at 0x378 (0x778), irq 7 [SPP,ECP,ECPEPP,ECPPS2]
    parport1: PC-style at 0x6000, irq 10 [SPP,PS2,EPP]
    parport_probe: failed
    parport0: no IEEE-1284 device present.
    parport_probe: failed
    parport1: no IEEE-1284 device present.
    imm: Version 2.03 (for Linux 2.0.0)
    imm: Found device at ID 6, Attempting to use EPP 16 bit
    imm: Found device at ID 6, Attempting to use PS/2
    imm: Communication established with ID 6 using PS/2
    scsi0 : Iomega VPI2 (imm) interface
    scsi : 1 host.
      Vendor: IOMEGA Model: ZIP 250 Rev: K.47
      Type: Direct-Access ANSI SCSI revision: 02
    Checking ReiserFS transaction log (device 03:43) ...
    Using tea hash to sort names
    ReiserFS core development sponsored by SuSE Labs (suse.com)
    Journaling sponsored by MP3.com
    ReiserFS version 3.5.23
    Checking ReiserFS transaction log (device 03:45) ...
    Using tea hash to sort names
    ReiserFS version 3.5.23
    Releasing imm1
    scsi : 0 hosts.
    imm: Version 2.03 (for Linux 2.0.0)
    imm: Found device at ID 6, Attempting to use EPP 32 bit
    imm: Communication established with ID 6 using EPP 32 bit
    scsi0 : Iomega VPI2 (imm) interface
    scsi : 1 host.
      Vendor: IOMEGA Model: ZIP 250 Rev: K.47
      Type: Direct-Access ANSI SCSI revision: 02
    Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
    SCSI device sda: hdwr sector= 512 bytes. Sectors= 489532 [239 MB] [0.2 GB]
    sda: Write Protect is off
     sda:SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    scsidisk I/O error: dev 08:00, sector 0
     unable to read partition table
    SCSI error: host 0 id 6 lun 0 return code = 27010000
            Sense class 0, sense error 0, extended sense 0
    VFS: Disk change detected on device sd(8,0)
    sda : READ CAPACITY failed.
    sda : status = 0, message = 00, host = 1, driver = 27
    sda : sense not available.
    sda : block size assumed to be 512 bytes, disk size 1GB.
     sda:scsidisk I/O error: dev 08:00, sector 0
     unable to read partition table
    Releasing imm1
    scsi : 0 hosts.
    imm: Version 2.03 (for Linux 2.0.0)
    imm: Found device at ID 6, Attempting to use EPP 16 bit
    imm: Found device at ID 6, Attempting to use PS/2
    imm: Communication established with ID 6 using PS/2
    scsi0 : Iomega VPI2 (imm) interface
    scsi : 1 host.
      Vendor: IOMEGA Model: ZIP 250 Rev: K.47
      Type: Direct-Access ANSI SCSI revision: 02
    Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
    SCSI device sda: hdwr sector= 512 bytes. Sectors= 489532 [239 MB] [0.2 GB]
    sda: Write Protect is off
     sda: sda4

    I also get these using EPP 32:

    Jul 16 16:52:52 HAL kernel: Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
    Jul 16 16:52:53 HAL kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 489532 [239 MB] [0.2 GB]
    Jul 16 16:52:53 HAL kernel: sda: Write Protect is off
    Jul 16 16:52:54 HAL kernel: sda: sda4
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    Jul 16 16:53:29 HAL kernel: scsidisk I/O error: dev 08:04, sector 225
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    Jul 16 16:53:29 HAL kernel: scsidisk I/O error: dev 08:04, sector 226
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    Jul 16 16:53:29 HAL kernel: scsidisk I/O error: dev 08:04, sector 464
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    Jul 16 16:53:29 HAL kernel: scsidisk I/O error: dev 08:04, sector 465
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    Jul 16 16:53:29 HAL kernel: scsidisk I/O error: dev 08:04, sector 479
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    Jul 16 16:53:29 HAL kernel: scsidisk I/O error: dev 08:04, sector 461175
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    Jul 16 16:53:29 HAL kernel: scsidisk I/O error: dev 08:04, sector 461176
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000
    Jul 16 16:53:29 HAL kernel: scsidisk I/O error: dev 08:04, sector 461177
    Jul 16 16:53:29 HAL kernel: SCSI disk error : host 0 channel 0 id 6 lun 0 return code = 27010000

    And so on...

    Thanks for any help,
            Jean-Francois Landry

    -- 
    All mail clients suck.  This one just sucks less.
    	Michael Elkins <me@cs.hmc.edu>, circa 1995
    --
    

    -- 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 Jul 19 2000 - 20:49:00 EDT