public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 9835] New: After Hibernation the battery charging information is not working any more.
       [not found] <bug-9835-10286@http.bugzilla.kernel.org/>
@ 2008-01-28 12:50 ` Andrew Morton
  2008-01-28 12:57   ` Rolf Kutz
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Morton @ 2008-01-28 12:50 UTC (permalink / raw)
  To: linux-acpi; +Cc: bugme-daemon, rk

On Mon, 28 Jan 2008 04:43:49 -0800 (PST) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=9835
> 
>            Summary: After Hibernation the battery charging information is
>                     not working any more.
>            Product: Power Management
>            Version: 2.5
>      KernelVersion: 2.6.24
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Hibernation/Suspend
>         AssignedTo: power-management_other@kernel-bugs.osdl.org
>         ReportedBy: rk@vzsze.de
> 
> 
> Latest working kernel version: 2.6.24-rc7
> Earliest failing kernel version: 2.6.24-rc8
> Distribution: Kubuntu 7.10
> Hardware Environment: Lenovo Thinkpad T60
> Software Environment: Kubuntu with KDE
> Problem Description: After hibernating the system and resuming, the charging
> information is not shown any more in guidance-power-manager.
> 
> Steps to reproduce: Hibernate laptop and resume.
> 

This regression apparently occurred very late in 2.6.24 development.  It
should be easy to pinpoint?


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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 12:50 ` [Bugme-new] [Bug 9835] New: After Hibernation the battery charging information is not working any more Andrew Morton
@ 2008-01-28 12:57   ` Rolf Kutz
  2008-01-28 15:16     ` Rafael J. Wysocki
  0 siblings, 1 reply; 12+ messages in thread
From: Rolf Kutz @ 2008-01-28 12:57 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-acpi, bugme-daemon

[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]

On 28/01/08 04:50 -0800, Andrew Morton wrote:
>On Mon, 28 Jan 2008 04:43:49 -0800 (PST) bugme-daemon@bugzilla.kernel.org wrote:
>
>> http://bugzilla.kernel.org/show_bug.cgi?id=9835
>> 
>>            Summary: After Hibernation the battery charging information is
>>                     not working any more.
>>            Product: Power Management
>>            Version: 2.5
>>      KernelVersion: 2.6.24
>>           Platform: All
>>         OS/Version: Linux
>>               Tree: Mainline
>>             Status: NEW
>>           Severity: normal
>>           Priority: P1
>>          Component: Hibernation/Suspend
>>         AssignedTo: power-management_other@kernel-bugs.osdl.org
>>         ReportedBy: rk@vzsze.de
>> 
>> 
>> Latest working kernel version: 2.6.24-rc7
>> Earliest failing kernel version: 2.6.24-rc8
>> Distribution: Kubuntu 7.10
>> Hardware Environment: Lenovo Thinkpad T60
>> Software Environment: Kubuntu with KDE
>> Problem Description: After hibernating the system and resuming, the charging
>> information is not shown any more in guidance-power-manager.
>> 
>> Steps to reproduce: Hibernate laptop and resume.
>> 
>
>This regression apparently occurred very late in 2.6.24 development.  It
>should be easy to pinpoint?

I noticed that ACPI_SYSFS_POWER was added in -rc8.
But neither enabling it nor disabling it resolves
the bug.

I will provide additional information if needed.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 12:57   ` Rolf Kutz
@ 2008-01-28 15:16     ` Rafael J. Wysocki
  2008-01-28 15:45       ` Rolf Kutz
  0 siblings, 1 reply; 12+ messages in thread
From: Rafael J. Wysocki @ 2008-01-28 15:16 UTC (permalink / raw)
  To: Rolf Kutz; +Cc: Andrew Morton, linux-acpi, bugme-daemon

On Monday, 28 of January 2008, Rolf Kutz wrote:
> On 28/01/08 04:50 -0800, Andrew Morton wrote:
> >On Mon, 28 Jan 2008 04:43:49 -0800 (PST) bugme-daemon@bugzilla.kernel.org wrote:
>
> >This regression apparently occurred very late in 2.6.24 development.  It
> >should be easy to pinpoint?
> 
> I noticed that ACPI_SYSFS_POWER was added in -rc8.
> But neither enabling it nor disabling it resolves
> the bug.
> 
> I will provide additional information if needed.

