Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2000 13:37:34 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        Bill Fumerola <billf@chimesnet.com>
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>
In-Reply-To: <20000722141326.G51462@jade.chc-chimes.com>; from billf@chimesnet.com on Sat, Jul 22, 2000 at 02:13:26PM -0400
References:  <20000722110819.A1118@hdroam.ssd.loral.com> <20000722141326.G51462@jade.chc-chimes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <NeoMagic 256AV> 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




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