Date: Tue, 29 Apr 2003 09:05:37 +0300 From: Dan Naumov <dan.naumov@ofw.fi> To: freebsd-current@freebsd.org Subject: Re: vchans seem to affect /dev/dsp* availability Message-ID: <20030429090537.6bf751d1.dan.naumov@ofw.fi> In-Reply-To: <200304271730.53960.cbiffle@safety.net> References: <200304271730.53960.cbiffle@safety.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Apr 2003 17:30:53 -0700 "Cliff L. Biffle" <cbiffle@safety.net> wrote: > When I have vchans enabled, every few attempts at opening /dev/dsp* > result in 'Operation not supported by device.' Also, while they're > enabled, some programs (most reproduceably artsd) peg my CPU after > outputting sound data in certain situations. > > Disabling vchans fixes the problem. The problem's a little ephemeral, > so I'm still collecting hard data, but it seems I have to go all the > way to properly disable them, e.g. > kldload snd_pcm > sysctl hw.snd.maxautovchans=0 > kldload snd_<my card> Here is a related PR initially submitted on July 17, 2002: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/40711 I am experiencing this problem on a 5.0 box (as I've described in the follow-up to this PR). Disabling and then re-enabling vchans seems to work as a workaround, although sometimes I have to do it several times. Sincerely, -- Dan Naumov <dan.naumov [at] ofw.fi>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030429090537.6bf751d1.dan.naumov>