From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 21:49:23 2004 Return-Path: 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 BE4F016A4CE for ; Sun, 8 Feb 2004 21:49:23 -0800 (PST) Received: from sarevok.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87DEF43D1D for ; Sun, 8 Feb 2004 21:49:23 -0800 (PST) (envelope-from mdev@sarevok.webteckies.org) Received: by sarevok.webteckies.org (Postfix, from userid 100) id E1A62B91C; Mon, 9 Feb 2004 06:49:22 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: freebsd-questions@FreeBSD.org Date: Mon, 9 Feb 2004 06:49:22 +0100 User-Agent: KMail/1.5.94 References: <20040209003742.5FE0C5434@netcom1.netcom.com> In-Reply-To: <20040209003742.5FE0C5434@netcom1.netcom.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_i9xJAG4BUrhIz4Y"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402090649.22746.freebsd-questions@webteckies.org> Subject: Re: /dev/dsp "device busy" - one possible solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 05:49:23 -0000 --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--