Next-in-Thread Next Message

Question Iomega 250MB PCMCIA-->USB problem? 

Forum: PCMCIA ATA/IDE Device Issues
Date: 2000, Feb 05
From: Michael Marder marder

I have a PCMCIA --> USB converter for a 250 MB zip drive.

All at first appears to work. I can mount the drive, have created a Linux partition with fdisk followed by mkfs, and can write files to the disk. However, I find the all long files copied to the disk are corrupt, with occasional binary garbage injected into the files.

Guesses are that either I've done something dumb with the filesystem, or else there is some sort of buffering problem.

Diagnostics: cardctl version 3.0.9

from cardctl config
Socket 1:
  Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
  Interface type is memory and I/O
  IRQ 10 is exclusive, level mode, enabled
  Function 0:
    Config register base = 0x0400
      Option = 0x41, status = 0000, pin = 0000, copy = 0000
    I/O window 1: 0x0100 to 0x010f, auto sized

kernel version 2.2.5-15 (Red Hat 6.0)

From /var/log/messages:

Feb  5 11:30:44 gimou cardmgr[535]: socket 1: ATA/IDE Fixed Disk
Feb  5 11:30:44 gimou cardmgr[535]: executing: 'insmod /lib/modules/2.2.5-15/pcmcia/ide_cs.o'
Feb  5 11:30:54 gimou kernel: hde: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive 
Feb  5 11:30:54 gimou kernel: ide2 at 0x100-0x107,0x10e on irq 10 
Feb  5 11:30:54 gimou kernel: hde: 244766kB, 489532 blocks, 512 sector size 
Feb  5 11:30:54 gimou kernel: hde: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm 
Feb  5 11:30:54 gimou kernel: hde: The drive reports both 250609664 and 250640384 bytes as its capacity 
Feb  5 11:30:54 gimou kernel:  hde: hde1 
Feb  5 11:30:54 gimou kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0 
Feb  5 11:30:54 gimou cardmgr[535]: executing: './ide start hde'
Feb  5 11:30:54 gimou cardmgr[535]: + ./ide: /sbin/ide_info: No such file or directory
Feb  5 11:34:45 gimou kernel: hde: The drive reports both 250609664 and 250640384 bytes as its capacity 
Feb  5 11:34:49 gimou kernel:  hde: hde1 

That comment about two sizes of the disk doesn't sound too good, but apart from deleting old partition and creating new one and formatting it, which I did, I'm not sure what else to check. Could absence of ide_info cause problem? Are there any places to look for buffer overflows of some sort?

Thanks! Michael Marder

Next-in-Thread Next Message

Messages Inline: 0 1

More More information

Re: Question Iomega 250MB PCMCIA-->USB problem? (Michael Marder)
Date: 2000, Feb 08
From: Michael Marder marder

More information is probably useful.

I upgraded to 3.0.14 (used the current RedHat rpm, which seems to have upgraded some things and not others!) I have tried adding "cis_speed=600 io_speed=400" to CORE_OPTS, but was just guessing and it didn't seem to do anything.

Here are some messages that record the controller, and also describe the error that seems to go along with the problem, from /var/log/messages, after reloading the modules and then copying a file. I'm using Iomega's preformatted disk, since the file systems I've created given the I/O problems are all corrupt.

