From owner-freebsd-current@FreeBSD.ORG Sun Apr 27 18:06:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FD9637B401 for ; Sun, 27 Apr 2003 18:06:03 -0700 (PDT) Received: from ns3.safety.net (ns3.safety.net [216.40.201.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 698EF43F93 for ; Sun, 27 Apr 2003 18:06:02 -0700 (PDT) (envelope-from cbiffle@safety.net) Received: from localhost (rs.rackshack.net.safety.net [216.40.201.32]) by ns3.safety.net (8.10.2/8.10.2) with ESMTP id h3S161A04136 for ; Sun, 27 Apr 2003 18:06:01 -0700 From: "Cliff L. Biffle" To: current@freebsd.org Date: Sun, 27 Apr 2003 17:30:53 -0700 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304271730.53960.cbiffle@safety.net> Subject: vchans seem to affect /dev/dsp* availability X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 01:06:03 -0000 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_ Simply turning them off after the drivers have been loaded does not seem sufficient. I've been seeing this on my laptop since I -currentified it, which was early this month. I dismissed it as CS4281-specific until it began happening on my desktop with a recent build, on both a VIA VT8235-style AC97 chip -and- my SBLive. Thoughts? I'm going to try reverting a few of the source files to see if it resolves itself, but pointers from those involved would be much appreciated. Thanks! -Cliff L. Biffle