Battery-related regression between 2.6.17-git3 and 2.6.17-git6
Quoted 5 lines · Greg KH
Quoted 3 lines · Rafael J. Wysocki
I'm not sure what exactly happens there, but I think hal crashes due to a buffer overflow.
Quoted 7 lines
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