Bug 17923

Summary: SB16 ISA-PnP sometimes produces loud static with pcm driver
Product: Base System Reporter: phiber <phiber>
Component: kernAssignee: cg
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description phiber 2000-04-11 07:20:01 UTC
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.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-04-11 13:58:34 UTC
Responsible Changed
From-To: freebsd-bugs->cg

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. 

Comment 2 phiber 2000-04-15 05:39:13 UTC
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
Comment 3 cg freebsd_committer freebsd_triage 2001-03-27 06:59:51 UTC
State Changed
From-To: open->closed

fixed in -current and -stable