From: Mark Lord <liml@rtr.ca>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: Linux IDE <linux-ide@vger.kernel.org>
Subject: Re: sata_mv: hard resetting port
Date: Thu, 15 Nov 2007 09:31:10 -0500 [thread overview]
Message-ID: <473C582E.10607@rtr.ca> (raw)
In-Reply-To: <473C1EE6.3070304@wpkg.org>
Tomasz Chmielewski wrote:
>
> And today kernel (2.6.23.1) in the same machine have spoken to
> not-mere-mortals again:
>
> ata6: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x6 frozen
> ata6: edma_err 0x00000020
..
Here, the messages fail us. The edma_err value says that there
should be a non-zero value in the SErr value. Except the messages
show zero there, meaning the registers were probably read in the
wrong sequence (some bits clear automatically on reads).
In any event, the messages that follow don't say anything about
I/O failing in any way, so again this is nothing to be concerned about
unless it happens frequently.
At this point, I would unplug/replug all of the SATA cables,
to ensure they have good connections.
> ata6: hard resetting port
> ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata6.00: configured for UDMA/133
> ata6: EH complete
> sd 5:0:0:0: [sde] 781422768 512-byte hardware sectors (400088 MB)
> sd 5:0:0:0: [sde] Write Protect is off
> sd 5:0:0:0: [sde] Mode Sense: 00 3a 00 00
> sd 5:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
>
>
> As I understand it now, your previous translation would fit here (or
> not, as SErr differs?):
>
> > Translation:
> > "libata reset the link, and everything appeared okay,
> > so it reissued the failed command and continued.
> > No data loss."
>
> But why was the port reseted? There was no CRC error as before, was there?
..
I think the error-handling code is a bit heavy handed,
in that the port reset was not actually needed in the prior case either.
But this way it is simple, consistent, and does work.
It just prints too many messages.
> What worries me is that it always happens for the same drive.
..
Twiddle with the cabling for that drive, and it will probably behave.
next prev parent reply other threads:[~2007-11-15 14:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-14 9:43 sata_mv: hard resetting port Tomasz Chmielewski
2007-11-14 15:27 ` Mark Lord
2007-11-14 15:36 ` Tomasz Chmielewski
2007-11-14 16:11 ` Mark Lord
2007-11-15 3:36 ` Tejun Heo
2007-11-15 4:12 ` Mark Lord
2007-11-15 10:16 ` Tomasz Chmielewski
2007-11-15 10:26 ` Tomasz Chmielewski
2007-11-15 14:31 ` Mark Lord [this message]
2007-11-15 19:22 ` Mark Lord
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=473C582E.10607@rtr.ca \
--to=liml@rtr.ca \
--cc=linux-ide@vger.kernel.org \
--cc=mangoo@wpkg.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).