From: Tejun Heo <htejun@gmail.com>
To: Nicolas STRANSKY <Nico@stransky.cx>
Cc: linux-ide@vger.kernel.org
Subject: Re: libata-tj and SMART
Date: Tue, 16 May 2006 08:13:19 +0900 [thread overview]
Message-ID: <44690B0F.90200@gmail.com> (raw)
In-Reply-To: <e4b02t$e9b$1@sea.gmane.org>
Nicolas STRANSKY wrote:
> Hi,
>
> I've been using libata-tj for a couple of days and for now it's working
> without problem, my SI-3112 is finally working :) Thanks !
How does it work w/o libata-tj?
> I've noticed these errors while trying to issue some SMART commands to
> the SATA drive :
>
>> May 16 00:28:33 aneto kernel: ata3: soft resetting port
>> May 16 00:28:33 aneto kernel: ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
>> May 16 00:28:33 aneto kernel: ata3.00: configured for UDMA/100
>> May 16 00:28:33 aneto kernel: ata3: EH complete
>> May 16 00:28:33 aneto kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x1 frozen
>> May 16 00:28:33 aneto kernel: ata3.00: tag 0 cmd 0xb0 Emask 0x2 stat 0x51 err 0x4 (HSM violation)
>> May 16 00:28:33 aneto kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x40)
>> May 16 00:28:33 aneto kernel: ata3.00: revalidation failed (errno=-5)
>> May 16 00:28:33 aneto kernel: ata3: failed to recover some devices, retrying in 5 secs
>> May 16 00:28:39 aneto kernel: ata3: soft resetting port
>> May 16 00:28:39 aneto kernel: ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
>> May 16 00:28:39 aneto kernel: ata3.00: configured for UDMA/100
>> May 16 00:28:39 aneto kernel: ata3: EH complete
Your drive/controller causes HSM violation probably while executing a
SMART command (maybe during PIO-in during READ DATA?, maybe we need to
dump feature, too). Can you try 'smartctl -d ata -a /dev/sdx' and
report the result and how the kernel acts during that command?
Also, you've triggered a bug. It should try SRST after HSM violation
not revalidation. I had that code. I must have dropped it somewhere.
Thanks for finding the bug. :)
> smartd then entered in a "D" state for some time.
smartd is probably waiting for libata EH.
> Please feel free to ask for any relevant additional information...
Can you post full boot dmesg?
--
tejun
next prev parent reply other threads:[~2006-05-15 23:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-15 22:41 libata-tj and SMART Nicolas STRANSKY
2006-05-15 23:13 ` Tejun Heo [this message]
2006-05-16 7:44 ` Nicolas STRANSKY
2006-05-16 8:11 ` Tejun Heo
2006-05-16 8:36 ` Nicolas STRANSKY
2006-05-17 21:15 ` Nicolas STRANSKY
2006-05-18 4:00 ` Tejun Heo
2006-05-18 15:54 ` Jeff Garzik
2006-05-19 3:43 ` [PATCH 1/1] libata: Fix the HSM error_mask mapping (was: Re: libata-tj and SMART) Albert Lee
2006-05-19 5:22 ` [PATCH 1/1] libata: Fix the HSM error_mask mapping Albert Lee
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=44690B0F.90200@gmail.com \
--to=htejun@gmail.com \
--cc=Nico@stransky.cx \
--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 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.