linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Martin Michlmayr <tbm@cyrius.com>
Cc: linux-ide@vger.kernel.org, "Williams, Dan J" <dan.j.williams@intel.com>
Subject: Re: sata_via (pata): problems when write cache is disabled
Date: Mon, 30 Apr 2007 11:52:02 +0200	[thread overview]
Message-ID: <4635BC42.6020201@gmail.com> (raw)
In-Reply-To: <20070429105001.GA4530@deprecation.cyrius.com>

Martin Michlmayr wrote:
> Is this a bug in the VIA driver?
> 
> Sample errors:
> 
> ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
> ata3.00: (BMDMA stat 0x4)
> ata3.00: cmd ca/00:08:08:80:04/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 out
>          res 53/84:00:0f:80:04/00:00:00:00:00/e0 Emask 0x10 (ATA bus error)

I doubt it's the driver's fault.  It's more likely actual wiring
problem.  In the first two dmesgs, even UDMA/25 doesn't work.  Errors
stop only after it drops speed down to PIO4.  The only thing driver can
do to cause this PATA transmission errors I can think of is
misprogramming the timing registers but transfer mode programming on
vt6421 is as simple as telling the controller the index of the mode, so
it's pretty hard to screw up there.

The difference between the first two and the last one might be that the
last one is just more tolerant about degraded signals.  (e.g. some of
latest PATA drives can do UDMA/100 on 40c cable w/o any problem).

-- 
tejun


  reply	other threads:[~2007-04-30 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29 10:50 sata_via (pata): problems when write cache is disabled Martin Michlmayr
2007-04-30  9:52 ` Tejun Heo [this message]
2007-05-03 13:23   ` Martin Michlmayr

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=4635BC42.6020201@gmail.com \
    --to=htejun@gmail.com \
    --cc=dan.j.williams@intel.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=tbm@cyrius.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 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).