Bug 81581 - xhci dies with some USB devices
Summary: xhci dies with some USB devices
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: x86-64 Linux
: P1 blocking
Assignee: XHCI bugs virtual user
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-02 19:18 UTC by Flavio Roth
Modified: 2016-06-05 03:25 UTC (History)
5 users (show)

See Also:
Kernel Version: 3.13.0-32-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Flavio Roth 2014-08-02 19:18:31 UTC
From time to time, the xhci driver completely dies, all attached usb devices then gets disconnected and become unresponsive.

It happened while capturing video from a Logitech c920 with v4l2. 

Note: It is possible to gain back mouse/keyboard control by resetting all xhci devices (see the bash script at the bottom)


stack dump :

[11749.459297] ------------[ cut here ]------------
[11749.459304] WARNING: CPU: 3 PID: 9819 at /build/buildd/linux-3.13.0/kernel/watchdog.c:245 watchdog_overflow_callback+0x9c/0xd0()
[11749.459305] Watchdog detected hard LOCKUP on cpu 3
[11749.459305] Modules linked in: pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) rfcomm bnep eeepc_wmi asus_wmi sparse_keymap video mxm_wmi nvidia(POF) intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek kvm_intel kvm btusb crct10dif_pclmul bluetooth crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 uvcvideo lrw snd_hda_intel gf128mul glue_helper videobuf2_vmalloc ablk_helper videobuf2_memops snd_hda_codec snd_usb_audio cryptd sb_edac videobuf2_core snd_usbmidi_lib videodev snd_hwdep edac_core serio_raw snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device lpc_ich snd_timer snd drm mei_me mei soundcore nls_iso8859_1 wmi mac_hid parport_pc ppdev lp parport hid_generic usbhid hid e1000e psmouse ahci ptp libahci pps_core
[11749.459335] CPU: 3 PID: 9819 Comm: queue5:src Tainted: PF          O 3.13.0-32-generic #57-Ubuntu
[11749.459336] Hardware name: System manufacturer System Product Name/P9X79 PRO, BIOS 0906 12/22/2011
[11749.459337]  0000000000000009 ffff88082fc66c20 ffffffff8171bcb4 ffff88082fc66c68
[11749.459339]  ffff88082fc66c58 ffffffff810676cd ffff880803978000 0000000000000000
[11749.459340]  ffff88082fc66d88 0000000000000000 ffff88082fc66ef8 ffff88082fc66cb8
[11749.459342] Call Trace:
[11749.459343]  <NMI>  [<ffffffff8171bcb4>] dump_stack+0x45/0x56
[11749.459349]  [<ffffffff810676cd>] warn_slowpath_common+0x7d/0xa0
[11749.459350]  [<ffffffff8106773c>] warn_slowpath_fmt+0x4c/0x50
[11749.459352]  [<ffffffff8110d590>] ? restart_watchdog_hrtimer+0x50/0x50
[11749.459353]  [<ffffffff8110d62c>] watchdog_overflow_callback+0x9c/0xd0
[11749.459355]  [<ffffffff81144dae>] __perf_event_overflow+0x8e/0x240
[11749.459357]  [<ffffffff81028e58>] ? x86_perf_event_set_period+0xe8/0x150
[11749.459359]  [<ffffffff811458c4>] perf_event_overflow+0x14/0x20
[11749.459361]  [<ffffffff8103029d>] intel_pmu_handle_irq+0x1cd/0x3d0
[11749.459363]  [<ffffffff81725b2b>] perf_event_nmi_handler+0x2b/0x50
[11749.459364]  [<ffffffff81725348>] nmi_handle.isra.3+0x88/0x180
[11749.459365]  [<ffffffff817255a9>] do_nmi+0x169/0x340
[11749.459367]  [<ffffffff817247b1>] end_repeat_nmi+0x1e/0x2e
[11749.459369]  [<ffffffff815762b6>] ? xhci_cancel_cmd+0x86/0x270
[11749.459371]  [<ffffffff8156a68d>] ? xhci_handshake+0x3d/0x70
[11749.459373]  [<ffffffff8156a68d>] ? xhci_handshake+0x3d/0x70
[11749.459374]  [<ffffffff8156a68d>] ? xhci_handshake+0x3d/0x70
[11749.459375]  <<EOE>>  [<ffffffff815763bd>] xhci_cancel_cmd+0x18d/0x270
[11749.459378]  [<ffffffff8156d30c>] xhci_configure_endpoint+0x2bc/0x630
[11749.459379]  [<ffffffff8156df52>] xhci_check_bandwidth+0xe2/0x270
[11749.459382]  [<ffffffff81541553>] usb_hcd_alloc_bandwidth+0x2a3/0x340
[11749.459384]  [<ffffffff81544755>] usb_set_interface+0x95/0x360
[11749.459387]  [<ffffffffa02fb00c>] uvc_video_enable+0x3c/0x1b0 [uvcvideo]
[11749.459389]  [<ffffffffa02f64e2>] uvc_v4l2_release+0xb2/0xf0 [uvcvideo]
[11749.459393]  [<ffffffffa01ea434>] v4l2_release+0x34/0x80 [videodev]
[11749.459396]  [<ffffffff811be6d4>] __fput+0xe4/0x260
[11749.459397]  [<ffffffff811be89e>] ____fput+0xe/0x10
[11749.459400]  [<ffffffff81088174>] task_work_run+0xc4/0xe0
[11749.459402]  [<ffffffff81069c18>] do_exit+0x2b8/0xa50
[11749.459404]  [<ffffffff810d7711>] ? __unqueue_futex+0x31/0x60
[11749.459405]  [<ffffffff810d8076>] ? futex_wait+0x126/0x290
[11749.459407]  [<ffffffff8106a42f>] do_group_exit+0x3f/0xa0
[11749.459409]  [<ffffffff8107a070>] get_signal_to_deliver+0x1d0/0x6f0
[11749.459411]  [<ffffffff81013448>] do_signal+0x48/0x960
[11749.459413]  [<ffffffff8111155c>] ? acct_account_cputime+0x1c/0x20
[11749.459415]  [<ffffffff8109d7db>] ? account_user_time+0x8b/0xa0
[11749.459417]  [<ffffffff8109ddf4>] ? vtime_account_user+0x54/0x60
[11749.459418]  [<ffffffff81013dc9>] do_notify_resume+0x69/0xb0
[11749.459421]  [<ffffffff8172c92a>] int_signal+0x12/0x17
[11749.459422] ---[ end trace 13db6dc529805025 ]---
[11749.459424] perf samples too long (2961 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[11749.607064] xhci_hcd 0000:09:00.0: Stopped the command ring failed, maybe the host is dead
[11749.607077] xhci_hcd 0000:09:00.0: Abort command ring failed
[11749.607112] xhci_hcd 0000:09:00.0: HC died; cleaning up
[11749.607123] usb 5-1.4: Not enough bandwidth for altsetting 0
[11749.607137] usb 5-1: USB disconnect, device number 2
[11749.607139] usb 5-1.1: USB disconnect, device number 3
[11749.684415] usb 5-1.2: USB disconnect, device number 4
[11749.732850] usb 5-1.4: USB disconnect, device number 5
[11749.777785] usb 6-1: USB disconnect, device number 2


I hope this helps


xhci reset script (from http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/):

#!/bin/bash

if [[ $EUID != 0 ]] ; then
  echo This must be run as root!
  exit 1
fi

for xhci in /sys/bus/pci/drivers/?hci_hcd ; do

  if ! cd $xhci ; then
    echo Weird error. Failed to change directory to $xhci
    exit 1
  fi

  echo Resetting devices from $xhci...

  for i in ????:??:??.? ; do
    echo -n "$i" > unbind
    echo -n "$i" > bind
  done
done
Comment 1 Greg Kroah-Hartman 2014-08-03 17:04:50 UTC
On Sat, Aug 02, 2014 at 07:18:31PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=81581
> 
>             Bug ID: 81581
>            Summary: xhci dies with some USB devices

Please send to the linux-usb@vger.kernel.org mailing list.
Comment 2 abandoned account 2015-03-23 23:06:50 UTC
possibly related somehow:
...
Mar 23 17:00:33 manji kernel: ------------[ cut here ]------------
Mar 23 17:00:33 manji kernel: WARNING: CPU: 2 PID: 4218 at fs/sysfs/group.c:219 sysfs_remove_group+0x99/0xa0()
Mar 23 17:00:33 manji kernel: sysfs group ffffffff8d0835e0 not found for kobject 'event13'
Mar 23 17:00:33 manji kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media msr pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) sch_ingress cls_u32 sch_sfq sch_htb cpufreq_conservative kvm_amd kvm serio_raw pcspkr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_piix4 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer shpchp snd soundcore rtsx_usb_sdmmc mmc_core led_class sch_fq_codel rtsx_usb_ms memstick rtsx_usb mfd_core autofs4 hid_generic ohci_pci [last unloaded: cpuid]
Mar 23 17:00:33 manji kernel: CPU: 2 PID: 4218 Comm: vlc Tainted: G          IO    4.0.0-rc5-gbc465aa #56
Mar 23 17:00:33 manji kernel: Hardware name: LENOVO Sabine/Torpedo, BIOS 54CN18WW 07/20/2011
Mar 23 17:00:33 manji kernel:  0000000000000000 000000005a080336 ffff8803fa8dfb88 ffffffff8cad3ed1
Mar 23 17:00:33 manji kernel:  0000000000000000 ffff8803fa8dfbe0 ffff8803fa8dfbc8 ffffffff8c442e35
Mar 23 17:00:33 manji kernel:  ffff8803fa8dfbc8 0000000000000000 ffffffff8d0835e0 ffff88040ba328c0
Mar 23 17:00:33 manji kernel: Call Trace:
Mar 23 17:00:33 manji kernel:  [<ffffffff8cad3ed1>] dump_stack+0x45/0x57
Mar 23 17:00:33 manji kernel:  [<ffffffff8c442e35>] warn_slowpath_common+0x85/0xc0
Mar 23 17:00:33 manji kernel:  [<ffffffff8c442ec0>] warn_slowpath_fmt+0x50/0x70
Mar 23 17:00:33 manji kernel:  [<ffffffff8c5ca657>] ? kernfs_find_and_get_ns+0x47/0x60
Mar 23 17:00:33 manji kernel:  [<ffffffff8c5cdac9>] sysfs_remove_group+0x99/0xa0
Mar 23 17:00:33 manji kernel:  [<ffffffff8c8f6652>] dpm_sysfs_remove+0x52/0x60
Mar 23 17:00:33 manji kernel:  [<ffffffff8c8eb253>] device_del+0x53/0x270
Mar 23 17:00:33 manji kernel:  [<ffffffff8c790731>] ? kbd_disconnect+0x21/0x30
Mar 23 17:00:33 manji kernel:  [<ffffffff8c9ba462>] evdev_disconnect+0x22/0x60
Mar 23 17:00:33 manji kernel:  [<ffffffff8c9b6bdf>] __input_unregister_device+0xaf/0x160
Mar 23 17:00:33 manji kernel:  [<ffffffff8c9b6d5d>] input_unregister_device+0x4d/0x80
Mar 23 17:00:33 manji kernel:  [<ffffffffc05dd0a1>] uvc_status_cleanup+0x41/0x50 [uvcvideo]
Mar 23 17:00:33 manji kernel:  [<ffffffffc05d2203>] uvc_delete+0x13/0x170 [uvcvideo]
Mar 23 17:00:33 manji kernel:  [<ffffffffc05d2441>] uvc_release+0x21/0x30 [uvcvideo]
Mar 23 17:00:33 manji kernel:  [<ffffffffc0597926>] v4l2_device_release+0xd6/0x110 [videodev]
Mar 23 17:00:33 manji kernel:  [<ffffffff8c8eaa91>] device_release+0x31/0xa0
Mar 23 17:00:33 manji kernel:  [<ffffffff8c6951ba>] kobject_release+0x7a/0x1c0
Mar 23 17:00:33 manji kernel:  [<ffffffff8c695055>] kobject_put+0x35/0x70
Mar 23 17:00:33 manji kernel:  [<ffffffff8c8eadb2>] put_device+0x12/0x20
Mar 23 17:00:33 manji kernel:  [<ffffffffc059649b>] v4l2_release+0x4b/0x80 [videodev]
Mar 23 17:00:33 manji kernel:  [<ffffffff8c55bff9>] __fput+0xc9/0x1e0
Mar 23 17:00:33 manji kernel:  [<ffffffff8c55c159>] ____fput+0x9/0x10
Mar 23 17:00:33 manji kernel:  [<ffffffff8c45dde7>] task_work_run+0xb7/0xf0
Mar 23 17:00:33 manji kernel:  [<ffffffff8c402b80>] do_notify_resume+0x70/0x90
Mar 23 17:00:33 manji kernel:  [<ffffffff8cadd729>] int_signal+0x12/0x17
Mar 23 17:00:33 manji kernel: ---[ end trace b6c830e0c436a356 ]---
Mar 23 17:00:34 manji kernel: ------------[ cut here ]------------
Mar 23 17:00:34 manji kernel: WARNING: CPU: 1 PID: 4218 at fs/sysfs/group.c:219 sysfs_remove_group+0x99/0xa0()
Mar 23 17:00:34 manji kernel: sysfs group ffffffff8d0835e0 not found for kobject 'input14'
Mar 23 17:00:34 manji kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media msr pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) sch_ingress cls_u32 sch_sfq sch_htb cpufreq_conservative kvm_amd kvm serio_raw pcspkr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_piix4 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer shpchp snd soundcore rtsx_usb_sdmmc mmc_core led_class sch_fq_codel rtsx_usb_ms memstick rtsx_usb mfd_core autofs4 hid_generic ohci_pci [last unloaded: cpuid]
Mar 23 17:00:34 manji kernel: CPU: 1 PID: 4218 Comm: vlc Tainted: G        W IO    4.0.0-rc5-gbc465aa #56
Mar 23 17:00:34 manji kernel: Hardware name: LENOVO Sabine/Torpedo, BIOS 54CN18WW 07/20/2011
Mar 23 17:00:34 manji kernel:  0000000000000000 000000005a080336 ffff8803fa8dfbb8 ffffffff8cad3ed1
Mar 23 17:00:34 manji kernel:  0000000000000000 ffff8803fa8dfc10 ffff8803fa8dfbf8 ffffffff8c442e35
Mar 23 17:00:34 manji kernel:  ffff8803fa8dfbf8 0000000000000000 ffffffff8d0835e0 ffff880409232a58
Mar 23 17:00:34 manji kernel: Call Trace:
Mar 23 17:00:34 manji kernel:  [<ffffffff8cad3ed1>] dump_stack+0x45/0x57
Mar 23 17:00:34 manji kernel:  [<ffffffff8c442e35>] warn_slowpath_common+0x85/0xc0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c442ec0>] warn_slowpath_fmt+0x50/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5ca657>] ? kernfs_find_and_get_ns+0x47/0x60
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5cdac9>] sysfs_remove_group+0x99/0xa0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8f6652>] dpm_sysfs_remove+0x52/0x60
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eb253>] device_del+0x53/0x270
Mar 23 17:00:34 manji kernel:  [<ffffffff8c9b6c6c>] __input_unregister_device+0x13c/0x160
Mar 23 17:00:34 manji kernel:  [<ffffffff8c9b6d5d>] input_unregister_device+0x4d/0x80
Mar 23 17:00:34 manji kernel:  [<ffffffffc05dd0a1>] uvc_status_cleanup+0x41/0x50 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc05d2203>] uvc_delete+0x13/0x170 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc05d2441>] uvc_release+0x21/0x30 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc0597926>] v4l2_device_release+0xd6/0x110 [videodev]
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eaa91>] device_release+0x31/0xa0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c6951ba>] kobject_release+0x7a/0x1c0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c695055>] kobject_put+0x35/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eadb2>] put_device+0x12/0x20
Mar 23 17:00:34 manji kernel:  [<ffffffffc059649b>] v4l2_release+0x4b/0x80 [videodev]
Mar 23 17:00:34 manji kernel:  [<ffffffff8c55bff9>] __fput+0xc9/0x1e0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c55c159>] ____fput+0x9/0x10
Mar 23 17:00:34 manji kernel:  [<ffffffff8c45dde7>] task_work_run+0xb7/0xf0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c402b80>] do_notify_resume+0x70/0x90
Mar 23 17:00:34 manji kernel:  [<ffffffff8cadd729>] int_signal+0x12/0x17
Mar 23 17:00:34 manji kernel: ---[ end trace b6c830e0c436a357 ]---
Mar 23 17:00:34 manji kernel: ------------[ cut here ]------------
Mar 23 17:00:34 manji kernel: WARNING: CPU: 1 PID: 4218 at fs/sysfs/group.c:219 sysfs_remove_group+0x99/0xa0()
Mar 23 17:00:34 manji kernel: sysfs group ffffffff8d093fc0 not found for kobject 'input14'
Mar 23 17:00:34 manji kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media msr pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) sch_ingress cls_u32 sch_sfq sch_htb cpufreq_conservative kvm_amd kvm serio_raw pcspkr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_piix4 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer shpchp snd soundcore rtsx_usb_sdmmc mmc_core led_class sch_fq_codel rtsx_usb_ms memstick rtsx_usb mfd_core autofs4 hid_generic ohci_pci [last unloaded: cpuid]
Mar 23 17:00:34 manji kernel: CPU: 1 PID: 4218 Comm: vlc Tainted: G        W IO    4.0.0-rc5-gbc465aa #56
Mar 23 17:00:34 manji kernel: Hardware name: LENOVO Sabine/Torpedo, BIOS 54CN18WW 07/20/2011
Mar 23 17:00:34 manji kernel:  0000000000000000 000000005a080336 ffff8803fa8dfb78 ffffffff8cad3ed1
Mar 23 17:00:34 manji kernel:  0000000000000000 ffff8803fa8dfbd0 ffff8803fa8dfbb8 ffffffff8c442e35
Mar 23 17:00:34 manji kernel:  ffff8803fa8dfbb8 0000000000000000 ffffffff8d093fc0 ffff880409232a58
Mar 23 17:00:34 manji kernel: Call Trace:
Mar 23 17:00:34 manji kernel:  [<ffffffff8cad3ed1>] dump_stack+0x45/0x57
Mar 23 17:00:34 manji kernel:  [<ffffffff8c442e35>] warn_slowpath_common+0x85/0xc0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c442ec0>] warn_slowpath_fmt+0x50/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5ca657>] ? kernfs_find_and_get_ns+0x47/0x60
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5cdac9>] sysfs_remove_group+0x99/0xa0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5cdba3>] sysfs_remove_groups+0x33/0x50
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8ea9d9>] device_remove_attrs+0x59/0x80
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eb331>] device_del+0x131/0x270
Mar 23 17:00:34 manji kernel:  [<ffffffff8c9b6c6c>] __input_unregister_device+0x13c/0x160
Mar 23 17:00:34 manji kernel:  [<ffffffff8c9b6d5d>] input_unregister_device+0x4d/0x80
Mar 23 17:00:34 manji kernel:  [<ffffffffc05dd0a1>] uvc_status_cleanup+0x41/0x50 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc05d2203>] uvc_delete+0x13/0x170 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc05d2441>] uvc_release+0x21/0x30 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc0597926>] v4l2_device_release+0xd6/0x110 [videodev]
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eaa91>] device_release+0x31/0xa0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c6951ba>] kobject_release+0x7a/0x1c0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c695055>] kobject_put+0x35/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eadb2>] put_device+0x12/0x20
Mar 23 17:00:34 manji kernel:  [<ffffffffc059649b>] v4l2_release+0x4b/0x80 [videodev]
Mar 23 17:00:34 manji kernel:  [<ffffffff8c55bff9>] __fput+0xc9/0x1e0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c55c159>] ____fput+0x9/0x10
Mar 23 17:00:34 manji kernel:  [<ffffffff8c45dde7>] task_work_run+0xb7/0xf0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c402b80>] do_notify_resume+0x70/0x90
Mar 23 17:00:34 manji kernel:  [<ffffffff8cadd729>] int_signal+0x12/0x17
Mar 23 17:00:34 manji kernel: ---[ end trace b6c830e0c436a358 ]---
Mar 23 17:00:34 manji kernel: ------------[ cut here ]------------
Mar 23 17:00:34 manji kernel: WARNING: CPU: 1 PID: 4218 at fs/sysfs/group.c:219 sysfs_remove_group+0x99/0xa0()
Mar 23 17:00:34 manji kernel: sysfs group ffffffff8d093e20 not found for kobject 'input14'
Mar 23 17:00:34 manji kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media msr pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) sch_ingress cls_u32 sch_sfq sch_htb cpufreq_conservative kvm_amd kvm serio_raw pcspkr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_piix4 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer shpchp snd soundcore rtsx_usb_sdmmc mmc_core led_class sch_fq_codel rtsx_usb_ms memstick rtsx_usb mfd_core autofs4 hid_generic ohci_pci [last unloaded: cpuid]
Mar 23 17:00:34 manji kernel: CPU: 1 PID: 4218 Comm: vlc Tainted: G        W IO    4.0.0-rc5-gbc465aa #56
Mar 23 17:00:34 manji kernel: Hardware name: LENOVO Sabine/Torpedo, BIOS 54CN18WW 07/20/2011
Mar 23 17:00:34 manji kernel:  0000000000000000 000000005a080336 ffff8803fa8dfb78 ffffffff8cad3ed1
Mar 23 17:00:34 manji kernel:  0000000000000000 ffff8803fa8dfbd0 ffff8803fa8dfbb8 ffffffff8c442e35
Mar 23 17:00:34 manji kernel:  ffff8803fa8dfbb8 0000000000000000 ffffffff8d093e20 ffff880409232a58
Mar 23 17:00:34 manji kernel: Call Trace:
Mar 23 17:00:34 manji kernel:  [<ffffffff8cad3ed1>] dump_stack+0x45/0x57
Mar 23 17:00:34 manji kernel:  [<ffffffff8c442e35>] warn_slowpath_common+0x85/0xc0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c442ec0>] warn_slowpath_fmt+0x50/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5ca657>] ? kernfs_find_and_get_ns+0x47/0x60
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5cdac9>] sysfs_remove_group+0x99/0xa0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5cdba3>] sysfs_remove_groups+0x33/0x50
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8ea9d9>] device_remove_attrs+0x59/0x80
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eb331>] device_del+0x131/0x270
Mar 23 17:00:34 manji kernel:  [<ffffffff8c9b6c6c>] __input_unregister_device+0x13c/0x160
Mar 23 17:00:34 manji kernel:  [<ffffffff8c9b6d5d>] input_unregister_device+0x4d/0x80
Mar 23 17:00:34 manji kernel:  [<ffffffffc05dd0a1>] uvc_status_cleanup+0x41/0x50 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc05d2203>] uvc_delete+0x13/0x170 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc05d2441>] uvc_release+0x21/0x30 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc0597926>] v4l2_device_release+0xd6/0x110 [videodev]
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eaa91>] device_release+0x31/0xa0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c6951ba>] kobject_release+0x7a/0x1c0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c695055>] kobject_put+0x35/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eadb2>] put_device+0x12/0x20
Mar 23 17:00:34 manji kernel:  [<ffffffffc059649b>] v4l2_release+0x4b/0x80 [videodev]
Mar 23 17:00:34 manji kernel:  [<ffffffff8c55bff9>] __fput+0xc9/0x1e0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c55c159>] ____fput+0x9/0x10
Mar 23 17:00:34 manji kernel:  [<ffffffff8c45dde7>] task_work_run+0xb7/0xf0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c402b80>] do_notify_resume+0x70/0x90
Mar 23 17:00:34 manji kernel:  [<ffffffff8cadd729>] int_signal+0x12/0x17
Mar 23 17:00:34 manji kernel: ---[ end trace b6c830e0c436a359 ]---
Mar 23 17:00:34 manji kernel: device: 'media0': device_unregister
Mar 23 17:00:34 manji kernel: ------------[ cut here ]------------
Mar 23 17:00:34 manji kernel: WARNING: CPU: 1 PID: 4218 at fs/sysfs/group.c:219 sysfs_remove_group+0x99/0xa0()
Mar 23 17:00:34 manji kernel: sysfs group ffffffff8d0835e0 not found for kobject 'media0'
Mar 23 17:00:34 manji kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media msr pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) sch_ingress cls_u32 sch_sfq sch_htb cpufreq_conservative kvm_amd kvm serio_raw pcspkr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_piix4 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer shpchp snd soundcore rtsx_usb_sdmmc mmc_core led_class sch_fq_codel rtsx_usb_ms memstick rtsx_usb mfd_core autofs4 hid_generic ohci_pci [last unloaded: cpuid]
Mar 23 17:00:34 manji kernel: CPU: 1 PID: 4218 Comm: vlc Tainted: G        W IO    4.0.0-rc5-gbc465aa #56
Mar 23 17:00:34 manji kernel: Hardware name: LENOVO Sabine/Torpedo, BIOS 54CN18WW 07/20/2011
Mar 23 17:00:34 manji kernel:  0000000000000000 000000005a080336 ffff8803fa8dfbb8 ffffffff8cad3ed1
Mar 23 17:00:34 manji kernel:  0000000000000000 ffff8803fa8dfc10 ffff8803fa8dfbf8 ffffffff8c442e35
Mar 23 17:00:34 manji kernel:  ffff8803fa8dfbf8 0000000000000000 ffffffff8d0835e0 ffff880409235898
Mar 23 17:00:34 manji kernel: Call Trace:
Mar 23 17:00:34 manji kernel:  [<ffffffff8cad3ed1>] dump_stack+0x45/0x57
Mar 23 17:00:34 manji kernel:  [<ffffffff8c442e35>] warn_slowpath_common+0x85/0xc0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c442ec0>] warn_slowpath_fmt+0x50/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5ca657>] ? kernfs_find_and_get_ns+0x47/0x60
Mar 23 17:00:34 manji kernel:  [<ffffffff8c5cdac9>] sysfs_remove_group+0x99/0xa0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8f6652>] dpm_sysfs_remove+0x52/0x60
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eb253>] device_del+0x53/0x270
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eb48d>] device_unregister+0x1d/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffffc0503f45>] media_devnode_unregister+0x45/0x50 [media]
Mar 23 17:00:34 manji kernel:  [<ffffffffc0503abc>] media_device_unregister+0x5c/0x70 [media]
Mar 23 17:00:34 manji kernel:  [<ffffffffc05d2352>] uvc_delete+0x162/0x170 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc05d2441>] uvc_release+0x21/0x30 [uvcvideo]
Mar 23 17:00:34 manji kernel:  [<ffffffffc0597926>] v4l2_device_release+0xd6/0x110 [videodev]
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eaa91>] device_release+0x31/0xa0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c6951ba>] kobject_release+0x7a/0x1c0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c695055>] kobject_put+0x35/0x70
Mar 23 17:00:34 manji kernel:  [<ffffffff8c8eadb2>] put_device+0x12/0x20
Mar 23 17:00:34 manji kernel:  [<ffffffffc059649b>] v4l2_release+0x4b/0x80 [videodev]
Mar 23 17:00:34 manji kernel:  [<ffffffff8c55bff9>] __fput+0xc9/0x1e0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c55c159>] ____fput+0x9/0x10
Mar 23 17:00:34 manji kernel:  [<ffffffff8c45dde7>] task_work_run+0xb7/0xf0
Mar 23 17:00:34 manji kernel:  [<ffffffff8c402b80>] do_notify_resume+0x70/0x90
Mar 23 17:00:34 manji kernel:  [<ffffffff8cadd729>] int_signal+0x12/0x17
Mar 23 17:00:34 manji kernel: ---[ end trace b6c830e0c436a35a ]---
Mar 23 17:00:34 manji kernel: bus: 'media': remove device media0
...
Mar 23 18:17:00 manji sudo[29343]: emacs : TTY=pts/2 ; PWD=/home/emacs ; USER=root ; COMMAND=/usr/bin/modprobe -r uvcvideo
Mar 23 18:17:00 manji sudo[29343]: pam_unix(sudo:session): session opened for user root by (uid=0)
Mar 23 18:17:00 manji systemd-journal[1657]: Missed 2 kernel messages
Mar 23 18:17:00 manji kernel: usbcore: deregistering interface driver uvcvideo
Mar 23 18:17:00 manji kernel: bus: 'usb': remove driver uvcvideo
Mar 23 18:17:00 manji kernel: driver: 'uvcvideo': driver_release
Mar 23 18:17:00 manji kernel: dynamic_debug:ddebug_remove_module: removing module "uvcvideo"
Mar 23 18:17:00 manji kernel: dynamic_debug:ddebug_remove_module: removing module "videobuf2_core"
Mar 23 18:17:01 manji kernel: dynamic_debug:ddebug_remove_module: removing module "v4l2_common"
Mar 23 18:17:01 manji kernel: device class 'video4linux': unregistering
Mar 23 18:17:01 manji kernel: class 'video4linux': release.
Mar 23 18:17:01 manji kernel: class 'video4linux' does not have a release() function, be careful
Mar 23 18:17:01 manji kernel: dynamic_debug:ddebug_remove_module: removing module "videodev"
Mar 23 18:17:01 manji kernel: bus: 'media': unregistering
Mar 23 18:17:01 manji kernel: dynamic_debug:ddebug_remove_module: removing module "media"
Mar 23 18:17:01 manji kernel: dynamic_debug:ddebug_remove_module: removing module "videobuf2_vmalloc"
Mar 23 18:17:01 manji kernel: dynamic_debug:ddebug_remove_module: removing module "videobuf2_memops"
Mar 23 18:17:01 manji sudo[29343]: pam_unix(sudo:session): session closed for user root
...

That line: `class 'video4linux' does not have a release() function, be careful` 
should that be worrying?
Comment 3 Mathias Nyman 2015-03-24 08:42:56 UTC
I can't find any line involving xhci in this second log, could this be some
uvc internal issue?
Comment 4 abandoned account 2015-03-24 14:05:29 UTC
yeah it seems unrelated now that I take a second look, sorry about that! I was in a hurry, but still, no excuses!
Should I make a new bug if I can reproduce that?

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