From owner-freebsd-questions Sat Jul 13 2:37:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D2E837B400 for ; Sat, 13 Jul 2002 02:37:23 -0700 (PDT) Received: from enterprise.francisscott.net (enterprise.francisscott.net [64.81.95.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0E1B43E65 for ; Sat, 13 Jul 2002 02:37:20 -0700 (PDT) (envelope-from scott@lampert.org) Received: from cobalt.heavymetal.org (cobalt.heavymetal.org [64.81.95.242]) by enterprise.francisscott.net (Postfix) with ESMTP id 75EF857B9; Sat, 13 Jul 2002 02:37:20 -0700 (PDT) Received: from cobalt.heavymetal.org (localhost.heavymetal.org [127.0.0.1]) by cobalt.heavymetal.org (Postfix) with ESMTP id E57233172; Sat, 13 Jul 2002 02:37:19 -0700 (PDT) Date: Sat, 13 Jul 2002 02:37:16 -0700 From: Scott Lampert To: "Andrew Martin" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /dev/dsp reports "device busy" but nothing using it Message-Id: <20020713023716.53d74dc2.scott@lampert.org> In-Reply-To: <20020713033636.2fe434f5.ugly@inhuman.org> References: <20020713033636.2fe434f5.ugly@inhuman.org> X-Mailer: Sylpheed version 0.7.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.5) X-Operating-System: FreeBSD 4.5-RELEASE-p4 Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.0utxbM1QU9,ZM8" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=.0utxbM1QU9,ZM8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 13 Jul 2002 03:36:36 -0400 "Andrew Martin" wrote: > Hello, > > I was playing audio with mplayer and when it finished, mplayer closed as > usual, however when trying to play something else I now receive "device > busy" messages about /dev/dsp. I do _NOT_ have esd or any other sound > daemon running (checked ps ax), nor do I have any other app that plays > audio running. In addition, grep'ing fstat for the inode of /dev/dsp > gives no results. I get the error with any app, including just cat'ing > files to /dev/dsp. I don't see how /dev/dsp could possibly be still in > use. I have discovered I can play sounds using /dev/dsp0.1 .2 .3 for > now > (/dev/dsp0.0 still reports device busy until I reboot). I was getting this too until I applied the patch in PR kern/35004 from February 16. You can see it here: I was hoping this would make it into 4.6 but apparently its still tagged as an open issue. It's worked for me (as I noted in the PR) fine for a few months on the RELENG_4_5 branch. -Scott -- Scott Lampert "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, 1759 Public Key: http://www.lampert.org/lampert.key --=.0utxbM1QU9,ZM8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9L/TPSVL3/uWE7xYRAjoMAJ0QZG98BxZqCcYSunrU7Qb7kZ2kAACfYCav FAjrj+XE0Wt82lSkBxfTpPU= =yav2 -----END PGP SIGNATURE----- --=.0utxbM1QU9,ZM8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message