Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 19:04:40 -0800 (PST)
From:      Wesley Miaw <wesley@bmrc.berkeley.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/34854: /src/sys/dev/sound doesn't work correctly, post Aug 2001
Message-ID:  <200202120304.g1C34el58957@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         34854
>Category:       kern
>Synopsis:       /src/sys/dev/sound doesn't work correctly, post Aug 2001
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 11 19:10:03 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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