All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Prarit Bhargava <prarit@redhat.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] ata, Add " 2GB ATA Flash Disk"/"ADMA428M" to DMA blacklist
Date: Tue, 22 May 2012 16:04:49 -0400	[thread overview]
Message-ID: <4FBBF161.70006@pobox.com> (raw)
In-Reply-To: <1336482482-3200-1-git-send-email-prarit@redhat.com>

On 05/08/2012 09:08 AM, Prarit Bhargava wrote:
> A user has several systems with a couple of models of flash disks with IDE
> connectors.  These disks work fine in 2.6.18-ish kernels but corrupt data on
> new kernels.
>
> The difference appears to be with the default I/O method used by the IDE
> controller driver between the kernels.  In the older kernels, the
> configuration is very conservative and the driver stays in PIO mode.  With
> new kernels, the ata driver (pata_serverworks) attempts to use UDMA/66
> which the drive claims to support.  This mode, however, does not appear to
> work in DMA mode.  The drive does work correctly and no corruption is
> seen if the kernel parameter "libata.force=5:pio0,6:pio0" is used to force
> the driver to use PIO instead of DMA mode.
>
> Blacklist these drives.  Unfortunately the model name of the drive is very
> generic, " 2GB ATA Flash Disk", but the revision is specific, "ADMA428M".
>
> Signed-off-by: Prarit Bhargava<prarit@redhat.com>
> Cc: Jeff Garzik<jgarzik@pobox.com>
> ---
>   drivers/ata/libata-core.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)

applied




      reply	other threads:[~2012-05-22 20:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 13:08 [PATCH] ata, Add " 2GB ATA Flash Disk"/"ADMA428M" to DMA blacklist Prarit Bhargava
2012-05-22 20:04 ` Jeff Garzik [this message]

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=4FBBF161.70006@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=prarit@redhat.com \
    /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.