You are not logged in.

#1 2009-04-18 18:23:14

bwh1969
Member
Registered: 2008-01-05
Posts: 151

Delkin PCMCIA32 bit CF reader - slow;not solved.Can't be presently.

EDIT: Per this: http://www.gossamer-threads.com/lists/e … list=linux
this issue cannot be solved until a better driver is written.  The driver itself does not have DMA support and the company that makes the chip is no longer in existence.  There is an attempt to "backward engineer" to get a better driver.  At least it does read/write to cards.  PIO mode only for now.  :-(

I am trying to figure out if I can speed up this situation.

I have a 266x CF card mounted in a Delkin 32 Bit CF reader.

It is using the following drivers (lsmod): pata_ninja32 (and related pata and ata modules are listed), delkin_cb as well as other relevant pcmcia drivers.

    [root@chakra brian]# hdparm -t /dev/sdc

    /dev/sdc:
    Timing buffered disk reads: 4 MB in 3.33 seconds = 1.20 MB/sec

This is somewhat pathetic.

    hdparm -i /dev/sdc

    /dev/sdc:

    Model=Memory Card Adapter , FwRev=67281306, SerialNo= 0
    Config={ HardSect NotMFM Removeable DTR>10Mbs nonMagnetic }
    RawCHS=16006/16/63, TrkSize=2048, SectSize=512, ECCbytes=4
    BuffType=1Sect, BuffSize=1kB, MaxMultSect=1, MultSect=?0?
    CurCHS=16006/16/63, CurSects=16134048, LBA=yes, LBAsects=16134144
    IORDY=no, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
    PIO modes: pio0 pio1 pio2 pio3 pio4
    DMA modes: mdma0 mdma1 mdma2
    UDMA modes: udma0 udma1 udma2 udma3 udma4
    AdvancedPM=no
    Drive conforms to: unknown: ATA/ATAPI-1,2,3,4,5,6

So I thought I might be able to do this:

    hdparm -c1 -d1 /dev/sdc

    /dev/sdc:
    setting 32-bit IO_support flag to 1
    HDIO_SET_32BIT failed: Invalid argument
    setting using_dma to 1 (on)
    HDIO_SET_DMA failed: Inappropriate ioctl for device
    IO_support = 0 (default)
    HDIO_GET_DMA failed: Inappropriate ioctl for device

So is there a way to get something reasonable out of this card. It runs at a significantly higher speed in XP with the
proper driver.

Last edited by bwh1969 (2009-04-24 17:59:34)

Offline

#2 2009-04-21 21:06:55

bwh1969
Member
Registered: 2008-01-05
Posts: 151

Re: Delkin PCMCIA32 bit CF reader - slow;not solved.Can't be presently.

bump:

Supplemental question: Is the kernel configured to support 32 bit pcmcia by default?  After doing research and trying the cf card with an old 16 bit cf reader, the results are about the same < 2 MBPS

Last edited by bwh1969 (2009-04-21 21:07:23)

Offline

#3 2009-04-22 01:13:46

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Delkin PCMCIA32 bit CF reader - slow;not solved.Can't be presently.

Perhaps the reader is at fault.

I have two addonics CF adapters in my Desktop machine and each runs at 45MB/sec with Adata 266x 8GB CF cards.

When operated in raid0 the read speed is 82 MB/s.

It is important to have an UDMA rated adapter to get the read speed up to par.

Perhaps addonics has a pcmcia adapter for UDMA applications?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2009-04-22 18:09:10

bwh1969
Member
Registered: 2008-01-05
Posts: 151

Re: Delkin PCMCIA32 bit CF reader - slow;not solved.Can't be presently.

x

Last edited by bwh1969 (2009-04-24 01:00:29)

Offline

#5 2009-04-23 01:43:21

bwh1969
Member
Registered: 2008-01-05
Posts: 151

Re: Delkin PCMCIA32 bit CF reader - slow;not solved.Can't be presently.

The same card combo with reader in Windows XP runs at 19.8 MBPS using the driver from delkin's site.  This is about 10 times faster in XP than in Arch for the same 32 bit CF reader with the Kingston 266x UDMA card.

Curious.  Even though pccardctl identifies the card at 32 bit, it is clearly running at 16 bit speed.  IDEAS ANYONE?

Last edited by bwh1969 (2009-04-24 01:01:04)

Offline

Board footer

Powered by FluxBB