🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.multimedia
1 messages
1 total messages Started by bugzilla-noreply Fri, 16 Oct 2026 00:32
[Bug 299418] After the FreeBSD-SA-26:71.sound update loading the multimedia/cx88 driver causes a kernel panic
#18
Author: bugzilla-noreply
Date: Fri, 16 Oct 2026 00:32
43 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads