All of lore.kernel.org
 help / color / mirror / Atom feed
* [Powertop] (BUG) powertop-1.13 fails to kernel-3.10.7
@ 2013-08-24 14:35 Dennis Jenkins
  0 siblings, 0 replies; 2+ messages in thread
From: Dennis Jenkins @ 2013-08-24 14:35 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

Hello,

   I recently updated my Gentoo linux kernel from 3.8.18 to 3.10.7.
powertop now hangs while starting up.  "strace" shows that powertop is
reading the contents of "/proc/timer_list" over and over (but with no
"seek" call, which is weird to me).

ostara ~ # powertop --version
powertop version 1.13

ostara ~ # uname -r
3.10.7-gentoo

ostara ~ # zgrep TIMER /proc/config.gz
CONFIG_HIGH_RES_TIMERS=y
CONFIG_TIMERFD=y
CONFIG_OPROFILE_NMI_TIMER=y
CONFIG_HPET_TIMER=y
# CONFIG_X86_PM_TIMER is not set
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_PPS_CLIENT_KTIMER is not set
CONFIG_SND_TIMER=m
# CONFIG_SND_HRTIMER is not set
CONFIG_TIMER_STATS=y

ostara ~ # wc /proc/timer_list
387 1569 16282 /proc/timer_list


ostara ~ # strace -e\!read powertop
(tailing...)
open("/proc/interrupts", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7fcfdd7c3000
open("/proc/timer_list", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7fcfdd7c2000
^CProcess 22238 detached

Now run "strace" again, but without the "-e\!read" and watch it read fd #4
over and over and over again.

If you need any additional info, please let me know.

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1671 bytes --]

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

* Re: [Powertop] (BUG) powertop-1.13 fails to kernel-3.10.7
@ 2013-09-03  5:58 Sergey Senozhatsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Senozhatsky @ 2013-09-03  5:58 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 2037 bytes --]

On (08/24/13 09:35), Dennis Jenkins wrote:
>    Hello,
> 
>    �� I recently updated my Gentoo linux kernel from 3.8.18 to 3.10.7.�
>    powertop now hangs while starting up.� "strace" shows that powertop is
>    reading the contents of "/proc/timer_list" over and over (but with no�
>    "seek" call, which is weird to me).

Hello,
sorry for long response. this one really looks like a kernel bug
fixed by 84a78a6504f5c5394a8e558702e5b54131f01d14 upstream (3.11)

	-ss

>    ostara ~ # powertop --version
>    powertop version 1.13
> 
>    ostara ~ # uname -r
>    3.10.7-gentoo
> 
>    ostara ~ # zgrep TIMER /proc/config.gz
>    CONFIG_HIGH_RES_TIMERS=y
>    CONFIG_TIMERFD=y
>    CONFIG_OPROFILE_NMI_TIMER=y
>    CONFIG_HPET_TIMER=y
>    # CONFIG_X86_PM_TIMER is not set
>    CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m
>    # CONFIG_HW_RANDOM_TIMERIOMEM is not set
>    # CONFIG_HANGCHECK_TIMER is not set
>    # CONFIG_PPS_CLIENT_KTIMER is not set
>    CONFIG_SND_TIMER=m
>    # CONFIG_SND_HRTIMER is not set
>    CONFIG_TIMER_STATS=y
> 
>    ostara ~ # wc /proc/timer_list
>    387 1569 16282 /proc/timer_list
> 
>    ostara ~ # strace -e\!read powertop
>    (tailing...)
>    open("/proc/interrupts", O_RDONLY)����� = 3
>    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
>    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>    0x7fcfdd7c3000
>    open("/proc/timer_list", O_RDONLY)����� = 4
>    fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
>    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>    0x7fcfdd7c2000
>    ^CProcess 22238 detached
> 
>    Now run "strace" again, but without the "-e\!read" and watch it read fd #4
>    over and over and over again.
> 
>    If you need any additional info, please let me know.

> _______________________________________________
> PowerTop mailing list
> PowerTop(a)lists.01.org
> https://lists.01.org/mailman/listinfo/powertop


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

end of thread, other threads:[~2013-09-03  5:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03  5:58 [Powertop] (BUG) powertop-1.13 fails to kernel-3.10.7 Sergey Senozhatsky
  -- strict thread matches above, loose matches on Subject: below --
2013-08-24 14:35 Dennis Jenkins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.