lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 07 Jul 2008 12:34:26 +0200 From: Romano Giannetti <romano@....icai.upcomillas.es> To: linux-kernel@...r.kernel.org, linux-uvc-devel@...lios.de, laurent.pinchart@...net.be Subject: Linux 2.6.26-rc9 circular lock with uvcvideo on resume from hibernation Hi, first of all I'm really happy that uvcvideo has landed on mainline :-). I had this warning resuming from hibernation. Seems that the camera is still working ok. Config, lsusb and lshw attached. [ 1132.942345] ======================================================= [ 1132.942433] [ INFO: possible circular locking dependency detected ] [ 1132.942481] 2.6.26-rc9 #62 [ 1132.942520] ------------------------------------------------------- [ 1132.942569] khubd/2264 is trying to acquire lock: [ 1132.942614] (videodev_lock){--..}, at: [<f89e4595>] video_unregister_device+0x15/0x60 [videodev] [ 1132.942810] [ 1132.942811] but task is already holding lock: [ 1132.942890] (&uvc_driver.open_mutex){--..}, at: [<f8a35c09>] uvc_disconnect+0x29/0x50 [uvcvideo] [ 1132.943083] [ 1132.943084] which lock already depends on the new lock. [ 1132.943086] [ 1132.943201] [ 1132.943202] the existing dependency chain (in reverse order) is: [ 1132.943285] [ 1132.943286] -> #1 (&uvc_driver.open_mutex){--..}: [ 1132.943463] [<c0149cae>] __lock_acquire+0xb9e/0xff0 [ 1132.943777] [<c014a178>] lock_acquire+0x78/0xa0 [ 1132.944087] [<c0301dd9>] mutex_lock_nested+0x89/0x290 [ 1132.944403] [<f8a375fa>] uvc_v4l2_open+0x2a/0xd0 [uvcvideo] [ 1132.944664] [<f89e7ce8>] video_open+0xd8/0x1f0 [videodev] [ 1132.944664] [<c0189f73>] chrdev_open+0xd3/0x1e0 [ 1132.944664] [<c0185a28>] __dentry_open+0xe8/0x270 [ 1132.944664] [<c0185bf7>] nameidata_to_filp+0x47/0x60 [ 1132.944664] [<c01923fe>] do_filp_open+0x16e/0x760 [ 1132.944664] [<c01857e9>] do_sys_open+0x49/0xe0 [ 1132.944664] [<c01858e9>] sys_open+0x29/0x40 [ 1132.944664] [<c0103dbd>] sysenter_past_esp+0x6a/0xb1 [ 1132.944664] [<ffffffff>] 0xffffffff [ 1132.944664] [ 1132.944664] -> #0 (videodev_lock){--..}: [ 1132.944664] [<c0149ad8>] __lock_acquire+0x9c8/0xff0 [ 1132.944664] [<c014a178>] lock_acquire+0x78/0xa0 [ 1132.944664] [<c0301dd9>] mutex_lock_nested+0x89/0x290 [ 1132.944664] [<f89e4595>] video_unregister_device+0x15/0x60 [videodev] [ 1132.944664] [<f8a35b35>] uvc_delete+0x25/0xd0 [uvcvideo] [ 1132.944664] [<c01f0dad>] kref_put+0x2d/0x70 [ 1132.944664] [<f8a35c1a>] uvc_disconnect+0x3a/0x50 [uvcvideo] [ 1132.944664] [<f8873d92>] usb_unbind_interface+0x52/0xa0 [usbcore] [ 1132.944664] [<c0254fb9>] __device_release_driver+0x59/0x90 [ 1132.944664] [<c02550c3>] device_release_driver+0x23/0x40 [ 1132.944664] [<c025444e>] bus_remove_device+0x6e/0x90 [ 1132.944664] [<c0252f11>] device_del+0xe1/0x150 [ 1132.944664] [<f8871039>] usb_disable_device+0x79/0xf0 [usbcore] [ 1132.944664] [<f886c748>] usb_disconnect+0x88/0x120 [usbcore] [ 1132.944664] [<f886db57>] hub_thread+0x4a7/0xd40 [usbcore] [ 1132.944664] [<c013a612>] kthread+0x42/0x70 [ 1132.944664] [<c0104a77>] kernel_thread_helper+0x7/0x10 [ 1132.944664] [<ffffffff>] 0xffffffff [ 1132.944664] [ 1132.944664] other info that might help us debug this: [ 1132.944664] [ 1132.944664] 1 lock held by khubd/2264: [ 1132.944664] #0: (&uvc_driver.open_mutex){--..}, at: [<f8a35c09>] uvc_disconnect+0x29/0x50 [uvcvideo] [ 1132.944664] [ 1132.944664] stack backtrace: [ 1132.944664] Pid: 2264, comm: khubd Not tainted 2.6.26-rc9 #62 [ 1132.944664] [<c0147d1f>] print_circular_bug_tail+0x6f/0x80 [ 1132.944664] [<c0149ad8>] __lock_acquire+0x9c8/0xff0 [ 1132.944664] [<c014a178>] lock_acquire+0x78/0xa0 [ 1132.944664] [<f89e4595>] ? video_unregister_device+0x15/0x60 [videodev] [ 1132.944664] [<c0301dd9>] mutex_lock_nested+0x89/0x290 [ 1132.944664] [<f89e4595>] ? video_unregister_device+0x15/0x60 [videodev] [ 1132.944664] [<c0148ab0>] ? mark_held_locks+0x40/0x80 [ 1132.944664] [<f89e4595>] ? video_unregister_device+0x15/0x60 [videodev] [ 1132.944664] [<f8a35b10>] ? uvc_delete+0x0/0xd0 [uvcvideo] [ 1132.944664] [<f89e4595>] video_unregister_device+0x15/0x60 [videodev] [ 1132.944664] [<f8a35b35>] uvc_delete+0x25/0xd0 [uvcvideo] [ 1132.944664] [<f8a35b10>] ? uvc_delete+0x0/0xd0 [uvcvideo] [ 1132.944664] [<c01f0dad>] kref_put+0x2d/0x70 [ 1132.944664] [<f8a35c1a>] uvc_disconnect+0x3a/0x50 [uvcvideo] [ 1132.944664] [<f8873d92>] usb_unbind_interface+0x52/0xa0 [usbcore] [ 1132.944664] [<c0254fb9>] __device_release_driver+0x59/0x90 [ 1132.944664] [<c02550c3>] device_release_driver+0x23/0x40 [ 1132.944664] [<c025444e>] bus_remove_device+0x6e/0x90 [ 1132.944664] [<c0252f11>] device_del+0xe1/0x150 [ 1132.944664] [<f8871039>] usb_disable_device+0x79/0xf0 [usbcore] [ 1132.944664] [<f886c748>] usb_disconnect+0x88/0x120 [usbcore] [ 1132.944664] [<f886db57>] hub_thread+0x4a7/0xd40 [usbcore] [ 1132.944664] [<c011ff06>] ? hrtick_set+0x86/0x100 [ 1132.944664] [<c013a900>] ? autoremove_wake_function+0x0/0x40 [ 1132.944664] [<f886d6b0>] ? hub_thread+0x0/0xd40 [usbcore] [ 1132.944664] [<c013a612>] kthread+0x42/0x70 [ 1132.944664] [<c013a5d0>] ? kthread+0x0/0x70 [ 1132.944664] [<c0104a77>] kernel_thread_helper+0x7/0x10 [ 1132.944664] ======================= -- Romano Giannetti Dep. de Electrónica y Automática http://www.dea.icai.upcomillas.es/romano Univ. Pontificia Comillas (MADRID) -- La presente comunicación tiene carácter confidencial y es para el exclusivo uso del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, le informamos que cualquier forma de distribución, reproducción o uso de esta comunicación y/o de la información contenida en la misma están estrictamente prohibidos por la ley. Si Ud. ha recibido esta comunicación por error, por favor, notifíquelo inmediatamente al remitente contestando a este mensaje y proceda a continuación a destruirlo. Gracias por su colaboración. This communication contains confidential information. It is for the exclusive use of the intended addressee. If you are not the intended addressee, please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited by law. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this message. Thank you for your cooperation. View attachment "config.txt" of type "text/plain" (69320 bytes) View attachment "lsusb.txt" of type "text/plain" (238 bytes) View attachment "lshw.txt" of type "text/plain" (18540 bytes)
Powered by blists - more mailing lists