From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Frank Subject: Re: 2.5.69 - S3 Date: Sun, 18 May 2003 20:05:28 +0800 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <200305182005.30192.mflt1@micrologica.com.hk> References: <200305140140.02188.mflt1@micrologica.com.hk> <200305180523.25157.mflt1@micrologica.com.hk> <20030518104852.GA324@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20030518104852.GA324-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> Content-Disposition: inline Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Cc: Pavel Machek , acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Sunday 18 May 2003 18:48, Pavel Machek wrote: > Hi! > > > > > Was playing a bit with S3 - Single user mode, console, ACPI > > > > core only, no modules. > > > > > > > > Suspending always works. > > > > > > > > Resuming performs somewhat randomly as follows: > > > > > > > > 1) Linux! - hang > > > > > > > > 2) Resume failed > > > > > > > > 3) Resumes with lots of shell prompts scrolling, and seems to > > > > be functional thereafter > > > > > > > > What is the expected behaviour at this time? > > > > > > 3) is expected. You held down enter > > > when you did echo, so it still sees > > > enter down after resume. > > > > Thank you, a script which delays a few seconds before suspend > > should fix 3) > > > > How to get rid of 1) and 2) ? > > For 4) (harddisk problems from other mail): does it work after IDE > reset? If not, try disabling DMA with hdparm. Seems to work after hard disk reset. Problem seems to depend on disk activity. > > As for 1) and 2): Good luck debugging 1) [adding more letters to > see where it hangs etc]; The disk LED stays on, so perhaps it hangs in IDE. > what exactly means 2)? This is Toshiba BIOS message. System does cold reboot thereafter. Q? How does BIOS know whether to do resume or reboot? further, there is mode 5) which is mode 4) _plus_ disk reset fails, and disk won't spin up again, and kjournald gets mad.... and mode 6) System hangs after all tasks left fridge with disk led on. ----- hdparm -d0 may reduce probability of 1) - not sure, but it failed with 4) and 5) with it. I suppose IDE gets false interupt upon resume. Regards Michael ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge