Bug#793170: pulseaudio: Audio system hangs (120s timeout) while waiting for pulseaudio connection

David Eccles (gringer) bioinformatics at gringene.org
Tue Jul 21 23:30:24 UTC 2015


Package: pulseaudio
Version: 6.0-2
Severity: normal

Dear Maintainer,

After a system upgrade ~2 weeks ago, my audio system started to hang, and I can
no longer play any audio files or videos. I'm also unable to reboot or
shutdown, because the system hangs indefinitely waiting for the pulseaudio
process to terminate (although SysRq+B still works).

Things I have tried (without success):

* Restarting/killing pulseaudio server (can't be killed)
* Changing kernels
* Removing alsa
* Changing to system-wide pulseaudio
* Adding 'tsched=0' to udev/hal-detect lines in default.pa/system.pa
* Switching window managers (KDE -> new KDE / plasma, MATE)

I would like to be able to play audio, as it is useful for video conferencing
on this computer.

Here are some kernel lines that may be useful (notice the 120s gap between
successive messages):

[======== /var/log/messages ========]

Jul 21 17:18:28 elegans pulseaudio[3077]: [autospawn] lock-autospawn.c: Cannot
access autospawn lock.
....
Jul 21 17:23:31 elegans kernel: [  312.771428] snd_hda_intel 0000:02:00.1:
azx_get_response timeout, switching to polling mode: last cmd=0x305f3100
Jul 21 17:23:33 elegans pulseaudio[5913]: [pulseaudio] source.c: Default and
alternate sample rates are the same.
....
Jul 21 17:23:43 elegans kernel: [  324.863398] xhci_hcd 0000:0a:00.0: xHCI host
not responding to stop endpoint command.
Jul 21 17:23:43 elegans kernel: [  324.863406] xhci_hcd 0000:0a:00.0: Assuming
host is dying, halting host.
Jul 21 17:23:43 elegans kernel: [  324.863558] usb 3-1: USB disconnect, device
number 2
Jul 21 17:26:18 elegans kernel: [  480.346841] kworker/2:2     D
0000000000000000     0   150      2 0x00000000
Jul 21 17:26:18 elegans kernel: [  480.346885] Workqueue: usb_hub_wq hub_event
[usbcore]
Jul 21 17:26:18 elegans kernel: [  480.346888]  ffff880ff3335430
0000000000000246 ffff880ff8a72250 0000000000000006
Jul 21 17:26:18 elegans kernel: [  480.346893]  ffff880ff2a1ffd8
ffff880ff3066304 ffff880ff3335430 00000000ffffffff
Jul 21 17:26:18 elegans kernel: [  480.346897]  ffff880ff3066308
ffff880ff32ac000 ffffffff8156483f ffff880ff3066300
Jul 21 17:26:18 elegans kernel: [  480.346902] Call Trace:
Jul 21 17:26:18 elegans kernel: [  480.346912]  [<ffffffff8156483f>] ?
schedule+0x2f/0x80
Jul 21 17:26:18 elegans kernel: [  480.346916]  [<ffffffff81564b5e>] ?
schedule_preempt_disabled+0xe/0x20
Jul 21 17:26:18 elegans kernel: [  480.346921]  [<ffffffff81566935>] ?
__mutex_lock_slowpath+0x95/0x110
Jul 21 17:26:18 elegans kernel: [  480.346930]  [<ffffffff815669cb>] ?
mutex_lock+0x1b/0x30
Jul 21 17:26:18 elegans kernel: [  480.346943]  [<ffffffffa001dfb3>] ?
usb_unlocked_disable_lpm+0x23/0x50 [usbcore]
Jul 21 17:26:18 elegans kernel: [  480.346957]  [<ffffffffa002e504>] ?
usb_unbind_interface+0x54/0x2a0 [usbcore]
Jul 21 17:26:18 elegans kernel: [  480.346967]  [<ffffffff813eff3e>] ?
__device_release_driver+0x7e/0x100
Jul 21 17:26:18 elegans kernel: [  480.346972]  [<ffffffff813ee9e0>] ?
bus_uevent_store+0x50/0x50
Jul 21 17:26:18 elegans kernel: [  480.346976]  [<ffffffff813effe2>] ?
device_release_driver+0x22/0x30
Jul 21 17:26:18 elegans kernel: [  480.346980]  [<ffffffff813ef8a3>] ?
bus_remove_device+0x103/0x180
Jul 21 17:26:18 elegans kernel: [  480.346985]  [<ffffffff813ebe6e>] ?
device_del+0x12e/0x260
Jul 21 17:26:18 elegans kernel: [  480.346999]  [<ffffffffa002bcd1>] ?
usb_disable_device+0x91/0x290 [usbcore]
Jul 21 17:26:18 elegans kernel: [  480.347012]  [<ffffffffa0020fcd>] ?
usb_disconnect+0x8d/0x2d0 [usbcore]
Jul 21 17:26:18 elegans kernel: [  480.347020]  [<ffffffff8101d196>] ?
native_sched_clock+0x26/0x90
Jul 21 17:26:18 elegans kernel: [  480.347033]  [<ffffffffa0021269>] ?
hub_quiesce+0x59/0xc0 [usbcore]
Jul 21 17:26:18 elegans kernel: [  480.347045]  [<ffffffffa0022d65>] ?
hub_event+0x155/0x16e0 [usbcore]
Jul 21 17:26:18 elegans kernel: [  480.347051]  [<ffffffff8109d737>] ?
update_curr+0xd7/0x120
Jul 21 17:26:18 elegans kernel: [  480.347056]  [<ffffffff810a44bd>] ?
pick_next_task_fair+0x1ad/0x850
Jul 21 17:26:18 elegans kernel: [  480.347061]  [<ffffffff810125cb>] ?
__switch_to+0x14b/0x5d0
Jul 21 17:26:18 elegans kernel: [  480.347066]  [<ffffffff81085082>] ?
process_one_work+0x152/0x420
Jul 21 17:26:18 elegans kernel: [  480.347070]  [<ffffffff81085bb3>] ?
worker_thread+0x53/0x540
Jul 21 17:26:18 elegans kernel: [  480.347074]  [<ffffffff81085b60>] ?
rescuer_thread+0x3a0/0x3a0
Jul 21 17:26:18 elegans kernel: [  480.347079]  [<ffffffff8108ab41>] ?
kthread+0xc1/0xe0
Jul 21 17:26:18 elegans kernel: [  480.347084]  [<ffffffff8108aa80>] ?
kthread_create_on_node+0x180/0x180
Jul 21 17:26:18 elegans kernel: [  480.347089]  [<ffffffff81568dd8>] ?
ret_from_fork+0x58/0x90
Jul 21 17:26:18 elegans kernel: [  480.347093]  [<ffffffff8108aa80>] ?
kthread_create_on_node+0x180/0x180
Jul 21 17:26:18 elegans kernel: [  480.348302] alsa-sink-USB A D
ffff88103fc94400     0  5987      1 0x00000000
Jul 21 17:26:18 elegans kernel: [  480.348307]  ffff880036cae210
ffff880fff083c00 ffff880ff88d4a60 00000000000003e0
Jul 21 17:26:18 elegans kernel: [  480.348311]  ffff880fc515bfd8
7fffffffffffffff ffff880fb9e4f8e0 ffff880036cae210
Jul 21 17:26:18 elegans kernel: [  480.348315]  ffff880ff2fa6048
0000000000000000 ffffffff8156483f ffff880fb9e4f8e8
Jul 21 17:26:18 elegans kernel: [  480.348319] Call Trace:
Jul 21 17:26:18 elegans kernel: [  480.348324]  [<ffffffff8156483f>] ?
schedule+0x2f/0x80
Jul 21 17:26:18 elegans kernel: [  480.348328]  [<ffffffff81567aaa>] ?
schedule_timeout+0x21a/0x290
Jul 21 17:26:18 elegans kernel: [  480.348334]  [<ffffffff8113fea4>] ?
irq_work_queue+0x34/0x80
Jul 21 17:26:18 elegans kernel: [  480.348339]  [<ffffffff810bc8a2>] ?
wake_up_klogd+0x32/0x50
Jul 21 17:26:18 elegans kernel: [  480.348343]  [<ffffffff810bd0d0>] ?
vprintk_emit+0x3b0/0x550
Jul 21 17:26:18 elegans kernel: [  480.348348]  [<ffffffff81565edd>] ?
wait_for_completion+0xad/0x180
Jul 21 17:26:18 elegans kernel: [  480.348354]  [<ffffffff81097570>] ?
wake_up_state+0x20/0x20
Jul 21 17:26:18 elegans kernel: [  480.348371]  [<ffffffffa03c9c6b>] ?
xhci_configure_endpoint+0xcb/0x5c0 [xhci_hcd]
Jul 21 17:26:18 elegans kernel: [  480.348384]  [<ffffffffa03ca903>] ?
xhci_check_bandwidth+0x183/0x360 [xhci_hcd]
Jul 21 17:26:18 elegans kernel: [  480.348398]  [<ffffffffa0028d4b>] ?
usb_hcd_alloc_bandwidth+0x29b/0x340 [usbcore]
Jul 21 17:26:18 elegans kernel: [  480.348415]  [<ffffffffa002c072>] ?
usb_set_interface+0xc2/0x3b0 [usbcore]
Jul 21 17:26:18 elegans kernel: [  480.348424]  [<ffffffffa09480d2>] ?
snd_usb_pcm_close.isra.9+0x52/0x90 [snd_usb_audio]
Jul 21 17:26:18 elegans kernel: [  480.348435]  [<ffffffffa029fe3e>] ?
snd_pcm_release_substream.part.34+0x3e/0x90 [snd_pcm]
Jul 21 17:26:18 elegans kernel: [  480.348444]  [<ffffffffa029ff78>] ?
snd_pcm_release+0xa8/0xb0 [snd_pcm]
Jul 21 17:26:18 elegans kernel: [  480.348450]  [<ffffffff811c27df>] ?
__fput+0xcf/0x1e0
Jul 21 17:26:18 elegans kernel: [  480.348455]  [<ffffffff81089217>] ?
task_work_run+0xb7/0xf0
Jul 21 17:26:18 elegans kernel: [  480.348460]  [<ffffffff81013ef9>] ?
do_notify_resume+0x69/0x90
Jul 21 17:26:18 elegans kernel: [  480.348465]  [<ffffffff815690eb>] ?
int_signal+0x12/0x17
....
Jul 22 10:44:24 elegans kernel: [  480.345707] alsa-sink-USB A D
ffff880fff2968c0     0  5056      1 0x00000000
Jul 22 10:44:24 elegans kernel: [  480.345711]  ffff880ff53ccce0
0000000000000000 ffff880ff84c00d0 00000000000003e0
Jul 22 10:44:24 elegans kernel: [  480.345715]  ffff880036768000
7fffffffffffffff ffff880fd83e2bc0 ffff880ff53ccce0
Jul 22 10:44:24 elegans kernel: [  480.345719]  ffff880ff2cbc048
0000000000000000 ffffffff8157696f ffff880fd83e2bc8
Jul 22 10:44:24 elegans kernel: [  480.345722] Call Trace:
Jul 22 10:44:24 elegans kernel: [  480.345726]  [<ffffffff8157696f>] ?
schedule+0x2f/0x80
Jul 22 10:44:24 elegans kernel: [  480.345730]  [<ffffffff81579bea>] ?
schedule_timeout+0x21a/0x290
Jul 22 10:44:24 elegans kernel: [  480.345736]  [<ffffffff81148a65>] ?
irq_work_queue+0x75/0x80
Jul 22 10:44:24 elegans kernel: [  480.345741]  [<ffffffff810c3d62>] ?
wake_up_klogd+0x32/0x50
Jul 22 10:44:24 elegans kernel: [  480.345745]  [<ffffffff810c4590>] ?
vprintk_emit+0x3b0/0x570
Jul 22 10:44:24 elegans kernel: [  480.345749]  [<ffffffff8157800d>] ?
wait_for_completion+0xad/0x180
Jul 22 10:44:24 elegans kernel: [  480.345753]  [<ffffffff8109d710>] ?
wake_up_state+0x20/0x20
Jul 22 10:44:24 elegans kernel: [  480.345768]  [<ffffffffa0396c6b>] ?
xhci_configure_endpoint+0xcb/0x5c0 [xhci_hcd]
Jul 22 10:44:24 elegans kernel: [  480.345779]  [<ffffffffa0397903>] ?
xhci_check_bandwidth+0x183/0x360 [xhci_hcd]
Jul 22 10:44:24 elegans kernel: [  480.345792]  [<ffffffffa005ad8b>] ?
usb_hcd_alloc_bandwidth+0x29b/0x340 [usbcore]
Jul 22 10:44:24 elegans kernel: [  480.345807]  [<ffffffffa005e0b2>] ?
usb_set_interface+0xc2/0x3b0 [usbcore]
Jul 22 10:44:24 elegans kernel: [  480.345817]  [<ffffffffa07400e2>] ?
snd_usb_pcm_close.isra.9+0x52/0x90 [snd_usb_audio]
Jul 22 10:44:24 elegans kernel: [  480.345828]  [<ffffffffa05d3d6e>] ?
snd_pcm_release_substream.part.35+0x3e/0x90 [snd_pcm]
Jul 22 10:44:24 elegans kernel: [  480.345836]  [<ffffffffa05d3ea8>] ?
snd_pcm_release+0xa8/0xb0 [snd_pcm]
Jul 22 10:44:24 elegans kernel: [  480.345842]  [<ffffffff811cd05c>] ?
__fput+0xcc/0x1e0
Jul 22 10:44:24 elegans kernel: [  480.345847]  [<ffffffff8108f2e7>] ?
task_work_run+0xb7/0xf0
Jul 22 10:44:24 elegans kernel: [  480.345852]  [<ffffffff81013ee9>] ?
do_notify_resume+0x69/0x90
Jul 22 10:44:24 elegans kernel: [  480.345856]  [<ffffffff8157b084>] ?
int_signal+0x12/0x17
Jul 22 10:46:24 elegans kernel: [  600.349129] kworker/2:2     D
0000000000000000     0   912      2 0x00000000
Jul 22 10:46:24 elegans kernel: [  600.349172] Workqueue: usb_hub_wq hub_event
[usbcore]
Jul 22 10:46:24 elegans kernel: [  600.349176]  ffff880ff22013f0
0000000000000028 ffff880ff8730250 0000000000000006
Jul 22 10:46:24 elegans kernel: [  600.349181]  ffff880ff3874000
ffff880ff6ad4f44 ffff880ff22013f0 00000000ffffffff
Jul 22 10:46:24 elegans kernel: [  600.349185]  ffff880ff6ad4f48
ffff880ff2425000 ffffffff8157696f ffff880ff6ad4f40
Jul 22 10:46:24 elegans kernel: [  600.349189] Call Trace:
Jul 22 10:46:24 elegans kernel: [  600.349199]  [<ffffffff8157696f>] ?
schedule+0x2f/0x80
Jul 22 10:46:24 elegans kernel: [  600.349203]  [<ffffffff81576c8e>] ?
schedule_preempt_disabled+0xe/0x20
Jul 22 10:46:24 elegans kernel: [  600.349208]  [<ffffffff81578a65>] ?
__mutex_lock_slowpath+0x95/0x110
Jul 22 10:46:24 elegans kernel: [  600.349218]  [<ffffffff81578afb>] ?
mutex_lock+0x1b/0x30
Jul 22 10:46:24 elegans kernel: [  600.349231]  [<ffffffffa004ffb3>] ?
usb_unlocked_disable_lpm+0x23/0x50 [usbcore]
Jul 22 10:46:24 elegans kernel: [  600.349244]  [<ffffffffa0060544>] ?
usb_unbind_interface+0x54/0x2a0 [usbcore]
Jul 22 10:46:24 elegans kernel: [  600.349255]  [<ffffffff813febe6>] ?
__device_release_driver+0x86/0x120
Jul 22 10:46:24 elegans kernel: [  600.349259]  [<ffffffff813fd680>] ?
bus_uevent_store+0x50/0x50
Jul 22 10:46:24 elegans kernel: [  600.349262]  [<ffffffff813feca2>] ?
device_release_driver+0x22/0x30
Jul 22 10:46:24 elegans kernel: [  600.349266]  [<ffffffff813fe543>] ?
bus_remove_device+0x103/0x180
Jul 22 10:46:24 elegans kernel: [  600.349272]  [<ffffffff813faaae>] ?
device_del+0x12e/0x260
Jul 22 10:46:24 elegans kernel: [  600.349286]  [<ffffffffa005dd11>] ?
usb_disable_device+0x91/0x290 [usbcore]
Jul 22 10:46:24 elegans kernel: [  600.349299]  [<ffffffffa0052fcd>] ?
usb_disconnect+0x8d/0x2d0 [usbcore]
Jul 22 10:46:24 elegans kernel: [  600.349306]  [<ffffffff810a630f>] ?
enqueue_task_fair+0x38f/0x11c0
Jul 22 10:46:24 elegans kernel: [  600.349319]  [<ffffffffa0053269>] ?
hub_quiesce+0x59/0xc0 [usbcore]
Jul 22 10:46:24 elegans kernel: [  600.349332]  [<ffffffffa0054d65>] ?
hub_event+0x155/0x16e0 [usbcore]
Jul 22 10:46:24 elegans kernel: [  600.349337]  [<ffffffff810ab940>] ?
pick_next_task_fair+0x710/0x8e0
Jul 22 10:46:24 elegans kernel: [  600.349343]  [<ffffffff810126d6>] ?
__switch_to+0x256/0x5b0
Jul 22 10:46:24 elegans kernel: [  600.349349]  [<ffffffff8108ac42>] ?
process_one_work+0x152/0x420
Jul 22 10:46:24 elegans kernel: [  600.349353]  [<ffffffff8108b783>] ?
worker_thread+0x53/0x560
Jul 22 10:46:24 elegans kernel: [  600.349357]  [<ffffffff8108b730>] ?
rescuer_thread+0x3a0/0x3a0
Jul 22 10:46:24 elegans kernel: [  600.349362]  [<ffffffff81090bf1>] ?
kthread+0xc1/0xe0
Jul 22 10:46:24 elegans kernel: [  600.349367]  [<ffffffff81090b30>] ?
kthread_create_on_node+0x180/0x180
Jul 22 10:46:24 elegans kernel: [  600.349372]  [<ffffffff8157b2f2>] ?
ret_from_fork+0x42/0x70
Jul 22 10:46:24 elegans kernel: [  600.349377]  [<ffffffff81090b30>] ?
kthread_create_on_node+0x180/0x180
Jul 22 10:46:24 elegans kernel: [  600.349422] alsa-sink-USB A D
ffff880fff2968c0     0  5056      1 0x00000000
Jul 22 10:46:24 elegans kernel: [  600.349426]  ffff880ff53ccce0
0000000000000000 ffff880ff84c00d0 00000000000003e0
Jul 22 10:46:24 elegans kernel: [  600.349430]  ffff880036768000
7fffffffffffffff ffff880fd83e2bc0 ffff880ff53ccce0
Jul 22 10:46:24 elegans kernel: [  600.349434]  ffff880ff2cbc048
0000000000000000 ffffffff8157696f ffff880fd83e2bc8

[======== /var/log/syslog ========]

Jul 22 10:36:57 elegans pulseaudio[4891]: [pulseaudio] source.c: Default and
alternate sample rates are the same.
....
Jul 22 10:36:57 elegans pulseaudio[5061]: [pulseaudio] pid.c: Daemon already
running.
Jul 22 10:36:57 elegans pulseaudio[5067]: [pulseaudio] pid.c: Daemon already
running.
....
Jul 22 10:40:24 elegans kernel: [  240.337757] INFO: task kworker/2:2:912
blocked for more than 120 seconds.
Jul 22 10:40:24 elegans kernel: [  240.337764]       Not tainted 4.1.0-trunk-
amd64 #1
Jul 22 10:40:24 elegans kernel: [  240.337766] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 22 10:40:24 elegans kernel: [  240.337769] kworker/2:2     D
0000000000000000     0   912      2 0x00000000
Jul 22 10:40:24 elegans kernel: [  240.337812] Workqueue: usb_hub_wq hub_event
[usbcore]
Jul 22 10:40:24 elegans kernel: [  240.337815]  ffff880ff22013f0
0000000000000028 ffff880ff8730250 0000000000000006
Jul 22 10:40:24 elegans kernel: [  240.337820]  ffff880ff3874000
ffff880ff6ad4f44 ffff880ff22013f0 00000000ffffffff
Jul 22 10:40:24 elegans kernel: [  240.337824]  ffff880ff6ad4f48
ffff880ff2425000 ffffffff8157696f ffff880ff6ad4f40
Jul 22 10:40:24 elegans kernel: [  240.337828] Call Trace:
Jul 22 10:40:24 elegans kernel: [  240.337837]  [<ffffffff8157696f>] ?
schedule+0x2f/0x80
Jul 22 10:40:24 elegans kernel: [  240.337842]  [<ffffffff81576c8e>] ?
schedule_preempt_disabled+0xe/0x20
Jul 22 10:40:24 elegans kernel: [  240.337846]  [<ffffffff81578a65>] ?
__mutex_lock_slowpath+0x95/0x110
Jul 22 10:40:24 elegans kernel: [  240.337857]  [<ffffffff81578afb>] ?
mutex_lock+0x1b/0x30
Jul 22 10:40:24 elegans kernel: [  240.337869]  [<ffffffffa004ffb3>] ?
usb_unlocked_disable_lpm+0x23/0x50 [usbcore]
Jul 22 10:40:24 elegans kernel: [  240.337883]  [<ffffffffa0060544>] ?
usb_unbind_interface+0x54/0x2a0 [usbcore]
Jul 22 10:40:24 elegans kernel: [  240.337894]  [<ffffffff813febe6>] ?
__device_release_driver+0x86/0x120
Jul 22 10:40:24 elegans kernel: [  240.337898]  [<ffffffff813fd680>] ?
bus_uevent_store+0x50/0x50
Jul 22 10:40:24 elegans kernel: [  240.337901]  [<ffffffff813feca2>] ?
device_release_driver+0x22/0x30
Jul 22 10:40:24 elegans kernel: [  240.337905]  [<ffffffff813fe543>] ?
bus_remove_device+0x103/0x180
Jul 22 10:40:24 elegans kernel: [  240.337910]  [<ffffffff813faaae>] ?
device_del+0x12e/0x260
Jul 22 10:40:24 elegans kernel: [  240.337924]  [<ffffffffa005dd11>] ?
usb_disable_device+0x91/0x290 [usbcore]
Jul 22 10:40:24 elegans kernel: [  240.337938]  [<ffffffffa0052fcd>] ?
usb_disconnect+0x8d/0x2d0 [usbcore]
Jul 22 10:40:24 elegans kernel: [  240.337945]  [<ffffffff810a630f>] ?
enqueue_task_fair+0x38f/0x11c0
Jul 22 10:40:24 elegans kernel: [  240.337958]  [<ffffffffa0053269>] ?
hub_quiesce+0x59/0xc0 [usbcore]
Jul 22 10:40:24 elegans kernel: [  240.337970]  [<ffffffffa0054d65>] ?
hub_event+0x155/0x16e0 [usbcore]
Jul 22 10:40:24 elegans kernel: [  240.337976]  [<ffffffff810ab940>] ?
pick_next_task_fair+0x710/0x8e0
Jul 22 10:40:24 elegans kernel: [  240.337982]  [<ffffffff810126d6>] ?
__switch_to+0x256/0x5b0
Jul 22 10:40:24 elegans kernel: [  240.337987]  [<ffffffff8108ac42>] ?
process_one_work+0x152/0x420
Jul 22 10:40:24 elegans kernel: [  240.337992]  [<ffffffff8108b783>] ?
worker_thread+0x53/0x560
Jul 22 10:40:24 elegans kernel: [  240.337996]  [<ffffffff8108b730>] ?
rescuer_thread+0x3a0/0x3a0
Jul 22 10:40:24 elegans kernel: [  240.338001]  [<ffffffff81090bf1>] ?
kthread+0xc1/0xe0
Jul 22 10:40:24 elegans kernel: [  240.338006]  [<ffffffff81090b30>] ?
kthread_create_on_node+0x180/0x180
Jul 22 10:40:24 elegans kernel: [  240.338011]  [<ffffffff8157b2f2>] ?
ret_from_fork+0x42/0x70
Jul 22 10:40:24 elegans kernel: [  240.338016]  [<ffffffff81090b30>] ?
kthread_create_on_node+0x180/0x180
Jul 22 10:40:24 elegans kernel: [  240.338053] INFO: task alsa-sink-USB A:5056
blocked for more than 120 seconds.
Jul 22 10:40:24 elegans kernel: [  240.338055]       Not tainted 4.1.0-trunk-
amd64 #1
Jul 22 10:40:24 elegans kernel: [  240.338057] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 22 10:40:24 elegans kernel: [  240.338059] alsa-sink-USB A D
ffff880fff2968c0     0  5056      1 0x00000000
Jul 22 10:40:24 elegans kernel: [  240.338063]  ffff880ff53ccce0
0000000000000000 ffff880ff84c00d0 00000000000003e0
Jul 22 10:40:24 elegans kernel: [  240.338068]  ffff880036768000
7fffffffffffffff ffff880fd83e2bc0 ffff880ff53ccce0
Jul 22 10:40:24 elegans kernel: [  240.338071]  ffff880ff2cbc048
0000000000000000 ffffffff8157696f ffff880fd83e2bc8
Jul 22 10:40:24 elegans kernel: [  240.338075] Call Trace:
Jul 22 10:40:24 elegans kernel: [  240.338080]  [<ffffffff8157696f>] ?
schedule+0x2f/0x80
Jul 22 10:40:24 elegans kernel: [  240.338084]  [<ffffffff81579bea>] ?
schedule_timeout+0x21a/0x290
Jul 22 10:40:24 elegans kernel: [  240.338090]  [<ffffffff81148a65>] ?
irq_work_queue+0x75/0x80
Jul 22 10:40:24 elegans kernel: [  240.338095]  [<ffffffff810c3d62>] ?
wake_up_klogd+0x32/0x50
Jul 22 10:40:24 elegans kernel: [  240.338100]  [<ffffffff810c4590>] ?
vprintk_emit+0x3b0/0x570
Jul 22 10:40:24 elegans kernel: [  240.338104]  [<ffffffff8157800d>] ?
wait_for_completion+0xad/0x180
Jul 22 10:40:24 elegans kernel: [  240.338108]  [<ffffffff8109d710>] ?
wake_up_state+0x20/0x20
Jul 22 10:40:24 elegans kernel: [  240.338125]  [<ffffffffa0396c6b>] ?
xhci_configure_endpoint+0xcb/0x5c0 [xhci_hcd]
Jul 22 10:40:24 elegans kernel: [  240.338137]  [<ffffffffa0397903>] ?
xhci_check_bandwidth+0x183/0x360 [xhci_hcd]
Jul 22 10:40:24 elegans kernel: [  240.338151]  [<ffffffffa005ad8b>] ?
usb_hcd_alloc_bandwidth+0x29b/0x340 [usbcore]
Jul 22 10:40:24 elegans kernel: [  240.338168]  [<ffffffffa005e0b2>] ?
usb_set_interface+0xc2/0x3b0 [usbcore]
Jul 22 10:40:24 elegans kernel: [  240.338179]  [<ffffffffa07400e2>] ?
snd_usb_pcm_close.isra.9+0x52/0x90 [snd_usb_audio]
Jul 22 10:40:24 elegans kernel: [  240.338190]  [<ffffffffa05d3d6e>] ?
snd_pcm_release_substream.part.35+0x3e/0x90 [snd_pcm]
Jul 22 10:40:24 elegans kernel: [  240.338200]  [<ffffffffa05d3ea8>] ?
snd_pcm_release+0xa8/0xb0 [snd_pcm]
Jul 22 10:40:24 elegans kernel: [  240.338206]  [<ffffffff811cd05c>] ?
__fput+0xcc/0x1e0
Jul 22 10:40:24 elegans kernel: [  240.338211]  [<ffffffff8108f2e7>] ?
task_work_run+0xb7/0xf0
Jul 22 10:40:24 elegans kernel: [  240.338216]  [<ffffffff81013ee9>] ?
do_notify_resume+0x69/0x90
Jul 22 10:40:24 elegans kernel: [  240.338221]  [<ffffffff8157b084>] ?
int_signal+0x12/0x17
Jul 22 10:42:24 elegans kernel: [  360.340738] INFO: task kworker/2:2:912
blocked for more than 120 seconds.
Jul 22 10:42:24 elegans kernel: [  360.340745]       Not tainted 4.1.0-trunk-
amd64 #1
Jul 22 10:42:24 elegans kernel: [  360.340747] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 22 10:42:24 elegans kernel: [  360.340750] kworker/2:2     D
0000000000000000     0   912      2 0x00000000
Jul 22 10:42:24 elegans kernel: [  360.340790] Workqueue: usb_hub_wq hub_event
[usbcore]
Jul 22 10:42:24 elegans kernel: [  360.340793]  ffff880ff22013f0
0000000000000028 ffff880ff8730250 0000000000000006
Jul 22 10:42:24 elegans kernel: [  360.340798]  ffff880ff3874000
ffff880ff6ad4f44 ffff880ff22013f0 00000000ffffffff
Jul 22 10:42:24 elegans kernel: [  360.340801]  ffff880ff6ad4f48
ffff880ff2425000 ffffffff8157696f ffff880ff6ad4f40
Jul 22 10:42:24 elegans kernel: [  360.340805] Call Trace:
Jul 22 10:42:24 elegans kernel: [  360.340815]  [<ffffffff8157696f>] ?
schedule+0x2f/0x80
Jul 22 10:42:24 elegans kernel: [  360.340819]  [<ffffffff81576c8e>] ?
schedule_preempt_disabled+0xe/0x20
Jul 22 10:42:24 elegans kernel: [  360.340823]  [<ffffffff81578a65>] ?
__mutex_lock_slowpath+0x95/0x110
Jul 22 10:42:24 elegans kernel: [  360.340833]  [<ffffffff81578afb>] ?
mutex_lock+0x1b/0x30
Jul 22 10:42:24 elegans kernel: [  360.340844]  [<ffffffffa004ffb3>] ?
usb_unlocked_disable_lpm+0x23/0x50 [usbcore]
Jul 22 10:42:24 elegans kernel: [  360.340857]  [<ffffffffa0060544>] ?
usb_unbind_interface+0x54/0x2a0 [usbcore]
Jul 22 10:42:24 elegans kernel: [  360.340867]  [<ffffffff813febe6>] ?
__device_release_driver+0x86/0x120
Jul 22 10:42:24 elegans kernel: [  360.340870]  [<ffffffff813fd680>] ?
bus_uevent_store+0x50/0x50
Jul 22 10:42:24 elegans kernel: [  360.340873]  [<ffffffff813feca2>] ?
device_release_driver+0x22/0x30
Jul 22 10:42:24 elegans kernel: [  360.340877]  [<ffffffff813fe543>] ?
bus_remove_device+0x103/0x180
Jul 22 10:42:24 elegans kernel: [  360.340882]  [<ffffffff813faaae>] ?
device_del+0x12e/0x260
Jul 22 10:42:24 elegans kernel: [  360.340895]  [<ffffffffa005dd11>] ?
usb_disable_device+0x91/0x290 [usbcore]
Jul 22 10:42:24 elegans kernel: [  360.340907]  [<ffffffffa0052fcd>] ?
usb_disconnect+0x8d/0x2d0 [usbcore]
Jul 22 10:42:24 elegans kernel: [  360.340915]  [<ffffffff810a630f>] ?
enqueue_task_fair+0x38f/0x11c0
Jul 22 10:42:24 elegans kernel: [  360.340926]  [<ffffffffa0053269>] ?
hub_quiesce+0x59/0xc0 [usbcore]
Jul 22 10:42:24 elegans kernel: [  360.340938]  [<ffffffffa0054d65>] ?
hub_event+0x155/0x16e0 [usbcore]
Jul 22 10:42:24 elegans kernel: [  360.340943]  [<ffffffff810ab940>] ?
pick_next_task_fair+0x710/0x8e0
Jul 22 10:42:24 elegans kernel: [  360.340948]  [<ffffffff810126d6>] ?
__switch_to+0x256/0x5b0
Jul 22 10:42:24 elegans kernel: [  360.340954]  [<ffffffff8108ac42>] ?
process_one_work+0x152/0x420
Jul 22 10:42:24 elegans kernel: [  360.340958]  [<ffffffff8108b783>] ?
worker_thread+0x53/0x560
Jul 22 10:42:24 elegans kernel: [  360.340962]  [<ffffffff8108b730>] ?
rescuer_thread+0x3a0/0x3a0
Jul 22 10:42:24 elegans kernel: [  360.340966]  [<ffffffff81090bf1>] ?
kthread+0xc1/0xe0
Jul 22 10:42:24 elegans kernel: [  360.340971]  [<ffffffff81090b30>] ?
kthread_create_on_node+0x180/0x180
Jul 22 10:42:24 elegans kernel: [  360.340976]  [<ffffffff8157b2f2>] ?
ret_from_fork+0x42/0x70
Jul 22 10:42:24 elegans kernel: [  360.340980]  [<ffffffff81090b30>] ?
kthread_create_on_node+0x180/0x180
Jul 22 10:42:24 elegans kernel: [  360.341014] INFO: task alsa-sink-USB A:5056
blocked for more than 120 seconds.
Jul 22 10:42:24 elegans kernel: [  360.341017]       Not tainted 4.1.0-trunk-
amd64 #1
Jul 22 10:42:24 elegans kernel: [  360.341018] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.




-- Package-specific info:
File '/etc/pulse/client.conf' does not exist


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-trunk-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages pulseaudio depends on:
ii  adduser                       3.113+nmu3
ii  libasound2                    1.0.29-1
ii  libasound2-plugins            1.0.28-1+b2
ii  libc6                         2.19-19
ii  libcap2                       1:2.24-9
ii  libdbus-1-3                   1.8.18-1
ii  libfftw3-single3              3.3.4-2
ii  libgcc1                       1:5.1.1-14
ii  libice6                       2:1.0.9-1+b1
ii  libltdl7                      2.4.2-1.11
ii  liborc-0.4-0                  1:0.4.24-1
ii  libpulse0                     6.0-2
ii  libsm6                        2:1.2.2-1+b1
ii  libsndfile1                   1.0.25-9.1
ii  libspeexdsp1                  1.2~rc1.2-1
ii  libstdc++6                    5.1.1-14
ii  libsystemd0                   222-2
ii  libtdb1                       1.3.5-1
ii  libudev1                      222-2
ii  libwebrtc-audio-processing-0  0.1-3
ii  libx11-6                      2:1.6.3-1
ii  libx11-xcb1                   2:1.6.3-1
ii  libxcb1                       1.10-3+b1
ii  libxtst6                      2:1.2.2-1+b1
ii  lsb-base                      4.1+Debian13+nmu1
ii  pulseaudio-utils              6.0-2
ii  udev                          222-2

Versions of packages pulseaudio recommends:
ii  pulseaudio-module-x11  6.0-2
ii  rtkit                  0.11-2

Versions of packages pulseaudio suggests:
ii  paman        0.9.4-1
pn  paprefs      <none>
ii  pavucontrol  3.0-3
ii  pavumeter    0.9.3-4

-- no debconf information
-------------- next part --------------
# Start the PulseAudio sound server in system mode.
# (enables the pulseaudio init script - requires that users be in the
# pulse-access group)
# System mode is not the recommended way to run PulseAudio as it has some
# limitations (such as no shared memory access) and could potentially allow
# users to disconnect or redirect each others' audio streams. The
# recommended way to run PulseAudio is as a per-session daemon. For GNOME/KDE/
# Xfce sessions in Ubuntu Lucid/10.04, /etc/xdg/autostart/pulseaudio.desktop
# handles this function of automatically starting PulseAudio on login, and for
# it to work correctly your user must *not* have "autospawn = no" set in
# ~/.pulse/client.conf (or in /etc/pulse/client.conf). By default, autospawn
# is enabled. For other sessions, you can simply start PulseAudio with
# "pulseaudio --daemonize".
# 0 = don't start in system mode, 1 = start in system mode
PULSEAUDIO_SYSTEM_START=0

# Prevent users from dynamically loading modules into the PulseAudio sound
# server. Dynamic module loading enhances the flexibility of the PulseAudio
# system, but may pose a security risk.
# 0 = no, 1 = yes
DISALLOW_MODULE_LOADING=0
-------------- next part --------------
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; enable-remixing = yes
; enable-lfe-remixing = no

; flat-volumes = yes

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0
-------------- next part --------------
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

..nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/freedesktop/stereo/bell.oga
#load-sample-lazy pulse-hotplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-coldplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-access /usr/share/sounds/freedesktop/stereo/message.oga

..fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
..ifexists module-udev-detect.so
load-module module-udev-detect
..else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
..endif

### Automatically connect sink and source if JACK server is present
..ifexists module-jackdbus-detect.so
..nofail
load-module module-jackdbus-detect channels=2
..fail
..endif

### Automatically load driver modules for Bluetooth hardware
..ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
..endif

..ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
..endif

### Load several protocols
..ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
..endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
..ifexists module-gconf.so
..nofail
load-module module-gconf
..fail
..endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
..ifexists module-console-kit.so
load-module module-console-kit
..endif
..ifexists module-systemd-login.so
load-module module-systemd-login
..endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=x11-bell

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input
-------------- next part --------------
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started in system
# mode.

### Automatically load driver modules depending on the hardware available
..ifexists module-udev-detect.so
load-module module-udev-detect
..else
### Use the static hardware detection module (for systems that lack udev/hal support)
load-module module-detect
..endif

### Load several protocols
..ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
..endif
load-module module-native-protocol-unix

### Automatically restore the volume of streams and devices
load-module module-stream-restore
load-module module-device-restore

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### Enable positioned event sounds
load-module module-position-event-sounds
-------------- next part --------------
Connection failure: Timeout
-------------- next part --------------
Connection failure: Timeout


More information about the pkg-pulseaudio-devel mailing list