Article View: muc.lists.freebsd.multimedia
Article #18[Bug 299418] After the FreeBSD-SA-26:71.sound update loading the multimedia/cx88 driver causes a kernel panic
From: bugzilla-noreply
Date: Fri, 16 Oct 2026 00:32
Date: Fri, 16 Oct 2026 00:32
43 lines
3953 bytes
3953 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299418
Jason A. Harmening <jah@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markj@FreeBSD.org
--- Comment #1 from Jason A. Harmening <jah@FreeBSD.org> ---
Can you paste the output of `uname -a`?
Also is there anything else in the kernel log before the "pcm5:
chn_init(cx88_pcmchan, 3, 0xfffff8003192b7b0) failed" message?
It looks as though pcm_addchan() is failing somewhere in chn_init().
The panic appears to be a knock-on effect of the initial attach failing and
then being retried, with mixer_init() then being unhappy because the mixer
devname wasn't cleaned up from the first attach. That part may (ironically) be
fixed by some other recent sound(4) changes in -current, but in any case I can
tweak the driver to call mixer_uninit() directly in cases like this to avoid
such a panic.
It's unclear to me why the changes in FreeBSD-SA-26:71.sound would cause the
initial chn_init() failure though. The only thing that looks suspicious in
that change is that chn_resizebuf() now treats a zero return from
CHANNEL_SETBLOCKSIZE() as an error, where it didn't previously.
cx88_pcmchan_setblocksize() will return 0 if cx88_pcmchan_init() (i.e.
CHANNEL_INIT()) hasn't been called yet, so if we're going down some path that
calls chn_resizebuf() before init then this might happen. cx88 does not
directly use sndbuf_resize().
--
You are receiving this mail because:
You are on the CC list for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-299418-12827-Fje0WkQSJ2@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-299418-12827@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.multimedia Subject: [Bug 299418] After the FreeBSD-SA-26:71.sound update loading the multimedia/cx88 driver causes a kernel panic Date: Fri, 16 Oct 2026 00:32:17 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-multimedia@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <bug-299418-12827-Fje0WkQSJ2@https.bugs.freebsd.org/bugzilla/> References: <bug-299418-12827@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="28371"; mail-complaints-to="news-admin@muc.de" X-Original-To: multimedia@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792110737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QJvh9kHEHJOHDCCcQnvVP7em4hAwXVBPHiRV+GVt/Lw=; b=P34ZWgCL2YbT2r8kcw5fC6LacMxTEn9uGlmttXydA9KD6+D3CE9mMQlsZONV6l7OL0m6mT vYuB3Ud4ri7YmXVpSsKb/Rkw89g02QV8ZJqmhgMtCi2WkZUzjBzaarzFIksORP9HR395Nf J5SOXPPPKty9T53CiSi9tUWbFUV2Osl7HLB562PeSTWhG7fnc0j/q64M+LlAwVIVoUEJK5 /XjlqDys/StUJxRF3q2ckcv7xVAkVAjFOSEKfHhkfaLpo3dQ2WiSHkYdDckhimz/9fopsa bvcvr8TutXBtLd8BrYOZP19jbCM4TPgM/krrYk6NX1yLp2BIreH2ojBfeGtoaA== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-299418-12827@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes