From nobody@FreeBSD.org  Mon Apr 10 23:12:43 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5479037B596
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Apr 2000 23:12:43 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id XAA57107;
	Mon, 10 Apr 2000 23:12:43 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200004110612.XAA57107@freefall.freebsd.org>
Date: Mon, 10 Apr 2000 23:12:43 -0700 (PDT)
From: phiber@phiber.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: SB16 ISA-PnP sometimes produces loud static with pcm driver
X-Send-Pr-Version: www-1.0

>Number:         17923
>Category:       kern
>Synopsis:       SB16 ISA-PnP sometimes produces loud static with pcm driver
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    cg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 10 23:20:01 PDT 2000
>Closed-Date:    Mon Mar 26 21:59:51 PST 2001
>Last-Modified:  Mon Mar 26 22:00:47 PST 2001
>Originator:     Mark Abene
>Release:        4.0-RELEASE
>Organization:
Crossbar Security, Inc.
>Environment:
FreeBSD ziggurat.phiber.com 4.0-RELEASE FreeBSD 4.0-RELEASE #3: Sun Apr  9 00:01:28 EDT 2000     root@ziggurat.phiber.com:/usr/src/sys/compile/ZIGGURAT  alpha
>Description:
I'm using an Alpha PC164 with an original SB16 ISA-PnP card.  When 
playing mp3's, with either xmms 1.0.1 or mpg123q, I randomly get LOUD
static instead of the expected output.  If the song starts fine, it will
play fine in its entirety.  The problem happens at random when you first
try to play an mp3.  If you stop it and try again, it usually plays just
fine.  I'm simply doing a "device pcm" in my kernel config file.
The card is detected and initialized just fine.  dmesg produces:

sbc0: <Creative ViBRA16X> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 
1,3 on isa0
sbc0: setting card to irq 5, drq 1, 3
sbc0: interrupting at ISA irq 5
pcm0: <SB DSP 4.16 (ViBRA16X)> on sbc0

For what it's worth, I reported this problem on the freebsd-alpha
mailing list, and another user said he has the identical problem on
an *intel* box with the same soundcard, so this may not be alpha
specific.

>How-To-Repeat:
Play a series of mp3's with xmms.  It will eventually hit a song and 
play LOUD static.  Stopping it and hitting play again, and typically 
it will then play fine.
Or, play the same mp3 repeatedly with mpg123.  On average, 1 out of 5
times it will screech static and has to be interrupted.

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->cg 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Apr 11 05:58:34 PDT 2000 
Responsible-Changed-Why:  
Over to the driver's maintainer.  I've got a feeling that this was 
recently fixed in -CURRENT, in which case you might need to wait 
for the fix to be merged onto the RELENG_4 branch. 

From: Mark Abene <phiber@radicalmedia.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/17923: SB16 ISA-PnP sometimes produces loud static with pcm driver
Date: Sat, 15 Apr 2000 00:39:13 -0400

 I've tried playing sounds on FreeBSD-current, using the build in 
 ftp.freebsd.org/pub/FreeBSD/FreeBSD-current.  It randomly plays static noise
 just the same as before.  Nothing different.
 
 Could you make a patch available against 4.0-RELEASE that I could try?
 
 Thanks,
 -Mark
 
 
State-Changed-From-To: open->closed 
State-Changed-By: cg 
State-Changed-When: Mon Mar 26 21:59:51 PST 2001 
State-Changed-Why:  
fixed in -current and -stable 

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