2012-11-05 09:11:31

by Jonathan Nieder

[permalink] [raw]
Subject: [regression] Re: [ 049/149] rtc: Disable the alarm in the hardware (v2)

Hi,

In March, Greg KH wrote:

> 3.2-stable review patch. If anyone has any objections, please let me know.

Sorry, I'm a little late. This seems to be causing spurious wakeups
after shutdown on some systems just like v1 did. :/

Janne Boman reports[1], using an HP EliteBook 8530w:

| I'm unable to shutdown my system via normal means. The system
| completes the shutdown process, all hardware lights are off, but then
| somehow it restarts.

Based on a quick web search, Heinz Wiesinger, using the same model,
ran into the same problem and bisected it to this patch:

https://bugzilla.kernel.org/show_bug.cgi?id=44261

Janne confirmed the same by testing kernels closely based on 3.2.13
and 3.2.14 --- 3.2.13 shut down fine, while on 3.2.14 "shutdown -h
now" behaved roughly speaking like "reboot". A kernel close to 3.6.4
was also affected.

Known problem? An acpidump and kernel log can be found at [2].

Looking forward to your thoughts,
Jonathan

[1] http://bugs.debian.org/691902
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=78;bug=691902


2012-11-05 10:13:34

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [regression] Re: [ 049/149] rtc: Disable the alarm in the hardware (v2)

On Mon, Nov 05, 2012 at 01:11:18AM -0800, Jonathan Nieder wrote:
> Hi,
>
> In March, Greg KH wrote:
>
> > 3.2-stable review patch. If anyone has any objections, please let me know.
>
> Sorry, I'm a little late. This seems to be causing spurious wakeups
> after shutdown on some systems just like v1 did. :/
>
> Janne Boman reports[1], using an HP EliteBook 8530w:
>
> | I'm unable to shutdown my system via normal means. The system
> | completes the shutdown process, all hardware lights are off, but then
> | somehow it restarts.
>
> Based on a quick web search, Heinz Wiesinger, using the same model,
> ran into the same problem and bisected it to this patch:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=44261
>
> Janne confirmed the same by testing kernels closely based on 3.2.13
> and 3.2.14 --- 3.2.13 shut down fine, while on 3.2.14 "shutdown -h
> now" behaved roughly speaking like "reboot". A kernel close to 3.6.4
> was also affected.

So is 3.6.6 still and issue? How about 3.7-rc4? 3.4.18? Figuring out
if this is still an issue in Linus's tree would be the best thing to do
first.

thanks,

greg k-h

2012-11-05 22:57:07

by Heinz Wiesinger

[permalink] [raw]
Subject: Re: [regression] Re: [ 049/149] rtc: Disable the alarm in the hardware (v2)

On Monday 05 November 2012 11:13:31 Greg KH wrote:
> On Mon, Nov 05, 2012 at 01:11:18AM -0800, Jonathan Nieder wrote:
> > Hi,
> >
> > In March, Greg KH wrote:
> > > 3.2-stable review patch. If anyone has any objections, please let me
> > > know.
> >
> > Sorry, I'm a little late. This seems to be causing spurious wakeups
> > after shutdown on some systems just like v1 did. :/
> >
> > Janne Boman reports[1], using an HP EliteBook 8530w:
> > | I'm unable to shutdown my system via normal means. The system
> > | completes the shutdown process, all hardware lights are off, but then
> > | somehow it restarts.
> >
> > Based on a quick web search, Heinz Wiesinger, using the same model,
> >
> > ran into the same problem and bisected it to this patch:
> > https://bugzilla.kernel.org/show_bug.cgi?id=44261
> >
> > Janne confirmed the same by testing kernels closely based on 3.2.13
> > and 3.2.14 --- 3.2.13 shut down fine, while on 3.2.14 "shutdown -h
> > now" behaved roughly speaking like "reboot". A kernel close to 3.6.4
> > was also affected.
>
> So is 3.6.6 still and issue? How about 3.7-rc4? 3.4.18? Figuring out
> if this is still an issue in Linus's tree would be the best thing to do
> first.

I checked 3.7-rc4 and the issue is still there. Should I still test the other
versions as well? I can do so but it might take a bit.

If you need anything else, I'll be happy to help wherever I can.

Grs,
Heinz

2012-11-06 02:12:11

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [regression] Re: [ 049/149] rtc: Disable the alarm in the hardware (v2)

On Mon, Nov 05, 2012 at 11:55:32PM +0100, Heinz Wiesinger wrote:
> On Monday 05 November 2012 11:13:31 Greg KH wrote:
> > On Mon, Nov 05, 2012 at 01:11:18AM -0800, Jonathan Nieder wrote:
> > > Hi,
> > >
> > > In March, Greg KH wrote:
> > > > 3.2-stable review patch. If anyone has any objections, please let me
> > > > know.
> > >
> > > Sorry, I'm a little late. This seems to be causing spurious wakeups
> > > after shutdown on some systems just like v1 did. :/
> > >
> > > Janne Boman reports[1], using an HP EliteBook 8530w:
> > > | I'm unable to shutdown my system via normal means. The system
> > > | completes the shutdown process, all hardware lights are off, but then
> > > | somehow it restarts.
> > >
> > > Based on a quick web search, Heinz Wiesinger, using the same model,
> > >
> > > ran into the same problem and bisected it to this patch:
> > > https://bugzilla.kernel.org/show_bug.cgi?id=44261
> > >
> > > Janne confirmed the same by testing kernels closely based on 3.2.13
> > > and 3.2.14 --- 3.2.13 shut down fine, while on 3.2.14 "shutdown -h
> > > now" behaved roughly speaking like "reboot". A kernel close to 3.6.4
> > > was also affected.
> >
> > So is 3.6.6 still and issue? How about 3.7-rc4? 3.4.18? Figuring out
> > if this is still an issue in Linus's tree would be the best thing to do
> > first.
>
> I checked 3.7-rc4 and the issue is still there. Should I still test the other
> versions as well? I can do so but it might take a bit.

No, that should be good enough, this needs to be fixed there first.

> If you need anything else, I'll be happy to help wherever I can.

Working with the developers involved would be great. Anyone have any
patches that Heinz could test?

thanks,

greg k-h

2012-11-13 10:30:05

by Rabin Vincent

[permalink] [raw]
Subject: Re: [regression] Re: [ 049/149] rtc: Disable the alarm in the hardware (v2)

2012/11/6 Greg KH <[email protected]>:
> Working with the developers involved would be great. Anyone have any
> patches that Heinz could test?

I've little idea why just disabling the RTC alarm would cause the system not
to shutdown. Perhaps someone who understands ACPI or rtc-cmos.c can
shed some light?

For linux-acpi, the acpidump is linked to from here:
https://lkml.org/lkml/2012/11/5/81