Date: Sun, 06 Jul 2014 21:44:34 +0900 (JST) From: Kazumaro Aoki <ka@flu.if0.org> To: freebsd-users-jp@freebsd.org Subject: [FreeBSD-users-jp 95226] Re: powerd with high frequency when idling Message-ID: <20140706.214434.28800521.ka@flu.if0.org> Resent-Message-ID: <20140706.223634.15252722.ka@flu.if0.org> In-Reply-To: <20140703.224248.250136926.ka@flu.if0.org> References: <20140702.225753.74551033.ka@flu.if0.org> <CANtk6SiHC7uNEw_DRY79q5Fz=SOAyvKpeXq_nvGdUc1naZ884g@mail.gmail.com> <20140703.224248.250136926.ka@flu.if0.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sun_Jul__6_21_44_34_2014_960)-- Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit $B@DLZ!w9qJ,;{;T:_=;$G$9(B From: Kazumaro Aoki <ka@flu.if0.org> Subject: [FreeBSD-users-jp 95225] Re: powerd with high frequency when idling Date: Thu, 03 Jul 2014 22:42:48 +0900 (JST) >> 8-stable $B$K$OF~$i$J$$$h$&$J$N$G!"F1$8LdBj$J$i$G$9$,!"(B >> http://svnweb.freebsd.org/base?view=revision&revision=263022 >> $B$H(B >> http://svnweb.freebsd.org/base?view=revision&revision=267883 >> $B$r$b$C$F$-$F!"(Bsrc/sys/dev/acpica/acpi.c $B$K%^!<%8$9$l$P$h$5$=$&$G$9!#(B > > $B$A$g$C$H:9J,$,Bg$-$=$&$J$N$G(Bmerge$B$O<j4V$,$+$+$j$=$&$G$9$,$d$C$F$_$?$$$H(B > $B;W$$$^$9!#(B $B<j4V$,Bg$-$$$H$$$&$3$H$b$"$j!"(Bacpi.c$B$@$1$rLdBj$,5/$-$F$$$J$+$C$?$H;W$o(B $B$l$k(B8.3R$B$+!"3N<B$KLdBj$,5/$-$F$$$J$+$C$?(B8.2R$B$N$b$N$KCV$-49$($F(Bkernel make$B$7$?$iLdBj$J$/DL$C$?$N$G!"$=$N(Bkernel$B$G1?MQ$7$?$N$G$9$,!";DG0$J$,$i(B $BLdBj$O2r>C$7$^$;$s$G$7$?!#(B $B<B$O!"$=$N(Bkernel$B$KF~$l49$($kD>A0!"F0:n<~GH?t$,:GDc$G$"$k(B100MHz$B$K2?8N$+(B $B$J$C$F$$$^$7$?!#(B $B$=$N;~$N>uBV$r$b$&>/$72r@O$9$l$P$h$+$C$?$N$G$9$,!"<!$N7W;;$,;O$^$kA0$K(B kernel$B$rF~$l49$($M$P!D$H$N5$;}$A$,6/$/5$$,$D$+$:!#(B $B$=$N;~$O!"(B100%$B$N<+?.$O$"$j$^$;$s$,(Bshutdown$BCf$K<B9T$5$l$k(B /etc/rc.d/powerd stop$B$G$N!V(Bsysctl: dev.cpu.0.freq=1600: Operation not permitted$B!W$OI=<($5$l$J$+$C$?$h$&$K;W$$$^$9!#(B $B$H$$$&$3$H$G!"2?$+$N>r7o$,B7$($PF0:n<~GH?t$rJQ$($i$l$k>uBV$K$J$C$F$$$k(B $B$h$&$G$9!#(B $B$=$b$=$b(Bpowerd$B$H$$$&$h$j$O!"(B sysctl dev.cpu.0.freq=100 $B$H$+!"<~GH?tJQ99$r<u$1IU$1$J$/$J$C$F$7$^$C$F$$$k$N$,LdBj$H9M$($F$$$^$9!#(B $B2?$+!"B>$N(BOID$B$H$+$G(Benable$B$H$+(Bdisable$B$H$+$5$l$F$$$k$H$+$r5?$C$F$$$k$N$G(B $B$9$,!"$3$NJU$N(Bdriver$B$NCN<1$J$7$K(Bkey word$B$r(Bgrep$B$7$F!"=P$F$-$?(Bsource code$B$r<P$aFI$_$9$k$@$1$G$OA4A3Ez$($K$$$-$D$$$F$$$^$;$s!#(B $BLr$K$?$D>pJs$+$I$&$+$o$+$j$^$;$s$,!"(Bpowerd$B$r;_$a$?>uBV$G(B truss sysctl dev.cpu.0.freq=400 $B$H$7$?7k2L$H!"(B sysctl dev.cpu.0.freq=400 $B$r(Bsysctl debug.cpufreq.verbose=1$B$N>uBV$G<B9T$7$?(Blog$B$rE:IU$7$^$9!#(B $B$I$&$$$&;~$K(BEPERM$B$K$J$C$F$$$k$N$+5$$K$J$C$F$$$^$9$,!"A4A3DI$($F$$$^$;(B $B$s!#0zB3$->pJs$rBT$C$F$^$9!#(B $B!t$H$j$"$($:(BOS$B$r(B9$B7ONs$K$"$2$k$H$$$&$N$b$"$j$+$J$!!#(B $B@DLZOBKcO$!w9qJ,;{;T:_=;(B ----Next_Part(Sun_Jul__6_21_44_34_2014_960)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=log Script started on Sun Jul 6 21:33:55 2014 truss sysctl dev.cpu.0.freq=400 __sysctl(0x7fffffffe1c0,0x2,0x7fffffffe1dc,0x7fffffffe1d0,0x0,0x0) = 0 (0x0) mmap(0x0,688,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365190144 (0x800533000) munmap(0x800533000,688) = 0 (0x0) __sysctl(0x7fffffffe230,0x2,0x80063d408,0x7fffffffe228,0x0,0x0) = 0 (0x0) mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34365190144 (0x800533000) issetugid(0x800534015,0x80052e664,0x800649b10,0x800649ae0,0x59b1,0x0) = 0 (0x0) open("/etc/libmap.conf",O_RDONLY,0666) ERR#2 'No such file or directory' open("/var/run/ld-elf.so.hints",O_RDONLY,057) = 3 (0x3) read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M^E\0\0"...,128) = 128 (0x80) lseek(3,0x80,SEEK_SET) = 128 (0x80) read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,133) = 133 (0x85) close(3) = 0 (0x0) access("/lib/libc.so.7",0) = 0 (0x0) open("/lib/libc.so.7",O_RDONLY,030751340) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=94283,size=1299824,blksize=16384 }) = 0 (0x0) pread(0x3,0x80063c2c0,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000) mmap(0x0,2371584,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34366332928 (0x80064a000) mmap(0x80064a000,1085440,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34366332928 (0x80064a000) mmap(0x800853000,126976,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x109000) = 34368466944 (0x800853000) mmap(0x800872000,110592,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34368593920 (0x800872000) close(3) = 0 (0x0) mmap(0x0,768,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365222912 (0x80053b000) munmap(0x80053b000,768) = 0 (0x0) mmap(0x0,43904,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365222912 (0x80053b000) munmap(0x80053b000,43904) = 0 (0x0) sysarch(0x81,0x7fffffffe2b0,0x800538088,0x0,0xffffffffffcdb550,0x8080808080808080) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffe240,0x2,0x503980,0x7fffffffe238,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffe110,0x2,0x7fffffffe0a0,0x7fffffffe108,0x7fffffffe550,0xe) = 0 (0x0) __sysctl(0x7fffffffdbd0,0x6,0x7fffffffdc40,0x7fffffffdc38,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffd7b0,0x6,0x7fffffffd830,0x7fffffffd820,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffe0a0,0x4,0x0,0x7fffffffd820,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffd2a0,0x2,0x800877dc8,0x7fffffffd298,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffd1c0,0x2,0x7fffffffd150,0x7fffffffd1b8,0x800745880,0xc) = 0 (0x0) __sysctl(0x7fffffffd150,0x2,0x800877fd0,0x7fffffffd218,0x0,0x0) = 0 (0x0) readlink("/etc/malloc.conf",0x7fffffffd2c0,1024) ERR#2 'No such file or directory' issetugid(0x800744541,0x7fffffffd2c0,0xffffffffffffffff,0x0,0x2,0x0) = 0 (0x0) break(0x600000) = 0 (0x0) __sysctl(0x7fffffffd580,0x2,0x7fffffffd59c,0x7fffffffd590,0x0,0x0) = 0 (0x0) mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34368704512 (0x80088d000) mmap(0x800a8d000,1519616,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34370801664 (0x800a8d000) munmap(0x80088d000,1519616) = 0 (0x0) __sysctl(0x7fffffffe0a0,0x4,0x800a04040,0x7fffffffd818,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffd2d0,0x6,0x7fffffffd340,0x7fffffffd338,0x0,0x0) = 0 (0x0) dev.cpu.0.freq: write(1,"dev.cpu.0.freq: ",16) = 16 (0x10) 960write(1,"960",3) = 3 (0x3) __sysctl(0x7fffffffe0a0,0x4,0x0,0x0,0x7fffffffe14c,0x4) ERR#1 'Operation not permitted' write(1,"\n",1) = 1 (0x1) sysctl: write(2,"sysctl: ",8) = 8 (0x8) dev.cpu.0.freq=400write(2,"dev.cpu.0.freq=400",18) = 18 (0x12) : write(2,": ",2) = 2 (0x2) stat("/usr/share/nls/C/libc.cat",0x7fffffffda20) ERR#2 'No such file or directory' stat("/usr/share/nls/libc/C",0x7fffffffda20) ERR#2 'No such file or directory' stat("/usr/local/share/nls/C/libc.cat",0x7fffffffda20) ERR#2 'No such file or directory' stat("/usr/local/share/nls/libc/C",0x7fffffffda20) ERR#2 'No such file or directory' Operation not permitted write(2,"Operation not permitted\n",24) = 24 (0x18) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) process exit, rval = 1 Script done on Sun Jul 6 21:33:55 2014 ----Next_Part(Sun_Jul__6_21_44_34_2014_960)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=messages cpufreq: get returning known freq 960 cpufreq: get returning known freq 960 cpufreq: skipping info-only driver acpi_perf0 cpufreq: adding 8 relative settings cpufreq: adding abs setting 1600 at head cpufreq: adding abs setting 1280 after 1600 cpufreq: adding abs setting 800 after 1280 cpufreq: expand set added rel setting 100% to 800 level cpufreq: dup set considering derived setting 700 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 700 after 800 cpufreq: expand set added rel setting 87% to 700 level cpufreq: dup set considering derived setting 600 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 600 after 700 cpufreq: expand set added rel setting 75% to 600 level cpufreq: dup set considering derived setting 500 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 500 after 600 cpufreq: expand set added rel setting 62% to 500 level cpufreq: dup set considering derived setting 400 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 400 after 500 cpufreq: expand set added rel setting 50% to 400 level cpufreq: dup set considering derived setting 300 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 300 after 400 cpufreq: expand set added rel setting 37% to 300 level cpufreq: dup set considering derived setting 200 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 200 after 300 cpufreq: expand set added rel setting 25% to 200 level cpufreq: dup set considering derived setting 100 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 100 after 200 cpufreq: expand set added rel setting 12% to 100 level cpufreq: expand set added rel setting 100% to 1280 level cpufreq: dup set considering derived setting 1120 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 1120 after 1280 cpufreq: expand set added rel setting 87% to 1120 level cpufreq: dup set considering derived setting 960 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 960 after 1120 cpufreq: expand set added rel setting 75% to 960 level cpufreq: dup set considering derived setting 800 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup set rejecting 800 (dupe) cpufreq: dup set freeing new level 800 (not optimal) cpufreq: expand set added rel setting 100% to 1600 level cpufreq: dup set considering derived setting 1400 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup done, inserting new level 1400 after 1600 cpufreq: expand set added rel setting 87% to 1400 level cpufreq: dup set considering derived setting 1200 cpufreq: removed last relative driver: acpi_throttle0 cpufreq: dup set rejecting 1200 (abs too big) cpufreq: dup set freeing new level 1200 (not optimal) cpufreq: ignoring, curr prio 100 less than 1000 ----Next_Part(Sun_Jul__6_21_44_34_2014_960)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140706.214434.28800521.ka>