All of lore.kernel.org
 help / color / mirror / Atom feed
From: Damon Lynch <damonlynch@gmail.com>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: ExpressCard compact flash card very slow
Date: Wed, 23 Feb 2011 02:24:38 -0600	[thread overview]
Message-ID: <4D64C446.4050803@gmail.com> (raw)
In-Reply-To: <4D649FA2.5010204@gmail.com>

On 02/22/2011 11:48 PM, Robert Hancock wrote:
>
> The CF adapter probably doesn't support the 80-wire cable detect 
> protocol properly so the kernel thinks there's only a 40-wire cable 
> connected to it. You can try libata.force=80c on the kernel command 
> line and see what that does.
>

It seemed to work. I got read speeds of ~55MB/s, which is ok because I 
was writing what was being read to an SSD.

dmesg:

[    1.651748] pata_jmicron 0000:05:00.0: PCI INT A -> GSI 19 (level, 
low) -> IRQ 19
[    1.651783] pata_jmicron 0000:05:00.0: setting latency timer to 64
[    1.652212] scsi0 : pata_jmicron
[    1.652813] scsi1 : pata_jmicron
[    1.652855] ata1: PATA max UDMA/100 cmd 0x4020 ctl 0x4014 bmdma 
0x4000 irq 19
[    1.652857] ata2: PATA max UDMA/100 cmd 0x4018 ctl 0x4010 bmdma 
0x4008 irq 19
[    1.850716] ata1: FORCE: cable set to 80c
[    1.850723] ata1.00: CFA: TRANSCEND, 20091215, max UDMA/133
[    1.850726] ata1.00: 125059072 sectors, multi 0: LBA
[    1.870111] usb 1-6: new high speed USB device using ehci_hcd and 
address 3
[    1.890684] ata1.00: configured for UDMA/100
[    1.890845] scsi 0:0:0:0: Direct-Access     ATA      TRANSCEND        
2009 PQ: 0 ANSI: 5
[    1.891008] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.891020] sd 0:0:0:0: [sda] 125059072 512-byte logical blocks: 
(64.0 GB/59.6 GiB)
[    1.891070] sd 0:0:0:0: [sda] Write Protect is off
[    1.891073] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.891099] sd 0:0:0:0: [sda] Write cache: disabled, read cache: 
enabled, doesn't support DPO or FUA
[    1.892022]  sda: sda1
[    1.892395] sd 0:0:0:0: [sda] Attached SCSI disk

What next? Can the CF reader be whitelisted by libata?

  reply	other threads:[~2011-02-23  8:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23  1:01 ExpressCard compact flash card very slow Damon Lynch
2011-02-23  5:48 ` Robert Hancock
2011-02-23  8:24   ` Damon Lynch [this message]
2011-02-23 10:56     ` Lars Randers
2011-02-23 14:41     ` Robert Hancock
2011-02-23 15:54       ` Damon Lynch
2011-02-23 22:45         ` Robert Hancock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D64C446.4050803@gmail.com \
    --to=damonlynch@gmail.com \
    --cc=hancockrwd@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.