Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263971AbTEOLuJ (ORCPT ); Thu, 15 May 2003 07:50:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263973AbTEOLuJ (ORCPT ); Thu, 15 May 2003 07:50:09 -0400 Received: from 205-158-62-136.outblaze.com ([205.158.62.136]:4527 "HELO fs5-4.us4.outblaze.com") by vger.kernel.org with SMTP id S263971AbTEOLuI (ORCPT ); Thu, 15 May 2003 07:50:08 -0400 Subject: Re: 2.5.69-mm5: reverting i8259-shutdown.patch From: Felipe Alfaro Solana To: Patrick Mochel Cc: Zwane Mwaikambo , Andrew Morton , LKML In-Reply-To: References: Content-Type: text/plain Message-Id: <1053000155.605.1.camel@teapot.felipe-alfaro.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 15 May 2003 14:02:35 +0200 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1333 Lines: 30 On Thu, 2003-05-15 at 05:00, Patrick Mochel wrote: > On Wed, 14 May 2003, Zwane Mwaikambo wrote: > > > On Wed, 14 May 2003, Patrick Mochel wrote: > > > > > Interesting. This is yet more proof that system-level devices cannot be > > > treated as common, everyday devices. Sure, it's nice to see them show up > > > in sysfs with little overhead, and very nice not to have to work about > > > them during shutdown or power transitions. But there are just too many > > > special cases (like getting the ordering right ;) that you have to worry > > > about. > > > > > > So, what do we do with them? > > > > Does the PIC shutdown callback get called _just_ before acpi_power_off? > > It may or may not be. It depends on which order it gets registered in, > which is arbitrary (*). One can enable DEBUG in drivers/base/power.c and > crank up the console log level to see the order that devices get shutdown > in on their system. OK, I've changed "#undef DEBUG" to "#define DEBUG" in drivers/base/power.c, but during shutdown, I can see no extra debug messages. What am I doing wrong? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/