Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2000 22:18:13 -0700 (PDT)
From:      Christopher Shumway <cshumway@bsdi.com>
To:        Devin Butterfield <dbutter@wireless.net>
Cc:        hdiwan@pobox.com, Hasan Diwan <hdiwan@ssd.loral.com>, stable@FreeBSD.ORG
Subject:   Re: [pcm0 play interrupt timeout, channel dead] and other problems
Message-ID:  <Pine.BSF.4.21.0007262214360.61140-100000@pike.osd.bsdi.com>
In-Reply-To: <00072615312000.04245@dbm.wireless.net>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007262214360.61140-100000>