public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Yi Yang <yang.y.yi@gmail.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: 2.6.25-rc2: cannot power off, reboot
Date: Wed, 20 Feb 2008 22:07:37 +0800	[thread overview]
Message-ID: <47BC3429.3060407@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0802192321370.11079@axis700.grange>

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 2002
Date: Sat, 9 Feb 2008 00:52:40 +0530
To: Greg KH <greg@kroah.com>
From: Balaji Rao <balajirrao@gmail.com>
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@gmail.com>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Yi Yang <yi.y.yang@intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Frans Pop <elendil@planet.nl>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 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@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/linux-pm
>
>   

_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

  parent reply	other threads:[~2008-02-20 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 22:25 2.6.25-rc2: cannot power off, reboot Guennadi Liakhovetski
2008-02-20  0:54 ` Rafael J. Wysocki
2008-02-20 14:07 ` Yi Yang [this message]
2008-02-20 14:16   ` Guennadi Liakhovetski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47BC3429.3060407@gmail.com \
    --to=yang.y.yi@gmail.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=linux-pm@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox