azalia -- no sound on CURRENT
Hello misc@, Compiled freshly checked out -current from 10/23/08 -- no sound. Looked through mixerctl and audioctl outputs, didn't find anything interesting. Downgraded azalia_codec.c to 1.49 azalia.h to 1.15 azalia.c to 1.55 recompiled kernel -- sound works again. If needed, I could track down exact revision that causes the problem. Here's dmesg, GAMMA = GENERIC.MP + NTFS OpenBSD 4.4-current (GAMMA) #37: Fri Oct 24 00:47:46 PDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GAMMA real mem = 2090717184 (1993MB) avail mem = 2029920256 (1935MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries) bios0: vendor LENOVO version 7LETB9WW (2.19 ) date 06/06/2008 bios0: LENOVO 7658CTO acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz, 2394.41 MHz cpu0: FPU,VME,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,NXE,LONG cpu0: 3MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz, 2394.00 MHz cpu1: FPU,VME,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,NXE,LONG cpu1: 3MB 64b/line 8-way L2 cache ioapic0 at mainbus0 apid 1 pa 0xfec0, 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 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpicpu1 at acpi0: C3, C2 acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4530 serial 483 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock at acpi0 not configured acpivideo at acpi0 not configured acpivideo at acpi0 not configured cpu0: unknown i686 model 7, can't get bus clockcpu0: EST: unknown system bus clock pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xe000, size 0x1000 inteldrm0 at vga1 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured em0 at pci0 dev 25 function 0 Intel ICH8 IGP M AMT rev 0x03: apic 1 int 20 (irq 11), address 00:1c:25:76:fa:ea uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 (irq 11) uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21 (irq 11) ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 22 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 1 int 17 (irq 11) azalia0: RIRB time out azalia0: RIRB time out azalia0: codec[s]: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices AD1984 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 1 int 20 (irq 11) pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 21 (irq 11) pci2 at ppb1 bus 3 iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965AGN rev 0x61: apic 1 int 17 (irq 11), MIMO 2T3R, MoW1, address 00:1f:3b:03:b1:59 ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: apic 1 int 22 (irq 11) pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x03: apic 1 int 23 (irq 11) pci4 at ppb3 bus 5 ppb4 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: apic 1 int 20 (irq 11) pci5 at ppb4 bus 13 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 16 (irq 10) uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 17 (irq 11) uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 1 int 18 (irq 11) ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 int 19 (irq 11) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 Intel 82801BAM
Re: azalia -- no sound on CURRENT
On 00:57 Fri 24 Oct, Aaron Stellman wrote: Hello misc@, Compiled freshly checked out -current from 10/23/08 -- no sound. Looked through mixerctl and audioctl outputs, didn't find anything interesting. Downgraded azalia_codec.c to 1.49 azalia.h to 1.15 azalia.c to 1.55 recompiled kernel -- sound works again. If needed, I could track down exact revision that causes the problem. Here's dmesg, GAMMA = GENERIC.MP + NTFS Hi! Show us the outputs of mixerctl -va and audioctl too please, -- Vladimir Kirillov http://darkproger.net
Re: azalia -- no sound on CURRENT
On Fri, Oct 24, 2008 at 12:57:54AM -0700, Aaron Stellman wrote: Hello misc@, Compiled freshly checked out -current from 10/23/08 -- no sound. Looked through mixerctl and audioctl outputs, didn't find anything interesting. Downgraded azalia_codec.c to 1.49 azalia.h to 1.15 azalia.c to 1.55 recompiled kernel -- sound works again. If needed, I could track down exact revision that causes the problem. Here's dmesg, GAMMA = GENERIC.MP + NTFS OpenBSD 4.4-current (GAMMA) #37: Fri Oct 24 00:47:46 PDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GAMMA real mem = 2090717184 (1993MB) avail mem = 2029920256 (1935MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries) bios0: vendor LENOVO version 7LETB9WW (2.19 ) date 06/06/2008 bios0: LENOVO 7658CTO I have run into the same problem. Also, on a Lenovo ThinkPad T61 7658-CTO. The regression happened in version 1.59 of azalia.c. I don't have access to the machine at the moment. However, backing out this particular change appears to fix it. Index: azalia.c === RCS file: /cvs/src/sys/dev/pci/azalia.c,v retrieving revision 1.61 diff -u -p -r1.61 azalia.c --- azalia.c23 Oct 2008 02:06:53 - 1.61 +++ azalia.c24 Oct 2008 13:17:04 - @@ -1562,7 +1562,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:
Re: azalia -- no sound on CURRENT
On Fri, Oct 24, 2008 at 10:57 AM, Aaron Stellman [EMAIL PROTECTED] wrote: Hello misc@, Compiled freshly checked out -current from 10/23/08 -- no sound. Looked through mixerctl and audioctl outputs, didn't find anything interesting. Downgraded azalia_codec.c to 1.49 azalia.h to 1.15 azalia.c to 1.55 recompiled kernel -- sound works again. If needed, I could track down exact revision that causes the problem. Here's dmesg, GAMMA = GENERIC.MP + NTFS Please drop me a mixerctl -av output diff between old (working) and new (non-working). Alexey
Re: azalia -- no sound on CURRENT
2008/10/24 Dan Harnett [EMAIL PROTECTED]: On Fri, Oct 24, 2008 at 12:57:54AM -0700, Aaron Stellman wrote: Hello misc@, Compiled freshly checked out -current from 10/23/08 -- no sound. Looked through mixerctl and audioctl outputs, didn't find anything I think I lost sound on my Asus1000H as well; I'll check tonight...
Re: azalia -- no sound on CURRENT
On Fri, Oct 24, 2008 at 06:42:25PM +0300, Alexey Suslikov wrote: On Fri, Oct 24, 2008 at 10:57 AM, Aaron Stellman [EMAIL PROTECTED] wrote: Hello misc@, Compiled freshly checked out -current from 10/23/08 -- no sound. Looked through mixerctl and audioctl outputs, didn't find anything interesting. Downgraded azalia_codec.c to 1.49 azalia.h to 1.15 azalia.c to 1.55 recompiled kernel -- sound works again. If needed, I could track down exact revision that causes the problem. Here's dmesg, GAMMA = GENERIC.MP + NTFS Please drop me a mixerctl -av output diff between old (working) and new (non-working). Alexey OK, here we go: working mixerctl and audioctl: outputs.master=204,204 outputs.master.mute=off [ off on ] record.volume=124,124 record.volume.mute=off [ off on ] record.source=mic [ mic ] inputs.mic.preamp=85,85 inputs.mic=120,120 inputs.mic.mute=off [ off on ] outputs.headphones=204,204 outputs.headphones.mute=off [ off on ] outputs.headphones.boost=off [ off on ] outputs.speaker=204,204 outputs.speaker.mute=off [ off on ] outputs.speaker.boost=off [ off on ] outputs.mono=120 outputs.mono.mute=off [ off on ] name=HD-Audio version=1.0 config=azalia0 encodings=slinear_le:16,slinear_le:16,slinear_le:16 properties=full_duplex,independent full_duplex=0 fullduplex=0 blocksize=9600 hiwat=6 lowat=1 output_muted=0 monitor_gain=0 mode= play.rate=48000 play.channels=2 play.precision=16 play.encoding=slinear_le play.gain=204 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=0 play.active=0 play.buffer_size=65536 play.block_size=9600 play.errors=0 record.rate=48000 record.channels=2 record.precision=16 record.encoding=slinear_le record.gain=120 record.balance=32 record.port=0x1 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 non-working mixerctl and audioctl: outputs.master=204,204 outputs.master.mute=off [ off on ] record.volume=124,124 record.volume.mute=off [ off on ] record.source=mic [ mic ] inputs.mic.preamp=85,85 inputs.mic=120,120 inputs.mic.mute=off [ off on ] outputs.headphones=204,204 outputs.headphones.mute=off [ off on ] outputs.headphones.boost=off [ off on ] outputs.speaker=204,204 outputs.speaker.mute=off [ off on ] outputs.speaker.boost=off [ off on ] outputs.mono=120 outputs.mono.mute=off [ off on ] name=HD-Audio version=1.0 config=azalia0 encodings=slinear_le:16,slinear_le:16,slinear_le:16 properties=full_duplex,independent full_duplex=0 fullduplex=0 blocksize=8704 hiwat=7 lowat=5 output_muted=0 monitor_gain=0 mode=play play.rate=44100 play.channels=2 play.precision=16 play.encoding=slinear_le play.gain=204 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=52224 play.samples=8033792 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=8704 play.errors=0 record.rate=48000 record.channels=2 record.precision=16 record.encoding=slinear_le record.gain=120 record.balance=32 record.port=0x1 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=204,204 outputs.master.mute=off [ off on ] record.volume=124,124 record.volume.mute=off [ off on ] record.source=mic [ mic ] inputs.mic.preamp=85,85 inputs.mic=120,120 inputs.mic.mute=off [ off on ] outputs.headphones=204,204 outputs.headphones.mute=off [ off on ] outputs.headphones.boost=off [ off on ] outputs.speaker=204,204 outputs.speaker.mute=off [ off on ] outputs.speaker.boost=off [ off on ] outputs.mono=120 outputs.mono.mute=off [ off on ] name=HD-Audio version=1.0 config=azalia0 encodings=slinear_le:16,slinear_le:16,slinear_le:16 properties=full_duplex,independent full_duplex=0 fullduplex=0 blocksize=8704 hiwat=7 lowat=5 output_muted=0 monitor_gain=0 mode=play play.rate=44100 play.channels=2 play.precision=16 play.encoding=slinear_le play.gain=204 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=52224 play.samples=8033792 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=8704 play.errors=0 record.rate=48000 record.channels=2 record.precision=16 record.encoding=slinear_le record.gain=120 record.balance=32 record.port=0x1 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=204,204 outputs.master.mute=off [ off on ] record.volume=124,124 record.volume.mute=off [ off on ] record.source=mic [ mic ] inputs.mic.preamp=85,85