From nobody@FreeBSD.org  Mon Feb 11 19:09:50 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 D2D0337C12F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Feb 2002 19:04:40 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1C34el58957;
	Mon, 11 Feb 2002 19:04:40 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202120304.g1C34el58957@freefall.freebsd.org>
Date: Mon, 11 Feb 2002 19:04:40 -0800 (PST)
From: Wesley Miaw <wesley@bmrc.berkeley.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /src/sys/dev/sound doesn't work correctly, post Aug 2001
X-Send-Pr-Version: www-1.0

>Number:         34854
>Category:       kern
>Synopsis:       [sound] /src/sys/dev/sound doesn't work correctly, post Aug 2001
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 11 19:10:03 PST 2002
>Closed-Date:    Sun Sep 11 19:01:28 GMT 2005
>Last-Modified:  Sun Sep 11 19:01:28 GMT 2005
>Originator:     Wesley Miaw
>Release:        4.4-RELEASE
>Organization:
Berkeley Multimedia Research Center
>Environment:
FreeBSD quimby.bmrc.berkeley.edu 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Feb 11 18:17:05 PST 2002     root@quimby.bmrc.berkeley.edu:/usr/obj/usr/src/sys/QUIMBY  i386
>Description:
The 4.4-RELEASE /src/sys/dev/sound code causes write() to return -1 with
Invalid Argument when using Open Mash vat with a Yamaha OPL3-SAx sound
card. Swapping in the sound directory from
'cvs co -D "July 31, 2001 12:00pm" sys_dev_sound'
fixes the problem, and write returns normally.

I saw a discussion on the FreeBSD newsgroup about this problem occuring
in 4.4-PRERELEASE and this confirms that the problem still exists in
4.4-RELEASE.
>How-To-Repeat:
Install Open Mash from cvs (instructions at
http://www.openmash.org/developers/cvs/unix.html) on a FreeBSD
4.4-RELEASE machine with sound compiled into the kernel. Use a Yamaha
OPL3-SAx sound card (or possibly any other half-duplex only card) and
try to receive audio from a multicast session using vat. vat will appear
to hang, but it is actually caught in a loop trying to write audio
because write() is returning -1.
>Fix:
Revert to the old /src/sys/dev/sound code.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Jul 12 21:44:49 PDT 2003 
Responsible-Changed-Why:  
Over to sound maintainers 

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

http://www.freebsd.org/cgi/query-pr.cgi?pr=34854 
State-Changed-From-To: feedback->closed 
State-Changed-By: netchild 
State-Changed-When: Sun Sep 11 19:01:14 GMT 2005 
State-Changed-Why:  
Originator address bounces (unknown user). 

If someone has the same problem, please open a new PR. 

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