From owner-freebsd-stable Mon Jul 24 5:37:12 2000 Delivered-To: freebsd-stable@freebsd.org Received: from genius.systems.pavilion.net (genius.systems.pavilion.net [212.74.1.100]) by hub.freebsd.org (Postfix) with ESMTP id EDD6D37B860 for ; Mon, 24 Jul 2000 05:37:03 -0700 (PDT) (envelope-from joe@pavilion.net) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id 83C369B03; Mon, 24 Jul 2000 13:37:34 +0100 (BST) Date: Mon, 24 Jul 2000 13:37:34 +0100 From: Josef Karthauser To: Bill Fumerola Cc: hdiwan@pobox.com, stable@FreeBSD.ORG Subject: Re: [FreeBSD 4.1-RC #0: Sat Jul 22 10:26:20 PDT 2000] problems Message-ID: <20000724133734.B830@pavilion.net> Mail-Followup-To: Josef Karthauser , Bill Fumerola , hdiwan@pobox.com, stable@FreeBSD.ORG References: <20000722110819.A1118@hdroam.ssd.loral.com> <20000722141326.G51462@jade.chc-chimes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20000722141326.G51462@jade.chc-chimes.com>; from billf@chimesnet.com on Sat, Jul 22, 2000 at 02:13:26PM -0400 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jul 22, 2000 at 02:13:26PM -0400, Bill Fumerola wrote: > On Sat, Jul 22, 2000 at 11:08:19AM -0700, Hasan Diwan wrote: > > Two problems with sources from above date/time: > > 1) pcm will proclaim 'play timeout, channel dead' after playing one mp3 > > (This is confirmed with 7 or 8 different files). After this, /dev/dsp is > > mysteriously locked. lsof doesn't list what's got it, and revoke(2) > > can't unlock it. > > Try this: > > Index: channel.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/sound/pcm/channel.c,v > retrieving revision 1.32 > diff -u -r1.32 channel.c > --- channel.c 2000/06/20 23:42:08 1.32 > +++ channel.c 2000/07/22 17:36:34 > @@ -234,7 +234,7 @@ > b->fl = b->bufsize - b->rl; > b->underflow = 0; > } else { > - /* chn_dmaupdate(c); */ > + chn_dmaupdate(c); > } > } This fixed sound for me too, but now APM is hosed, i.e. the machine hangs after using sound on a suspend. This is under 5.0 but the problem is possibly present under 4.x also. genius% cat /dev/sndstat FreeBSD Audio Driver (newpcm) Jul 18 2000 11:40:56 Installed devices: pcm0: at memory 0xfe000000, 0xfec00000 irq 9 (1p/1r channels duplex) genius% uname -a FreeBSD genius.systems.pavilion.net 5.0-CURRENT FreeBSD 5.0-CURRENT #86: Wed Jul 19 14:31:38 BST 2000 joe@genius.systems.pavilion.net:/usr/src/sys/compile/GENIUS i386 Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message