From nobody@FreeBSD.org  Sun Jan  7 18:25:48 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3ACB037B402
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  7 Jan 2001 18:25:48 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f082Pmo43897;
	Sun, 7 Jan 2001 18:25:48 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101080225.f082Pmo43897@freefall.freebsd.org>
Date: Sun, 7 Jan 2001 18:25:48 -0800 (PST)
From: dforste@qwest.net
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: emu10k1 has trouble playing non-44.1KHz samples (like 22KHz and 11KHz)
X-Send-Pr-Version: www-1.0

>Number:         24141
>Category:       kern
>Synopsis:       [sound] emu10k1 has trouble playing non-44.1KHz samples (like 22KHz and 11KHz)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sound
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 07 18:30:00 PST 2001
>Closed-Date:    Sat Jul 30 01:15:54 GMT 2005
>Last-Modified:  Sat Jul 30 01:15:54 GMT 2005
>Originator:     David Forster
>Release:        4.2-RELEASE
>Organization:
N/A
>Environment:
FreeBSD norfair.dyndns.org 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Fri Jan  5 23:12:50 MST 2001     root@norfair.dyndns.org:/usr/src/sys/compile/NORFAIR  i386
>Description:
The emu10k1 driver has trouble playing samples which are not 44.1KHz.  
22KHz and 11KHz samples sound staticy and `rough.'  The sample pops
every now and then, but always when the sample starts playing.  It 
sounds sort of like an AM radio station...This occurs with mono or 
stereo playback.  

My system:
PIII-800EB w/ VIA chipset
192MB RAM
SB Live!


>How-To-Repeat:
Play any 11KHz or 22KHz audio stream.
>Fix:
I noticed that a fix was commited for something very similar to this
a while back, but the last commit brought that bug back.  I used to
have this card working OK under 4.1 (or 4.0, can't remeber) and the
then -CURRENT emu10k.* driver (was running from the NMI bug).

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Nov 18 11:58:49 PST 2001 
State-Changed-Why:  

Does this problem still exist? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24141 

From: =?iso-8859-1?q?Matt=20Sykes?= <mattmsykes@yahoo.co.uk>
To: freebsd-gnats-submit@FreeBSD.org, dforste@qwest.net
Cc:  
Subject: Re: kern/24141: emu10k1 has trouble playing non-44.1KHz samples (like 22KHz and 11KHz)
Date: Thu, 31 Jan 2002 06:35:27 +0000 (GMT)

 Yes this problem most definitely still exists.
 
 I'm getting these symptoms on 4.5-stable as of 
 an hour ago with the same card.
 
 Kernel compiled with "device pcm".
 
 dual PIII 550 512M RAM
 
 $ cat /dev/sndstat
 FreeBSD Audio Driver (newpcm) Jan 30 2002 23:27:39
 Installed devices:
 pcm0: <Creative EMU10K1> at io 0xb800 irq 5 (4p/1r/0v channels
 duplex)
 
 $ dmesg
 Copyright (c) 1992-2002 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD 4.5-STABLE #0: Wed Jan 30 23:28:22 GMT 2002
     root@xerxes:/usr/obj/usr/src/sys/XERXES
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (551.25-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  
 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 536858624 (524276K bytes)
 avail memory = 519344128 (507172K bytes)
 Programming 24 pins in IOAPIC #0
 IOAPIC #0 intpin 2 -> irq 0
 FreeBSD/SMP: Multiprocessor motherboard
  cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
  cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
  io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
 Preloaded elf kernel "kernel" at 0xc035e000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc035e09c.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Using $PIR table, 6 entries at 0xc00f0d20
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 IOAPIC #0 intpin 19 -> irq 2
 IOAPIC #0 intpin 17 -> irq 5
 IOAPIC #0 intpin 16 -> irq 10
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
 pci0
 pci1: <PCI bus> on pcib1
 isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device
 4.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 4.2 irq 2
 Timecounter "PIIX"  frequency 3579545 Hz
 chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f
 at device 4.3 on pci0
 xl0: <3Com 3c900-COMBO Etherlink XL> port 0xd000-0xd03f irq 2 at
 device 9.0 on pci0
 xl0: Ethernet address: 00:60:08:ab:aa:16
 xl0: selecting 10baseT transceiver, half duplex
 pcm0: <Creative EMU10K1> port 0xb800-0xb81f irq 5 at device 11.0 on
 pci0
 pci0: <Matrox MGA Millennium 2064W graphics accelerator> at 12.0 irq
 10
 orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
 isa0
 sc0: <System console> on isa0
 sc0: VGA <8 virtual consoles, flags=0x200>
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
 isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 APIC_IO: Testing 8254 interrupt delivery
 APIC_IO: routing 8254 via IOAPIC #0 intpin 2
 IPsec: Initialized Security Association Processing.
 IP Filter: v3.4.20 initialized.  Default = pass all, Logging =
 enabled
 SMP: AP CPU #1 Launched!
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ad0: 19470MB <IBM-DJNA-352030> [39560/16/63] at ata0-master UDMA33
 ad1: 8063MB <QUANTUM FIREBALL SE8.4A> [16383/16/63] at ata0-slave
 UDMA33
 acd0: CDROM <CD-ROM 50X> at ata1-master using PIO4
 Mounting root from ufs:/dev/ad0s1a
 
 
 
 
 
 
 
 
 
 
 __________________________________________________
 Do You Yahoo!?
 Everything you'll ever need on one web page
 from News and Sport to Email and Music Charts
 http://uk.my.yahoo.com
State-Changed-From-To: feedback->open 
State-Changed-By: sheldonh 
State-Changed-When: Thu Jan 31 01:46:11 PST 2002 
State-Changed-Why:  
Problem persists in 4.5-RELEASE. 


Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Thu Jan 31 01:46:11 PST 2002 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24141 

From: David Forster <dforste@m-net.arbornet.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/24141: emu10k1 has trouble playing non-44.1KHz samples (like 22KHz and 11KHz)
Date: Fri, 7 Mar 2003 02:42:24 -0500

 Wow!  2 years later I try out 5.0, have the same problem, go to search
 bug database and find my old bug report...;)  This problem still exists
 with 5.0-RELEASE.  
State-Changed-From-To: open->feedback 
State-Changed-By: matk 
State-Changed-When: Tue Dec 9 12:32:20 PST 2003 
State-Changed-Why:  
Query the submitter to find out if the problem still occurs for him. 
It does not for me.  Hopefully we can soon close this pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24141 

From: Mathew Kanner <mat@cnd.mcgill.ca>
To: freebsd-gnats-submit@FreeBSD.org, dforste@qwest.net
Cc:  
Subject: Re: kern/24141: emu10k1 has trouble playing non-44.1KHz samples (like 22KHz and 11KHz)
Date: Tue, 9 Dec 2003 15:29:19 -0500

 Hello David,
 	I'm trying to clean out the PR database, sorry it's such a
 long time for you to get a respone.  Does this problem still occur for
 you?  Playing a 11khz stream works ok for me.
 
 pcm1: <Creative EMU10K1> port 0xb400-0xb41f irq 5 at device 8.0 on pci0
 pcm1: <SigmaTel STAC9708/11 AC97 Codec>
 
 	--Mat
 
 -- 
 	Canada is a country whose main exports are hockey players
 	and cold fronts. Our main imports are baseball players and
 	acid rain.
 			- Pierre Elliott Trudeau
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Sat Jul 30 01:15:46 GMT 2005 
State-Changed-Why:  
Feedback timeout 

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