misc/68122: Device busy (/dev/dsp)- insane, nothing using it

Simon L. Nielsen simon at FreeBSD.org
Sat Jun 19 22:20:44 GMT 2004


The following reply was made to PR misc/68122; it has been noted by GNATS.

From: "Simon L. Nielsen" <simon at FreeBSD.org>
To: Marcin Gondek <drixter at e-utp.net>
Cc: freebsd-gnats-submit at 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 at 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 at zaphod:~] fstat /dev/dsp
 USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
 [simon at 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 at 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 at 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--


More information about the freebsd-bugs mailing list