From: Greg Freemyer <greg.freemyer@gmail.com>
To: Shane Hathaway <shane@hathawaymix.org>
Cc: linux-ide@vger.kernel.org
Subject: Re: Bug: Resume with Host Protected Area
Date: Tue, 19 Apr 2005 17:20:23 -0400 [thread overview]
Message-ID: <87f94c370504191420d2f5c32@mail.gmail.com> (raw)
In-Reply-To: <4265640B.5060402@hathawaymix.org>
IMHO, if you are going to put live data in the HPA, you really should
just kill the HPA permanently not depend on Linux to do a volitile
reset on every reboot/resume.
See setmax at http://www.win.tue.nl/~aeb/linux/setmax.c
You can compile that and use it to permanently modify your HPA setting.
use the -m (--max) option to permanently modify your HPA setting.
You can also use -d to make volitile changes. IIRC, volitile changes
to are reset on every power cycle of the drive.
HTH,
Greg
--
Greg Freemyer
On 4/19/05, Shane Hathaway <shane@hathawaymix.org> wrote:
> Until today, I haven't been able to reliably put my ThinkPad T41 to
> sleep. After resuming, it generated lots of disk errors, and only a
> reboot would bring it back to sanity.
>
> Today I finally realized what's going on. This laptop has a 3.5 GB
> protected area at the end of the drive. Linux disables the protection
> on bootup (making the whole drive available), but the laptop apparently
> re-enables the protection during the sleep cycle. So I moved my
> partitions out of the protected area and now the laptop finally resumes
> correctly. Yehaw!
>
> The bugfix should be simple: call idedisk_check_hpa() during resume.
>
> I'm not subscribed to this list, so please CC me on replies.
>
> Shane
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
next prev parent reply other threads:[~2005-04-19 21:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-19 20:03 Bug: Resume with Host Protected Area Shane Hathaway
2005-04-19 21:20 ` Greg Freemyer [this message]
2005-04-20 3:43 ` Shane Hathaway
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=87f94c370504191420d2f5c32@mail.gmail.com \
--to=greg.freemyer@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=shane@hathawaymix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.