JChen27
Posts: 7
Joined: Thu Jul 20, 2017 9:55 pm

Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 4:48 pm

I'm getting weird disconnects after running my webcam for long period of time, they seem to occur always around the 3-5 A.M. time frame. Below is my log data. Does anyone know why this is happening?

Code: Select all

Aug 31 03:17:01 raspberrypi CRON[6468]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 31 03:38:49 raspberrypi wpa_supplicant[619]: wlan0: WPA: Group rekeying completed with c0:56:27:77:eb:94 [GTK=CCMP]
Aug 31 04:11:47 raspberrypi dhcpcd[478]: eth0: removing interface
Aug 31 04:11:47 raspberrypi kernel: [59731.711203] usb usb1-port1: disabled by hub (EMI?), re-enabling...
Aug 31 04:11:47 raspberrypi kernel: [59731.711233] usb 1-1: USB disconnect, device number 2
Aug 31 04:11:47 raspberrypi kernel: [59731.711244] usb 1-1.1: USB disconnect, device number 3
Aug 31 04:11:47 raspberrypi kernel: [59731.711589] smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet
Aug 31 04:11:47 raspberrypi kernel: [59731.711643] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Aug 31 04:11:47 raspberrypi avahi-daemon[460]: Interface eth0.IPv6 no longer relevant for mDNS.
Aug 31 04:11:47 raspberrypi avahi-daemon[460]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::be66:2d15:4162:519d.
Aug 31 04:11:47 raspberrypi avahi-daemon[460]: Withdrawing address record for fe80::be66:2d15:4162:519d on eth0.
Aug 31 04:11:47 raspberrypi avahi-daemon[460]: Withdrawing workstation service for eth0.
Aug 31 04:11:47 raspberrypi kernel: [59731.771794] usb 1-1.2: USB disconnect, device number 4
Aug 31 04:11:48 raspberrypi kernel: [59731.922170] usb 1-1.3: USB disconnect, device number 5
Aug 31 04:11:48 raspberrypi kernel: [59732.256194] usb 1-1.5: USB disconnect, device number 6
Aug 31 04:11:48 raspberrypi kernel: [59732.451024] Indeed it is in host mode hprt0 = 00001501
Aug 31 04:11:48 raspberrypi kernel: [59732.660938] usb 1-1: new high-speed USB device number 7 using dwc_otg
Aug 31 04:11:48 raspberrypi kernel: [59732.661024] Indeed it is in host mode hprt0 = 00001101
Aug 31 04:11:49 raspberrypi kernel: [59732.911186] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
Aug 31 04:11:49 raspberrypi kernel: [59732.911196] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Aug 31 04:11:49 raspberrypi kernel: [59732.911777] hub 1-1:1.0: USB hub found
Aug 31 04:11:49 raspberrypi kernel: [59732.911848] hub 1-1:1.0: 5 ports detected
Aug 31 04:11:49 raspberrypi kernel: [59732.931868] ------------[ cut here ]------------
Aug 31 04:11:49 raspberrypi kernel: [59732.931897] WARNING: CPU: 2 PID: 5471 at fs/sysfs/group.c:237 sysfs_remove_group+0xa0/0xa4
Aug 31 04:11:49 raspberrypi kernel: [59732.931901] sysfs group 'power' not found for kobject 'event3'
Aug 31 04:11:49 raspberrypi kernel: [59732.931903] Modules linked in: uvcvideo bnep hci_uart btbcm bluetooth videobuf2_vmalloc videobuf2_memops snd_usb_audio videobuf2_v4l2 videobuf2_core snd_hwdep snd_usbmidi_lib snd_rawmidi videodev snd_seq_device media brcmfmac brcmutil cfg80211 rfkill snd_bcm2835 snd_pcm snd_timer snd i2c_bcm2835 bcm2835_gpiomem w1_therm joydev evdev w1_gpio wire cn uio_pdrv_genirq fixed uio i2c_dev fuse ipv6 [last unloaded: uvcvideo]
Aug 31 04:11:49 raspberrypi kernel: [59732.931996] CPU: 2 PID: 5471 Comm: python3 Not tainted 4.9.28-v7+ #998
Aug 31 04:11:49 raspberrypi kernel: [59732.931999] Hardware name: BCM2835
Aug 31 04:11:49 raspberrypi kernel: [59732.932020] [<8010fb3c>] (unwind_backtrace) from [<8010c058>] (show_stack+0x20/0x24)
Aug 31 04:11:49 raspberrypi kernel: [59732.932031] [<8010c058>] (show_stack) from [<804552c0>] (dump_stack+0xd4/0x118)
Aug 31 04:11:49 raspberrypi kernel: [59732.932040] [<804552c0>] (dump_stack) from [<8011d2c4>] (__warn+0xf8/0x110)
Aug 31 04:11:49 raspberrypi kernel: [59732.932048] [<8011d2c4>] (__warn) from [<8011d324>] (warn_slowpath_fmt+0x48/0x50)
Aug 31 04:11:49 raspberrypi kernel: [59732.932054] [<8011d324>] (warn_slowpath_fmt) from [<802ed7cc>] (sysfs_remove_group+0xa0/0xa4)
Aug 31 04:11:49 raspberrypi kernel: [59732.932068] [<802ed7cc>] (sysfs_remove_group) from [<80501d7c>] (dpm_sysfs_remove+0x5c/0x60)
Aug 31 04:11:49 raspberrypi kernel: [59732.932079] [<80501d7c>] (dpm_sysfs_remove) from [<804f66d8>] (device_del+0x48/0x22c)
Aug 31 04:11:49 raspberrypi kernel: [59732.932096] [<804f66d8>] (device_del) from [<7f0f11cc>] (evdev_disconnect+0x28/0x50 [evdev])
Aug 31 04:11:49 raspberrypi kernel: [59732.932115] [<7f0f11cc>] (evdev_disconnect [evdev]) from [<80598054>] (__input_unregister_device+0xc0/0x160)
Aug 31 04:11:49 raspberrypi kernel: [59732.932125] [<80598054>] (__input_unregister_device) from [<8059897c>] (input_unregister_device+0x58/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.932155] [<8059897c>] (input_unregister_device) from [<7f4f46a0>] (uvc_status_cleanup+0x40/0x44 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.932206] [<7f4f46a0>] (uvc_status_cleanup [uvcvideo]) from [<7f4ea31c>] (uvc_delete+0x1c/0x14c [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.932242] [<7f4ea31c>] (uvc_delete [uvcvideo]) from [<7f4ea584>] (uvc_release+0x4c/0x50 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.932336] [<7f4ea584>] (uvc_release [uvcvideo]) from [<7f39880c>] (v4l2_device_release+0xd8/0xfc [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.932399] [<7f39880c>] (v4l2_device_release [videodev]) from [<804f5e2c>] (device_release+0x3c/0xa0)
Aug 31 04:11:49 raspberrypi kernel: [59732.932410] [<804f5e2c>] (device_release) from [<804574fc>] (kobject_release+0x50/0x84)
Aug 31 04:11:49 raspberrypi kernel: [59732.932419] [<804574fc>] (kobject_release) from [<80457584>] (kobject_put+0x54/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.932426] [<80457584>] (kobject_put) from [<804f61d8>] (put_device+0x24/0x28)
Aug 31 04:11:49 raspberrypi kernel: [59732.932482] [<804f61d8>] (put_device) from [<7f398518>] (v4l2_release+0x60/0x84 [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.932542] [<7f398518>] (v4l2_release [videodev]) from [<80271d4c>] (__fput+0x9c/0x1e8)
Aug 31 04:11:49 raspberrypi kernel: [59732.932552] [<80271d4c>] (__fput) from [<80271f08>] (____fput+0x18/0x1c)
Aug 31 04:11:49 raspberrypi kernel: [59732.932562] [<80271f08>] (____fput) from [<8013aad0>] (task_work_run+0xcc/0xfc)
Aug 31 04:11:49 raspberrypi kernel: [59732.932573] [<8013aad0>] (task_work_run) from [<8010b838>] (do_work_pending+0xcc/0xd0)
Aug 31 04:11:49 raspberrypi kernel: [59732.932583] [<8010b838>] (do_work_pending) from [<801080e8>] (slow_work_pending+0xc/0x20)
Aug 31 04:11:49 raspberrypi kernel: [59732.932588] ---[ end trace 173a62e45cb7a65a ]---
Aug 31 04:11:49 raspberrypi kernel: [59732.981076] ------------[ cut here ]------------
Aug 31 04:11:49 raspberrypi kernel: [59732.981096] WARNING: CPU: 2 PID: 5471 at fs/sysfs/group.c:237 sysfs_remove_group+0xa0/0xa4
Aug 31 04:11:49 raspberrypi kernel: [59732.981099] sysfs group 'power' not found for kobject 'input4'
Aug 31 04:11:49 raspberrypi kernel: [59732.981102] Modules linked in: uvcvideo bnep hci_uart btbcm bluetooth videobuf2_vmalloc videobuf2_memops snd_usb_audio videobuf2_v4l2 videobuf2_core snd_hwdep snd_usbmidi_lib snd_rawmidi videodev snd_seq_device media brcmfmac brcmutil cfg80211 rfkill snd_bcm2835 snd_pcm snd_timer snd i2c_bcm2835 bcm2835_gpiomem w1_therm joydev evdev w1_gpio wire cn uio_pdrv_genirq fixed uio i2c_dev fuse ipv6 [last unloaded: uvcvideo]
Aug 31 04:11:49 raspberrypi kernel: [59732.981194] CPU: 2 PID: 5471 Comm: python3 Tainted: G        W       4.9.28-v7+ #998
Aug 31 04:11:49 raspberrypi kernel: [59732.981197] Hardware name: BCM2835
Aug 31 04:11:49 raspberrypi kernel: [59732.981216] [<8010fb3c>] (unwind_backtrace) from [<8010c058>] (show_stack+0x20/0x24)
Aug 31 04:11:49 raspberrypi kernel: [59732.981229] [<8010c058>] (show_stack) from [<804552c0>] (dump_stack+0xd4/0x118)
Aug 31 04:11:49 raspberrypi kernel: [59732.981239] [<804552c0>] (dump_stack) from [<8011d2c4>] (__warn+0xf8/0x110)
Aug 31 04:11:49 raspberrypi kernel: [59732.981248] [<8011d2c4>] (__warn) from [<8011d324>] (warn_slowpath_fmt+0x48/0x50)
Aug 31 04:11:49 raspberrypi kernel: [59732.981255] [<8011d324>] (warn_slowpath_fmt) from [<802ed7cc>] (sysfs_remove_group+0xa0/0xa4)
Aug 31 04:11:49 raspberrypi kernel: [59732.981269] [<802ed7cc>] (sysfs_remove_group) from [<80501d7c>] (dpm_sysfs_remove+0x5c/0x60)
Aug 31 04:11:49 raspberrypi kernel: [59732.981280] [<80501d7c>] (dpm_sysfs_remove) from [<804f66d8>] (device_del+0x48/0x22c)
Aug 31 04:11:49 raspberrypi kernel: [59732.981291] [<804f66d8>] (device_del) from [<805980d8>] (__input_unregister_device+0x144/0x160)
Aug 31 04:11:49 raspberrypi kernel: [59732.981301] [<805980d8>] (__input_unregister_device) from [<8059897c>] (input_unregister_device+0x58/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.981332] [<8059897c>] (input_unregister_device) from [<7f4f46a0>] (uvc_status_cleanup+0x40/0x44 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.981371] [<7f4f46a0>] (uvc_status_cleanup [uvcvideo]) from [<7f4ea31c>] (uvc_delete+0x1c/0x14c [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.981409] [<7f4ea31c>] (uvc_delete [uvcvideo]) from [<7f4ea584>] (uvc_release+0x4c/0x50 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.981502] [<7f4ea584>] (uvc_release [uvcvideo]) from [<7f39880c>] (v4l2_device_release+0xd8/0xfc [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.981567] [<7f39880c>] (v4l2_device_release [videodev]) from [<804f5e2c>] (device_release+0x3c/0xa0)
Aug 31 04:11:49 raspberrypi kernel: [59732.981580] [<804f5e2c>] (device_release) from [<804574fc>] (kobject_release+0x50/0x84)
Aug 31 04:11:49 raspberrypi kernel: [59732.981589] [<804574fc>] (kobject_release) from [<80457584>] (kobject_put+0x54/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.981598] [<80457584>] (kobject_put) from [<804f61d8>] (put_device+0x24/0x28)
Aug 31 04:11:49 raspberrypi kernel: [59732.981655] [<804f61d8>] (put_device) from [<7f398518>] (v4l2_release+0x60/0x84 [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.981713] [<7f398518>] (v4l2_release [videodev]) from [<80271d4c>] (__fput+0x9c/0x1e8)
Aug 31 04:11:49 raspberrypi kernel: [59732.981722] [<80271d4c>] (__fput) from [<80271f08>] (____fput+0x18/0x1c)
Aug 31 04:11:49 raspberrypi kernel: [59732.981733] [<80271f08>] (____fput) from [<8013aad0>] (task_work_run+0xcc/0xfc)
Aug 31 04:11:49 raspberrypi kernel: [59732.981745] [<8013aad0>] (task_work_run) from [<8010b838>] (do_work_pending+0xcc/0xd0)
Aug 31 04:11:49 raspberrypi kernel: [59732.981753] [<8010b838>] (do_work_pending) from [<801080e8>] (slow_work_pending+0xc/0x20)
Aug 31 04:11:49 raspberrypi kernel: [59732.981784] ---[ end trace 173a62e45cb7a65b ]---
Aug 31 04:11:49 raspberrypi kernel: [59732.981935] ------------[ cut here ]------------
Aug 31 04:11:49 raspberrypi kernel: [59732.981945] WARNING: CPU: 2 PID: 5471 at fs/sysfs/group.c:237 sysfs_remove_group+0xa0/0xa4
Aug 31 04:11:49 raspberrypi kernel: [59732.981947] sysfs group 'id' not found for kobject 'input4'
Aug 31 04:11:49 raspberrypi kernel: [59732.981949] Modules linked in: uvcvideo bnep hci_uart btbcm bluetooth videobuf2_vmalloc videobuf2_memops snd_usb_audio videobuf2_v4l2 videobuf2_core snd_hwdep snd_usbmidi_lib snd_rawmidi videodev snd_seq_device media brcmfmac brcmutil cfg80211 rfkill snd_bcm2835 snd_pcm snd_timer snd i2c_bcm2835 bcm2835_gpiomem w1_therm joydev evdev w1_gpio wire cn uio_pdrv_genirq fixed uio i2c_dev fuse ipv6 [last unloaded: uvcvideo]
Aug 31 04:11:49 raspberrypi kernel: [59732.982029] CPU: 2 PID: 5471 Comm: python3 Tainted: G        W       4.9.28-v7+ #998
Aug 31 04:11:49 raspberrypi kernel: [59732.982032] Hardware name: BCM2835
Aug 31 04:11:49 raspberrypi kernel: [59732.982042] [<8010fb3c>] (unwind_backtrace) from [<8010c058>] (show_stack+0x20/0x24)
Aug 31 04:11:49 raspberrypi kernel: [59732.982049] [<8010c058>] (show_stack) from [<804552c0>] (dump_stack+0xd4/0x118)
Aug 31 04:11:49 raspberrypi kernel: [59732.982058] [<804552c0>] (dump_stack) from [<8011d2c4>] (__warn+0xf8/0x110)
Aug 31 04:11:49 raspberrypi kernel: [59732.982064] [<8011d2c4>] (__warn) from [<8011d324>] (warn_slowpath_fmt+0x48/0x50)
Aug 31 04:11:49 raspberrypi kernel: [59732.982070] [<8011d324>] (warn_slowpath_fmt) from [<802ed7cc>] (sysfs_remove_group+0xa0/0xa4)
Aug 31 04:11:49 raspberrypi kernel: [59732.982077] [<802ed7cc>] (sysfs_remove_group) from [<802ed804>] (sysfs_remove_groups+0x34/0x44)
Aug 31 04:11:49 raspberrypi kernel: [59732.982084] [<802ed804>] (sysfs_remove_groups) from [<804f5d54>] (device_remove_attrs+0x60/0x7c)
Aug 31 04:11:49 raspberrypi kernel: [59732.982092] [<804f5d54>] (device_remove_attrs) from [<804f67a4>] (device_del+0x114/0x22c)
Aug 31 04:11:49 raspberrypi kernel: [59732.982100] [<804f67a4>] (device_del) from [<805980d8>] (__input_unregister_device+0x144/0x160)
Aug 31 04:11:49 raspberrypi kernel: [59732.982109] [<805980d8>] (__input_unregister_device) from [<8059897c>] (input_unregister_device+0x58/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.982132] [<8059897c>] (input_unregister_device) from [<7f4f46a0>] (uvc_status_cleanup+0x40/0x44 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.982167] [<7f4f46a0>] (uvc_status_cleanup [uvcvideo]) from [<7f4ea31c>] (uvc_delete+0x1c/0x14c [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.982200] [<7f4ea31c>] (uvc_delete [uvcvideo]) from [<7f4ea584>] (uvc_release+0x4c/0x50 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.982268] [<7f4ea584>] (uvc_release [uvcvideo]) from [<7f39880c>] (v4l2_device_release+0xd8/0xfc [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.982323] [<7f39880c>] (v4l2_device_release [videodev]) from [<804f5e2c>] (device_release+0x3c/0xa0)
Aug 31 04:11:49 raspberrypi kernel: [59732.982331] [<804f5e2c>] (device_release) from [<804574fc>] (kobject_release+0x50/0x84)
Aug 31 04:11:49 raspberrypi kernel: [59732.982339] [<804574fc>] (kobject_release) from [<80457584>] (kobject_put+0x54/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.982347] [<80457584>] (kobject_put) from [<804f61d8>] (put_device+0x24/0x28)
Aug 31 04:11:49 raspberrypi kernel: [59732.982402] [<804f61d8>] (put_device) from [<7f398518>] (v4l2_release+0x60/0x84 [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.982459] [<7f398518>] (v4l2_release [videodev]) from [<80271d4c>] (__fput+0x9c/0x1e8)
Aug 31 04:11:49 raspberrypi kernel: [59732.982467] [<80271d4c>] (__fput) from [<80271f08>] (____fput+0x18/0x1c)
Aug 31 04:11:49 raspberrypi kernel: [59732.982475] [<80271f08>] (____fput) from [<8013aad0>] (task_work_run+0xcc/0xfc)
Aug 31 04:11:49 raspberrypi kernel: [59732.982483] [<8013aad0>] (task_work_run) from [<8010b838>] (do_work_pending+0xcc/0xd0)
Aug 31 04:11:49 raspberrypi kernel: [59732.982491] [<8010b838>] (do_work_pending) from [<801080e8>] (slow_work_pending+0xc/0x20)
Aug 31 04:11:49 raspberrypi kernel: [59732.982498] ---[ end trace 173a62e45cb7a65c ]---
Aug 31 04:11:49 raspberrypi kernel: [59732.982535] ------------[ cut here ]------------
Aug 31 04:11:49 raspberrypi kernel: [59732.982542] WARNING: CPU: 2 PID: 5471 at fs/sysfs/group.c:237 sysfs_remove_group+0xa0/0xa4
Aug 31 04:11:49 raspberrypi kernel: [59732.982545] sysfs group 'capabilities' not found for kobject 'input4'
Aug 31 04:11:49 raspberrypi kernel: [59732.982546] Modules linked in: uvcvideo bnep hci_uart btbcm bluetooth videobuf2_vmalloc videobuf2_memops snd_usb_audio videobuf2_v4l2 videobuf2_core snd_hwdep snd_usbmidi_lib snd_rawmidi videodev snd_seq_device media brcmfmac brcmutil cfg80211 rfkill snd_bcm2835 snd_pcm snd_timer snd i2c_bcm2835 bcm2835_gpiomem w1_therm joydev evdev w1_gpio wire cn uio_pdrv_genirq fixed uio i2c_dev fuse ipv6 [last unloaded: uvcvideo]
Aug 31 04:11:49 raspberrypi kernel: [59732.982614] CPU: 2 PID: 5471 Comm: python3 Tainted: G        W       4.9.28-v7+ #998
Aug 31 04:11:49 raspberrypi kernel: [59732.982616] Hardware name: BCM2835
Aug 31 04:11:49 raspberrypi kernel: [59732.982624] [<8010fb3c>] (unwind_backtrace) from [<8010c058>] (show_stack+0x20/0x24)
Aug 31 04:11:49 raspberrypi kernel: [59732.982632] [<8010c058>] (show_stack) from [<804552c0>] (dump_stack+0xd4/0x118)
Aug 31 04:11:49 raspberrypi kernel: [59732.982639] [<804552c0>] (dump_stack) from [<8011d2c4>] (__warn+0xf8/0x110)
Aug 31 04:11:49 raspberrypi kernel: [59732.982644] [<8011d2c4>] (__warn) from [<8011d324>] (warn_slowpath_fmt+0x48/0x50)
Aug 31 04:11:49 raspberrypi kernel: [59732.982651] [<8011d324>] (warn_slowpath_fmt) from [<802ed7cc>] (sysfs_remove_group+0xa0/0xa4)
Aug 31 04:11:49 raspberrypi kernel: [59732.982659] [<802ed7cc>] (sysfs_remove_group) from [<802ed804>] (sysfs_remove_groups+0x34/0x44)
Aug 31 04:11:49 raspberrypi kernel: [59732.982665] [<802ed804>] (sysfs_remove_groups) from [<804f5d54>] (device_remove_attrs+0x60/0x7c)
Aug 31 04:11:49 raspberrypi kernel: [59732.982672] [<804f5d54>] (device_remove_attrs) from [<804f67a4>] (device_del+0x114/0x22c)
Aug 31 04:11:49 raspberrypi kernel: [59732.982679] [<804f67a4>] (device_del) from [<805980d8>] (__input_unregister_device+0x144/0x160)
Aug 31 04:11:49 raspberrypi kernel: [59732.982687] [<805980d8>] (__input_unregister_device) from [<8059897c>] (input_unregister_device+0x58/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.982709] [<8059897c>] (input_unregister_device) from [<7f4f46a0>] (uvc_status_cleanup+0x40/0x44 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.982744] [<7f4f46a0>] (uvc_status_cleanup [uvcvideo]) from [<7f4ea31c>] (uvc_delete+0x1c/0x14c [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.982785] [<7f4ea31c>] (uvc_delete [uvcvideo]) from [<7f4ea584>] (uvc_release+0x4c/0x50 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.982856] [<7f4ea584>] (uvc_release [uvcvideo]) from [<7f39880c>] (v4l2_device_release+0xd8/0xfc [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.982912] [<7f39880c>] (v4l2_device_release [videodev]) from [<804f5e2c>] (device_release+0x3c/0xa0)
Aug 31 04:11:49 raspberrypi kernel: [59732.982920] [<804f5e2c>] (device_release) from [<804574fc>] (kobject_release+0x50/0x84)
Aug 31 04:11:49 raspberrypi kernel: [59732.982929] [<804574fc>] (kobject_release) from [<80457584>] (kobject_put+0x54/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.982936] [<80457584>] (kobject_put) from [<804f61d8>] (put_device+0x24/0x28)
Aug 31 04:11:49 raspberrypi kernel: [59732.982992] [<804f61d8>] (put_device) from [<7f398518>] (v4l2_release+0x60/0x84 [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.983049] [<7f398518>] (v4l2_release [videodev]) from [<80271d4c>] (__fput+0x9c/0x1e8)
Aug 31 04:11:49 raspberrypi kernel: [59732.983057] [<80271d4c>] (__fput) from [<80271f08>] (____fput+0x18/0x1c)
Aug 31 04:11:49 raspberrypi kernel: [59732.983064] [<80271f08>] (____fput) from [<8013aad0>] (task_work_run+0xcc/0xfc)
Aug 31 04:11:49 raspberrypi kernel: [59732.983071] [<8013aad0>] (task_work_run) from [<8010b838>] (do_work_pending+0xcc/0xd0)
Aug 31 04:11:49 raspberrypi kernel: [59732.983079] [<8010b838>] (do_work_pending) from [<801080e8>] (slow_work_pending+0xc/0x20)
Aug 31 04:11:49 raspberrypi kernel: [59732.983096] ---[ end trace 173a62e45cb7a65d ]---
Aug 31 04:11:49 raspberrypi kernel: [59732.985111] ------------[ cut here ]------------
Aug 31 04:11:49 raspberrypi kernel: [59732.985138] WARNING: CPU: 2 PID: 5471 at fs/sysfs/group.c:237 sysfs_remove_group+0xa0/0xa4
Aug 31 04:11:49 raspberrypi kernel: [59732.985143] sysfs group 'power' not found for kobject 'media0'
Aug 31 04:11:49 raspberrypi kernel: [59732.985145] Modules linked in: uvcvideo bnep hci_uart btbcm bluetooth videobuf2_vmalloc videobuf2_memops snd_usb_audio videobuf2_v4l2 videobuf2_core snd_hwdep snd_usbmidi_lib snd_rawmidi videodev snd_seq_device media brcmfmac brcmutil cfg80211 rfkill snd_bcm2835 snd_pcm snd_timer snd i2c_bcm2835 bcm2835_gpiomem w1_therm joydev evdev w1_gpio wire cn uio_pdrv_genirq fixed uio i2c_dev fuse ipv6 [last unloaded: uvcvideo]
Aug 31 04:11:49 raspberrypi kernel: [59732.985234] CPU: 2 PID: 5471 Comm: python3 Tainted: G        W       4.9.28-v7+ #998
Aug 31 04:11:49 raspberrypi kernel: [59732.985236] Hardware name: BCM2835
Aug 31 04:11:49 raspberrypi kernel: [59732.985256] [<8010fb3c>] (unwind_backtrace) from [<8010c058>] (show_stack+0x20/0x24)
Aug 31 04:11:49 raspberrypi kernel: [59732.985267] [<8010c058>] (show_stack) from [<804552c0>] (dump_stack+0xd4/0x118)
Aug 31 04:11:49 raspberrypi kernel: [59732.985278] [<804552c0>] (dump_stack) from [<8011d2c4>] (__warn+0xf8/0x110)
Aug 31 04:11:49 raspberrypi kernel: [59732.985285] [<8011d2c4>] (__warn) from [<8011d324>] (warn_slowpath_fmt+0x48/0x50)
Aug 31 04:11:49 raspberrypi kernel: [59732.985292] [<8011d324>] (warn_slowpath_fmt) from [<802ed7cc>] (sysfs_remove_group+0xa0/0xa4)
Aug 31 04:11:49 raspberrypi kernel: [59732.985304] [<802ed7cc>] (sysfs_remove_group) from [<80501d7c>] (dpm_sysfs_remove+0x5c/0x60)
Aug 31 04:11:49 raspberrypi kernel: [59732.985315] [<80501d7c>] (dpm_sysfs_remove) from [<804f66d8>] (device_del+0x48/0x22c)
Aug 31 04:11:49 raspberrypi kernel: [59732.985342] [<804f66d8>] (device_del) from [<7f386868>] (media_devnode_unregister+0x44/0x58 [media])
Aug 31 04:11:49 raspberrypi kernel: [59732.985387] [<7f386868>] (media_devnode_unregister [media]) from [<7f3861b0>] (media_device_unregister+0x128/0x140 [media])
Aug 31 04:11:49 raspberrypi kernel: [59732.985425] [<7f3861b0>] (media_device_unregister [media]) from [<7f4ea36c>] (uvc_delete+0x6c/0x14c [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.985460] [<7f4ea36c>] (uvc_delete [uvcvideo]) from [<7f4ea584>] (uvc_release+0x4c/0x50 [uvcvideo])
Aug 31 04:11:49 raspberrypi kernel: [59732.985555] [<7f4ea584>] (uvc_release [uvcvideo]) from [<7f39880c>] (v4l2_device_release+0xd8/0xfc [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.985618] [<7f39880c>] (v4l2_device_release [videodev]) from [<804f5e2c>] (device_release+0x3c/0xa0)
Aug 31 04:11:49 raspberrypi kernel: [59732.985629] [<804f5e2c>] (device_release) from [<804574fc>] (kobject_release+0x50/0x84)
Aug 31 04:11:49 raspberrypi kernel: [59732.985639] [<804574fc>] (kobject_release) from [<80457584>] (kobject_put+0x54/0x80)
Aug 31 04:11:49 raspberrypi kernel: [59732.985648] [<80457584>] (kobject_put) from [<804f61d8>] (put_device+0x24/0x28)
Aug 31 04:11:49 raspberrypi kernel: [59732.985704] [<804f61d8>] (put_device) from [<7f398518>] (v4l2_release+0x60/0x84 [videodev])
Aug 31 04:11:49 raspberrypi kernel: [59732.985765] [<7f398518>] (v4l2_release [videodev]) from [<80271d4c>] (__fput+0x9c/0x1e8)
Aug 31 04:11:49 raspberrypi kernel: [59732.985775] [<80271d4c>] (__fput) from [<80271f08>] (____fput+0x18/0x1c)
Aug 31 04:11:49 raspberrypi kernel: [59732.985784] [<80271f08>] (____fput) from [<8013aad0>] (task_work_run+0xcc/0xfc)
Aug 31 04:11:49 raspberrypi kernel: [59732.985797] [<8013aad0>] (task_work_run) from [<8010b838>] (do_work_pending+0xcc/0xd0)
Aug 31 04:11:49 raspberrypi kernel: [59732.985806] [<8010b838>] (do_work_pending) from [<801080e8>] (slow_work_pending+0xc/0x20)
Aug 31 04:11:49 raspberrypi kernel: [59732.985812] ---[ end trace 173a62e45cb7a65e ]---
Aug 31 04:11:49 raspberrypi kernel: [59733.270993] usb 1-1.1: new high-speed USB device number 8 using dwc_otg
Aug 31 04:11:49 raspberrypi kernel: [59733.401294] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Aug 31 04:11:49 raspberrypi kernel: [59733.401308] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Aug 31 04:11:49 raspberrypi kernel: [59733.404259] smsc95xx v1.0.5
Aug 31 04:11:49 raspberrypi systemd-udevd[6567]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1 1 8': No such file or directory
Aug 31 04:11:49 raspberrypi kernel: [59733.504997] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:2c:ed:25
Aug 31 04:11:49 raspberrypi kernel: [59733.600978] usb 1-1.2: new low-speed USB device number 9 using dwc_otg
Aug 31 04:11:49 raspberrypi kernel: [59733.735186] usb 1-1.2: New USB device found, idVendor=0461, idProduct=4d15
Aug 31 04:11:49 raspberrypi kernel: [59733.735202] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
Aug 31 04:11:49 raspberrypi kernel: [59733.735210] usb 1-1.2: Product: USB Optical Mouse
Aug 31 04:11:49 raspberrypi kernel: [59733.740000] input: USB Optical Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0461:4D15.0004/input/input5
Aug 31 04:11:49 raspberrypi kernel: [59733.740686] hid-generic 0003:0461:4D15.0004: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-3f980000.usb-1.2/input0
Aug 31 04:11:49 raspberrypi systemd-udevd[6575]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2 1 9': No such file or directory
Aug 31 04:11:49 raspberrypi kernel: [59733.841030] usb 1-1.3: new low-speed USB device number 10 using dwc_otg
Aug 31 04:11:50 raspberrypi kernel: [59733.993195] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c31c
Aug 31 04:11:50 raspberrypi kernel: [59733.993209] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 31 04:11:50 raspberrypi kernel: [59733.993217] usb 1-1.3: Product: USB Keyboard
Aug 31 04:11:50 raspberrypi kernel: [59733.993226] usb 1-1.3: Manufacturer: Logitech
Aug 31 04:11:50 raspberrypi kernel: [59734.010704] input: Logitech USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C31C.0005/input/input6
Aug 31 04:11:50 raspberrypi kernel: [59734.072494] hid-generic 0003:046D:C31C.0005: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-3f980000.usb-1.3/input0
Aug 31 04:11:50 raspberrypi kernel: [59734.102146] input: Logitech USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C31C.0006/input/input7
Aug 31 04:11:50 raspberrypi kernel: [59734.171540] hid-generic 0003:046D:C31C.0006: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-3f980000.usb-1.3/input1
Aug 31 04:11:50 raspberrypi systemd-udevd[6580]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3 1 10': No such file or directory
Aug 31 04:11:50 raspberrypi kernel: [59734.470981] usb 1-1.5: new high-speed USB device number 11 using dwc_otg
Aug 31 04:11:50 raspberrypi dhcpcd[478]: eth0: adding address fe80::be66:2d15:4162:519d
Aug 31 04:11:50 raspberrypi kernel: [59734.651469] usb 1-1.5: New USB device found, idVendor=1908, idProduct=2310
Aug 31 04:11:50 raspberrypi kernel: [59734.651476] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 31 04:11:50 raspberrypi kernel: [59734.651481] usb 1-1.5: Product: USB2.0 PC CAMERA
Aug 31 04:11:50 raspberrypi kernel: [59734.651485] usb 1-1.5: Manufacturer: Generic
Aug 31 04:11:50 raspberrypi kernel: [59734.652232] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2310)
Aug 31 04:11:50 raspberrypi kernel: [59734.652238] uvcvideo: Forcing device quirks to 0x80 by module parameter for testing purpose.
Aug 31 04:11:50 raspberrypi kernel: [59734.652240] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
Aug 31 04:11:50 raspberrypi kernel: [59734.652752] uvcvideo 1-1.5:1.0: Entity type for entity Processing 2 was not initialized!
Aug 31 04:11:50 raspberrypi kernel: [59734.652760] uvcvideo 1-1.5:1.0: Entity type for entity Camera 1 was not initialized!
Aug 31 04:11:50 raspberrypi kernel: [59734.653065] input: USB2.0 PC CAMERA as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/input/input8
Aug 31 04:11:50 raspberrypi systemd-udevd[6633]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5 1 11': No such file or directory
Aug 31 04:11:50 raspberrypi kernel: [59734.667593] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Aug 31 04:11:50 raspberrypi kernel: [59734.667906] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Aug 31 04:11:50 raspberrypi dhcpcd[478]: eth0: waiting for carrier

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 5:01 pm

What RPi? What OS? What kernel version?

Is your power supply beefy enough to drive your RPi and your webcam?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

JChen27
Posts: 7
Joined: Thu Jul 20, 2017 9:55 pm

Re: Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 5:33 pm

I believe that my supply is handling it i do have quite abit connected on pi via 3v3 and 5v bars but the amp draw is minimal. It seems to disconnect and reconnect, I'm running a python opencv program and if I restart the program it connects to the webcam no rpi restart needed. If I cant figure out the issue I might just write into my main program to restart the python child process if it does not have an output.

I do have a 2 Variable Frequency Drives running off the same mains and I grounded the RPi ground pin to a ground bar that leads to the grounding of the mains. Maybe that is an issue? I can also try to unplug my keyboard and mouse and run for an extended period to free up some power on the usb ports.

4.9.28-v7+
2.4amp 5v power supply from Canna kit

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 5:41 pm

You shouldn't ground any part of your RPi to your household PNE earth or any ground spike. You could destroy your RPi that way.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

JChen27
Posts: 7
Joined: Thu Jul 20, 2017 9:55 pm

Re: Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 5:47 pm

Where should the rpi be grounded to? Or should I leave the rpi grounds isolated.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 6:01 pm

Don't ground it. Let it float. The ground plane on the RPi is zero volts relative to the 3V3 and 5V0 pins. The power supply doesn't have an earth pin because it doesn't need it.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

JChen27
Posts: 7
Joined: Thu Jul 20, 2017 9:55 pm

Re: Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 6:25 pm

Without grounding it I am getting a lot of noise most likely from the motors and VFD's and my 1 wire bus fails to read, however with a ground the issue is not present.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 7:53 pm

Then you need to find a way to suppress the noise from those devices without grounding the GND plane of your RPi.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

JChen27
Posts: 7
Joined: Thu Jul 20, 2017 9:55 pm

Re: Eth0 and USB with webcam disconnecting.

Thu Aug 31, 2017 9:17 pm

I unplugged the HDMI cable and there is no longer sensor interference issues, I will test for an extended period of time and see if the usb disconnect persists.

Return to “Troubleshooting”