public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Battery-related regression between 2.6.17-git3 and 2.6.17-git6
@ 2006-07-01 22:21 Rafael J. Wysocki
  2006-07-02  9:15 ` Rafael J. Wysocki
  0 siblings, 1 reply; 13+ messages in thread
From: Rafael J. Wysocki @ 2006-07-01 22:21 UTC (permalink / raw)
  To: ACPI mailing list; +Cc: LKML, Andrew Morton

Hi,

With the recent -git on my box (Asus L5D, x86_64 SUSE 10) the powersave
demon is apparently unable to get the battery status, although the data in
/proc/acpi/battery/BAT0 seem to be correct.  As a result, battery status
notification via kpowersave doesn't work and it's hard to notice when the
battery is low/critical.

So far I have verified that this feature works fine with 2.6.17-git3 and
doesn't work with 2.6.17-git6 (-git5 doesn't compile here).

I'll try to get more information tomorrow (unless someone in the know has
an idea of what's up ;-) ).

Greetings,
Rafael

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Battery-related regression between 2.6.17-git3 and 2.6.17-git6
@ 2006-07-05 21:17 Larry Finger
  0 siblings, 0 replies; 13+ messages in thread
From: Larry Finger @ 2006-07-05 21:17 UTC (permalink / raw)
  To: linux-kernel, Greg Kroah-Hartman

On Tue, 2006-07-04 at 14:48 -0700, Greg KH wrote:
 > On Tue, Jul 04, 2006 at 01:55:43PM +0200, Rafael J. Wysocki wrote:
 >>
 >> I'm not sure what exactly happens there, but I think hal crashes due to
 >> a buffer overflow.
 >
 > Yes, that looks like what is happening. Perhaps one of the HAL
 > developers can point you at a patch that you can apply to your version
 > of HAL to get it working.
 >
 > Either way, this is not a kernel bug, as it could have happened with any
 > very long depth device tree, you were just lucky it didn't happen
 > sooner.

It is definitely a buffer overflow in hald. I reproduced the problem by a 'hald --daemon=no' 
command. On my SuSE 10.0 system, the problem was fixed by downloading and installing hal-0.5.7.

Larry


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

end of thread, other threads:[~2006-07-05 21:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-01 22:21 Battery-related regression between 2.6.17-git3 and 2.6.17-git6 Rafael J. Wysocki
2006-07-02  9:15 ` Rafael J. Wysocki
2006-07-03 11:16   ` Rafael J. Wysocki
2006-07-03 18:00     ` Greg KH
2006-07-03 19:39       ` Rafael J. Wysocki
2006-07-03 19:44         ` Greg KH
2006-07-03 20:26           ` Rafael J. Wysocki
2006-07-03 20:45             ` Greg KH
2006-07-04 11:55               ` Rafael J. Wysocki
2006-07-04 21:48                 ` Greg KH
2006-07-04 22:14                   ` Kay Sievers
2006-07-05  2:51                     ` Valdis.Kletnieks
  -- strict thread matches above, loose matches on Subject: below --
2006-07-05 21:17 Larry Finger

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