On Wed, 20 Feb 2008, Yi Yang wrote: > Maybe it is cpufreq's bug which has been fixed but the fix patch isn't in the> 2.6.25-rc2, you may try this patch, it has been in Greg's git tree: Thanks, but I don't have cpufreq on this machine - it's only a P-II... ThnksGuennadi > > > From foo@baz Tue Apr 9 12:12:43 2002> Date: Sat, 9 Feb 2008 00:52:40 +0530> To: Greg KH <greg@xxxxxxxxx>> From: Balaji Rao <balajirrao@xxxxxxxxx>> Subject: cpufreq: fix kobject reference count handling> > The cpufreq core should not take an extra kobject reference count for no> reason, and then refuse to release it. This has been reported as> keeping machines from properly powering down all the way.> > > Signed-off-by: Balaji Rao <balajirrao@xxxxxxxxx>> Cc: Dave Jones <davej@xxxxxxxxxxxxxxxxx>> Cc: Yi Yang <yi.y.yang@xxxxxxxxx>> Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>> Cc: Frans Pop <elendil@xxxxxxxxx>> Cc: Yinghai Lu <yhlu.kernel@xxxxxxxxx>> Cc: Ingo Molnar <mingo@xxxxxxx>> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>> > ---> drivers/cpufreq/cpufreq.c | 8 --------> 1 file changed, 8 deletions(-)> > --- a/drivers/cpufreq/cpufreq.c> +++ b/drivers/cpufreq/cpufreq.c> @@ -1006,14 +1006,6 @@ static int __cpufreq_remove_dev (struct }> #endif> > -> - if (!kobject_get(&data->kobj)) {> - spin_unlock_irqrestore(&cpufreq_driver_lock, flags);> - cpufreq_debug_enable_ratelimit();> - unlock_policy_rwsem_write(cpu);> - return -EFAULT;> - }> -> #ifdef CONFIG_SMP> > #ifdef CONFIG_HOTPLUG_CPU> > > > Guennadi Liakhovetski 写道:> > Hi> > > > Don't remember, if this has been already reported for post 2.6.24 kernels:> > for instance with 2.6.25-rc2 my dual P-II cannot power off / reboot with> > "essentially" the same .config as under 2.6.24. 2.6.24 works. Last messages> > on the console are about syncing the 2 SCSI disks. Sysrq-O (power off) says> > something about the keyboard, and then about syncing the disks again and> > stays on. I _think_ rebooting doesn't work either. What info is needed for> > debugging? .config + full dmesg? For both 2.6.24 and 2.6.25-rc2?> > > > Thanks> > Guennadi> > ---> > Guennadi Liakhovetski> > _______________________________________________> > linux-pm mailing list> > linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx> > https://lists.linux-foundation.org/mailman/listinfo/linux-pm> > > > ---Guennadi Liakhovetski_______________________________________________linux-pm mailing listlinux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx://lists.linux-foundation.org/mailman/listinfo/linux-pm