From owner-freebsd-current Thu Jan 23 14:10:10 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 7FD4137B401 for ; Thu, 23 Jan 2003 14:10:08 -0800 (PST) Received: from fump.kawo2.rwth-aachen.de (fump.kawo2.RWTH-Aachen.DE [134.130.181.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 886AF43F3F for ; Thu, 23 Jan 2003 14:10:07 -0800 (PST) (envelope-from alex@fump.kawo2.rwth-aachen.de) Received: from fump.kawo2.rwth-aachen.de (localhost [127.0.0.1]) by fump.kawo2.rwth-aachen.de (8.12.6/8.12.6) with ESMTP id h0NMA5kb065122 for ; Thu, 23 Jan 2003 23:10:05 +0100 (CET) (envelope-from alex@fump.kawo2.rwth-aachen.de) Received: (from alex@localhost) by fump.kawo2.rwth-aachen.de (8.12.6/8.12.6/Submit) id h0NMA5lE065121 for current@FreeBSD.org; Thu, 23 Jan 2003 23:10:05 +0100 (CET) Date: Thu, 23 Jan 2003 23:10:05 +0100 From: Alexander Langer To: current@FreeBSD.org Subject: /dev/dsp disappears while being used Message-ID: <20030123221005.GA65033@fump.kawo2.rwth-aachen.de> Mail-Followup-To: Alexander Langer , current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. User-Agent: Mutt/1.5.1i 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 Folks. I heard on IRC others are seeing this as well: 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. This is my sndstat, if of interest: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800 irq 10 (1p/1r/2v channels duplex default) 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 Anyways, here's the problem description: 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. 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: ** 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 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". 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. Is this a devfs bug? I almost think so, but I'm not sure. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message