NetBSD Problem Report #112

From gnats  Mon Jan 31 19:07:39 1994
Received: from forte (forte.mathematik.uni-Bremen.de [134.102.232.1]) by sun-lamp.cs.berkeley.edu (8.6.5/8.6.5) with ESMTP id TAA03113 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 31 Jan 1994 19:03:36 -0800
Message-Id: <199402010303.EAA11885@forte>
Date: Tue, 1 Feb 1994 04:03:06 +0100
From: thomas@mathematik.uni-Bremen.de
Reply-To: thomas@mathematik.uni-Bremen.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: /dev/sound with SBPRO hangs
X-Send-Pr-Version: 3.2

>Number:         112
>Category:       port-i386
>Synopsis:       /dev/sound with SBPRO hangs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 31 19:20:23 +0000 1994
>Closed-Date:    Tue Jan 16 07:08:35 +0000 1996
>Last-Modified:  Thu Jan 02 18:13:34 +0000 2014
>Originator:     Thomas Eberhardt
>Release:        
>Organization:
CeVis, University of Bremen, Germany
>Environment:

System: NetBSD ed209 0.9a ED209#0 i386

Machine: i386
>Description:
	It looks that there are problems with the "high-speed" DMA mode
	in the Sound Blaster driver.

	Another thing: I've played with tracker 3.1 (a MOD player).
	I've previously used the Sound Blaster driver for 386bsd and
	everything was fine.  When I now try to make tracker do its thing
	based on the Sparc output module, I just get a bunch of short
	burst.  But when I modify tracker to write its samples to a file
	and then do a "cat" of this file to /dev/audio the output is ok.
	tracker does a lot of small write(2)'s to output its samples.
>How-To-Repeat:
	Make kernel with "options SBPRO" and do "cat /usr/bin/tee >/dev/sound".
	This should interpret the data as linear encoded and 43478 samples/sec.
	But the process just hangs and is not interruptible.  "ps -axl" gives:

  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
  100 13279   134   0  10  0    60   52 audio  IE+  p2    0:00.04 cat /usr/bin/

	Doing "cat /usr/bin/tee >/dev/audio" instead just makes the desired
	noise.  Here the data is interpreted as mu-law encoded and
	8000 samples/sec.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Tue Jan 16 02:08:35 EST 1996 
State-Changed-Why:  
Another user says this has been fixed. 

>Unformatted:

 SUP 8.26 (4.3 BSD) for file NetBSD-current/supfile at Feb  1 03:48:07
 Last update occurred at Mon Jan 31 11:41:57 1994 for collection src
 Last update occurred at Mon Jan 31 11:39:56 1994 for collection ksrc
 Last update occurred at Mon Jan 31 11:39:27 1994 for collection gamessrc
 Last update occurred at Mon Jan 31 11:41:45 1994 for collection regress
 Last update occurred at Mon Jan 31 11:41:27 1994 for collection othersrc

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.