linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.25-rc2: cannot power off, reboot
@ 2008-02-19 22:25 Guennadi Liakhovetski
  2008-02-20  0:54 ` Rafael J. Wysocki
  2008-02-20 14:07 ` Yi Yang
  0 siblings, 2 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2008-02-19 22:25 UTC (permalink / raw)
  To: linux-pm

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.25-rc2: cannot power off, reboot
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2008-02-20  0:54 UTC (permalink / raw)
  To: linux-pm; +Cc: Guennadi Liakhovetski

On Tuesday, 19 of February 2008, Guennadi Liakhovetski wrote:
> Hi

Hi,

> Don't remember, if this has been already reported for post 2.6.24 kernels:

Yes, see http://bugzilla.kernel.org/show_bug.cgi?id=9960 .
 
> 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?

[It usually is a good idea to send a CC to the LKML on such reports.]

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.25-rc2: cannot power off, reboot
  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
  2008-02-20 14:16   ` Guennadi Liakhovetski
  1 sibling, 1 reply; 4+ messages in thread
From: Yi Yang @ 2008-02-20 14:07 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-pm

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.25-rc2: cannot power off, reboot
  2008-02-20 14:07 ` Yi Yang
@ 2008-02-20 14:16   ` Guennadi Liakhovetski
  0 siblings, 0 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2008-02-20 14:16 UTC (permalink / raw)
  To: Yi Yang; +Cc: linux-pm

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...

Thnks
Guennadi

> 
> > 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
> > 
> >   

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-20 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2008-02-20 14:16   ` Guennadi Liakhovetski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).