Skip to contentSkip to conversation

New: After Hibernation the battery charging information is not working any more.

Bugme-new Andrew Morton 3 participants 12 messages Jan 28, 2008 1 message not in the archive ACPI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw
Quoted 26 lines · On Mon, 28 Jan 2008 04:43:49 -0800 (PST) [email protected] 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: [email protected]
ReportedBy: [email protected]

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.

Quoted 2 lines

Steps to reproduce: Hibernate laptop and resume.

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

#2 lore raw
Quoted 28 lines · Andrew Morton
Quoted 26 lines · On Mon, 28 Jan 2008 04:43:49 -0800 (PST) [email protected] 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: [email protected]
ReportedBy: [email protected]

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.

Quoted 5 lines
Quoted 2 lines

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.

#3 lore raw
Quoted 11 lines · Rolf Kutz
Quoted 4 lines · Andrew Morton

On Mon, 28 Jan 2008 04:43:49 -0800 (PST) [email protected] 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?

#4 lore raw
Quoted 4 lines · Rafael J. Wysocki
Quoted 2 lines · Rolf Kutz

I will provide additional information if needed.

Quoted 8 lines

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

#5 lore raw
Quoted 12 lines · Rolf Kutz
Quoted 11 lines · Rafael J. Wysocki
Quoted 2 lines · Rolf Kutz

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

Quoted 5 lines
Quoted 1 line

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?

#6 lore raw
Quoted 13 lines · Rafael J. Wysocki
Quoted 12 lines · Rolf Kutz
Quoted 11 lines · Rafael J. Wysocki
Quoted 2 lines · Rolf Kutz

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

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

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.

#7 lore raw
Quoted 8 lines · Rolf Kutz
Quoted 5 lines · Rafael J. Wysocki
Quoted 2 lines · Rolf Kutz
Quoted 1 line · Rafael J. Wysocki

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.

#8 lore raw
Quoted 4 lines · Rafael J. Wysocki
Quoted 3 lines · Rolf Kutz
Quoted 2 lines · Rafael J. Wysocki
Quoted 1 line · Rolf Kutz

On 28/01/08 16:16 +0100, Rafael J. Wysocki wrote:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line · Rolf Kutz

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.

#9 lore raw
Quoted 7 lines · Rolf Kutz
Quoted 6 lines · Rafael J. Wysocki
Quoted 5 lines · Rolf Kutz
Quoted 4 lines · Rafael J. Wysocki
Quoted 2 lines · Rolf Kutz
Quoted 1 line · Rafael J. Wysocki

On Monday, 28 of January 2008, Rolf Kutz wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

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.

#10 lore raw
Quoted 19 lines · Rafael J. Wysocki
Quoted 7 lines · Rolf Kutz
Quoted 6 lines · Rafael J. Wysocki
Quoted 5 lines · Rolf Kutz
Quoted 4 lines · Rafael J. Wysocki
Quoted 2 lines · Rolf Kutz
Quoted 1 line · Rafael J. Wysocki

On Monday, 28 of January 2008, Rolf Kutz wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

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.

Quoted 7 lines

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.

#11 lore raw
Quoted 22 lines · Rolf Kutz
Quoted 21 lines · Rafael J. Wysocki
Quoted 7 lines · Rolf Kutz
Quoted 6 lines · Rafael J. Wysocki
Quoted 5 lines · Rolf Kutz
Quoted 4 lines · Rafael J. Wysocki
Quoted 2 lines · Rolf Kutz
Quoted 1 line · Rafael J. Wysocki

On Monday, 28 of January 2008, Rolf Kutz wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

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.

Quoted 7 lines
Quoted 5 lines

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

#12 lore raw
Quoted 10 lines · Rafael J. Wysocki
Quoted 2 lines

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

Quoted 2 lines

# Linux kernel version: 2.6.24-rc7-test2
# Mon Jan 28 23:26:04 2008

273c273
< CONFIG_ACPI_SBS=m
---

Quoted 1 line

# 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