Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 01:00:43 +0100
From:      Christian Brueffer <chris@unixpages.org>
To:        Alexander Langer <alex@big.endian.de>
Cc:        current@FreeBSD.ORG
Subject:   Re: /dev/dsp disappears while being used
Message-ID:  <20030124000043.GW2568@unixpages.org>
In-Reply-To: <20030123221005.GA65033@fump.kawo2.rwth-aachen.de>
References:  <20030123221005.GA65033@fump.kawo2.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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: <CMedia CMI8738> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030124000043.GW2568>