* 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
* Re: sata_promise TX2/TX4 cards rejecting smart auto-offline & auto-save ata cmds?
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
0 siblings, 1 reply; 6+ messages in thread
From: Tejun Heo @ 2006-10-30 7:18 UTC (permalink / raw)
To: Andrew Paprocki; +Cc: linux-ide
Please read the following thread.
http://thread.gmane.org/gmane.linux.ide/13222/focus=13235
--
tejun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sata_promise TX2/TX4 cards rejecting smart auto-offline & auto-save ata cmds?
2006-10-30 7:18 ` Tejun Heo
@ 2006-10-30 7:31 ` Andrew Paprocki
2006-10-30 7:43 ` Tejun Heo
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Paprocki @ 2006-10-30 7:31 UTC (permalink / raw)
To: Tejun Heo; +Cc: linux-ide
On 10/30/06, Tejun Heo <htejun@gmail.com> wrote:
> Please read the following thread.
>
> http://thread.gmane.org/gmane.linux.ide/13222/focus=13235
Worked like a charm! Just patched up smartmontools now and I don't get
the failed cmds anymore. Hope Bruce takes that patch soon.
Thanks -Andrew
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sata_promise TX2/TX4 cards rejecting smart auto-offline & auto-save ata cmds?
2006-10-30 7:31 ` Andrew Paprocki
@ 2006-10-30 7:43 ` Tejun Heo
2007-01-29 7:48 ` Jim Paris
0 siblings, 1 reply; 6+ messages in thread
From: Tejun Heo @ 2006-10-30 7:43 UTC (permalink / raw)
To: Andrew Paprocki; +Cc: linux-ide
Andrew Paprocki wrote:
> On 10/30/06, Tejun Heo <htejun@gmail.com> wrote:
>> Please read the following thread.
>>
>> http://thread.gmane.org/gmane.linux.ide/13222/focus=13235
>
> Worked like a charm! Just patched up smartmontools now and I don't get
> the failed cmds anymore. Hope Bruce takes that patch soon.
Bruce took the patch and it will be included in the next version of
smartmontools. :-)
--
tejun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sata_promise TX2/TX4 cards rejecting smart auto-offline & auto-save ata cmds?
2006-10-30 7:43 ` Tejun Heo
@ 2007-01-29 7:48 ` Jim Paris
2007-01-30 1:57 ` Tejun Heo
0 siblings, 1 reply; 6+ messages in thread
From: Jim Paris @ 2007-01-29 7:48 UTC (permalink / raw)
To: Tejun Heo, Bruce Allen; +Cc: Andrew Paprocki, linux-ide
Tejun Heo wrote:
> Andrew Paprocki wrote:
> >On 10/30/06, Tejun Heo <htejun@gmail.com> wrote:
> >>Please read the following thread.
> >>
> >>http://thread.gmane.org/gmane.linux.ide/13222/focus=13235
> >
> >Worked like a charm! Just patched up smartmontools now and I don't get
> >the failed cmds anymore. Hope Bruce takes that patch soon.
>
> Bruce took the patch and it will be included in the next version of
> smartmontools. :-)
Hello Tejun, Bruce,
Sorry to bring up an old thread, but it looks like this patch did not
actually make it into smartmontools 5.37 or CVS. Tejun, could you
please take another look and update the patch? There's a new user of
STRANGE_BUFFER_LENGTH and I don't know enough about the code to fix
it properly.
-jim
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sata_promise TX2/TX4 cards rejecting smart auto-offline & auto-save ata cmds?
2007-01-29 7:48 ` Jim Paris
@ 2007-01-30 1:57 ` Tejun Heo
0 siblings, 0 replies; 6+ messages in thread
From: Tejun Heo @ 2007-01-30 1:57 UTC (permalink / raw)
To: Jim Paris; +Cc: Bruce Allen, Andrew Paprocki, linux-ide
Jim Paris wrote:
> Tejun Heo wrote:
>> Andrew Paprocki wrote:
>>> On 10/30/06, Tejun Heo <htejun@gmail.com> wrote:
>>>> Please read the following thread.
>>>>
>>>> http://thread.gmane.org/gmane.linux.ide/13222/focus=13235
>>> Worked like a charm! Just patched up smartmontools now and I don't get
>>> the failed cmds anymore. Hope Bruce takes that patch soon.
>> Bruce took the patch and it will be included in the next version of
>> smartmontools. :-)
>
> Hello Tejun, Bruce,
>
> Sorry to bring up an old thread, but it looks like this patch did not
> actually make it into smartmontools 5.37 or CVS. Tejun, could you
> please take another look and update the patch? There's a new user of
> STRANGE_BUFFER_LENGTH and I don't know enough about the code to fix
> it properly.
I definitely can do that but I guess we need Bruce's confirmation about
the patch first. Bruce?
--
tejun
^ 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).