From: Tejun Heo <tj@kernel.org>
To: Jacobo Pantoja <jacobopantoja@gmail.com>
Cc: linux-ide@vger.kernel.org, Robert Hancock <hancockrwd@gmail.com>
Subject: Re: [nForce4] - Repeatable issues with nForce 4
Date: Sun, 14 Sep 2014 18:37:21 +0900 [thread overview]
Message-ID: <20140914093721.GA9028@mtj.dyndns.org> (raw)
In-Reply-To: <CAO18KQjN88PjQSh0bMo+YgqmSSE--eaxL3Lgo5QeUjg3vMu6iQ@mail.gmail.com>
(cc'ing Robert Hancock)
Hello,
On Sat, Sep 13, 2014 at 11:50:08PM +0200, Jacobo Pantoja wrote:
> (Sorry if you receive twice, I have noticed that the first email had
> blank subject)
> Dear Tejun Heo and linux-ide team,
>
> I'm Jacobo Pantoja. I'm a technology passionate and electronics engineer.
> I have my ("beloved") computer with an nForce4 chipset, and I have had almost
> always the ADMA interface enabled. The board itself is ASUS A8N-E, with
> reportedly CK804 chipset, if it may be relevant at all.
>
> As suggested by Tejun, I'm sending my problem to the list.
>
> I noticed that from time to time the machine was freezed, but I was not
> able to correctly catch the trigger. Till yesterday.
>
> I noticed that one of my 2 TB drives had some few sectors, which were
> marked as "pending reallocation", but not reallocated. When this has
> happened to me (in different computers, though), I solved it by dd'ing
> the whole disk, locating the bad sector(s) and filling it with zeroes.
> So I tried... and I have discovered that when a bad sector is tried to
> be read, the system locks up.
>
> You may find attached:
> * dmesg when adma activated (but not including the moment of the error
> because the computer freezes)
> * photo taken in the moment of the error with adma activated
> * dmesg when adma is not activated, including the moment of the error
>
> This is totally reproducible**, and I am willing to do any additional
> testing that may help in solving this issue, if there is any interest.
>
> **I have noticed, while trying to provide clear dmesg's and so on, that
> if I do the reading with ADMA disabled, the sector may be marked (as expected)
> as definitively bad block, and then reallocated. Given that the drive has
> still some few bad blocks, we have still some chances of reproducing again
> and again, but really I don't know for sure how many tries do we have.
You can create bad blocks using hdparm --make-bad-sector on most
drives.
So, the controller locks up the whole machine while trying to handle a
UNC error. Heh, it even times out on READ_LOG_EXT during EH.
Unfortunately, I'm not sure there's much we can do at this point.
IIRC, NV ADMA support never really matured which is why it never got
turned on by default. I wouldn't be too surprised if the issue is
with the controller itself. Quite a few of these first-gen NCQ
controllers were quite flaky after all. Robert should know a lot
better than me tho.
Thanks.
--
tejun
next parent reply other threads:[~2014-09-14 9:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAO18KQjN88PjQSh0bMo+YgqmSSE--eaxL3Lgo5QeUjg3vMu6iQ@mail.gmail.com>
2014-09-14 9:37 ` Tejun Heo [this message]
2014-09-14 20:04 ` [nForce4] - Repeatable issues with nForce 4 Robert Hancock
[not found] ` <CADLC3L397fmyWa1CpzZfkTkZavyKPG4M7JccdgbgTRTsUp8VVQ@mail.gmail.com>
2014-09-15 12:41 ` Jacobo Pantoja
2014-09-16 2:47 ` Robert Hancock
2014-11-30 11:03 ` Jacobo Pantoja
2014-12-01 0:01 ` Robert Hancock
2014-12-01 4:40 ` Jacobo Pantoja
2014-12-01 5:52 ` Robert Hancock
2014-12-01 22:37 ` Jacobo Pantoja
2014-12-02 1:38 ` Robert Hancock
2014-12-02 15:17 ` Tejun Heo
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=20140914093721.GA9028@mtj.dyndns.org \
--to=tj@kernel.org \
--cc=hancockrwd@gmail.com \
--cc=jacobopantoja@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 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).