Re: sound output hangs with dynamic sndiod server.mode

Alexandre Ratchov <[email protected]> Tue, 2 Jun 2026 08:52:08 +0200
Newsgroups gmane.os.openbsd.bugs
Message-ID <[email protected]>
> 00339830932: clk    +0   +0, wr    +4   +0 rd:    +0   +0 (cpending: 0)
> sndio: xrun
> _sio_xrun: rused = 0, wused = 7680
> _sio_xrun: cmove = 0, wsil = 7680, rdrop = 0
> sio_wsil: inserted 4096 bytes
> sio_wsil: inserted 3584 bytes
> rsnd/0: xrun
> 00679971186: clk    +0   +0, wr    +4   +0 rd:    +0   +0 (cpending: 0)
> sndio: xrun
> _sio_xrun: rused = 0, wused = 7680
> _sio_xrun: cmove = 0, wsil = 7680, rdrop = 0
> sio_wsil: inserted 4096 bytes
> sio_wsil: inserted 3584 bytes
> 01020032920: clk    +0   +0, wr    +4   +0 rd:    +0   +0 (cpending: 0)
> sndio: xrun
> _sio_xrun: rused = 0, wused = 7680
> _sio_xrun: cmove = 0, wsil = 7680, rdrop = 0
> sio_wsil: inserted 4096 bytes
> sio_wsil: inserted 3584 bytes
> 01360089875: clk    +0   +0, wr    +4   +0 rd:    +0   +0 (cpending: 0)
> sndio: xrun
> [...]

It seems that recording DMA fails to start.

Do you have any "microphone" or "recording" settings in the BIOS? if
so, could you *enable* recording in the bios? (on certain systems, if
the microphone is disabled, the device claims recording capability but
recording is broken).

As a quick workaround, you could drop the read permission from the
device node:

	chmod g-r /dev/audio0