Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: 2.5.69-mm5: reverting i8259-shutdown.patch | From | Felipe Alfaro Solana <> | Date | 15 May 2003 14:02:35 +0200 |
| |
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/
| ![\](/images/icornerr.gif) |