Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753771Ab2KMI2s (ORCPT ); Tue, 13 Nov 2012 03:28:48 -0500 Received: from cantor2.suse.de ([195.135.220.15]:42319 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751347Ab2KMI2q (ORCPT ); Tue, 13 Nov 2012 03:28:46 -0500 Date: Tue, 13 Nov 2012 09:28:45 +0100 Message-ID: From: Takashi Iwai To: Jiri Slaby Cc: Jaroslav Kysela , alsa-devel@alsa-project.org, LKML , USB list , Jiri Slaby Subject: Re: Sound+USB: deadlock problem In-Reply-To: <50A20429.3020109@suse.cz> References: <50A20429.3020109@suse.cz> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6033 Lines: 127 At Tue, 13 Nov 2012 09:26:17 +0100, Jiri Slaby wrote: > > Hello, > > I've just plugged+unplugged+plugged my USB audio card and the audio > subsystem got stuck: Which kernel? If it's older than 3.7-rc5, could you try 3.7-rc5? Takashi > > INFO: task khubd:440 blocked for more than 120 seconds. > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > khubd D ffff8801cbc92400 0 440 2 0x00000000 > ffff8801c4ae3a38 0000000000000046 ffff8801c49be270 ffff8801c4ae3fd8 > ffff8801c4ae3fd8 ffff8801c4ae3fd8 ffff8801c4284830 ffff8801c49be270 > ffff8801c4ae3a28 ffff8801a7198758 ffff8801a719875c ffff8801c49be270 > Call Trace: > [] schedule+0x29/0x70 > [] schedule_preempt_disabled+0xe/0x10 > [] __mutex_lock_slowpath+0xca/0x140 > [] mutex_lock+0x2a/0x50 > [] snd_pcm_dev_disconnect+0x46/0x1f0 > [] snd_device_disconnect+0x62/0xa0 > [] snd_device_disconnect_all+0x44/0x70 > [] snd_card_disconnect+0x153/0x1d0 > [] ? down_write+0x38/0x40 > [] usb_audio_disconnect+0x88/0x1c0 > [] usb_unbind_interface+0x60/0x1a0 > [] __device_release_driver+0x7c/0xe0 > [] device_release_driver+0x2c/0x40 > [] bus_remove_device+0xee/0x160 > [] device_del+0x11a/0x1b0 > [] usb_disable_device+0xb0/0x270 > [] usb_disconnect+0xad/0x160 > [] hub_thread+0x6fe/0x1700 > [] ? dequeue_task_fair+0xee/0x100 > [] ? finish_wait+0x80/0x80 > [] ? usb_remote_wakeup+0x70/0x70 > [] kthread+0xc0/0xd0 > [] ? kthread_create_on_node+0x130/0x130 > [] ret_from_fork+0x7c/0xb0 > [] ? kthread_create_on_node+0x130/0x130 > INFO: task pulseaudio:4642 blocked for more than 120 seconds. > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > pulseaudio D ffff8801cbc12400 0 4642 1 0x00000000 > ffff8801c1c39cf0 0000000000000082 ffff8801c0d7d550 ffff8801c1c39fd8 > ffff8801c1c39fd8 ffff8801c1c39fd8 ffff8801a7203480 ffff8801c0d7d550 > ffff8801aa37b530 ffff8801c0d7d550 ffff8800ab118a48 fffffffeffffffff > Call Trace: > [] schedule+0x29/0x70 > [] rwsem_down_failed_common+0xbd/0x150 > [] rwsem_down_read_failed+0x15/0x17 > [] call_rwsem_down_read_failed+0x14/0x30 > [] ? down_read+0x24/0x2b > [] snd_usb_hw_free+0x42/0x90 > [] snd_pcm_release_substream+0x5b/0xc0 > [] snd_pcm_release+0x48/0xb0 > [] snd_disconnect_release+0x97/0xe0 > [] __fput+0xec/0x230 > [] ____fput+0xe/0x10 > [] task_work_run+0xa7/0xe0 > [] do_notify_resume+0x59/0x80 > [] int_signal+0x12/0x17 > INFO: task khubd:440 blocked for more than 120 seconds. > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > khubd D ffff8801cbc92400 0 440 2 0x00000000 > ffff8801c4ae3a38 0000000000000046 ffff8801c49be270 ffff8801c4ae3fd8 > ffff8801c4ae3fd8 ffff8801c4ae3fd8 ffff8801c4284830 ffff8801c49be270 > ffff8801c4ae3a28 ffff8801a7198758 ffff8801a719875c ffff8801c49be270 > Call Trace: > [] schedule+0x29/0x70 > [] schedule_preempt_disabled+0xe/0x10 > [] __mutex_lock_slowpath+0xca/0x140 > [] mutex_lock+0x2a/0x50 > [] snd_pcm_dev_disconnect+0x46/0x1f0 > [] snd_device_disconnect+0x62/0xa0 > [] snd_device_disconnect_all+0x44/0x70 > [] snd_card_disconnect+0x153/0x1d0 > [] ? down_write+0x38/0x40 > [] usb_audio_disconnect+0x88/0x1c0 > [] usb_unbind_interface+0x60/0x1a0 > [] __device_release_driver+0x7c/0xe0 > [] device_release_driver+0x2c/0x40 > [] bus_remove_device+0xee/0x160 > [] device_del+0x11a/0x1b0 > [] usb_disable_device+0xb0/0x270 > [] usb_disconnect+0xad/0x160 > [] hub_thread+0x6fe/0x1700 > [] ? dequeue_task_fair+0xee/0x100 > [] ? finish_wait+0x80/0x80 > [] ? usb_remote_wakeup+0x70/0x70 > [] kthread+0xc0/0xd0 > [] ? kthread_create_on_node+0x130/0x130 > [] ret_from_fork+0x7c/0xb0 > [] ? kthread_create_on_node+0x130/0x130 > sadc D ffff8801cbc92400 0 7883 7870 0x00000004 > ffff8801b9ab5d98 0000000000000082 ffff8801087b0d20 ffff8801b9ab5fd8 > ffff8801b9ab5fd8 ffff8801b9ab5fd8 ffff8801c487c830 ffff8801087b0d20 > ffff8801c0ca5380 ffff8801b99b08e8 ffff8801b99b08ec ffff8801087b0d20 > Call Trace: > [] schedule+0x29/0x70 > [] schedule_preempt_disabled+0xe/0x10 > [] __mutex_lock_slowpath+0xca/0x140 > [] mutex_lock+0x2a/0x50 > [] show_manufacturer+0x2b/0x60 > [] dev_attr_show+0x20/0x60 > [] ? __get_free_pages+0x17/0x50 > [] sysfs_read_file+0xa5/0x1c0 > [] vfs_read+0xa9/0x180 > [] sys_read+0x52/0xa0 > [] system_call_fastpath+0x16/0x1b > > > thanks, > -- > js > suse labs > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/