From: Ducrot Bruno Subject: Re: 8259A initialization oops after resume Date: Tue, 17 Jun 2003 11:58:29 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030617095829.GX19556@poupinou.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Jan Rychter Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Sun, Jun 15, 2003 at 02:00:00PM -0700, Jan Rychter wrote: > People are getting a particular kind of oops after resuming from S4 > (implemented by swsusp). I'm posting this here, because the problem > seems not to be specific to swsusp. > > Hopefully some people on this list will know how and why the 8259A needs > to be initialized upon resuming from S4 and why it fails. > > The oops is reproducible -- one may do a number of suspend/resume cycles > without it, but once it appears, it will reappear on every subsequent > resume. This was done but with S4Bios in mind, not with S4 via swsusp, and is actually a (bad) hack, since that can not handle all cases. A better way is done under 2.5. Actually, there are many others troubles with 'echo 4 > /proc/acpi/sleep' and swsusp (fe, the devices are powered down twice, via ACPI _and_ swsusp), which is bad. Better is to use the swsusp own way to suspend, not via 'echo 4 > /proc/acpi/sleep' which is IMO broken. Under 2.5, the situation is different. -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php