Re: em28xx broken 4.9.0-rc6+

2016-12-07 Thread Mauro Carvalho Chehab
Em Wed, 7 Dec 2016 17:04:07 +0200
Antti Palosaari  escreveu:

> On 12/07/2016 04:55 PM, Mauro Carvalho Chehab wrote:
> > Em Wed, 7 Dec 2016 12:22:01 -0200
> > Mauro Carvalho Chehab  escreveu:
> >  
> >> Em Tue, 6 Dec 2016 13:41:38 -0200
> >> Mauro Carvalho Chehab  escreveu:
> >>  
> >>> Em Tue, 6 Dec 2016 01:06:17 +0200
> >>> Antti Palosaari  escreveu:
> >>>  
>  Hello Mauro
>  I just noticed current em28xx driver seem to be broken. When I plug
>  device first time it loads correctly, but when I re-plug it, it does not
>  work anymore but yells a lot of noise to message log. Tested with PCTV
>  290e and 292e both same. Other USB DVB devices are working so it is very
>  likely em28xx driver bug.
> 
>  Easy to reproduce:
>  plug device
>  unplug device
>  plug device  
> >>>
> >>>
> >>> Are you referring to those:
> >>>
> >>> [ 1010.310320] WARNING: CPU: 3 PID: 119 at fs/sysfs/dir.c:31 
> >>> sysfs_warn_dup+0x7b/0x90
> >>> [ 1010.310323] sysfs: cannot create duplicate filename 
> >>> '/bus/usb/devices/1-3.3'
> >>> [ 1010.310325] Modules linked in: lgdt330x em28xx_dvb dvb_core 
> >>> em28xx_alsa tuner_xc2028 tuner tvp5150 em28xx_v4l videobuf2_vmalloc 
> >>> videobuf2_memops videobuf2_v4l2 videobuf2_core em28xx tveeprom 
> >>> v4l2_common videodev media xt_CHECKSUM iptable_mangle ipt_MASQUERADE 
> >>> nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 
> >>> nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 
> >>> xt_tcpudp tun bridge stp llc ebtable_filter ebtables ip6table_filter 
> >>> ip6_tables iptable_filter ip_tables x_tables cmac bnep cpufreq_powersave 
> >>> cpufreq_conservative cpufreq_userspace binfmt_misc parport_pc ppdev lp 
> >>> parport snd_hda_codec_hdmi iTCO_wdt snd_hda_codec_realtek 
> >>> iTCO_vendor_support snd_hda_codec_generic arc4 intel_rapl 
> >>> x86_pkg_temp_thermal iwlmvm intel_powerclamp coretemp kvm_intel mac80211 
> >>> kvm i915
> >>> [ 1010.310383]  irqbypass crct10dif_pclmul crc32_pclmul 
> >>> ghash_clmulni_intel iwlwifi pl2303 aesni_intel btusb aes_x86_64 usbserial 
> >>> lrw btrtl gf128mul glue_helper btbcm ablk_helper cryptd btintel bluetooth 
> >>> drm_kms_helper cfg80211 drm psmouse pcspkr i2c_i801 e1000e serio_raw 
> >>> snd_hda_intel snd_soc_rt5640 snd_hda_codec snd_soc_rl6231 snd_soc_ssm4567 
> >>> mei_me i2c_smbus rfkill snd_hda_core ptp mei snd_soc_core ehci_pci sg 
> >>> lpc_ich shpchp mfd_core ehci_hcd pps_core snd_hwdep i2c_algo_bit 
> >>> snd_compress snd_pcm sdhci_acpi snd_timer battery snd sdhci elan_i2c 
> >>> snd_soc_sst_acpi mmc_core fjes dw_dmac i2c_hid soundcore 
> >>> snd_soc_sst_match i2c_designware_platform video i2c_designware_core 
> >>> acpi_pad acpi_als kfifo_buf tpm_tis button industrialio tpm_tis_core tpm 
> >>> ext4 crc16 jbd2 fscrypto mbcache dm_mod joydev evdev hid_logitech_hidpp
> >>> [ 1010.310449]  sd_mod hid_logitech_dj usbhid hid ahci libahci 
> >>> crc32c_intel libata xhci_pci xhci_hcd scsi_mod usbcore fan thermal
> >>> [ 1010.310464] CPU: 3 PID: 119 Comm: kworker/3:2 Not tainted 4.9.0-rc8+ 
> >>> #14
> >>> [ 1010.310466] Hardware name:  /NUC5i7RYB, BIOS 
> >>> RYBDWi35.86A.0350.2015.0812.1722 08/12/2015
> >>> [ 1010.310487] Workqueue: usb_hub_wq hub_event [usbcore]
> >>> [ 1010.310490]   848f56c5 8803b1f7f858 
> >>> 
> >>> [ 1010.310496]  8414f8f8 8803001f ed00763eff07 
> >>> 8803b1f7f8f0
> >>> [ 1010.310501]  8803b3ea1e60 0001 ffef 
> >>> 8803b45c6840
> >>> [ 1010.310505] Call Trace:
> >>> [ 1010.310517]  [] ? dump_stack+0x5c/0x77
> >>> [ 1010.310522]  [] ? __warn+0x168/0x1a0
> >>> [ 1010.310526]  [] ? warn_slowpath_fmt+0xb4/0xf0
> >>> [ 1010.310529]  [] ? __warn+0x1a0/0x1a0
> >>> [ 1010.310534]  [] ? kasan_kmalloc+0xa6/0xd0
> >>> [ 1010.310539]  [] ? kernfs_path_from_node+0x4a/0x60
> >>> [ 1010.310543]  [] ? sysfs_warn_dup+0x7b/0x90
> >>> [ 1010.310547]  [] ? 
> >>> sysfs_do_create_link_sd.isra.2+0xb6/0xd0
> >>> [ 1010.310553]  [] ? bus_add_device+0x318/0x6b0
> >>> [ 1010.310557]  [] ? sysfs_create_groups+0x83/0x110
> >>> [ 1010.310562]  [] ? device_add+0x777/0x1350
> >>> [ 1010.310567]  [] ? device_private_init+0x180/0x180
> >>> [ 1010.310583]  [] ? usb_new_device+0x707/0x1030 
> >>> [usbcore]
> >>> [ 1010.310598]  [] ? hub_event+0x1d65/0x3280 [usbcore]
> >>> [ 1010.310604]  [] ? account_entity_dequeue+0x30b/0x4a0
> >>> [ 1010.310618]  [] ? hub_port_debounce+0x280/0x280 
> >>> [usbcore]
> >>> [ 1010.310624]  [] ? compat_start_thread+0x80/0x80
> >>> [ 1010.310629]  [] ? __schedule+0x704/0x1770
> >>> [ 1010.310633]  [] ? io_schedule_timeout+0x390/0x390
> >>> [ 1010.310638]  [] ? cache_reap+0x173/0x200
> >>> [ 1010.310642]  [] ? process_one_work+0x4ed/0xe60
> >>> [ 1010.310646]  [] ? worker_thread+0xe2/0xfd0
> >>> [ 1010.310650]  [] ? __wake_up_common+0xbc/0x160
> 

Re: em28xx broken 4.9.0-rc6+

2016-12-07 Thread Antti Palosaari



On 12/07/2016 04:55 PM, Mauro Carvalho Chehab wrote:

Em Wed, 7 Dec 2016 12:22:01 -0200
Mauro Carvalho Chehab  escreveu:


Em Tue, 6 Dec 2016 13:41:38 -0200
Mauro Carvalho Chehab  escreveu:


Em Tue, 6 Dec 2016 01:06:17 +0200
Antti Palosaari  escreveu:


Hello Mauro
I just noticed current em28xx driver seem to be broken. When I plug
device first time it loads correctly, but when I re-plug it, it does not
work anymore but yells a lot of noise to message log. Tested with PCTV
290e and 292e both same. Other USB DVB devices are working so it is very
likely em28xx driver bug.

Easy to reproduce:
plug device
unplug device
plug device



Are you referring to those:

[ 1010.310320] WARNING: CPU: 3 PID: 119 at fs/sysfs/dir.c:31 
sysfs_warn_dup+0x7b/0x90
[ 1010.310323] sysfs: cannot create duplicate filename '/bus/usb/devices/1-3.3'
[ 1010.310325] Modules linked in: lgdt330x em28xx_dvb dvb_core em28xx_alsa 
tuner_xc2028 tuner tvp5150 em28xx_v4l videobuf2_vmalloc videobuf2_memops 
videobuf2_v4l2 videobuf2_core em28xx tveeprom v4l2_common videodev media 
xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack 
ipt_REJECT nf_reject_ipv4 xt_tcpudp tun bridge stp llc ebtable_filter ebtables 
ip6table_filter ip6_tables iptable_filter ip_tables x_tables cmac bnep 
cpufreq_powersave cpufreq_conservative cpufreq_userspace binfmt_misc parport_pc 
ppdev lp parport snd_hda_codec_hdmi iTCO_wdt snd_hda_codec_realtek 
iTCO_vendor_support snd_hda_codec_generic arc4 intel_rapl x86_pkg_temp_thermal 
iwlmvm intel_powerclamp coretemp kvm_intel mac80211 kvm i915
[ 1010.310383]  irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
iwlwifi pl2303 aesni_intel btusb aes_x86_64 usbserial lrw btrtl gf128mul 
glue_helper btbcm ablk_helper cryptd btintel bluetooth drm_kms_helper cfg80211 
drm psmouse pcspkr i2c_i801 e1000e serio_raw snd_hda_intel snd_soc_rt5640 
snd_hda_codec snd_soc_rl6231 snd_soc_ssm4567 mei_me i2c_smbus rfkill 
snd_hda_core ptp mei snd_soc_core ehci_pci sg lpc_ich shpchp mfd_core ehci_hcd 
pps_core snd_hwdep i2c_algo_bit snd_compress snd_pcm sdhci_acpi snd_timer 
battery snd sdhci elan_i2c snd_soc_sst_acpi mmc_core fjes dw_dmac i2c_hid 
soundcore snd_soc_sst_match i2c_designware_platform video i2c_designware_core 
acpi_pad acpi_als kfifo_buf tpm_tis button industrialio tpm_tis_core tpm ext4 
crc16 jbd2 fscrypto mbcache dm_mod joydev evdev hid_logitech_hidpp
[ 1010.310449]  sd_mod hid_logitech_dj usbhid hid ahci libahci crc32c_intel 
libata xhci_pci xhci_hcd scsi_mod usbcore fan thermal
[ 1010.310464] CPU: 3 PID: 119 Comm: kworker/3:2 Not tainted 4.9.0-rc8+ #14
[ 1010.310466] Hardware name:  /NUC5i7RYB, BIOS 
RYBDWi35.86A.0350.2015.0812.1722 08/12/2015
[ 1010.310487] Workqueue: usb_hub_wq hub_event [usbcore]
[ 1010.310490]   848f56c5 8803b1f7f858 

[ 1010.310496]  8414f8f8 8803001f ed00763eff07 
8803b1f7f8f0
[ 1010.310501]  8803b3ea1e60 0001 ffef 
8803b45c6840
[ 1010.310505] Call Trace:
[ 1010.310517]  [] ? dump_stack+0x5c/0x77
[ 1010.310522]  [] ? __warn+0x168/0x1a0
[ 1010.310526]  [] ? warn_slowpath_fmt+0xb4/0xf0
[ 1010.310529]  [] ? __warn+0x1a0/0x1a0
[ 1010.310534]  [] ? kasan_kmalloc+0xa6/0xd0
[ 1010.310539]  [] ? kernfs_path_from_node+0x4a/0x60
[ 1010.310543]  [] ? sysfs_warn_dup+0x7b/0x90
[ 1010.310547]  [] ? sysfs_do_create_link_sd.isra.2+0xb6/0xd0
[ 1010.310553]  [] ? bus_add_device+0x318/0x6b0
[ 1010.310557]  [] ? sysfs_create_groups+0x83/0x110
[ 1010.310562]  [] ? device_add+0x777/0x1350
[ 1010.310567]  [] ? device_private_init+0x180/0x180
[ 1010.310583]  [] ? usb_new_device+0x707/0x1030 [usbcore]
[ 1010.310598]  [] ? hub_event+0x1d65/0x3280 [usbcore]
[ 1010.310604]  [] ? account_entity_dequeue+0x30b/0x4a0
[ 1010.310618]  [] ? hub_port_debounce+0x280/0x280 [usbcore]
[ 1010.310624]  [] ? compat_start_thread+0x80/0x80
[ 1010.310629]  [] ? __schedule+0x704/0x1770
[ 1010.310633]  [] ? io_schedule_timeout+0x390/0x390
[ 1010.310638]  [] ? cache_reap+0x173/0x200
[ 1010.310642]  [] ? process_one_work+0x4ed/0xe60
[ 1010.310646]  [] ? worker_thread+0xe2/0xfd0
[ 1010.310650]  [] ? __wake_up_common+0xbc/0x160
[ 1010.310654]  [] ? process_one_work+0xe60/0xe60
[ 1010.310658]  [] ? kthread+0x1cc/0x220
[ 1010.310663]  [] ? kthread_park+0x80/0x80
[ 1010.310667]  [] ? kthread_park+0x80/0x80
[ 1010.310671]  [] ? kthread_park+0x80/0x80
[ 1010.310675]  [] ? ret_from_fork+0x25/0x30
[ 1010.310698] ---[ end trace 49b46eb633ff1197 ]---
[ 1010.311298] usb 1-3.3: can't device_add, error -17
[ 1010.390703] usb 1-3.3: new high-speed USB device number 9 using xhci_hcd
[ 1010.496337] usb 1-3.3: New USB device found, idVendor=2040, idProduct=6513
[ 1010.496343] usb 1-3.3: New USB device strings: Mfr=0, Product=1, 
SerialNumber=2
[ 1010.496345] usb 1-3.3: 

