From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laszlo 'GCS' Boszormenyi Subject: Re: kacpid problems Date: Tue, 16 Nov 2004 01:36:20 +0100 Message-ID: <20041116003620.GA8795@pooh> References: <3ACA40606221794F80A5670F0AF15F84041AC03C@pdsmsx403> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3ACA40606221794F80A5670F0AF15F84041AC03C@pdsmsx403> 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: "Yu, Luming" Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org * Yu, Luming [2004-11-09 16:23:13 +0800]: > I suspect we need a sane check against sleep_time. > Please testing the following debug patch. Tried. The bug still exists, but now kacpid does not stuck in a D state and I can power off the machine, it does not fail with acpi_power_off called as a last message. > Also, please sent the output of the activity in /proc/acpi/event . I need to stop acpid, but doing a cat after it, I do not see any output. How am I supposed to get an output? > > + sleep_time = 5000; /* 5 seconds */ > + > /* It just slows down the polling on /proc/acpi/event , right? It helps, as see above, but if I run a CPU intense application, mozilla loading a big page, or trying to watch a movie, then I see a big slowdown. Hope this helps, Laszlo ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8