Problems with snd_via82c686 module

From: Svatoboj <svatoboj_at_centrum.cz>
Date: Sun, 1 Aug 2004 20:05:29 +0200
Hello,

I have strange behaviour problems with on-board sound card using
snd_via82c686 module.
Sound gets somehow distorted and scratchy out of speakers.
Here is pciconf -vl output:

--snip--
pcm0_at_pci0:7:5:  class=0x040100 card=0x33001462 chip=0x30581106 rev=0x50
hdr=0x00

vendor   = 'VIA Technologies Inc'
device   = 'VT82C686/A/B AC'97 Audio Codec'
class    = multimedia
subclass = audio
--snip--

and dmesg -a output:

--snip--
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq
5 at de
vice 7.5 on pci0
pcm0: <ICEnsemble ICE1232 AC97 Codec>
--snip--

dmesg -a | grep "irq 5" reveals:

pcib0: slot 7 INTC is routed to irq 5
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq
5 at de
vice 7.5 on pci0


Sometimes output sounds to be slowed down when CPU is heavily
loaded.
System fingerprint is:
mjolnir# uname -a
FreeBSD mjolnir 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #5: Fri Jul 30
18:08:0
3 CEST 2004     root_at_mjolnir:/usr/src/sys/i386/compile/CUSTOM  i386

Just googled and found no relevant hints. I would be thankful for any
helpful hints.

Svata

Here is full output of dmesg:

Copyright (c) 1992-2004 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 5.2.1-RELEASE-p9 #5: Fri Jul 30 18:08:03 CEST 2004
    root_at_mjolnir:/usr/src/sys/i386/compile/CUSTOM
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b3d000.
Preloaded elf module "/boot/kernel/snd_via82c686.ko" at 0xc0b3d1f4.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0b3d2a8.
Preloaded elf module "/boot/modules/nvidia.ko" at 0xc0b3d354.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc0b3d400.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b3d4ac.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 1600+ (1377.45-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (255 MB)
avail memory = 251039744 (239 MB)
Pentium Pro MTRR support enabled
VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc0850f82 (1000022)
VESA: NVidia
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 MSI ACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fd5d0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 7 INTD is routed to irq 10
pcib0: slot 7 INTD is routed to irq 10
pcib0: slot 7 INTC is routed to irq 5
pcib0: slot 9 INTA is routed to irq 11
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xd8000000-0xdbffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib0: slot 1 INTA is routed to irq 10
pcib1: slot 0 INTA is routed to irq 10
nvidia0: <GeForce2 MX/MX 400> mem 0xd0000000-0xd7ffffff,0xdc000000-0xdcffffff irq 10 at device 0.0 on pci1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xd000-0xd00f at device 7.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5 at device 7.5 on pci0
pcm0: <ICEnsemble ICE1232 AC97 Codec>
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xde000000-0xde0000ff irq 11 at device 9.0 on pci0
rl0: Ethernet address: 00:c0:26:67:ae:70
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model NetMouse/NetScroll Optical, device ID 0
pmtimer0 on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1377445171 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc2e1dd60
ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA100
acd0: CDROM <ASUS CD-S520/A4> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
pflog: $Name: VERSION_2_03 $
pfsync: $Name: VERSION_2_03 $
in6_ifattach: pflog0 is not multicast capable, IPv6 not enabled
in6_ifattach: pfsync0 is not multicast capable, IPv6 not enabled
pflog0: promiscuous mode enabled
pf: $Name: VERSION_2_03 $


-- 
If you cannot work with love but only with distaste it is better that you
should leave your work.
                                                     Kahlil Gibran
Received on Sun Aug 01 2004 - 16:08:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC