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)
Feb 5 11:30:44 gimou cardmgr: socket 1: ATA/IDE Fixed Disk Feb 5 11:30:44 gimou cardmgr: 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: executing: './ide start hde' Feb 5 11:30:54 gimou cardmgr: + ./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