From nobody@FreeBSD.org  Thu Feb 14 15:23:35 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E234737B404
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Feb 2002 15:23:28 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1ENNSt36307;
	Thu, 14 Feb 2002 15:23:28 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202142323.g1ENNSt36307@freefall.freebsd.org>
Date: Thu, 14 Feb 2002 15:23:28 -0800 (PST)
From: William Ward <william.ward@ericsson.com>, wardd@mobycarp.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: Attempt to play -> "pcm0: play interrupt timeout, channel dead"
X-Send-Pr-Version: www-1.0

>Number:         34942
>Category:       kern
>Synopsis:       [sound] Attempt to play -> "pcm0: play interrupt timeout, channel dead"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 14 15:30:01 PST 2002
>Closed-Date:    Mon Sep 12 18:35:55 GMT 2005
>Last-Modified:  Mon Sep 12 18:35:55 GMT 2005
>Originator:     William Ward
>Release:        4.5-RELEASE
>Organization:
none
>Environment:
FreeBSD lappy.exu.ericsson.se 4.5-RELEASE FreeBSD 4.5-RELEASE #4: 
Thu Feb 14 22:56:27 CST 2002     wardd@lappy.exu.ericsson.se:
/usr/src/sys/compile/LAPPY  i386

>Description:
Sending data to pcm device results in messsage from kernel:

	pcm0: play interrupt timeout, channel dead

The machine is a Toshiba Tecra 8000.  The sound works with 
FreeBSD 4.2 RELEASE but not with 4.5.  It may have actually
been broaken around 4.4 or so.

% cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Feb 14 2002 21:20:52
Installed devices:
pcm0: <OPL3-SAx (YMF719)> at io 0x530 irq 10 drq 1 (1p/1r/0v channels)

I can cat a file to /dev/audio and get sound for about one
second.  Then the sound stops and pcm0 reports the error.

>How-To-Repeat:
Using Tecra 8000 laptop, build kernel with the following line:

	device          pcm0 at isa? irq 10 drq 1 flags 0x0

Then send some data to it:

	% cat /kernel > /dev/audio

An audio file might sound better but if the problem is happening
you will only get about one second of kernel music.
>Fix:
Is it normal for one's brain to mealt down while reading source code?
>Release-Note:
>Audit-Trail:

From: sue@welearn.com.au
To: freebsd-gnats-submit@FreeBSD.org, william.ward@ericsson.com
Cc:  
Subject: Re: kern/34942: Attempt to play -> "pcm0: play%2
Date: Sat, 16 Feb 2002 13:21:21 +1100 (EST)

 >The machine is a Toshiba Tecra 8000.  The sound works with
 >FreeBSD 4.2 RELEASE but not with 4.5.  It may have actually
 >been broaken around 4.4 or so.
 
 FYI, similar experiences here with 4.4R after prior success.
 Maybe same problem?
 
 $ uname -a
 FreeBSD set.welearn.com.au 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Sun Feb  3 07:02:56 EST 2002     root@set.welearn.com.au:/local/src/sys/compile/SET  i386
 
 $ cat /dev/sndstat
 FreeBSD Audio Driver (newpcm) Dec 26 2001 06:50:47
 Installed devices:
 pcm0: <Yamaha OPL-SAx> at io 0x530 irq 5 drq 0:1 (1p/1r/0v channels duplex)
 
 Feb 16 07:29:29 set /kernel: pcm0: play interrupt timeout, channel dead
 Feb 16 07:41:10 set last message repeated 9 times
 Feb 16 07:47:35 set last message repeated 3 times
 Feb 16 08:12:58 set /kernel: pcm0: play interrupt timeout, channel dead
 
 >I can cat a file to /dev/audio and get sound for about one
 >second.  Then the sound stops and pcm0 reports the error.
 
 In my case, after a second it stops and keeps holding on the second or
 third note, along with a low raspy note, until I kill the player app.
 I made a midi file containing only one very short note, and it sustained
 that note until killed, too.
 
 I was using timidity for days with great success, then this error
 started and I can't play any kind of sound file any more, with any app,
 not even cat a .au to /dev/audio.
 Just before it happened, I was using gtkmidi where I attempted to rewind
 a few times and changed the volume within gtkmidi and it stopped playing,
 froze, and I had to kill the app. Since then nothing can play sound files
 any more.
 
 
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sun Jul 13 02:41:52 PDT 2003 
Responsible-Changed-Why:  
Assign to sound maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34942 
State-Changed-From-To: open->feedback 
State-Changed-By: netchild 
State-Changed-When: Sun Sep 11 13:09:10 GMT 2005 
State-Changed-Why:  
Is this still a problem with 5.[34] or -current? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34942 
State-Changed-From-To: feedback->closed 
State-Changed-By: netchild 
State-Changed-When: Mon Sep 12 18:35:25 GMT 2005 
State-Changed-Why:  
Closed upon request by originator. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34942 
>Unformatted:
