From: David Greaves <david@dgreaves.com>
To: Tejun Heo <htejun@gmail.com>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
IDE Linux <linux-ide@vger.kernel.org>,
ballen@gravity.phys.uwm.edu
Subject: Re: 2.6.22-rc3 hibernate(?) disables SMART on ide
Date: Sat, 02 Jun 2007 22:53:14 +0100 [thread overview]
Message-ID: <4661E6CA.1080203@dgreaves.com> (raw)
In-Reply-To: <46613C53.8010205@gmail.com>
Tejun Heo wrote:
> David Greaves wrote:
>> I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, SMART is
>> disabled when I resume.
>>
>> Same as in 2.6.21.1
>
> According to the ATA standard, the device (drive) itself is responsible
> for preserving SMART enabled status over power cycles. It seems your
> drive doesn't wanna do that. I don't think mangling with SMART setup in
> the kernel is wise thing to do. Bruce, any ideas? Maybe hook smartd
> such that it gets suspend/resume events?
Sorry, FYI, I made the same mistake as when I reported the wol problem - I was
booting 2.6.21.1.
I am having problems with 2.6.22-rc3 but when it does suspend/resume I can
confirm that the problem is still there (of course).
However your comments still stand.
One unpleasant side effect is that I get
hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hda: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xb0
hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hda: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xb0
...
and
hdb: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdb: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xb0
hdb: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdb: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xb0
...
when the system comes back (induced from smartd I guess) until I do a:
smartctl -son
David
next prev parent reply other threads:[~2007-06-02 21:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-01 21:41 2.6.22-rc3 hibernate(?) disables SMART on ide David Greaves
2007-06-02 9:45 ` Tejun Heo
2007-06-02 21:53 ` David Greaves [this message]
2007-06-04 16:29 ` Mark Lord
2007-06-04 17:22 ` David Greaves
2007-06-05 4:17 ` Mark Lord
2007-06-05 9:03 ` David Greaves
2007-06-05 15:33 ` Mark Lord
[not found] <8rnax-6XX-11@gated-at.bofh.it>
[not found] ` <8rA7H-1B4-1@gated-at.bofh.it>
2007-06-02 21:27 ` Bodo Eggert
2007-06-02 22:18 ` Jeff Garzik
2007-06-02 22:22 ` Alan Cox
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=4661E6CA.1080203@dgreaves.com \
--to=david@dgreaves.com \
--cc=ballen@gravity.phys.uwm.edu \
--cc=htejun@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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 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).