From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 19 22:20:44 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85F3A16A4CE for ; Sat, 19 Jun 2004 22:20:44 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FB8C43D45 for ; Sat, 19 Jun 2004 22:20:44 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i5JMKFp4032744 for ; Sat, 19 Jun 2004 22:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5JMKFQu032743; Sat, 19 Jun 2004 22:20:15 GMT (envelope-from gnats) Date: Sat, 19 Jun 2004 22:20:15 GMT Message-Id: <200406192220.i5JMKFQu032743@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Simon L. Nielsen" Subject: Re: misc/68122: Device busy (/dev/dsp)- insane, nothing using it X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Simon L. Nielsen" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 22:20:44 -0000 The following reply was made to PR misc/68122; it has been noted by GNATS. From: "Simon L. Nielsen" To: Marcin Gondek Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/68122: Device busy (/dev/dsp)- insane, nothing using it Date: Sun, 20 Jun 2004 00:10:54 +0200 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2004.06.19 20:13:58 +0000, Marcin Gondek wrote: > > >Category: i386 BTW, this does not seem like a problem a specific i386 so it's better to use a more generic category another time. > root@fido:~]$ fstat /dev/dsp > USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME I don't think you can do it like that... E.g. : [simon@zaphod:~] fstat /dev/dsp USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME [simon@zaphod:~] fstat /dev/dsp* USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME simon mplayer 1188 6 /dev 38 crw-rw-rw- dsp0.0 w /dev/= dsp0.0 [simon@zaphod:~] mplayer /usr/local/OpenOffice.org1.1.0/share/gallery/sound= s/untie.wav MPlayer 0.92.1-3.3.3 (C) 2000-2003 MPlayer Team =2E.. audio_setup: Can't open audio device /dev/dsp: Device busy /dev/dsp: Device busy [simon@zaphod:~] So, could you try to run fstat /dev/dsp* instead ? I would think something is holding /dev/dsp0.0 open. --=20 Simon L. Nielsen FreeBSD Documentation Team --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA1Lnth9pcDSc1mlERApNeAJ4h7hwMZtu7FQkOQokGCOrhjkrdxACfaqsr DDD9uY8Ef6zxKQPlxtZMy8w= =Z7W2 -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8--