Bug 195329 - fixing 191891 introduced kernel messages and cpu usage and trace
Summary: fixing 191891 introduced kernel messages and cpu usage and trace
Status: RESOLVED CODE_FIX
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: dvb-usb (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: dvb-usb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 22:18 UTC by Marc Duponcheel
Modified: 2017-05-06 13:23 UTC (History)
0 users

See Also:
Kernel Version: 4.10.8
Tree: Mainline
Regression: No


Attachments

Description Marc Duponcheel 2017-04-11 22:18:45 UTC
please refer to 191891


Now I see many

[27767.315306] dvb-usb: error -110 while querying for an remote control event.
[27769.635337] dvb-usb: recv bulk message failed: -110

and CPU is 1.00 all the time

If I stop dvb stick usage and rrmod module I get

[27770.897724] usbcore: deregistering interface driver dvb_usb_dtt200u
[27770.897761] dvb-usb: recv bulk message failed: -108
[27770.897762] dvb-usb: error -108 while querying for an remote control event.
[27770.995440] ------------[ cut here ]------------
[27770.995444] WARNING: CPU: 3 PID: 14466 at kernel/module.c:1111 module_put+0x92/0xa0
[27770.995445] Modules linked in: rfcomm snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss nfs lockd grace sunrpc bnep autofs4 ipv6 binfmt_misc snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support rc_it913x_v2 it913x regmap_i2c x86_pkg_temp_thermal intel_powerclamp af9033 nvidia_drm(PO) nvidia_modeset(PO) btusb rc_dtt200u btrtl dvb_usb_af9035 btbcm btintel dvb_usb_v2 dvb_usb_dtt200u(-) bluetooth dvb_usb dvb_core nvidia(PO) rfkill rc_core snd_hda_codec_realtek coretemp crc32_pclmul snd_hda_codec_generic pcbc aesni_intel drm_kms_helper syscopyarea snd_hda_intel sysfillrect sysimgblt aes_x86_64 fb_sys_fops snd_hda_codec crypto_simd cryptd snd_hwdep drm glue_helper snd_hda_core r8169 pcspkr snd_pcm mii snd_timer snd i2c_i801 lpc_ich i2c_core mfd_core fan thermal rtc_cmos video button
[27770.995471]  crc32c_intel ahci libahci libata ehci_pci ehci_hcd xhci_pci xhci_hcd usbcore usb_common dm_mirror dm_region_hash dm_log dm_mod
[27770.995477] CPU: 3 PID: 14466 Comm: rmmod Tainted: P           O    4.10.9-gentoo #1
[27770.995477] Hardware name: ASUS All Series/H81I-PLUS, BIOS 0401 07/23/2013
[27770.995478] Call Trace:
[27770.995482]  dump_stack+0x4d/0x66
[27770.995483]  __warn+0xc6/0xe0
[27770.995485]  ? dtt200u_fe_sleep+0x10/0x10 [dvb_usb_dtt200u]
[27770.995486]  warn_slowpath_null+0x18/0x20
[27770.995487]  module_put+0x92/0xa0
[27770.995488]  ? dtt200u_fe_sleep+0x10/0x10 [dvb_usb_dtt200u]
[27770.995489]  ? dtt200u_fe_sleep+0x10/0x10 [dvb_usb_dtt200u]
[27770.995490]  symbol_put_addr+0x29/0x30
[27770.995493]  dvb_frontend_put+0x3d/0x50 [dvb_core]
[27770.995495]  dvb_frontend_detach+0x77/0x80 [dvb_core]
[27770.995496]  dvb_usb_adapter_frontend_exit+0x40/0x70 [dvb_usb]
[27770.995497]  dvb_usb_exit+0x34/0xb0 [dvb_usb]
[27770.995498]  dvb_usb_device_exit+0x3a/0x50 [dvb_usb]
[27770.995503]  usb_unbind_interface+0x77/0x260 [usbcore]
[27770.995506]  device_release_driver_internal+0x150/0x200
[27770.995508]  driver_detach+0x33/0x70
[27770.995509]  bus_remove_driver+0x47/0xa0
[27770.995510]  driver_unregister+0x27/0x50
[27770.995512]  usb_deregister+0x6f/0xd0 [usbcore]
[27770.995513]  dtt200u_usb_driver_exit+0x10/0x12 [dvb_usb_dtt200u]
[27770.995514]  SyS_delete_module+0x166/0x220
[27770.995515]  ? exit_to_usermode_loop+0x6f/0x80
[27770.995518]  entry_SYSCALL_64_fastpath+0x13/0x94
[27770.995519] RIP: 0033:0x7f98b8a65b47
[27770.995520] RSP: 002b:00007ffda75d5738 EFLAGS: 00000202 ORIG_RAX: 00000000000000b0
[27770.995521] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f98b8a65b47
[27770.995521] RDX: 000000000000000a RSI: 0000000000000800 RDI: 0000000000623258
[27770.995522] RBP: 0000000000000000 R08: 00007ffda75d46d1 R09: 000000000000000a
[27770.995522] R10: 0000000000000891 R11: 0000000000000202 R12: 00000000006231f0
[27770.995522] R13: 00007ffda75d4730 R14: 00000000006231f0 R15: 0000000000622010
[27770.995523] ---[ end trace c5a0151296826bce ]---
[27770.995686] dvb-usb: WideView WT-220U PenType Receiver (based on ZL353) successfully deinitialized and disconnected.

CPU usage drops
Comment 1 Marc Duponcheel 2017-04-20 22:26:49 UTC
let me know if and how I can help
Comment 2 Marc Duponcheel 2017-04-24 22:19:13 UTC
meanwhile 4.10.12 and same symptoms.
Comment 3 Marc Duponcheel 2017-04-28 14:12:15 UTC
seems 4.10.13 no longer suffers from 195329
Thanks for fixing.
Comment 4 Marc Duponcheel 2017-05-01 19:29:55 UTC
4.11.0 fine as well
Comment 5 Marc Duponcheel 2017-05-02 13:28:17 UTC
Oops : 4.11.0 does suffer from 195329 (and 4.10.13 was fine).
May need to reboot few times to double check.
Will reopen this defect if 195329 consistently present in 4.11.x ...
Comment 6 Marc Duponcheel 2017-05-06 13:23:57 UTC
 It seems if one powers down ('shutdown -h now' -not- 'shutdown -r now') then upun reboot, stick initializes itself properly.
 So I keep state resolved.

Note You need to log in before you can comment on or make changes to this bug.