Erhard Schultchen wrote:
> Package: powersaved
> Version: 0.11.10-1
> Severity: important
> 
> since the most recent upgrade, powersaved segfaults on startup. Here is 

So older versions like 0.11.8 worked for you?

> my strace:
> 
> # powersaved
> [...]
> access("/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate", 
> F_OK) = 0
> access("/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate", 
> W_OK) = 0
> open("/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate", 
> O_RDWR|O_CREAT|O_TRUNC, 0666) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0xb7eec000
> write(5, "333000", 6)                   = 6
> close(5)                                = 0
> munmap(0xb7eec000, 4096)                = 0
> stat64("/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies", 
> {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> open("/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies", 
> O_RDONLY) = 5
> read(5, "2133000 1866000 1600000 1333000 "..., 4096) = 48
> close(5)                                = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> 
> I'm running a vanilla 2.6.15.4 kernel with suspend2 patches applied. I 
> did not figure out whether debian kernels are concerned as well.

Please keep in mind that powersaved 0.11.10-1 does not (yet) support
suspend2, only the in kernel suspend implementation (which works much
more reliable for me anyways...). suspend2 support was added in the
latest 0.12.0 release and is very preliminary. This version will be
released the next days.

Back to your problem: Is hald/dbus running? Are all cpufreq modules
(ondemand, performance, powersave) correctly loaded? Please run
powersaved manually vi powersaved -v 15, does it give you some more
interesting information (/var/log/messages)?
If that doesn't work, could you recompile powersaved with debugging
enabled (I can provide such a version for you if you prefer that) and
run it in a debugger or send me the backtrace?
Unfortunately from the strace log above I can not see the source of the
error.

Thanks in advance for you help,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to