Re: 2.6.25-rc2: cannot power off, reboot

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

 



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:
>From foo@baz Tue Apr  9 12:12:43 2002Date: Sat, 9 Feb 2008 00:52:40 +0530To: 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 noreason, and then refuse to release it.  This has been reported askeeping 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>>   
_______________________________________________linux-pm mailing listlinux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux