Date: Mon, 9 Feb 2004 06:49:22 +0100 From: Melvyn Sopacua <freebsd-questions@webteckies.org> To: freebsd-questions@FreeBSD.org Subject: Re: /dev/dsp "device busy" - one possible solution Message-ID: <200402090649.22746.freebsd-questions@webteckies.org> In-Reply-To: <20040209003742.5FE0C5434@netcom1.netcom.com> References: <20040209003742.5FE0C5434@netcom1.netcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-02=_i9xJAG4BUrhIz4Y Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 09 February 2004 01:37, Mike Harding wrote: > I was playing around with kde 3.2 and a crashing artsd was locking up > my sound system - any further attempts to use sound from gnome or xmms > or anything failed with > > /dev/dsp - device busy > > messages. fstat and lsof showed nothing holding the device. A reboot > would fix it, but why reboot FreeBSD? > > I then remembered from a while ago that if I did the following... > > # cat /dev/dsp > > and then of course cntl-C to stop the output > > the device was no longer busy! What would be interesting to know, if that output stops sometime. Try: cat /dev/dsp > /var/tmp/out.wav That would mean, that arts has something written to the device upon crash a= nd=20 the device blocks, waiting for somebody to unload it. =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Ja= n 28=20 18:01:18 CET 2004 =20 root@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG = =20 i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-02=_i9xJAG4BUrhIz4Y Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAJx9iOv9JNmfFN5URAvC9AJ9j5LD07SlKBZpG2Q3ghBwteB2HCQCcCE3e zsC704CMTXDtvs0kg2cbdPI= =7KNK -----END PGP SIGNATURE----- --Boundary-02=_i9xJAG4BUrhIz4Y--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402090649.22746.freebsd-questions>