From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Subject: Re: S3 test tool (was : Re: Bizarre oops after suspend to RAM (was: Re: Resume from Suspend to RAM)) Date: Tue, 7 Jun 2005 17:32:22 +0200 Message-ID: <200506071732.23095.hugelmopf@web.de> References: <200506061531.41132.stefandoesinger@gmx.at> <1118125410.3828.12.camel@linux-hp.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1118125410.3828.12.camel-ECwVeV2eNyQD0+JXs3kMbRL4W9x8LtSr@public.gmane.org> Content-Disposition: inline Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 List-Id: linux-acpi@vger.kernel.org > For those who suffer from strange S3 resume problem such as resume hang, > could you please try this debug patch. > It uses machine_real_restart to switch to real mode, and soon jump to > the S3 wakeup address. So it simulates how BIOS resume a system from S3, > but completely bypasses BIOS. If the system lives after S3 with the > patch, at least we can know the suspend/resume code path is ok and it's > not a Linux driver issue. > > Thanks, > Shaohua > > --- a/drivers/acpi/hardware/hwsleep.c 2005-06-07 13:45:04.088273424 +0800 > +++ b/drivers/acpi/hardware/hwsleep.c 2005-06-07 13:49:31.858566152 +0800 > @@ -242,6 +242,19 @@ acpi_enter_sleep_state_prep ( > * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED > * > Against which kernel version/tree does this patch go? I would be happy to test it, but I am pretty new to kernel patching, so this is not so obvious to me. Thanks, Frank ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20