[PARPORT] IOmega driver bug


Riley Williams (rhw@bigfoot.com)
Sun, 11 Jan 1998 21:29:27 +0000 (GMT)


Hi there.

Can I report what appears to be a problem with the latest IOmega
driver?

I was using the driver supplied with kernel 2.0.33 quite happily,
although it limited the transfer to the Parallel ZipDrive to
around 25k a second.

I 'upgraded' to the latest drivers, PPA 1.40, and found that I was
getting all sorts of errors when mounting ZipDisks, with no
consistency between the messages from one mount to the next, even
for the same disk. I even managed to corrupt a friend's ZipDisk
when trying to mount it ReadOnly !!!

I have carried out some basic investigations regarding this, and
found that the problems occurred when my BIOS had the parallel
port set to EPP mode - the problems went away when I changed the
setting to ECP mode, and with that setting, I get a transfer rate
of around 110k a second.

The above-mentioned friend is quite happily using the same drivers
(indeed, the same kernel - we transferred his kernel image to my
machine and rebooted under it with no change in the situation),
and gets no problems in EPP mode, which makes me suspect there's
more than one EPP chipset, and mine is one the current driver
doesn't handle correctly.

I'm no expert on debugging hardware problems, but am willing to
act as a test site for this chipset if somebody's willing to
provide directions on what to do. As a starter, here's some
details of my configuration:

 1. /proc/cpuinfo

        processor : 0
        cpu : 586
        model : Pentium 75+
        vendor_id : GenuineIntel
        stepping : 12
        fdiv_bug : no
        hlt_bug : no
        f00f_bug : yes
        fpu : yes
        fpu_exception : yes
        cpuid : yes
        wp : yes
        flags : fpu vme de pse tsc msr mce cx8
        bogomips : 66.56

    The actual processor is an Intel Pentium P166. In addition,
    many of the chips on the motherboard have VIA stamped on
    them so if that's a standard chipset, that's the one I have.

 2. /proc/pci

    PCI devices found:
      Bus 0, device 10, function 0:
        VGA compatible controller: Cirrus Logic GD 5436 (rev 0).
          Medium devsel. IRQ 255.
          Non-prefetchable 32 bit memory at 0xf0000000.
      Bus 0, device 8, function 0:
        Ethernet controller: Realtek 8029 (rev 0).
          Medium devsel. IRQ 10.
          I/O at 0x6100.
      Bus 0, device 2, function 0:
        IDE interface: VIA Technologies VT 82C416MV (rev 4).
          Medium devsel. Fast back-to-back capable. IRQ 255.
                          Master Capable. Latency=32.
          I/O at 0x6000.
      Bus 0, device 0, function 0:
        Host bridge: VIA Technologies VT 82C576 3V (rev 2).
          Fast devsel. Master Capable. No bursts.

 3. Report from "free"...

                        total used free shared buffers cached
    Mem: 95596 14428 81168 24840 1252 6308
    -/+ buffers/cache: 6868 88728
    Swap: 129020 0 129020

 4. /usr/src/linux/.config (apologies for the spam):

#
# Automatically generated by make menuconfig: don't edit
#

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y

#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
# CONFIG_MAX_16M is not set
CONFIG_PCI=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_M586=y

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_IDE_PCMCIA is not set
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_TRITON=y
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_RAM=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
CONFIG_INET=y
# CONFIG_IP_FORWARD is not set
# CONFIG_IP_MULTICAST is not set
CONFIG_SYN_COOKIES=y
# CONFIG_IP_ACCT is not set
# CONFIG_IP_ROUTER is not set
CONFIG_NET_IPIP=m
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_IPX=m
CONFIG_ATALK=m
# CONFIG_AX25 is not set
# CONFIG_NETLINK is not set

#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set

#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_NCR53C8XX is not set
CONFIG_SCSI_PPA=y
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_GDTH is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_EQUALIZER=m
# CONFIG_PLIP is not set
CONFIG_PPP=y
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y
# CONFIG_NET_RADIO is not set
CONFIG_NET_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
CONFIG_NET_ISA=y
# CONFIG_E2100 is not set
# CONFIG_DEPCA is not set
# CONFIG_EWRK3 is not set
# CONFIG_EEXPRESS is not set
# CONFIG_HPLAN_PLUS is not set
# CONFIG_HPLAN is not set
# CONFIG_HP100 is not set
CONFIG_NE2000=y
# CONFIG_SK_G16 is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET is not set
# CONFIG_TR is not set
# CONFIG_FDDI is not set
# CONFIG_ARCNET is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Filesystems
#
CONFIG_QUOTA=y
CONFIG_MINIX_FS=m
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_UMSDOS_FS is not set
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
# CONFIG_ROOT_NFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
CONFIG_ISO9660_FS=y
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=y
# CONFIG_DIGI is not set
CONFIG_CYCLADES=m
# CONFIG_STALDRV is not set
CONFIG_RISCOM8=m
# CONFIG_PRINTER is not set
CONFIG_SPECIALIX=m
# CONFIG_SPECIALIX_RTSCTS is not set
# CONFIG_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
# CONFIG_APM is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WDT=m
CONFIG_WDT_501=y
# CONFIG_WDT_501_FAN is not set
CONFIG_SOFT_WATCHDOG=y
CONFIG_PCWATCHDOG=m
CONFIG_RTC=y

#
# Sound
#
# CONFIG_SOUND is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set

 5. Startup messages (again, apologies for the spam...):

Console: 8 point font, 400 scans
Console: colour VGA+ 80x50, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000facd0
pcibios_init : BIOS32 Service Directory entry at 0xfb170
pcibios_init : PCI BIOS revision 2.10 entry at 0xfb1a0
Probing PCI hardware.
Calibrating delay loop.. ok - 66.56 BogoMIPS
Memory: 95596k/98300k available (676k kernel code, 384k reserved, 1644k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Intel Pentium with F0 0F bug - workaround enabled.
alias mapping IDT readonly ... ... done
Linux version 2.0.33 (Linux version 2.0.33 (root@Moroni.StarFleet.UFP) (gcc version 2.7.2.3) #16 Sun Jan 11 02:22:32 GMT 1998
Starting kswapd v 1.4.2.2
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
tty02 at 0x03e8 (irq = 9) is a 16550A
Software Watchdog Timer: 0.04, timer margin: 60 sec
Real Time Clock Driver v1.07
loop: registered device at major 7
hda: Maxtor 72004 AP, 1916MB w/128kB Cache, CHS=973/64/63
hdb: GCD-R580B, ATAPI CDROM drive
hdc: WDC AC22100H, 2014MB w/128kB Cache, CHS=4092/16/63
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
ppa: Version 1.40
ppa: Probing port 03bc
ppa: Probing port 0378
ppa: SPP port present
ppa: ECP with a 16 byte FIFO present
ppa: Passed Intel bug check.
ppa: Probing port 0278
scsi : 0 hosts.
scsi : detected total.
PPP: version 2.3.3 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
ne.c: PCI BIOS reports NE 2000 clone at i/o 0x6100, irq 10.
ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0x6100: 00 c0 df e2 26 e9
eth0: NE2000 found at 0x6100, using IRQ 10.
Partition check:
 hda: hda1 hda3 hda4 < hda5 >
 hdc: [PTBL] [1023/64/63] hdc1 hdc2 hdc3 hdc4 < hdc5 hdc6 hdc7 hdc8 hdc9 >
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 129020k swap-space (priority -1)

Best wishes from Riley.

-- 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 2.0b3 on Wed 30 Dec 1998 - 10:17:19 EST