One of the following commits might be responsible:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c04209a7948b95e8c52084e8595e74e9428653d3
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f9adecd2d0e4f88fa0e8cb06c6ec207748df70a
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d1ec7298fcefd7e4d1ca612da402ce9e5d5e2c13
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=96c2a8766bf4fe91abac863749c11637fabcc64f

Can you please check if reverting any of them helps?

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 15:16     ` Rafael J. Wysocki
@ 2008-01-28 15:45       ` Rolf Kutz
  2008-01-28 16:06         ` Rafael J. Wysocki
  0 siblings, 1 reply; 12+ messages in thread
From: Rolf Kutz @ 2008-01-28 15:45 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andrew Morton, linux-acpi, bugme-daemon

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:
>On Monday, 28 of January 2008, Rolf Kutz wrote:
>> 
>> I will provide additional information if needed.
>
>One of the following commits might be responsible:
>
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c04209a7948b95e8c52084e8595e74e9428653d3
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f9adecd2d0e4f88fa0e8cb06c6ec207748df70a
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d1ec7298fcefd7e4d1ca612da402ce9e5d5e2c13
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=96c2a8766bf4fe91abac863749c11637fabcc64f
>
>Can you please check if reverting any of them helps?

I will, but what version should I test them with?
I'm getting rejects with 2.6.24 and I'm not really
much into C.

regards, Rolf

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 15:45       ` Rolf Kutz
@ 2008-01-28 16:06         ` Rafael J. Wysocki
  2008-01-28 16:27           ` Rolf Kutz
  0 siblings, 1 reply; 12+ messages in thread
From: Rafael J. Wysocki @ 2008-01-28 16:06 UTC (permalink / raw)
  To: Rolf Kutz; +Cc: Andrew Morton, linux-acpi, bugme-daemon

On Monday, 28 of January 2008, Rolf Kutz wrote:
> On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:
> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> 
> >> I will provide additional information if needed.
> >
> >One of the following commits might be responsible:
> >
> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c04209a7948b95e8c52084e8595e74e9428653d3
> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f9adecd2d0e4f88fa0e8cb06c6ec207748df70a
> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d1ec7298fcefd7e4d1ca612da402ce9e5d5e2c13
> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=96c2a8766bf4fe91abac863749c11637fabcc64f
> >
> >Can you please check if reverting any of them helps?
> 
> I will, but what version should I test them with?
> I'm getting rejects with 2.6.24 and I'm not really
> much into C.

Would you be able to install git and use it for downloading kernel sources?

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 16:06         ` Rafael J. Wysocki
@ 2008-01-28 16:27           ` Rolf Kutz
  2008-01-28 16:34             ` Rafael J. Wysocki
  0 siblings, 1 reply; 12+ messages in thread
From: Rolf Kutz @ 2008-01-28 16:27 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andrew Morton, linux-acpi, bugme-daemon

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

On 28/01/08 17:06 +0100, Rafael J. Wysocki wrote:
>On Monday, 28 of January 2008, Rolf Kutz wrote:
>> On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:
>> >On Monday, 28 of January 2008, Rolf Kutz wrote:
>> >> 
>> >> I will provide additional information if needed.
>> >
>> >One of the following commits might be responsible:
>> >
>> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c04209a7948b95e8c52084e8595e74e9428653d3
>> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f9adecd2d0e4f88fa0e8cb06c6ec207748df70a
>> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d1ec7298fcefd7e4d1ca612da402ce9e5d5e2c13
>> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=96c2a8766bf4fe91abac863749c11637fabcc64f
>> >
>> >Can you please check if reverting any of them helps?
>> 
>> I will, but what version should I test them with?
>> I'm getting rejects with 2.6.24 and I'm not really
>> much into C.
>
>Would you be able to install git and use it for downloading kernel sources?

Yes, I can install it, but I'm not familiar with
it.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 16:27           ` Rolf Kutz
@ 2008-01-28 16:34             ` Rafael J. Wysocki
  2008-01-28 17:05               ` Rolf Kutz
  0 siblings, 1 reply; 12+ messages in thread
From: Rafael J. Wysocki @ 2008-01-28 16:34 UTC (permalink / raw)
  To: Rolf Kutz; +Cc: Andrew Morton, linux-acpi, bugme-daemon

