Hello, I'm trying since 3.8 release to figure out what's wrong on my desktop computer. Now I'm running 3.9 and I still have this strange behaviour (dmesg attached to the end of this text block).
The issue is related to the sound applications. The hardware is a VIA8233 AC97 + ICEnsemble ICE1232. I started with 2 multimedia applications: mplayer-1.0pre7p15 xmms-1.2.10p6 (xmms-mp3-1.2.10p6) XMMS is playing almost ok, because some pitches and chunks are audible. This issue was understandable when I found out on the web that this hardware is locked on a 48000 Hz rate, so you must use this sampling rate. XMMS is not able to do this sampling, so I tested it without this feature. The mp3 is played, but in the moment I receive 'auvia0: codec invalid' in the console, the volume jumps up. If I check the mixerctl -a setting, I can see that outputs.master=255,255 and inputs.dac=255,255 , even they were selected on the average values before. If i turn them back, after a while they jump again on the maximum values. MPlayer has the option to do a sample rate on 48000 Hz. I use it, the sound in not a garbage, but the behavior is the same like XMMS: the two mixerctl settings are set to maximum at the first report of 'auvia0: codec invalid' - blue background text reported in the console . At the second report of the same text, the sound is gone. I checked and I saw another two mixerctl setting modified: outputs.master.mute=on (it was off) and inputs.dac.mute=on (it was off, too). On both applications, I set the mixerctl settings back, but they are changed after a while , like I said before. I installed another well known decoder: mpg123-0.59rp4 I started this command line application with sample rate set to 48000 Hz and everything is ok. That text message is not reported in the console, and the sound is ok. I found just 2 people complaining about this on the web, but also many own this hardware and they don't reports such behaviours. I even changed some values in source code (TIMEOUT define in /usr/src/sys/dev/pci/auvia.c ) but no luck. I don't know what's wrong, maybe a BIOS PCI setting. There is also a comment on the source code of OpenBSD related to this error message, dated back in 3.2 release. If anyone has a hint, please sent it to me. I'm not sure if this is because of driver or the application. Thanks OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 1600+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.41 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE cpu0: AMD Powernow: TS real mem = 1073258496 (1048104K) avail mem = 972615680 (949820K) using 4278 buffers containing 53764096 bytes (52504K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(87) BIOS, date 12/05/03, BIOS32 rev. 0 @ 0xfb460 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf94 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/144 (7 entries) pcibios0: PCI Exclusive IRQs: 5 7 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8233 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xf800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8366 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8366 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce4 MX 440 AGP" rev 0xa4 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) xl0 at pci0 dev 15 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 11, address 00:10:5a:9a:42:5c exphy0 at xl0 phy 24: 3Com internal media interface viapm0 at pci0 dev 17 function 0 "VIA VT8233 ISA" rev 0x00 iic0 at viapm0 "unknown" at iic0 addr 0x18 not configured "unknown" at iic0 addr 0x4e not configured pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLP AS40.0> wd0: 16-sector PIO, LBA, 38172MB, 78177792 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-W552E, 1.09> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 17 function 2 "VIA VT83C572 USB" rev 0x18: irq 7 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 17 function 3 "VIA VT83C572 USB" rev 0x18: irq 7 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 17 function 4 "VIA VT83C572 USB" rev 0x18: irq 7 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x10: irq 11 ac97: codec id 0x49434511 (ICEnsemble ICE1232) ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D audio0 at auvia0 isa0 at mainbus0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lm0 at isa0 port 0x290/8: W83697HF npx0 at isa0 port 0xf0/16: using exception 16 biomask e7fd netmask effd ttymask ffff pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 auvia0: codec invalid auvia0: codec invalid auvia0: codec invalid Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com