From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nate Lawson Subject: Re: ACPI S3 resume only reboots Date: Tue, 12 Oct 2004 14:54:03 -0700 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <416C527B.4020609@root.org> References: <20041004133340.76ba05ba.albeclemit@yahoo.it> <20041009130628.GA21781@elf.ucw.cz> <20041010105635.GA3362@doc.ic.ac.uk> <20041012175810.2920edf2.albeclemit@yahoo.it> <416C0F14.5000107@root.org> <20041012231737.62c5b99b.albeclemit@yahoo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20041012231737.62c5b99b.albeclemit-whZMOeQn8C0@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Alberto Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Alberto wrote: > On Tue, 12 Oct 2004 10:06:28 -0700 > Nate Lawson wrote: > > >>>Code from arch/i386/kernel/acpi/wakeup.S >>> >>>[...] >>> # setup data segment >>> movw %cs, %ax >>> movw %ax, %ds # Make ds:0 point to wakeup_start >>> movw %ax, %ss >>> mov $(wakeup_stack - wakeup_code), %sp # Private stack is needed for ASUS board >>> movw $0x0e00 + 'S', %fs:(0x12) >>> >>> pushl $0 ###THIS LINE CAUSES REBOOT### # Kill any dangerous flags >>> popfl >> >>Hehe. Look up above where the stack pointer is changed to point to the >>wakeup stack and then 0 is pushed on it. It's likely there is some >>problem with the config or location of the wakeup stack. > > > Ok, so the question is: where should %sp point to? Dunno, we don't use a stack for the wake code. -Nate ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl