Bug#852740: WARNING: …/fs/sysf/group.c:237 device_del : sysfs group 'power' not found for kobject 'event18'

2017-01-26 Thread Ben Hutchings
Control: tag -1 moreinfo

On Thu, 2017-01-26 at 15:40 -0500, Daniel Kahn Gillmor wrote:
> Package: src:linux
> Version: 4.9.2-2
> Severity: normal
> 
> Using the same USB webcam as from the crash reported in
> https://bugs.debian.org/852738, i plugged it in again after rebooting
> into 4.9.0-1-amd64 (version 4.9.2-2).  While i didn't get the null
> pointer dereference, i got several unusual messages ("Warning!
> Unlikely big volume range (=3072), cval->res is probably wrong") on
> insertion, and then 5 minutes later i yanked the camera and got a
> series of warnings on removal that all seem to be related to sysfs
> groups:
[...]

It looks like the camera was still in use when it was removed, as the
warning shows that a task called 'AudioThread' is closing a file
handle.  Do you know whether the behaviour is specific to this camera,
or does it also happen with other USB cameras?

(This looks somewhat similar to the problem discussed in
.  The real fix for that appears
to have been .  But that was in
PCI, not USB.)

Ben.

-- 
Ben Hutchings
Design a system any fool can use, and only a fool will want to use it.


signature.asc
Description: This is a digitally signed message part


Processed: Re: Bug#852740: WARNING: …/fs/sysf/group.c:237 device_del : sysfs group 'power' not found for kobject 'event18'

2017-01-26 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 moreinfo
Bug #852740 [src:linux] WARNING: …/fs/sysf/group.c:237 device_del : sysfs group 
'power' not found for kobject 'event18'
Added tag(s) moreinfo.

-- 
852740: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852740
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#852740: WARNING: …/fs/sysf/group.c:237 device_del : sysfs group 'power' not found for kobject 'event18'

2017-01-26 Thread Daniel Kahn Gillmor
Package: src:linux
Version: 4.9.2-2
Severity: normal

Using the same USB webcam as from the crash reported in
https://bugs.debian.org/852738, i plugged it in again after rebooting
into 4.9.0-1-amd64 (version 4.9.2-2).  While i didn't get the null
pointer dereference, i got several unusual messages ("Warning!
Unlikely big volume range (=3072), cval->res is probably wrong") on
insertion, and then 5 minutes later i yanked the camera and got a
series of warnings on removal that all seem to be related to sysfs
groups:

Jan 26 14:53:14 alice kernel: usb 1-1.2: new high-speed USB device number 5 
using ehci-pci
Jan 26 14:53:14 alice kernel: usb 1-1.2: New USB device found, idVendor=046d, 
idProduct=0990
Jan 26 14:53:14 alice kernel: usb 1-1.2: New USB device strings: Mfr=0, 
Product=0, SerialNumber=2
Jan 26 14:53:14 alice kernel: usb 1-1.2: SerialNumber: 1B292B19
Jan 26 14:53:14 alice kernel: uvcvideo: Found UVC 1.00 device  
(046d:0990)
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity 
Extension 4 was not initialized!
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity 
Extension 10 was not initialized!
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity 
Extension 12 was not initialized!
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity 
Extension 8 was not initialized!
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity 
Extension 11 was not initialized!
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity 
Extension 9 was not initialized!
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity 
Processing 2 was not initialized!
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity 
Extension 13 was not initialized!
Jan 26 14:53:15 alice kernel: uvcvideo 1-1.2:1.0: Entity type for entity Camera 
1 was not initialized!
Jan 26 14:53:15 alice kernel: input: UVC Camera (046d:0990) as 
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input93
Jan 26 14:53:15 alice kernel: usb 1-1.2: Warning! Unlikely big volume range 
(=3072), cval->res is probably wrong.
Jan 26 14:53:15 alice kernel: usb 1-1.2: [5] FU [Mic Capture Volume] ch = 1, 
val = 4608/7680/1
Jan 26 14:53:15 alice kernel: usbcore: registered new interface driver 
snd-usb-audio
Jan 26 14:53:36 alice kernel: usb 1-1.2: reset high-speed USB device number 5 
using ehci-pci
Jan 26 14:58:31 alice kernel: usb 1-1.2: USB disconnect, device number 5
Jan 26 14:58:31 alice kernel: usb 1-1.2: cannot submit urb (err = -19)
Jan 26 14:58:31 alice kernel: uvcvideo: Failed to resubmit video URB (-19).
Jan 26 14:58:31 alice kernel: usb 1-1.2: 3:1: cannot set freq 16000 to ep 0x86
Jan 26 14:58:31 alice kernel: [ cut here ]
Jan 26 14:58:31 alice kernel: WARNING: CPU: 0 PID: 1917 at 
/build/linux-fgnWKv/linux-4.9.2/fs/sysfs/group.c:237 device_del+0x54/0x260
Jan 26 14:58:31 alice kernel: sysfs group 'power' not found for kobject 
'event18'
Jan 26 14:58:31 alice kernel: Modules linked in: snd_usb_audio snd_usbmidi_lib 
snd_rawmidi snd_seq_device iptable_filter cpufreq_conservative 
cpufreq_powersave cpufreq_userspace md_mod joydev nls_ascii nls_cp437 vfat fat 
iTCO_wdt iTCO_vendor_support arc4 iwldvm mac80211 intel_rapl snd_hda_codec_hdmi 
x86_pkg_temp_thermal intel_powerclamp iwlwifi snd_hda_codec_conexant 
snd_hda_codec_generic cfg80211 kvm_intel kvm irqbypass intel_cstate 
intel_uncore intel_rapl_perf efi_pstore i2c_i801 psmouse evdev pcspkr efivars 
i2c_smbus sg lpc_ich mfd_core uvcvideo videobuf2_vmalloc videobuf2_memops 
videobuf2_v4l2 videobuf2_core videodev media i915 snd_hda_intel snd_hda_codec 
snd_hda_core snd_hwdep thinkpad_acpi shpchp snd_pcm snd_timer nvram snd 
soundcore thermal rfkill wmi drm_kms_helper e1000e battery drm ac fjes mei_me 
mei ptp
Jan 26 14:58:31 alice kernel:  pps_core i2c_algo_bit video button tpm_tis 
tpm_tis_core tpm ip_tables x_tables ext4 crc16 jbd2 crc32c_generic fscrypto ecb 
mbcache dm_crypt algif_skcipher af_alg sd_mod mmc_block crct10dif_pclmul 
crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 
glue_helper lrw ahci gf128mul ablk_helper cryptd libahci libata serio_raw 
scsi_mod ehci_pci ehci_hcd sdhci_pci usbcore sdhci mmc_core usb_common dm_mod 
coretemp loop efivarfs autofs4
Jan 26 14:58:31 alice kernel: CPU: 0 PID: 1917 Comm: AudioThread Not tainted 
4.9.0-1-amd64 #1 Debian 4.9.2-2
Jan 26 14:58:31 alice kernel: Hardware name: LENOVO 42875TU/42875TU, BIOS 
8DET58WW (1.28 ) 02/14/2012
Jan 26 14:58:31 alice kernel:   ac128b84 
b90c01afbd18 
Jan 26 14:58:31 alice kernel:  abe76dbe 8a35cee82000 
b90c01afbd70 8a35d3141240
Jan 26 14:58:31 alice kernel:  8a35ceb021e0 8a35d41d99c0 
8a35d18fa8f8 abe76e3f
Jan 26 14:58:31 alice kernel: Call Trace:
Jan 26 14:58:31 alice kernel:  [] ? dump_stack+0x5c/0x78
Jan 26 14:58:31 alice kernel:  [] ?