Re: Extremely slow IO with a PCMCIA CompactFlash adapter

From: Bartlomiej Zolnierkiewicz
Date: Sun Aug 02 2009 - 09:40:30 EST


On Saturday 01 August 2009 16:02:22 Jack Byer wrote:
> I have an old digital camera that stores its pictures on a 340 MB IBM
> microdrive. I am trying to transfer to pictures from the camera to my
> computer but can not find the special non-standard USB cable. The
> camera did come with a CompactFlash to PCMCIA adapter, so tried
> connecting it to my laptop. I was able to install the correct modules
> and mount the drive, but accessing it is very slow (5.0 kBps read /
> 3.8 kBps write). Is this expected behavior? Is there any setup I am
> missing that would make this faster?

Get 2.6.31-rc5 kernel.

Set:

CONFIG_IDE=m
CONFIG_BLK_DEV_IDECS=m

in the kernel config.

Build, install, reboot.

Load ide-cs module.

Enjoy the speed increase using /dev/hda.

You may try "hdparm -c1 /dev/hda" for an extra enjoyment.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/