Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2021 11:51:38 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Stefan Ehmann <shoesoft@gmx.net>, multimedia@freebsd.org
Subject:   Re: uaudio: pulseaudio locks up system
Message-ID:  <38d2206e-566f-1fb4-5a77-9b8f8bfc2ff4@selasky.org>
In-Reply-To: <2633211.iL6vRArjjl@walrus.pepperland>
References:  <2633211.iL6vRArjjl@walrus.pepperland>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/14/21 9:55 AM, Stefan Ehmann wrote:
> FreeBSD locks up when my USB audio interface is connected and accessed via
> pulseudio.
> 
> The interface is connected via USB hub.
> Symptoms: First USB mouse (on same hub) stops working. System becomes
> increasingly unresponsive until it totally locks up.
> 
> I can reproduce the problem by simply running pactl list
> 
> If I reboot immediately, shutdown also hangs. Kernel debugger shows this
> suspicious trace (transcribed by hand):
> 
> __mtx_lock_sleep()
> uaudio_chan_play_callback()
> usbd_callback_wrapper()
> usb_command_wrapper()
> usb_callback_proc()
> usb_process()
> 

Hi,

It might be a lock order reversal or something like that, although 
witness should warn about that!

Can you have a look in /var/log/messages* and see if you can find the 
complete message there?

Secondly, pulseaudio has several patches for FreeBSD which were just 
recently upstreamed. Can you check if these patches are present:

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38d2206e-566f-1fb4-5a77-9b8f8bfc2ff4>