From: Tejun Heo <tj@kernel.org>
To: Wakko Warner <wakko@animx.eu.org>
Cc: Reartes Guillermo <rtguille@gmail.com>, linux-ide@vger.kernel.org
Subject: Re: ASM1061 freeze with DVDRW (3.11.1 amd64)
Date: Mon, 30 Sep 2013 15:27:31 -0400 [thread overview]
Message-ID: <20130930192731.GA2703@htj.dyndns.org> (raw)
In-Reply-To: <20130929031101.GD11789@animx.eu.org>
Hey, guys.
On Sat, Sep 28, 2013 at 11:11:01PM -0400, Wakko Warner wrote:
> [ 493.612957] ata4.00: detaching (SCSI 3:0:0:0)
> [ 516.314095] ata7.00: exception Emask 0x52 SAct 0x0 SErr 0xffffffff action 0xe frozen
> [ 516.314699] ata7: SError: { RecovData RecovComm UnrecovData Persist Proto HostInt PHYRdyChg PHYInt CommWake 10B8B Dispar BadCRC Handshk LinkSeq TrStaTrns UnrecFIS DevExch }
That's the controller going bonkers - all SErr bits are set. It's not
functioning correctly anymore.
> [ 516.315939] ata7.00: failed command: IDENTIFY PACKET DEVICE
> [ 516.316567] ata7.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
> [ 516.316567] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x56 (ATA bus error)
> [ 516.317794] ata7.00: status: { DRDY }
> [ 516.318407] ata7: hard resetting link
On non other than IDENTIFY.
> Once this last line was printed, pings stopped working. Computer was
> completely frozen. Keyboard lock keys won't toggle either. SYSRQ non
> functional.
Misbehaving controllers can hang machine without any software way to
recover from it. It could just hang in the middle of memory
transaction. Unless PCI bridge aborts it with timeout, the only way
the system can get out of there is hard reset. Unfortunately,
controllers misbehaving this way weren't too uncommon way back with
controllers with taskfile based interface. Nowadays, it mostly
disappeared but we apparently have one here.
It could be a combination of bugs on the controller and the optical
drive and there probably are some workarounds which can avoid it -
avoid certain command sequence, take certain special steps during
recovery, etc. A good starting point would be finding out which
command from udev makes it go bonkers and see whether we can avoid
that.
Thanks.
--
tejun
next prev parent reply other threads:[~2013-09-30 19:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 23:13 ASM1061 freeze with DVDRW (3.11.1 amd64) Wakko Warner
2013-09-28 4:23 ` Reartes Guillermo
2013-09-28 12:20 ` Wakko Warner
2013-09-28 19:44 ` Reartes Guillermo
2013-09-29 3:11 ` Wakko Warner
2013-09-30 19:27 ` Tejun Heo [this message]
2013-10-01 1:55 ` Wakko Warner
2013-10-01 14:39 ` Tejun Heo
2013-10-01 15:25 ` Reartes Guillermo
2013-10-01 16:08 ` Reartes Guillermo
2013-10-01 18:56 ` Reartes Guillermo
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=20130930192731.GA2703@htj.dyndns.org \
--to=tj@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=rtguille@gmail.com \
--cc=wakko@animx.eu.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).