Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2025 14:09:37 +0100
From:      "Christos Margiolis" <christos@freebsd.org>
To:        "Roman Bogorodskiy" <novel@freebsd.org>
Cc:        <src-committers@freebsd.org>, <dev-commits-src-all@freebsd.org>, <dev-commits-src-main@freebsd.org>
Subject:   Re: git: e254ef87a30b - main - sound: Merge chn_intr() with chn_intr_locked()
Message-ID:  <DEG3K8ZAO1OX.36AM1L62TO7XJ@freebsd.org>
In-Reply-To: <aSKvtxfqXrFIoXcR@tulp>
References:  <69209005.3652b.58fc1f99@gitrepo.freebsd.org> <aSKvtxfqXrFIoXcR@tulp>

index | next in thread | previous in thread | raw e-mail

On Sun Nov 23, 2025 at 7:54 AM CET, Roman Bogorodskiy wrote:
>   Christos Margiolis wrote:
>
>> The branch main has been updated by christos:
>> 
>> URL: https://cgit.FreeBSD.org/src/commit/?id=e254ef87a30bfcaabc6e4d8e0ecf05f6949a4f06
>> 
>> commit e254ef87a30bfcaabc6e4d8e0ecf05f6949a4f06
>> Author:     Christos Margiolis <christos@FreeBSD.org>
>> AuthorDate: 2025-11-21 16:14:28 +0000
>> Commit:     Christos Margiolis <christos@FreeBSD.org>
>> CommitDate: 2025-11-21 16:14:47 +0000
>> 
>>     sound: Merge chn_intr() with chn_intr_locked()
>>     
>>     There is no scenario where chn_intr() is called with the channel lock
>>     already held.
>>     
>>     No functional change intended.
>>     
>>     Sponsored by:   The FreeBSD Foundation
>>     MFC after:      1 week
>>     Reviewed by:    kib, markj
>>     Differential Revision:  https://reviews.freebsd.org/D53854
>> ---
>>  sys/dev/sound/pcm/channel.c | 20 ++------------------
>>  sys/dev/sound/pcm/channel.h |  1 -
>>  2 files changed, 2 insertions(+), 19 deletions(-)
>
> With this change my system panics as soon as I start firefox:
>
> panic: _mtx_lock_sleep: recursed on non-recursive mutex dsp2.play.0 @ /usr/src/sys/dev/sound/pcm/channel.c:586
>
> Things work fine again with this commit reverted.
>
> Roman

Which driver are you using for your sound card?

Christos


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DEG3K8ZAO1OX.36AM1L62TO7XJ>