From owner-freebsd-current Thu Jan 23 16: 0:54 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA92537B401 for ; Thu, 23 Jan 2003 16:00:51 -0800 (PST) Received: from milan.hitnet.rwth-aachen.de (milan.hitnet.RWTH-Aachen.DE [137.226.181.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE33143F18 for ; Thu, 23 Jan 2003 16:00:45 -0800 (PST) (envelope-from chris@unixpages.org) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) by milan.hitnet.rwth-aachen.de (Postfix) with ESMTP id C357CC4F2; Fri, 24 Jan 2003 01:00:44 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 2D09145A9; Fri, 24 Jan 2003 01:00:43 +0100 (CET) Date: Fri, 24 Jan 2003 01:00:43 +0100 From: Christian Brueffer To: Alexander Langer Cc: current@FreeBSD.ORG Subject: Re: /dev/dsp disappears while being used Message-ID: <20030124000043.GW2568@unixpages.org> References: <20030123221005.GA65033@fump.kawo2.rwth-aachen.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5brFvzndHJmu5ZwQ" Content-Disposition: inline In-Reply-To: <20030123221005.GA65033@fump.kawo2.rwth-aachen.de> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT X-PGP-Key: http://www.unixpages.org/cbrueffer.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --5brFvzndHJmu5ZwQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 23, 2003 at 11:10:05PM +0100, Alexander Langer wrote: >=20 > Folks. I heard on IRC others are seeing this as well: >=20 > I'm using FreeBSD 5.0-CURRENT #2: Thu Jan 9 22:49:45 CET 2003 on i386, > but it used to happen since at least December, maybe even November (I'm > always using more or less recent -CURRENT's). > I didn't happen before, so I can be rather sure it's not the xmms binary > which causes the error, since I haven't changed anything in regard to > XMMS since August: > -r-xr-xr-x 1 root wheel 974196 Aug 23 12:24 xmms > and this error definitely didn't occur before November. >=20 > This is my sndstat, if of interest: > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xd800 irq 10 (1p/1r/2v channels duplex defa= ult) >=20 > hw.snd.targetirqrate: 32 > hw.snd.report_soft_formats: 1 > hw.snd.verbose: 1 > hw.snd.unit: 0 > hw.snd.maxautovchans: 5 > hw.snd.pcm0.buffersize: 16384 > hw.snd.pcm0.vchans: 2 > hw.snd.pcm0.spdif_enabled: 0 >=20 > Anyways, here's the problem description: >=20 > After several hours/days of uptime (2 days now) and approx. > 12 hours/day sound usage with XMMS and like hundrets of MP3 songs played, > /dev/dsp just disappears. >=20 > It always happens after XMMS finnished an MP3 song and wants to play the > next one (also on songs it successfully played before). This fails, > because of these error messages: >=20 > ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): > Operation not supported by device > ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No > such file or directory >=20 > I then mknod a dsp device with the major/minor of dsp in / and s-linked > /dev/dsp to /dsp. xmms then reports "Device busy". >=20 > When I then symbolically link /dev/dsp to one of the dspX.X devices, > XMMS can play sound for some more time, but then these are disappearing > as well. >=20 > Is this a devfs bug? I almost think so, but I'm not sure. >=20 > Alex >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message >=20 >=20 I'm seeing this too, same sound chip, by the way. I'm running a recent cur= rent with the src/sys/dev/sound from early december, which works fine. The only commits to sys/dev/sound I can recall from that time frame were so= me locking changes in the pcm driver. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --5brFvzndHJmu5ZwQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+MIIrbHYXjKDtmC0RAooLAJ9Gqs/gVr2n3W6lBhYa0mDj+aPjhQCg2q4g owxr1Y81b9hEFwn4RLSTNQo= =3vuM -----END PGP SIGNATURE----- --5brFvzndHJmu5ZwQ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message