From owner-freebsd-questions@FreeBSD.ORG Tue Jan 13 08:13:33 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 08F6416A4CE for ; Tue, 13 Jan 2004 08:13:33 -0800 (PST) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C392243D62 for ; Tue, 13 Jan 2004 08:13:28 -0800 (PST) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: KNqmBuXpjU1fpOd1u4ZrBw 1074010407 Received: from [206.26.199.146] (unknown [206.27.244.214]) by www.fastmail.fm (Postfix) with ESMTP id 5AB9A4A58A6; Tue, 13 Jan 2004 11:13:26 -0500 (EST) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 1AgRAA-000FjC-00; Tue, 13 Jan 2004 10:13:06 -0600 Date: Tue, 13 Jan 2004 10:13:06 -0600 From: Nathan Kinkade To: Gautam Gopalakrishnan Message-ID: <20040113161306.GM5411@npkfbsd> Mail-Followup-To: Gautam Gopalakrishnan , Alex Zivenko , freebsd-questions@freebsd.org References: <000601c3d909$60a86e90$0500a8c0@fire> <20040112200921.GA10661@madras.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="I4g3zIzscEHdx6fd" Content-Disposition: inline In-Reply-To: <20040112200921.GA10661@madras.dyndns.org> User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade cc: Alex Zivenko cc: freebsd-questions@freebsd.org Subject: Re: xmms - problem - how to fix? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 16:13:33 -0000 --I4g3zIzscEHdx6fd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 13, 2004 at 07:09:21AM +1100, Gautam Gopalakrishnan wrote: > On Sun, Jan 11, 2004 at 02:24:30PM +0200, Alex Zivenko wrote: > > Hi! > > I have some problem with my xmms mm player. When I'm treing to > > listen some mp3's it gives me aN error, that I don't know how to > > fix. I have KDE 3.1 if you need this info ^) So here it is: > > bash-2.05b$ xmms > > /dev/dsp: Device busy > > /dev/dsp: Device busy > > /* with OSS driver */ > >=20 > > ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): > > Device busy > >=20 > > ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): > > Device busy > >=20 > > ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): > > Device busy /dev/dsp: Device busy >=20 >=20 > I have the same error sometimes when I use mpg123 or mplayer. I don't > have kde or any sound daemon like arts or esound. fstat does not help > too. I just have to wait for sometime for the device to be available > again, maybe a minute. Any ideas, welcome >=20 > Gautam I have also been having this problem on 5.1-RELEASE. I posted about this a month or two ago and found that a couple other people were having the same problem, but nobody seemed to have a solution. My system exhibits this problem with either xmms or mp3blaster and it is seemingly random. Again, `fstat | grep dsp' reveals nothing. I am using blackbox and have no sound daemon of any sort. However, I am recently of the opinion that it may be a memory related issue. I have 256MB of RAM, but my machine is always hovering on being out of physical memory and usually dips into swap. I can consistently resolve the problem by closing, say, Mozilla Firebird to free up some memory. I then relaunch Firebird and am fine for while. Then, after a time, the problem comes back and I can either continually press the play button until it decides to play, or I can close some application. I have no idea whether this is actually some interesting issue relating to swap/memory and the sound device or just a co-incidence. In any case it seems to work. This is an awful workaround, but I don't know what else to do at the moment. Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --I4g3zIzscEHdx6fd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFABBkSO0ZIEthSfkkRAhjBAJwP8nPEnOfYuIfg/JKDx3f6C53xYQCfXUtn QSyAszFdJ7m3O7+48S9KwfM= =bkX4 -----END PGP SIGNATURE----- --I4g3zIzscEHdx6fd--