[ltp] T40 won't awake -- HPA problem

Rory Campbell-Lange linux-thinkpad@linux-thinkpad.org
Tue, 14 Feb 2006 10:55:56 +0000


Hi Aaron

Tried acpi_sleep=s3_bios, no luck, but I'm now getting some specific
error messages which appear disk related when I stay on tty1.

I made a note of the errors on my phone -- I might have miscontrued some
of the messages...

    Task-Out-Intr: status=0x51 { DriveReady SeekComplete Error }
    Task-Out-Intr: errors=0x10 { SectorID not found }, LBAsect=73486806
        sector=73486806 failed opcode was unknown.

Some googling suggests that because I didn't trash the protected area of
my laptop when I installed (keeping XP for IE testing),:

    Re: On resume IDE driver should disable HPA Posted by Ross Burton at
    2005-07-11 13:37:01 UTC

    Matthew Garrett figured out what this is: on boot Linux disables the
    Host Protected Area of my harddrive, so some of my partitions are in
    the HPA area. On sleep/resume, the BIOS turns HPA back on (as the
    BIOS has it set to on), and suddenly /home is no longer accessible.

    https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/16610

aah. Upstreamed by Alan Cox:

    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155102

but:

    https://bugzilla.ubuntu.com/show_bug.cgi?id=8159
    This is Matthew Garrett's comment:
    "Linux currently has no real support for setting up IDE interfaces on
    resume. Some machines are kind enough to set the IDE interface up
    themselves, but on others we're doomed to failure. I'm looking into
    implementing this, but it won't happen until some time after Hoary."

Looks like there isn't a current fix.

Any thoughts, anyone?
Rory

On 13/02/06, Aaron Mulder (ammulder@alumni.princeton.edu) wrote:
> On my T40 I always used APM with the kernel arg acpi_sleep=s3_bios and
> that worked fine.  Never dried Debian, though.

> On 2/13/06, Rory Campbell-Lange <rory@campbell-lange.net> wrote:
> > I have a brand new T40 (one of 3 for the office) and after a Debian
> > testing install just about everything works, from the trackpad (inc.
> > srolling), pointer, aironet, brightness, volume, etc etc.
> >
> > However I can't get the machine to awaken properly from sleep, using
> > either ACPI or APM. modprobing ibm-acpi didn't help either.
-- 
Rory Campbell-Lange 
<rory@campbell-lange.net>
<www.campbell-lange.net>