Feb  7 20:54:57 gimou kernel:   kernel build: 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 
Feb  7 20:54:57 gimou kernel:   options:  [pci] [cardbus] [apm] 
Feb  7 20:54:57 gimou kernel: Intel PCIC probe:  
Feb  7 20:54:57 gimou kernel:   O2Micro OZ6832 PCI-to-CardBus at bus 0 slot 5, mem 0x68000000, 2 sockets 
Feb  7 20:54:57 gimou kernel:     host opts [0]: [a 00] [b 00] [c 20] [d 06] [mhpg 18] [fifo 00] [e 08] [no pci irq] [lat 32/176] [bus 32/34] 
Feb  7 20:54:57 gimou kernel:     host opts [1]: [a 00] [b 00] [c 20] [d 06] [mhpg 18] [fifo 00] [e 08] [no pci irq] [lat 32/176] [bus 35/37] 
Feb  7 20:54:57 gimou kernel:     ISA irqs (default) = 3,4,10,11 polling interval = 1000 ms 
Feb  7 20:54:57 gimou cardmgr[3985]: starting, version is 3.0.14
Feb  7 20:54:57 gimou cardmgr[3985]: watching 2 sockets
Feb  7 20:54:57 gimou cardmgr[3985]: Card Services release does not match!
Feb  7 20:54:57 gimou kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Feb  7 20:54:57 gimou kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x3b8-0x3df 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7 
Feb  7 20:54:57 gimou kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
Feb  7 20:54:57 gimou cardmgr[3985]: initializing socket 1
Feb  7 20:54:58 gimou kernel: cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x600fffff 
Feb  7 20:54:58 gimou cardmgr[3985]: socket 1: ATA/IDE Fixed Disk
Feb  7 20:54:58 gimou cardmgr[3985]: executing: 'insmod /lib/modules/2.2.5-15/pcmcia/ide_cs.o'
Feb  7 20:55:06 gimou kernel: hde: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive 
Feb  7 20:55:06 gimou kernel: ide2 at 0x100-0x107,0x10e on irq 3 
Feb  7 20:55:07 gimou cardmgr[3985]: executing: './ide start hde'
Feb  7 20:55:07 gimou cardmgr[3985]: + ./ide: /sbin/ide_info: No such file or directory
Feb  7 20:55:06 gimou kernel: hde: 244766kB, 489532 blocks, 512 sector size 
Feb  7 20:55:06 gimou kernel: hde: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm 
Feb  7 20:55:06 gimou kernel: hde: The drive reports both 250609664 and 250640384 bytes as its capacity 
Feb  7 20:55:06 gimou kernel:  hde: hde4 
Feb  7 20:55:06 gimou kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0 
Feb  7 20:56:19 gimou kernel: hde: The drive reports both 250609664 and 250640384 bytes as its capacity 
Feb  7 20:56:21 gimou kernel:  hde: hde4 
Feb  7 20:56:21 gimou kernel: hde: The drive reports both 250609664 and 250640384 bytes as its capacity 
Feb  7 20:56:22 gimou kernel:  hde: hde4 
Feb  7 20:57:02 gimou kernel: ide-floppy: hde: I/O error, pc = 2a, key =  4, asc = 47, ascq =  0 
Feb  7 20:57:02 gimou kernel: end_request: I/O error, dev 21:04 (hde), sector 519 
Feb  7 20:57:02 gimou kernel: ide-floppy: hde: I/O error, pc = 2a, key =  4, asc = 47, ascq =  0 
Feb  7 20:57:02 gimou kernel: end_request: I/O error, dev 21:04 (hde), sector 647 
Feb  7 20:57:02 gimou kernel: ide-floppy: hde: I/O error, pc = 2a, key =  4, asc = 47, ascq =  0 
Feb  7 20:57:02 gimou kernel: end_request: I/O error, dev 21:04 (hde), sector 775 
Feb  7 20:57:02 gimou kernel: ide-floppy: hde: I/O error, pc = 2a, key =  4, asc = 47, ascq =  0 
Feb  7 20:57:02 gimou kernel: end_request: I/O error, dev 21:04 (hde), sector 903 
Feb  7 20:57:02 gimou kernel: ide-floppy: hde: I/O error, pc = 2a, key =  4, asc = 47, ascq =  0 
Feb  7 20:57:02 gimou kernel: end_request: I/O error, dev 21:04 (hde), sector 1031 
Feb  7 20:57:02 gimou kernel: ide-floppy: hde: I/O error, pc = 2a, key =  4, asc = 47, ascq =  0 
Feb  7 20:57:02 gimou kernel: end_request: I/O error, dev 21:04 (hde), sector 1159 
Feb  7 20:57:02 gimou kernel: ide-floppy: hde: I/O error, pc = 2a, key =  4, asc = 47, ascq =  0 

None Maybe some useful information

Re: More More information (Michael Marder)
Date: 2000, Feb 08
From: David Hinds <dhinds@pcmcia.sourceforge.org>

I'm not sure what to suggest.  You might want to forward this to Gadi
Oxman, at gadio@netvision.net.il: he is the maintainer of the kernel
ide-floppy driver.  Also, I've been told that the IOMega Clik! drive
requires a patched ide-floppy driver, and it's possible that your
device has similar requirements.  For the Clik! drive, see:

    http://paulbristow.net/linux/clik.html

-- Dave

Ok Untitled

Re: None Maybe some useful information (David Hinds)
Date: 2000, Feb 09
From: Michael Marder marder

The problem with the 250 MB disks is common to all the Iomega 250 MB disks and is answered on the news groups.

One has to remove the module ide-floppy, and replace it with ide-scsi. I'm not sure how to automate that procedure yet. Anyway, the disk then shows up as sda4 rather than hde4, and everything seems to start working perfectly.

Iomega 250MB PCMCIA-->USB problem?


Add Message to: "Iomega 250MB PCMCIA-->USB problem?"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10