Hello, I am using a 4.4-current on a Vaio VGN-SZ5MN, and this morning, after building a freshly checked out system, no more sound. My problem is the same as reported by Aaron Stellman [1], and his fix worked in my case.
Here's my dmesg, audioctl, mixerctl -va and the azalia.c's diff. Cheers, Martin [1] http://marc.info/?l=openbsd-misc&m=122483518428590&w=2 OpenBSD 4.4-current (GENERIC.MP) #2: Sat Nov 15 12:37:38 BRST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz ("GenuineIntel" 686-class) 1.84 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR real mem = 2145480704 (2046MB) avail mem = 2066006016 (1970MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @ 0xfdbd0, SMBIOS rev. 2.4 @ 0xdc010 (19 entries) bios0: vendor Phoenix Technologies LTD version "R0112N0" date 04/12/2007 bios0: Sony Corporation VGN-SZ5MN_B acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC HPET MCFG TCPA SLIC APIC BOOT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices PWRB(S4) S1F0(S4) S1F1(S4) S1F2(S4) S1F3(S4) S1F4(S4) S1F5(S4) S1F6(S4) S1F7(S4) TLAN(S3) DLAN(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB7(S3) SLT0(S4) EC0_(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz ("GenuineIntel" 686-class) 1.84 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 6 (RP02) acpiprt4 at acpi0: bus 7 (RP03) acpiprt5 at acpi0: bus 8 (RP04) acpiprt6 at acpi0: bus 9 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C2 acpicpu1 at acpi0: C2 acpitz0 at acpi0: critical temperature 99 degC acpitz1 at acpi0: critical temperature 100 degC acpitz2 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibat0 at acpi0: BAT1 type LION oem "Sony Corp." acpiac0 at acpi0: AC unit online acpidock at acpi0 not configured acpivideo at acpi0 not configured bios0: ROM list: 0xc0000/0xf000 0xdc000/0x4000! 0xe0000/0x1c00! cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2506000b25 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1833 MHz (1292 mV): speeds: 1833, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 (irq 5) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7400 Go" rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 1 int 21 (irq 10) azalia0: codecs: Sigmatel STAC9872AK, Conexant/0x2bfa, using Sigmatel STAC9872AK audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 16 (irq 5) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 17 (irq 10) pci3 at ppb2 bus 6 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 int 17 (irq 10), MoW2, address 00:19:d2:b5:65:9b ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 18 (irq 10) pci4 at ppb3 bus 7 mskc0 at pci4 dev 0 function 0 "Marvell Yukon 88E8036" rev 0x16, Yukon-2 FE (0x1): apic 1 int 18 (irq 10) msk0 at mskc0 port A: address 00:13:a9:fa:5a:52 eephy0 at msk0 phy 0: 88E3082 10/100 PHY, rev. 3 ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 19 (irq 10) pci5 at ppb4 bus 8 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 19 (irq 10) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 19 (irq 10) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19 (irq 10) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 23 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci6 at ppb5 bus 9 cbb0 at pci6 dev 4 function 0 "TI PCIXX12 CardBus" rev 0x00: apic 1 int 20 (irq 255) "TI PCIXX12 FireWire" rev 0x00 at pci6 dev 4 function 1 not configured "TI PCIXX12 Multimedia Card Reader" rev 0x00 at pci6 dev 4 function 2 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 10 device 0 cacheline 0x10, lattimer 0x40 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-RAM UJ-852S, 1.00> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 1 int 22 (irq 10) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <FUJITSU MHW2120BH> wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: polling iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 mtrr: Pentium Pro MTRR support uvideo0 at uhub0 port 6 configuration 1 interface 0 "Ricoh product 0x1835" rev 2.00/1.00 addr 2 uvideo0: just 2 bytes bmControls supported yet! uvideo0: could not GET probe request: STALLED ugen0 at uhub4 port 2 "ALPS UGX" rev 2.00/19.15 addr 2 softraid0 at root root on wd0a swap on wd0b dump on wd0b name=HD-Audio version=1.0 config=azalia0 encodings=slinear_le:16 properties=full_duplex,independent full_duplex=0 fullduplex=0 blocksize=13440 hiwat=3 lowat=2 output_muted=0 monitor_gain=0 mode=play play.rate=44100 play.channels=2 play.precision=16 play.encoding=slinear_le play.gain=126 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=40320 play.samples=165795840 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=1 play.active=1 play.buffer_size=65536 play.block_size=13440 play.errors=0 record.rate=48000 record.channels=2 record.precision=16 record.encoding=slinear_le record.gain=127 record.balance=32 record.port=0x0 record.avail_ports=0x1 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.block_size=9600 record.errors=0 outputs.master=126,126 outputs.master.mute=off [ off on ] record.volume.mute=on [ off on ] record.volume=119,119 record.source=mic2 [ mic mic2 dac ] inputs.mic=126,126 outputs.headphones.mute=off [ off on ] outputs.headphones=126,126 outputs.speaker.mute=off [ off on ] outputs.speaker=210,210 Index: sys/dev/pci/azalia.c =================================================================== RCS file: /cvs/src/sys/dev/pci/azalia.c,v retrieving revision 1.72 diff -u -p -r1.72 azalia.c --- sys/dev/pci/azalia.c 14 Nov 2008 21:58:11 -0000 1.72 +++ sys/dev/pci/azalia.c 15 Nov 2008 19:08:52 -0000 @@ -1664,7 +1664,8 @@ azalia_codec_connect_stream(codec_t *thi this->comresp(this, nid, CORB_SET_DIGITAL_CONTROL_L, v, NULL); } - startchan += WIDGET_CHANNELS(&this->w[nid]); + if (nchan > 2) + startchan += WIDGET_CHANNELS(&this->w[nid]); } exit:

