From: Antti Palosaari <crope@iki.fi>
To: htl10@users.sourceforge.net
Cc: linux-media@vger.kernel.org
Subject: Re: small regression in mediatree/for_v3.7-3 - media_build
Date: Wed, 15 Aug 2012 04:05:39 +0300 [thread overview]
Message-ID: <502AF5E3.7080405@iki.fi> (raw)
In-Reply-To: <1344991485.62541.YahooMailClassic@web29404.mail.ird.yahoo.com>
On 08/15/2012 03:44 AM, Hin-Tak Leung wrote:
> --- On Wed, 15/8/12, Antti Palosaari <crope@iki.fi> wrote:
>
>> On 08/15/2012 02:39 AM, Hin-Tak Leung
>> wrote:
>>> There seems to be a small regression on
>> mediatree/for_v3.7-3
>>> - dmesg/klog get flooded with these:
>>>
>>> [201145.140260] dvb_frontend_poll: 15 callbacks
>> suppressed
>>> [201145.586405] usb_urb_complete: 88 callbacks
>> suppressed
>>> [201150.587308] usb_urb_complete: 3456 callbacks
>> suppressed
>>>
>>> [201468.630197] usb_urb_complete: 3315 callbacks
>> suppressed
>>> [201473.632978] usb_urb_complete: 3529 callbacks
>> suppressed
>>> [201478.635400] usb_urb_complete: 3574 callbacks
>> suppressed
>>>
>>> It seems to be every 5 seconds, but I think that's just
>> klog skipping repeats and collapsing duplicate entries. This
>> does not happen the last time I tried playing with the TV
>> stick :-).
>>
>> That's because you has dynamic debugs enabled!
>> modprobe dvb_core; echo -n 'module dvb_core +p' >
>> /sys/kernel/debug/dynamic_debug/control
>> modprobe dvb_usbv2; echo -n 'module dvb_usbv2 +p' >
>> /sys/kernel/debug/dynamic_debug/control
>>
>> If you don't add dvb_core and dvb_usbv2 modules to
>> /sys/kernel/debug/dynamic_debug/control you will not see
>> those.
>>
>> I have added ratelimited version for those few debugs that
>> are flooded normally. This suppressed is coming from
>> ratelimit - it does not print all those similar debugs.
>
> I did not enable it - it is as shipped :-).
>
> # grep 'CONFIG_DYNAMIC' /boot/config*
> /boot/config-3.4.6-2.fc17.x86_64:CONFIG_DYNAMIC_FTRACE=y
> /boot/config-3.4.6-2.fc17.x86_64:CONFIG_DYNAMIC_DEBUG=y
> /boot/config-3.5.0-2.fc17.x86_64:CONFIG_DYNAMIC_FTRACE=y
> /boot/config-3.5.0-2.fc17.x86_64:CONFIG_DYNAMIC_DEBUG=y
> /boot/config-3.5.1-1.fc17.x86_64:CONFIG_DYNAMIC_FTRACE=y
> /boot/config-3.5.1-1.fc17.x86_64:CONFIG_DYNAMIC_DEBUG=y
>
> Now I wonder why I didn't have those usb_urb_complete messages before? The last time I played with mediatree was with 3.4.4-5.fc17.x86_64, and with the mediatree2/dvb_core branch - and I did not have these then.
Yeah, you are correct. There is something wrong now. I see also those
ratelimited debugs even didn't ordered...
I think dev_dbg_ratelimited() is very new, there is no other users... I
have to find out whats wrong.
Now I am finalizing DVB USB reset_resume(). Very cool. Looks like I can
now continue watching television even USB controller gets reseted during
suspend (reset resume). Every DVB USB device I have here seems to
survive both normal resume and reset resume =)
regards
Antti
--
http://palosaari.fi/
next prev parent reply other threads:[~2012-08-15 1:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 23:39 small regression in mediatree/for_v3.7-3 - media_build Hin-Tak Leung
2012-08-14 23:51 ` Antti Palosaari
2012-08-15 0:44 ` Hin-Tak Leung
2012-08-15 1:05 ` Antti Palosaari [this message]
2012-08-16 1:11 ` noisy dev_dbg_ratelimited() [Re: small regression in mediatree/for_v3.7-3 - media_build] Antti Palosaari
2012-08-16 7:12 ` noisy dev_dbg_ratelimited() Hiroshi Doyu
2012-08-16 19:48 ` Antti Palosaari
2012-08-16 20:29 ` Hin-Tak Leung
2012-08-17 6:00 ` Hiroshi Doyu
2012-11-03 4:14 ` small regression in mediatree/for_v3.7-3 - media_build VDR User
-- strict thread matches above, loose matches on Subject: below --
2012-11-04 8:37 Hin-Tak Leung
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=502AF5E3.7080405@iki.fi \
--to=crope@iki.fi \
--cc=htl10@users.sourceforge.net \
--cc=linux-media@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).