On Monday, 28 of January 2008, Rolf Kutz wrote:
> On 28/01/08 17:06 +0100, Rafael J. Wysocki wrote:
> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:
> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >
> >Would you be able to install git and use it for downloading kernel sources?
> 
> Yes, I can install it, but I'm not familiar with it.

No problem.  http://linux.yyz.us/git-howto.html#getting_started should be
sufficient for starters and I'll tell you what to do next.

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 16:34             ` Rafael J. Wysocki
@ 2008-01-28 17:05               ` Rolf Kutz
  2008-01-28 17:34                 ` Rafael J. Wysocki
  0 siblings, 1 reply; 12+ messages in thread
From: Rolf Kutz @ 2008-01-28 17:05 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andrew Morton, linux-acpi, bugme-daemon

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

On 28/01/08 17:34 +0100, Rafael J. Wysocki wrote:
>On Monday, 28 of January 2008, Rolf Kutz wrote:
>> On 28/01/08 17:06 +0100, Rafael J. Wysocki wrote:
>> >On Monday, 28 of January 2008, Rolf Kutz wrote:
>> >> On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:
>> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
>> >
>> >Would you be able to install git and use it for downloading kernel sources?
>> 
>> Yes, I can install it, but I'm not familiar with it.
>
>No problem.  http://linux.yyz.us/git-howto.html#getting_started should be
>sufficient for starters and I'll tell you what to do next.

Installed git and pulled Linus tree, like
described in the howto.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 17:05               ` Rolf Kutz
@ 2008-01-28 17:34                 ` Rafael J. Wysocki
  2008-01-28 18:29                   ` Rolf Kutz
  0 siblings, 1 reply; 12+ messages in thread
From: Rafael J. Wysocki @ 2008-01-28 17:34 UTC (permalink / raw)
  To: Rolf Kutz; +Cc: Andrew Morton, linux-acpi, bugme-daemon

On Monday, 28 of January 2008, Rolf Kutz wrote:
> On 28/01/08 17:34 +0100, Rafael J. Wysocki wrote:
> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> On 28/01/08 17:06 +0100, Rafael J. Wysocki wrote:
> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> >> On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:
> >> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> >
> >> >Would you be able to install git and use it for downloading kernel sources?
> >> 
> >> Yes, I can install it, but I'm not familiar with it.
> >
> >No problem.  http://linux.yyz.us/git-howto.html#getting_started should be
> >sufficient for starters and I'll tell you what to do next.
> 
> Installed git and pulled Linus tree, like described in the howto.

OK, thanks.

We're going to carry out a bisection over several commits.

Please go to the linux-2.6 directory and do:

$ git checkout 88fb61e4ba263685a0d5b82c7e9cd6f22a9e6a9d

Then, compile the kernel and test it.

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 17:34                 ` Rafael J. Wysocki
@ 2008-01-28 18:29                   ` Rolf Kutz
  2008-01-28 22:19                     ` Rafael J. Wysocki
  0 siblings, 1 reply; 12+ messages in thread
From: Rolf Kutz @ 2008-01-28 18:29 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andrew Morton, linux-acpi, bugme-daemon

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

On 28/01/08 18:34 +0100, Rafael J. Wysocki wrote:
>On Monday, 28 of January 2008, Rolf Kutz wrote:
>> On 28/01/08 17:34 +0100, Rafael J. Wysocki wrote:
>> >On Monday, 28 of January 2008, Rolf Kutz wrote:
>> >> On 28/01/08 17:06 +0100, Rafael J. Wysocki wrote:
>> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
>> >> >> On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:
>> >> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
>> >> >
>> >> >Would you be able to install git and use it for downloading kernel sources?
>> >> 
>> >> Yes, I can install it, but I'm not familiar with it.
>> >
>> >No problem.  http://linux.yyz.us/git-howto.html#getting_started should be
>> >sufficient for starters and I'll tell you what to do next.
>> 
>> Installed git and pulled Linus tree, like described in the howto.
>
>OK, thanks.
>
>We're going to carry out a bisection over several commits.
>
>Please go to the linux-2.6 directory and do:
>
>$ git checkout 88fb61e4ba263685a0d5b82c7e9cd6f22a9e6a9d
>
>Then, compile the kernel and test it.

Done, the regression is still there.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 18:29                   ` Rolf Kutz
@ 2008-01-28 22:19                     ` Rafael J. Wysocki
  2008-01-28 23:29                       ` Rolf Kutz
  0 siblings, 1 reply; 12+ messages in thread
