From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alberto Subject: Re: ACPI S3 resume only reboots Date: Wed, 13 Oct 2004 09:46:54 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20041013094654.5e94e126.albeclemit@yahoo.it> 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> <416C527B.4020609@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <416C527B.4020609-Y6VGUYTwhu0@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Cc: nate-Y6VGUYTwhu0@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Tue, 12 Oct 2004 14:54:03 -0700 Nate Lawson wrote: > 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. ...mmmh, the problem is that i'm not a programmer, i have no chance to work this out alone. Anybody can help? :) Thanks, Alberto ------------------------------------------------------- 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