Re: em28xx broken 4.9.0-rc6+

2016-12-07 Thread Mauro Carvalho Chehab
Em Wed, 7 Dec 2016 12:22:01 -0200
Mauro Carvalho Chehab  escreveu:

> Em Tue, 6 Dec 2016 13:41:38 -0200
> Mauro Carvalho Chehab  escreveu:
> 
> > Em Tue, 6 Dec 2016 01:06:17 +0200
> > Antti Palosaari  escreveu:
> >   
> > > Hello Mauro
> > > I just noticed current em28xx driver seem to be broken. When I plug 
> > > device first time it loads correctly, but when I re-plug it, it does not 
> > > work anymore but yells a lot of noise to message log. Tested with PCTV 
> > > 290e and 292e both same. Other USB DVB devices are working so it is very 
> > > likely em28xx driver bug.
> > > 
> > > Easy to reproduce:
> > > plug device
> > > unplug device
> > > plug device  
> > 
> > 
> > Are you referring to those:
> > 
> > [ 1010.310320] WARNING: CPU: 3 PID: 119 at fs/sysfs/dir.c:31 
> > sysfs_warn_dup+0x7b/0x90
> > [ 1010.310323] sysfs: cannot create duplicate filename 
> > '/bus/usb/devices/1-3.3'
> > [ 1010.310325] Modules linked in: lgdt330x em28xx_dvb dvb_core em28xx_alsa 
> > tuner_xc2028 tuner tvp5150 em28xx_v4l videobuf2_vmalloc videobuf2_memops 
> > videobuf2_v4l2 videobuf2_core em28xx tveeprom v4l2_common videodev media 
> > xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 
> > iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 
> > xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp tun bridge 
> > stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter 
> > ip_tables x_tables cmac bnep cpufreq_powersave cpufreq_conservative 
> > cpufreq_userspace binfmt_misc parport_pc ppdev lp parport 
> > snd_hda_codec_hdmi iTCO_wdt snd_hda_codec_realtek iTCO_vendor_support 
> > snd_hda_codec_generic arc4 intel_rapl x86_pkg_temp_thermal iwlmvm 
> > intel_powerclamp coretemp kvm_intel mac80211 kvm i915
> > [ 1010.310383]  irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
> > iwlwifi pl2303 aesni_intel btusb aes_x86_64 usbserial lrw btrtl gf128mul 
> > glue_helper btbcm ablk_helper cryptd btintel bluetooth drm_kms_helper 
> > cfg80211 drm psmouse pcspkr i2c_i801 e1000e serio_raw snd_hda_intel 
> > snd_soc_rt5640 snd_hda_codec snd_soc_rl6231 snd_soc_ssm4567 mei_me 
> > i2c_smbus rfkill snd_hda_core ptp mei snd_soc_core ehci_pci sg lpc_ich 
> > shpchp mfd_core ehci_hcd pps_core snd_hwdep i2c_algo_bit snd_compress 
> > snd_pcm sdhci_acpi snd_timer battery snd sdhci elan_i2c snd_soc_sst_acpi 
> > mmc_core fjes dw_dmac i2c_hid soundcore snd_soc_sst_match 
> > i2c_designware_platform video i2c_designware_core acpi_pad acpi_als 
> > kfifo_buf tpm_tis button industrialio tpm_tis_core tpm ext4 crc16 jbd2 
> > fscrypto mbcache dm_mod joydev evdev hid_logitech_hidpp
> > [ 1010.310449]  sd_mod hid_logitech_dj usbhid hid ahci libahci crc32c_intel 
> > libata xhci_pci xhci_hcd scsi_mod usbcore fan thermal
> > [ 1010.310464] CPU: 3 PID: 119 Comm: kworker/3:2 Not tainted 4.9.0-rc8+ #14
> > [ 1010.310466] Hardware name:  /NUC5i7RYB, BIOS 
> > RYBDWi35.86A.0350.2015.0812.1722 08/12/2015
> > [ 1010.310487] Workqueue: usb_hub_wq hub_event [usbcore]
> > [ 1010.310490]   848f56c5 8803b1f7f858 
> > 
> > [ 1010.310496]  8414f8f8 8803001f ed00763eff07 
> > 8803b1f7f8f0
> > [ 1010.310501]  8803b3ea1e60 0001 ffef 
> > 8803b45c6840
> > [ 1010.310505] Call Trace:
> > [ 1010.310517]  [] ? dump_stack+0x5c/0x77
> > [ 1010.310522]  [] ? __warn+0x168/0x1a0
> > [ 1010.310526]  [] ? warn_slowpath_fmt+0xb4/0xf0
> > [ 1010.310529]  [] ? __warn+0x1a0/0x1a0
> > [ 1010.310534]  [] ? kasan_kmalloc+0xa6/0xd0
> > [ 1010.310539]  [] ? kernfs_path_from_node+0x4a/0x60
> > [ 1010.310543]  [] ? sysfs_warn_dup+0x7b/0x90
> > [ 1010.310547]  [] ? 
> > sysfs_do_create_link_sd.isra.2+0xb6/0xd0
> > [ 1010.310553]  [] ? bus_add_device+0x318/0x6b0
> > [ 1010.310557]  [] ? sysfs_create_groups+0x83/0x110
> > [ 1010.310562]  [] ? device_add+0x777/0x1350
> > [ 1010.310567]  [] ? device_private_init+0x180/0x180
> > [ 1010.310583]  [] ? usb_new_device+0x707/0x1030 [usbcore]
> > [ 1010.310598]  [] ? hub_event+0x1d65/0x3280 [usbcore]
> > [ 1010.310604]  [] ? account_entity_dequeue+0x30b/0x4a0
> > [ 1010.310618]  [] ? hub_port_debounce+0x280/0x280 
> > [usbcore]
> > [ 1010.310624]  [] ? compat_start_thread+0x80/0x80
> > [ 1010.310629]  [] ? __schedule+0x704/0x1770
> > [ 1010.310633]  [] ? io_schedule_timeout+0x390/0x390
> > [ 1010.310638]  [] ? cache_reap+0x173/0x200
> > [ 1010.310642]  [] ? process_one_work+0x4ed/0xe60
> > [ 1010.310646]  [] ? worker_thread+0xe2/0xfd0
> > [ 1010.310650]  [] ? __wake_up_common+0xbc/0x160
> > [ 1010.310654]  [] ? process_one_work+0xe60/0xe60
> > [ 1010.310658]  [] ? kthread+0x1cc/0x220
> > [ 1010.310663]  [] ? kthread_park+0x80/0x80
> > [ 1010.310667]  [] ? kthread_park+0x80/0x80
> > [ 1010.310671]  [] ? kthread_park+0x80/0x80
> > [ 1010.310675]  [] ? ret_from_fork+0x25/0x30
> > [ 1010.310698] ---[ end trace 

Re: em28xx broken 4.9.0-rc6+

2016-12-07 Thread Mauro Carvalho Chehab
Em Tue, 6 Dec 2016 13:41:38 -0200
Mauro Carvalho Chehab  escreveu:

> Em Tue, 6 Dec 2016 01:06:17 +0200
> Antti Palosaari  escreveu:
> 
> > Hello Mauro
> > I just noticed current em28xx driver seem to be broken. When I plug 
> > device first time it loads correctly, but when I re-plug it, it does not 
> > work anymore but yells a lot of noise to message log. Tested with PCTV 
> > 290e and 292e both same. Other USB DVB devices are working so it is very 
> > likely em28xx driver bug.
> > 
> > Easy to reproduce:
> > plug device
> > unplug device
> > plug device
> 
> 
> Are you referring to those:
> 
> [ 1010.310320] WARNING: CPU: 3 PID: 119 at fs/sysfs/dir.c:31 
> sysfs_warn_dup+0x7b/0x90
> [ 1010.310323] sysfs: cannot create duplicate filename 
> '/bus/usb/devices/1-3.3'
> [ 1010.310325] Modules linked in: lgdt330x em28xx_dvb dvb_core em28xx_alsa 
> tuner_xc2028 tuner tvp5150 em28xx_v4l videobuf2_vmalloc videobuf2_memops 
> videobuf2_v4l2 videobuf2_core em28xx tveeprom v4l2_common videodev media 
> xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
> nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack 
> ipt_REJECT nf_reject_ipv4 xt_tcpudp tun bridge stp llc ebtable_filter 
> ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables cmac 
> bnep cpufreq_powersave cpufreq_conservative cpufreq_userspace binfmt_misc 
> parport_pc ppdev lp parport snd_hda_codec_hdmi iTCO_wdt snd_hda_codec_realtek 
> iTCO_vendor_support snd_hda_codec_generic arc4 intel_rapl 
> x86_pkg_temp_thermal iwlmvm intel_powerclamp coretemp kvm_intel mac80211 kvm 
> i915
> [ 1010.310383]  irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
> iwlwifi pl2303 aesni_intel btusb aes_x86_64 usbserial lrw btrtl gf128mul 
> glue_helper btbcm ablk_helper cryptd btintel bluetooth drm_kms_helper 
> cfg80211 drm psmouse pcspkr i2c_i801 e1000e serio_raw snd_hda_intel 
> snd_soc_rt5640 snd_hda_codec snd_soc_rl6231 snd_soc_ssm4567 mei_me i2c_smbus 
> rfkill snd_hda_core ptp mei snd_soc_core ehci_pci sg lpc_ich shpchp mfd_core 
> ehci_hcd pps_core snd_hwdep i2c_algo_bit snd_compress snd_pcm sdhci_acpi 
> snd_timer battery snd sdhci elan_i2c snd_soc_sst_acpi mmc_core fjes dw_dmac 
> i2c_hid soundcore snd_soc_sst_match i2c_designware_platform video 
> i2c_designware_core acpi_pad acpi_als kfifo_buf tpm_tis button industrialio 
> tpm_tis_core tpm ext4 crc16 jbd2 fscrypto mbcache dm_mod joydev evdev 
> hid_logitech_hidpp
> [ 1010.310449]  sd_mod hid_logitech_dj usbhid hid ahci libahci crc32c_intel 
> libata xhci_pci xhci_hcd scsi_mod usbcore fan thermal
> [ 1010.310464] CPU: 3 PID: 119 Comm: kworker/3:2 Not tainted 4.9.0-rc8+ #14
> [ 1010.310466] Hardware name:  /NUC5i7RYB, BIOS 
> RYBDWi35.86A.0350.2015.0812.1722 08/12/2015
> [ 1010.310487] Workqueue: usb_hub_wq hub_event [usbcore]
> [ 1010.310490]   848f56c5 8803b1f7f858 
> 
> [ 1010.310496]  8414f8f8 8803001f ed00763eff07 
> 8803b1f7f8f0
> [ 1010.310501]  8803b3ea1e60 0001 ffef 
> 8803b45c6840
> [ 1010.310505] Call Trace:
> [ 1010.310517]  [] ? dump_stack+0x5c/0x77
> [ 1010.310522]  [] ? __warn+0x168/0x1a0
> [ 1010.310526]  [] ? warn_slowpath_fmt+0xb4/0xf0
> [ 1010.310529]  [] ? __warn+0x1a0/0x1a0
> [ 1010.310534]  [] ? kasan_kmalloc+0xa6/0xd0
> [ 1010.310539]  [] ? kernfs_path_from_node+0x4a/0x60
> [ 1010.310543]  [] ? sysfs_warn_dup+0x7b/0x90
> [ 1010.310547]  [] ? 
> sysfs_do_create_link_sd.isra.2+0xb6/0xd0
> [ 1010.310553]  [] ? bus_add_device+0x318/0x6b0
> [ 1010.310557]  [] ? sysfs_create_groups+0x83/0x110
> [ 1010.310562]  [] ? device_add+0x777/0x1350
> [ 1010.310567]  [] ? device_private_init+0x180/0x180
> [ 1010.310583]  [] ? usb_new_device+0x707/0x1030 [usbcore]
> [ 1010.310598]  [] ? hub_event+0x1d65/0x3280 [usbcore]
> [ 1010.310604]  [] ? account_entity_dequeue+0x30b/0x4a0
> [ 1010.310618]  [] ? hub_port_debounce+0x280/0x280 [usbcore]
> [ 1010.310624]  [] ? compat_start_thread+0x80/0x80
> [ 1010.310629]  [] ? __schedule+0x704/0x1770
> [ 1010.310633]  [] ? io_schedule_timeout+0x390/0x390
> [ 1010.310638]  [] ? cache_reap+0x173/0x200
> [ 1010.310642]  [] ? process_one_work+0x4ed/0xe60
> [ 1010.310646]  [] ? worker_thread+0xe2/0xfd0
> [ 1010.310650]  [] ? __wake_up_common+0xbc/0x160
> [ 1010.310654]  [] ? process_one_work+0xe60/0xe60
> [ 1010.310658]  [] ? kthread+0x1cc/0x220
> [ 1010.310663]  [] ? kthread_park+0x80/0x80
> [ 1010.310667]  [] ? kthread_park+0x80/0x80
> [ 1010.310671]  [] ? kthread_park+0x80/0x80
> [ 1010.310675]  [] ? ret_from_fork+0x25/0x30
> [ 1010.310698] ---[ end trace 49b46eb633ff1197 ]---
> [ 1010.311298] usb 1-3.3: can't device_add, error -17
> [ 1010.390703] usb 1-3.3: new high-speed USB device number 9 using xhci_hcd
> [ 1010.496337] usb 1-3.3: New USB device found, idVendor=2040, idProduct=6513
> [ 1010.496343] usb 1-3.3: New USB device strings: 

Re: em28xx broken 4.9.0-rc6+

2016-12-06 Thread Mauro Carvalho Chehab
Em Tue, 6 Dec 2016 01:06:17 +0200
Antti Palosaari  escreveu:

> Hello Mauro
> I just noticed current em28xx driver seem to be broken. When I plug 
> device first time it loads correctly, but when I re-plug it, it does not 
> work anymore but yells a lot of noise to message log. Tested with PCTV 
> 290e and 292e both same. Other USB DVB devices are working so it is very 
> likely em28xx driver bug.
> 
> Easy to reproduce:
> plug device
> unplug device
> plug device


Are you referring to those:

[ 1010.310320] WARNING: CPU: 3 PID: 119 at fs/sysfs/dir.c:31 
sysfs_warn_dup+0x7b/0x90
[ 1010.310323] sysfs: cannot create duplicate filename '/bus/usb/devices/1-3.3'
[ 1010.310325] Modules linked in: lgdt330x em28xx_dvb dvb_core em28xx_alsa 
tuner_xc2028 tuner tvp5150 em28xx_v4l videobuf2_vmalloc videobuf2_memops 
videobuf2_v4l2 videobuf2_core em28xx tveeprom v4l2_common videodev media 
xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack 
ipt_REJECT nf_reject_ipv4 xt_tcpudp tun bridge stp llc ebtable_filter ebtables 
ip6table_filter ip6_tables iptable_filter ip_tables x_tables cmac bnep 
cpufreq_powersave cpufreq_conservative cpufreq_userspace binfmt_misc parport_pc 
ppdev lp parport snd_hda_codec_hdmi iTCO_wdt snd_hda_codec_realtek 
iTCO_vendor_support snd_hda_codec_generic arc4 intel_rapl x86_pkg_temp_thermal 
iwlmvm intel_powerclamp coretemp kvm_intel mac80211 kvm i915
[ 1010.310383]  irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
iwlwifi pl2303 aesni_intel btusb aes_x86_64 usbserial lrw btrtl gf128mul 
glue_helper btbcm ablk_helper cryptd btintel bluetooth drm_kms_helper cfg80211 
drm psmouse pcspkr i2c_i801 e1000e serio_raw snd_hda_intel snd_soc_rt5640 
snd_hda_codec snd_soc_rl6231 snd_soc_ssm4567 mei_me i2c_smbus rfkill 
snd_hda_core ptp mei snd_soc_core ehci_pci sg lpc_ich shpchp mfd_core ehci_hcd 
pps_core snd_hwdep i2c_algo_bit snd_compress snd_pcm sdhci_acpi snd_timer 
battery snd sdhci elan_i2c snd_soc_sst_acpi mmc_core fjes dw_dmac i2c_hid 
soundcore snd_soc_sst_match i2c_designware_platform video i2c_designware_core 
acpi_pad acpi_als kfifo_buf tpm_tis button industrialio tpm_tis_core tpm ext4 
crc16 jbd2 fscrypto mbcache dm_mod joydev evdev hid_logitech_hidpp
[ 1010.310449]  sd_mod hid_logitech_dj usbhid hid ahci libahci crc32c_intel 
libata xhci_pci xhci_hcd scsi_mod usbcore fan thermal
[ 1010.310464] CPU: 3 PID: 119 Comm: kworker/3:2 Not tainted 4.9.0-rc8+ #14
[ 1010.310466] Hardware name:  /NUC5i7RYB, BIOS 
RYBDWi35.86A.0350.2015.0812.1722 08/12/2015
[ 1010.310487] Workqueue: usb_hub_wq hub_event [usbcore]
[ 1010.310490]   848f56c5 8803b1f7f858 

[ 1010.310496]  8414f8f8 8803001f ed00763eff07 
8803b1f7f8f0
[ 1010.310501]  8803b3ea1e60 0001 ffef 
8803b45c6840
[ 1010.310505] Call Trace:
[ 1010.310517]  [] ? dump_stack+0x5c/0x77
[ 1010.310522]  [] ? __warn+0x168/0x1a0
[ 1010.310526]  [] ? warn_slowpath_fmt+0xb4/0xf0
[ 1010.310529]  [] ? __warn+0x1a0/0x1a0
[ 1010.310534]  [] ? kasan_kmalloc+0xa6/0xd0
[ 1010.310539]  [] ? kernfs_path_from_node+0x4a/0x60
[ 1010.310543]  [] ? sysfs_warn_dup+0x7b/0x90
[ 1010.310547]  [] ? sysfs_do_create_link_sd.isra.2+0xb6/0xd0
[ 1010.310553]  [] ? bus_add_device+0x318/0x6b0
[ 1010.310557]  [] ? sysfs_create_groups+0x83/0x110
[ 1010.310562]  [] ? device_add+0x777/0x1350
[ 1010.310567]  [] ? device_private_init+0x180/0x180
[ 1010.310583]  [] ? usb_new_device+0x707/0x1030 [usbcore]
[ 1010.310598]  [] ? hub_event+0x1d65/0x3280 [usbcore]
[ 1010.310604]  [] ? account_entity_dequeue+0x30b/0x4a0
[ 1010.310618]  [] ? hub_port_debounce+0x280/0x280 [usbcore]
[ 1010.310624]  [] ? compat_start_thread+0x80/0x80
[ 1010.310629]  [] ? __schedule+0x704/0x1770
[ 1010.310633]  [] ? io_schedule_timeout+0x390/0x390
[ 1010.310638]  [] ? cache_reap+0x173/0x200
[ 1010.310642]  [] ? process_one_work+0x4ed/0xe60
[ 1010.310646]  [] ? worker_thread+0xe2/0xfd0
[ 1010.310650]  [] ? __wake_up_common+0xbc/0x160
[ 1010.310654]  [] ? process_one_work+0xe60/0xe60
[ 1010.310658]  [] ? kthread+0x1cc/0x220
[ 1010.310663]  [] ? kthread_park+0x80/0x80
[ 1010.310667]  [] ? kthread_park+0x80/0x80
[ 1010.310671]  [] ? kthread_park+0x80/0x80
[ 1010.310675]  [] ? ret_from_fork+0x25/0x30
[ 1010.310698] ---[ end trace 49b46eb633ff1197 ]---
[ 1010.311298] usb 1-3.3: can't device_add, error -17
[ 1010.390703] usb 1-3.3: new high-speed USB device number 9 using xhci_hcd
[ 1010.496337] usb 1-3.3: New USB device found, idVendor=2040, idProduct=6513
[ 1010.496343] usb 1-3.3: New USB device strings: Mfr=0, Product=1, 
SerialNumber=2
[ 1010.496345] usb 1-3.3: Product: WinTV HVR-980
[ 1010.496347] usb 1-3.3: SerialNumber: 4028449018
[ 1010.497259] [ cut here ]
[ 1010.497264] WARNING: CPU: 3 PID: 119 at fs/sysfs/dir.c:31 
sysfs_warn_dup+0x7b/0x90
[ 

em28xx broken 4.9.0-rc6+

2016-12-05 Thread Antti Palosaari

Hello Mauro
I just noticed current em28xx driver seem to be broken. When I plug 
device first time it loads correctly, but when I re-plug it, it does not 
work anymore but yells a lot of noise to message log. Tested with PCTV 
290e and 292e both same. Other USB DVB devices are working so it is very 
likely em28xx driver bug.


Easy to reproduce:
plug device
unplug device
plug device

regards
Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html