From owner-freebsd-bugs Mon Feb 11 19:16:31 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4092137BB12 for ; Mon, 11 Feb 2002 19:10:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1C3A3363101; Mon, 11 Feb 2002 19:10:03 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D2D0337C12F for ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/34854: /src/sys/dev/sound doesn't work correctly, post Aug 2001 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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