linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Eddie Hung <eddie.hung@gmail.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Jeff Garzik <jeff@garzik.org>
Subject: Re: CF as IDE on ICH6M using libata
Date: Fri, 07 Sep 2007 09:44:51 +0900	[thread overview]
Message-ID: <46E09F03.7010704@gmail.com> (raw)
In-Reply-To: <6f9550040709061456h6f9a64ebgec9dbe457a836138@mail.gmail.com>

[adding-back linux-ide, please don't drop cc's]

Eddie Hung wrote:
> On 06/09/07, Tejun Heo <htejun@gmail.com> wrote:
>> Eddie Hung wrote:
>>> However, I think we can conclude that ICH6M (which on the X41, has a
>>> SATA-PATA bridge to connect a PATA drive) does not seem to support
>>> MWDMA
>> It isn't clear whether the fault is at the driver or the CF device.
> 
> I have tried two separate CF cards which support MWDMA, and they both
> exhibit the same problems. You're right in that it could potentially
> be the CF-IDE adapter - but the adapter works with UDMA, so I'm
> guessing it should also work with MWDMA?

Not really.  MWDMA support seems especially wonky on CF devices.  I'm
not completely sure whether MWDMA support is broken on ata_piix or there
are just a lot of broken CF devices because windows doesn't use MWDMA.

>>> (especially as it is not completely supported under Windows
>>> either - it is *incredibly* slow but does not give the same timeout
>>> problems as with libata),
>> Please verify which mode is in use in Windows.  Just watching cpu usage
>> in the task manager while transferring data should give you a pretty
>> good idea.
> 
> I no longer have Windows installed (it is frustratingly, frustratingly
> slow regardless - which in my books means something definitely isn't
> right).

Aieeee... We need confirmation.

> There also seems to be some ambiguity (at least in libata) where MWDMA
> is associated with PIO (i.e. one of my error messages was something
> along the lines of: "dropping down to MWDMA1:PIO4" - which is maybe
> what Windows is doing as well?

PIO mode is always configured no matter which DMA mode is used.
Significant part of ATA depends on PIO (e.g. transferring commands to
the device, IDENTIFY, ...)

So that we can blacklist them, please post 'hdparm -I' results of both
devices with MWDMA.

Alan, Jeff, if windows doesn't use MWMDA on CF devices, I think we
probably shouldn't either.  I don't think supporting MWDMA is worth the
trouble considering only small fraction of this type of problems would
make it to linux-ide or bugzilla.

Thanks.

-- 
tejun

  parent reply	other threads:[~2007-09-07  0:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-02 12:42 CF as IDE on ICH6M using libata Eddie Hung
2007-09-02 13:08 ` Tejun Heo
2007-09-02 18:29   ` Eddie Hung
2007-09-03  2:45     ` Tejun Heo
2007-09-03 10:40       ` Eddie Hung
2007-09-03 11:46         ` Tejun Heo
2007-09-03 12:03           ` Eddie Hung
2007-09-03 12:20             ` Eddie Hung
2007-09-03 12:40               ` Tejun Heo
2007-09-03 12:51                 ` Eddie Hung
2007-09-04 18:17                 ` Eddie Hung
2007-09-05 17:28   ` Mark Lord
2007-09-05 22:03     ` Eddie Hung
2007-09-06 17:50       ` Tejun Heo
     [not found]         ` <6f9550040709061456h6f9a64ebgec9dbe457a836138@mail.gmail.com>
2007-09-07  0:44           ` Tejun Heo [this message]
2007-09-07 13:38         ` Mark Lord
2007-09-08  7:10           ` Tejun Heo
2007-09-10 12:18             ` Mark Lord
2007-09-10 18:19     ` Alan Cox
2007-09-10 19:39       ` Mark Lord
2007-09-02 14:04 ` Alan Cox
2007-09-02 18:41   ` Eddie Hung
2007-09-02 18:58     ` Alan Cox
2007-09-02 19:14       ` Eddie Hung

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=46E09F03.7010704@gmail.com \
    --to=htejun@gmail.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=eddie.hung@gmail.com \
    --cc=jeff@garzik.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).