[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: powerbook power-off and 2.6.13-rc[3,4]



Le lundi 01 août 2005 à 17:01 +0200, Benjamin Herrenschmidt a écrit :
> On Mon, 2005-08-01 at 16:07 +0200, Johannes Berg wrote:
> > On Mon, 2005-08-01 at 15:54 +0200, Antonio-M. Corbi Bellot wrote:
> > 
> > > Has anyone observed this behaviour (O.S. halt ok but _no_ power-off at
> > > the end) with these new '-rc' kernels?
> > 
> > Yes. I haven't looked for the cause yet though.
> 
> I think at some point, somebody added a hack in the kernel shutdown code
> to call suspend() on all devices. This is not a good idea and triggered
> that sort of problems. I also think that was removed in current -git
> trees, but somebody should double check.

It is still there:
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;h=000e81ad2c1d8320d6b5609e87baccba6a07ad52;hb=02459eaab98a6a57717bc0cacede148fc76af881;f=kernel/sys.c

Stelian.
-- 
Stelian Pop <stelian@popies.net>



Reply to: