linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sata_promise TX2/TX4 cards rejecting smart auto-offline & auto-save ata cmds?
@ 2006-10-30  6:50 Andrew Paprocki
  2006-10-30  7:18 ` Tejun Heo
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Paprocki @ 2006-10-30  6:50 UTC (permalink / raw)
  To: linux-ide

I'd like to know if anyone else with a Promise SATA300 TX2/TX4 using
sata_promise is seeing problems with sending ATA cmds to
enable/disable smart auto-offline mode and/or attribute auto-saving.
(smartctl -o on -S on ...)

According to smartctl, my drives support both of these features, but
when the corresponding smart cmds are sent via the driver, the card
returns an error indicating illegal commands:

smartctl -a -d ata /dev/sda
...
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection
on/off support.
...
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
...

When smartd actually sends these ata cmds to the driver (with my
patched kernel to output smart error codes):

auto-offline cmd (which is obsolete in atapi-7)

ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata4.00: tag 0 cmd 0xb0 Emask 0x2 stat 0x50 err 0x0 (HSM violation)
ata4.00: smart cmd 0xdb (obsolete or reserved feature)

auto-save cmd

ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata4.00: tag 0 cmd 0xb0 Emask 0x2 stat 0x50 err 0x0 (HSM violation)
ata4.00: smart cmd 0xd2 (enable/disable attribute autosave)

Are these cards failing to pass through these specific cmds? These two
are the only ones which seem to show up in dmesg while using
smartctl/smartd.

Thanks -Andrew

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-30  1:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30  6:50 sata_promise TX2/TX4 cards rejecting smart auto-offline & auto-save ata cmds? Andrew Paprocki
2006-10-30  7:18 ` Tejun Heo
2006-10-30  7:31   ` Andrew Paprocki
2006-10-30  7:43     ` Tejun Heo
2007-01-29  7:48       ` Jim Paris
2007-01-30  1:57         ` Tejun Heo

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).