Re: What is HSM violation? Causing ata1.00 hard resetting link

From: Robert Hancock
Date: Thu Jun 17 2010 - 19:41:40 EST


On Thu, Jun 17, 2010 at 12:05 AM, Jeff Chua <jeff.chua.linux@xxxxxxxxx> wrote:
>
> Hi,
>
> I just got an external e-SATA hard disk, and I'm testing for backup.
>
> When I tried to "tar" 90GB to it, it caused a HSM violation, and since this
> is the root file system, system is brain-dead. "Bus error" for every command
> issued!
>
>
> Error is (typed as was captured in the screen) ...
>
> ata1.00: exception Emask 0x2 SAct 0x7 SErr 0x3000400 action 0x6
> ata1.00: irq_stat 0x44000008

The controller is reporting a protocol violation in Serror, and the
IRQ status reports a taskfile error and unknown FIS received from the
device.

What kind of external drive is this? Seems to me like either it's
doing something not quite kosher, or there's some other problem (maybe
the eSATA cable is bad, or it doesn't seat properly in the connector -
apparently that's not uncommon).

> ata1.00: cmd 60/30:00:37:b0:84/00:00:17:00:00/40 tag 0 ncq 24576 in
>       res 40/00:08:6f:b0:84/00:00:17:00:00/40 Emask 0x2 (HSM violation)
> ata1.00: cmd 60/50:08:6f:b0:84/00:00:17:00:00/40 tag 1 ncq 40960 in
>       res 51/04:00:6f:b0:84/00:00:17:00:00/40 Emask 0x403 (HSM violation)
> ata1.00: cmd 60/00:10:bf:b0:84/01:00:17:00:00/40 tag 2 ncq 131072 in
>       res 40/00:08:6f:b0:84/00:00:17:00:00/40 Emask 0x2 (HSM violation)
> ata1: hard resetting link
> ata1: softreset failed (device not ready)
> ata1: hard resetting link
> ata1: softreset failed (device not ready)
> ata1: hard resetting link
> ata1: link is slow to respond, please be patient (ready=0)
>
>
> Running on SSD on Linux 2.6.35-rc3.
>
> This does not happen all the time, but I've seen this if it's copying
> intensively.
>
> Thanks,
> Jeff.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/