Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263313 - Stabilize =sys-power/ncpufreqd-2.4
Summary: Stabilize =sys-power/ncpufreqd-2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2009-03-21 22:38 UTC by Krzysztof Pawlik (RETIRED)
Modified: 2009-04-05 12:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Pawlik (RETIRED) gentoo-dev 2009-03-21 22:38:16 UTC
Please test and stabilize =sys-power/ncpufreqd-2.4, testing procedure:

 * install on a laptop
 * play with AC adapter plug and verify whenever it changes CPU governor

Has been in tree for ages, only small changes from 2.3.
Comment 1 Markus Meier gentoo-dev 2009-03-22 17:25:07 UTC
the daemon doesn't really start here (with default-config) on amd64/x86:

# strace /usr/sbin/ncpufreqd 
execve("/usr/sbin/ncpufreqd", ["/usr/sbin/ncpufreqd"], [/* 109 vars */]) = 0
brk(0)                                  = 0x7d8000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e263e0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e263df000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=332283, ...}) = 0
mmap(NULL, 332283, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1e2638d000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\345\1\0\0\0\0\0@"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1330352, ...}) = 0
mmap(NULL, 3437208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1e25e7f000
mprotect(0x7f1e25fbe000, 2093056, PROT_NONE) = 0
mmap(0x7f1e261bd000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13e000) = 0x7f1e261bd000
mmap(0x7f1e261c2000, 17048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1e261c2000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e2638c000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e2638b000
arch_prctl(ARCH_SET_FS, 0x7f1e2638b6f0) = 0
mprotect(0x7f1e261bd000, 16384, PROT_READ) = 0
mprotect(0x604000, 4096, PROT_READ)     = 0
mprotect(0x7f1e263e1000, 4096, PROT_READ) = 0
munmap(0x7f1e2638d000, 332283)          = 0
getuid()                                = 0
getgid()                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1e2638b780) = 26088
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)                           = ?
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-03-22 17:31:19 UTC
It requires configuring paths to ACPI & cpufreq files.
Comment 3 Markus Meier gentoo-dev 2009-04-05 12:46:07 UTC
amd64/x86 stable, all arches done.