public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Waychison <Michael.Waychison@Sun.COM>
To: Pavel Machek <pavel@ucw.cz>
Cc: Linux kernel <linux-kernel@vger.kernel.org>,
	Hiroshi 2 Itoh <HIROIT@jp.ibm.com>
Subject: Re: wakeup_pmode_return jmp failing?
Date: Mon, 06 Dec 2004 22:39:30 -0500	[thread overview]
Message-ID: <41B525F2.7090409@sun.com> (raw)
In-Reply-To: <20041206133455.GA1213@elf.ucw.cz>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pavel Machek wrote:
> Hi!
> 
> 
>>Not sure who to direct this to.  I've been trying to get acpi s3 to work
>>on my pentium M laptop (tecra m2).  Without the nvidia driver loaded, I
>>can echo 3 > /proc/acpi/sleep and the machine does indeed suspend (power
>>light throbs and all).  However, when I try to wake up the thing, it
>>would flash the bios screen and throw me back to grub.
>>
>>I've been investigating the code at arch/i386/kernel/acpi/wakeup.S, and
>>have discovered that if I place a busy wait directory before the ljmpl
>>to wakeup_pmode_return, that I indeed do see 'Lin' on the screen instead
>>of the bios screen.
>>
>>The joke is, if I place a busy wait first thing after the
>>wakeup_pmode_return label, it never gets executed and I get a regular boot.
>>
>>It would appear as though the jump from 16bit code into the 32bit code
>>is failing and the bios is kicking in with a regular startup.
> 
> 
> See archives of linux-acpi lists.
> 								Pavel

FYI, Hiro's patch that copies the GDT to the resume page did the trick:

http://marc.theaimsgroup.com/?l=acpi4linux&m=109813262218004&w=2

Thanks,

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBtSXydQs4kOxk3/MRAlYIAJ9iDnQArL4Bo+GQYCPGrxM8bU36bwCdEhjD
LcoeEeWMkWcNynBARz/nKsU=
=Zcxz
-----END PGP SIGNATURE-----

      reply	other threads:[~2004-12-07  3:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-03 15:22 wakeup_pmode_return jmp failing? Mike Waychison
2004-12-03 17:07 ` Bill Davidsen
2004-12-03 17:04   ` Mike Waychison
2004-12-05  3:04     ` Matthew Garrett
2004-12-05  2:56   ` Matthew Garrett
2004-12-06 13:36   ` Pavel Machek
2004-12-06 13:34 ` Pavel Machek
2004-12-07  3:39   ` Mike Waychison [this message]

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=41B525F2.7090409@sun.com \
    --to=michael.waychison@sun.com \
    --cc=HIROIT@jp.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /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