lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 17 Jun 2010 17:41:35 -0600
From:	Robert Hancock <hancockrwd@...il.com>
To:	Jeff Chua <jeff.chua.linux@...il.com>
Cc:	Jeff Garzik <jgarzik@...hat.com>, Greg KH <greg@...ah.com>,
	kristen.c.accardi@...el.com, Dely Sy <dely.l.sy@...el.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	lkml <linux-kernel@...r.kernel.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>, Matthew Wilcox <willy@...com>
Subject: Re: What is HSM violation? Causing ata1.00 hard resetting link

On Thu, Jun 17, 2010 at 12:05 AM, Jeff Chua <jeff.chua.linux@...il.com> 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