lkml.org 
[lkml]   [2002]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectOSS VIA82cxxx sound driver problem.

System:
AMD Athlon 800Mhz
Kernel 2.4.19, built with GCC 3.2
VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
PCI bridge: VIA Technologies, Inc. VT8371 [KX133 AGP] (rev 0).

I've compiled the VIA82cxxx driver into the kernel, not as a module. The
driver works correctly for some time, but after a while it seems that it
can't set certain output frequencies (but it still plays sound), as I
noticed that XMMS plays songs at a slower frequency.

Small output of "dmesg", whole log in attachment:

...
...
attempt to access beyond end of device
16:40: rw=0, want=479602, limit=479600
via82cxxx: timeout while reading AC97 codec (0xAC0000)
via82cxxx: Codec rate locked at 48Khz
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
Quake 3 sounds ok, probably becuse it's playing audio at a rate that the
driver still can set (11Khz i think).

/Jacob
Linux version 2.4.19 (foobar@D640.sparta.afb.lu.se) (gcc version 3.2 (CRUX)) #1 Sun Nov 10 17:40:00 CET 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
BIOS-e820: 0000000007ff0000 - 0000000007ff3000 (ACPI NVS)
BIOS-e820: 0000000007ff3000 - 0000000008000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
127MB LOWMEM available.
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=CRUX ro root=301 quiet
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 801.832 MHz processor.
Console: colour VGA+ 132x60
Calibrating delay loop... 1599.07 BogoMIPS
Memory: 127452k/131008k available (1052k kernel code, 3168k reserved, 240k data, 240k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Before vendor init, caps: 0183fbff c1c3fbff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After vendor init, caps: 0183fbff c1c3fbff 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0183fbff c1c3fbff 00000000 00000000
CPU: Common caps: 0183fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 801.8438 MHz.
..... host bus clock speed is 200.4608 MHz.
cpu: 0, clocks: 2004608, slice: 1002304
CPU0<T0:2004608,T1:1002304,D:0,S:1002304,C:2004608>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb270, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
PCI: Disabling Via external APIC routing
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:DMA
hda: Maxtor 51536U3, ATA DISK drive
hdd: CR-2801TE, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 30015216 sectors (15368 MB) w/2048KiB Cache, CHS=1868/255/63, UDMA(66)
hdd: ATAPI 8X CD-ROM CD-R drive, 512kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
8139too Fast Ethernet driver 0.9.25
PCI: Found IRQ 11 for device 00:09.0
PCI: Sharing IRQ 11 with 00:07.2
PCI: Sharing IRQ 11 with 00:07.3
eth0: RealTek RTL8139 Fast Ethernet at 0xc8804000, 00:c0:ca:30:97:3c, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
Via 686a audio driver 1.9.1
PCI: Found IRQ 5 for device 00:07.5
ac97_codec: AC97 Audio codec, id: 0x4144:0x5340 (Analog Devices AD1881)
via82cxxx: board #1 at 0xDC00, IRQ 5
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 240k freed
Adding Swap: 136544k swap-space (priority -1)
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,4), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
spurious 8259A interrupt: IRQ7.
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
nvidia: loading NVIDIA Linux x86 NVdriver Kernel Module 1.0-3123 Tue Aug 27 15:56:48 PDT 2002
ISO 9660 Extensions: RRIP_1991A
UDP: short packet: 194.47.241.67:137 0/76 to 194.47.243.255:137
UDP: short packet: 194.47.242.120:137 0/76 to 194.47.243.255:137
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: RRIP_1991A
UDP: short packet: 194.47.240.28:137 0/76 to 194.47.243.255:137
ISO 9660 Extensions: RRIP_1991A
attempt to access beyond end of device
16:40: rw=0, want=677952, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=677954, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479602, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479604, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479606, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479608, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479610, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479612, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479614, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479616, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479618, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479620, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479622, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479624, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479626, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479628, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479630, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479632, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479634, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479636, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479638, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479640, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479642, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479644, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479646, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479648, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479650, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479652, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479654, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479656, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479658, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479660, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479662, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479664, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479666, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479668, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479670, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479672, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479674, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479676, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479678, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479680, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479682, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479684, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479686, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479688, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479690, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479692, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479694, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479696, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479698, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479700, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479702, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479704, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479706, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479708, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479710, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479712, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479714, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479716, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479718, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479720, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479722, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479724, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479726, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479728, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479730, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479732, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479734, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479736, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479738, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479740, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479742, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479744, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479746, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479748, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479750, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479752, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479754, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479756, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479758, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479760, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479762, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479764, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479766, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479768, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479770, limit=479600
attempt to access beyond end of device
16:40: rw=0, want=479602, limit=479600
via82cxxx: timeout while reading AC97 codec (0xAC0000)
via82cxxx: Codec rate locked at 48Khz
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
\
 
 \ /
  Last update: 2005-03-22 13:31    [from the cache]
©2003-2011 Jasper Spaans