From owner-freebsd-stable Wed Jul 26 22:19:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id D804537BD18 for ; Wed, 26 Jul 2000 22:19:30 -0700 (PDT) (envelope-from cshumway@bsdi.com) Received: from localhost (cshumway@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id WAA61451; Wed, 26 Jul 2000 22:18:13 -0700 (PDT) (envelope-from cshumway@bsdi.com) X-Authentication-Warning: pike.osd.bsdi.com: cshumway owned process doing -bs Date: Wed, 26 Jul 2000 22:18:13 -0700 (PDT) From: Christopher Shumway X-Sender: cshumway@pike.osd.bsdi.com To: Devin Butterfield Cc: hdiwan@pobox.com, Hasan Diwan , stable@FreeBSD.ORG Subject: Re: [pcm0 play interrupt timeout, channel dead] and other problems In-Reply-To: <00072615312000.04245@dbm.wireless.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 26 Jul 2000, Devin Butterfield wrote: > On Sun, 23 Jul 2000, Hasan Diwan wrote: > > This appears to be a race condition. It seems that something > > arbitrarily locks /dev/dsp (my soundcard) at random intervals and > > lsof can't figure out what it is. Brian Fumerola suggested a patch that > > decreased the occurence, but it didn't eliminate it. > > Another problem is that RealPlayer7 kills X when I load it. No > > error is given. > > We are still experiencing the same problem as outlined earlier > > this month with the ep driver resetting a 3com PnP 3c509TPO card's MAC > > address to '00:00:00:00:00:00', and renders it unusable. > > > > I'm having this same problem with pcm on a sony vaio Z505SX (has the neomagic > chipset). Attempting to play an mp3 file with mpg123 results in "pcm0 play > interrupt timeout, channel dead" and then /dev/dsp is locked. Attempting to > play short .wav files results in looping of a half second segment of the .wav > file for a long time...then sound stops working. > > I'm running STABLE (RC): > > FreeBSD dbm.wireless.net 4.1-RC FreeBSD 4.1-RC #0: Thu Jul 20 > > on that box. > > Is this a bug in the pcm driver, or is this the result of poorly supported > hardware (specifically the neomagic chipset in the vaio)?? > > Any ideas? Apply this patch to src/sys/dev/sound/pcm/channel.c, it seems to fix it on my Sony Viao Z505SX. (Credit goes to Bill Fumerola) --- channel.c.orig Tue Jun 20 16:42:08 2000 +++ channel.c Tue Jul 25 12:10:11 2000 @@ -234,7 +234,7 @@ b->fl = b->bufsize - b->rl; b->underflow = 0; } else { - /* chn_dmaupdate(c); */ + chn_dmaupdate(c); } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message