From: Rafael J. Wysocki @ 2008-01-28 22:19 UTC (permalink / raw)
  To: Rolf Kutz; +Cc: Andrew Morton, linux-acpi, bugme-daemon

On Monday, 28 of January 2008, Rolf Kutz wrote:
> On 28/01/08 18:34 +0100, Rafael J. Wysocki wrote:
> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> On 28/01/08 17:34 +0100, Rafael J. Wysocki wrote:
> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> >> On 28/01/08 17:06 +0100, Rafael J. Wysocki wrote:
> >> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> >> >> On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:
> >> >> >> >On Monday, 28 of January 2008, Rolf Kutz wrote:
> >> >> >
> >> >> >Would you be able to install git and use it for downloading kernel sources?
> >> >> 
> >> >> Yes, I can install it, but I'm not familiar with it.
> >> >
> >> >No problem.  http://linux.yyz.us/git-howto.html#getting_started should be
> >> >sufficient for starters and I'll tell you what to do next.
> >> 
> >> Installed git and pulled Linus tree, like described in the howto.
> >
> >OK, thanks.
> >
> >We're going to carry out a bisection over several commits.
> >
> >Please go to the linux-2.6 directory and do:
> >
> >$ git checkout 88fb61e4ba263685a0d5b82c7e9cd6f22a9e6a9d
> >
> >Then, compile the kernel and test it.
> 
> Done, the regression is still there.

Hm, there are no ACPI patches between -rc7 and this one ...

(in the linux-2.6 directory) please do

$ git checkout 3ce54450461bad18bbe1f9f5aa3ecd2f8e8d1235

(this should be 2.6.24-rc7, actually) and try to build and test this kernel.

Thanks,
Rafael

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

* Re: New: After Hibernation the battery charging information is not working any more.
  2008-01-28 22:19                     ` Rafael J. Wysocki
@ 2008-01-28 23:29                       ` Rolf Kutz
  0 siblings, 0 replies; 12+ messages in thread
From: Rolf Kutz @ 2008-01-28 23:29 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andrew Morton, linux-acpi, bugme-daemon

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]

On 28/01/08 23:19 +0100, Rafael J. Wysocki wrote:
>> 
>> Done, the regression is still there.
>
>Hm, there are no ACPI patches between -rc7 and this one ...
>
>(in the linux-2.6 directory) please do
>
>$ git checkout 3ce54450461bad18bbe1f9f5aa3ecd2f8e8d1235
>
>(this should be 2.6.24-rc7, actually) and try to build and test this kernel.

The regression is sitting between keyboard and
chair. :/ The testkernel wasn't working, so I did
a diff of the know to work kernelconfig and the
testkernel:

3,4c3,4
< # Linux kernel version: 2.6.24-rc7-midori20
< # Mon Jan  7 02:56:41 2008
---
> # Linux kernel version: 2.6.24-rc7-test2
> # Mon Jan 28 23:26:04 2008
273c273
< CONFIG_ACPI_SBS=m
---
> # CONFIG_ACPI_SBS is not set

I then compiled 2.6.24 with sbs and it works.
Don't know how it got missing, but I take the
blame. 

Sorry for my ignorance and thanks for the help,

Rolf

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2008-01-28 23:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-9835-10286@http.bugzilla.kernel.org/>
2008-01-28 12:50 ` [Bugme-new] [Bug 9835] New: After Hibernation the battery charging information is not working any more Andrew Morton
2008-01-28 12:57   ` Rolf Kutz
2008-01-28 15:16     ` Rafael J. Wysocki
2008-01-28 15:45       ` Rolf Kutz
2008-01-28 16:06         ` Rafael J. Wysocki
2008-01-28 16:27           ` Rolf Kutz
2008-01-28 16:34             ` Rafael J. Wysocki
2008-01-28 17:05               ` Rolf Kutz
2008-01-28 17:34                 ` Rafael J. Wysocki
2008-01-28 18:29                   ` Rolf Kutz
2008-01-28 22:19                     ` Rafael J. Wysocki
2008-01-28 23:29                       ` Rolf Kutz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox