All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] (BUG) powertop-1.13 fails to kernel-3.10.7
Date: Tue, 03 Sep 2013 08:58:50 +0300	[thread overview]
Message-ID: <20130903055850.GA2464@swordfish> (raw)
In-Reply-To: CAAEzAp-9iZSPDkntiguA9mez+xk+n0ZLbDV-N79P0s8Lx7eUgg@mail.gmail.com

[-- 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


             reply	other threads:[~2013-09-03  5:58 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130903055850.GA2464@swordfish \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.