lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86802c440802151138i303c58a2m2eca9e97566c3@mail.gmail.com>
Date:	Fri, 15 Feb 2008 11:38:59 -0800
From:	"Yinghai Lu" <yhlu.kernel@...il.com>
To:	"Frans Pop" <elendil@...net.nl>
Cc:	"Greg KH" <gregkh@...e.de>, "Ingo Molnar" <mingo@...e.hu>,
	linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org
Subject: Re: [2.6.25-rc1] System no longer powers off after shutdown

On Fri, Feb 15, 2008 at 2:19 AM, Frans Pop <elendil@...net.nl> wrote:
> On Friday 15 February 2008, Greg KH wrote:
>  > I swear someone sent this patch in before.  Can you try this one below,
>  > there seems to be an imbalance with kobject_get and _put.
>
>  I did remember seeing this patch before [1] and can confirm that it does
>  indeed fix the issue: with this patch applied to 2.6.25 git head my system
>  powers off correctly.
>
>  [1] See http://lkml.org/lkml/2008/2/8/342; also added to #9960.
>
>
>
>  > ---
>  >  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
>
>

confirmed, with this patch, i still need disable CONFIG_DETECT_SOFTLOCKUP

assume watchdog thread for the dead cpu can not be stopped. hang somewhere.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