From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 18:09:37 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 796C237B401 for ; Mon, 28 Apr 2003 18:09:37 -0700 (PDT) Received: from ns3.safety.net (ns3.safety.net [216.40.201.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id D729C43F3F for ; Mon, 28 Apr 2003 18:09:36 -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 h3T19aA02401 for ; Mon, 28 Apr 2003 18:09:36 -0700 From: "Cliff L. Biffle" To: current@freebsd.org Date: Mon, 28 Apr 2003 18:09:38 -0700 User-Agent: KMail/1.5 References: <200304271730.53960.cbiffle@safety.net> In-Reply-To: <200304271730.53960.cbiffle@safety.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304281809.38091.cbiffle@safety.net> Subject: Re: 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: Tue, 29 Apr 2003 01:09:37 -0000 On Sunday 27 April 2003 05:30 pm, Cliff L. Biffle 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. I've had a few people report that they get this issue even with vchans enabled, and I can confirm this. After a kernel rebuild with some debugging switches, I'm now getting a lock order reversal message that seems to coincide with the dsp breakage. Here's the messages, if anyone can make sense of 'em. :-) -Cliff L. Biffle --- lock order reversal 1st 0xc1dea840 pcm0:play:0 (pcm channel) @ /usr/src/sys/dev/sound/pcm/sound.c:191 2nd 0xc1dea9c0 pcm0 (sound cdev) @ /usr/src/sys/dev/sound/pcm/sound.c:163 Stack backtrace: lock order reversal 1st 0xc1cbb9c0 pcm0:play:0 (pcm channel) @ /usr/src/sys/dev/sound/pcm/sound.c:191 2nd 0xc21aab40 pcm0 (sound cdev) @ /usr/src/sys/dev/sound/pcm/sound.c:163 Stack backtrace: