Bug 475756 - sound is broken with kernel-2.6.27.5-37 and HDA-Intel card
Summary: sound is broken with kernel-2.6.27.5-37 and HDA-Intel card
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-10 10:31 UTC by Timon
Modified: 2009-06-03 08:04 UTC (History)
9 users (show)

Fixed In Version: 2.6.27.12-78.2.8.fc9.i686
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-27 08:53:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to revert ALSA 1.0.18a import. (2.15 KB, patch)
2009-01-08 12:11 UTC, Thomas Fitzsimmons
no flags Details | Diff

Description Timon 2008-12-10 10:31:52 UTC
Description of problem:
sound broken. Player shows that it plays music but no sound from speakes. I see error messages in dmesg like this:

Dec 10 15:13:32 localhost kernel: ALSA sound/core/pcm_native.c:1940: BUG? (err >= 0)
Dec 10 15:13:32 localhost kernel: Pid: 28535, comm: npviewer.bin Not tainted 2.6.27.7-53.fc9.i686 #1
Dec 10 15:13:32 localhost kernel: [<f899311c>] snd_pcm_hw_constraints_complete+0xb5/0x26c [snd_pcm]
Dec 10 15:13:32 localhost kernel: [<f8993331>] snd_pcm_open_substream+0x5e/0x97 [snd_pcm]
Dec 10 15:13:32 localhost kernel: [<f899340c>] snd_pcm_open+0xa2/0x186 [snd_pcm]
Dec 10 15:13:32 localhost kernel: [<c0423e0f>] ? default_wake_function+0x0/0xd
Dec 10 15:13:32 localhost kernel: [<f8966191>] ? snd_lookup_minor_data+0x3d/0x44 [snd]
Dec 10 15:13:32 localhost kernel: [<f899353c>] snd_pcm_playback_open+0x23/0x26 [snd_pcm]
Dec 10 15:13:32 localhost kernel: [<f89664c2>] snd_open+0xc7/0x125 [snd]
Dec 10 15:13:32 localhost kernel: [<c04910ec>] chrdev_open+0x12b/0x142
Dec 10 15:13:32 localhost kernel: [<c048d74a>] __dentry_open+0x10e/0x1fc
Dec 10 15:13:32 localhost kernel: [<c048d8bf>] nameidata_to_filp+0x1f/0x33
Dec 10 15:13:32 localhost kernel: [<c0490fc1>] ? chrdev_open+0x0/0x142
Dec 10 15:13:32 localhost kernel: [<c04973c8>] do_filp_open+0x31c/0x611
Dec 10 15:13:32 localhost kernel: [<c041d75b>] ? need_resched+0x18/0x22
Dec 10 15:13:32 localhost kernel: [<c048d568>] do_sys_open+0x42/0xb7
Dec 10 15:13:32 localhost kernel: [<c048d61f>] sys_open+0x1e/0x26
Dec 10 15:13:32 localhost kernel: [<c0403cca>] syscall_call+0x7/0xb
Dec 10 15:13:32 localhost kernel: =======================

Version-Release number of selected component (if applicable):

[timon@localhost ~]$ cat /proc/asound/cards 
 0 [VT82xx         ]: HDA-Intel - HDA VIA VT82xx
                      HDA VIA VT82xx at 0xcfffc000 irq 17
[timon@localhost ~]$ rpm -q kernel
kernel-2.6.27.5-41.fc9.i686
kernel-2.6.27.7-53.fc9.i686
kernel-2.6.27.5-37.fc9.i686

How reproducible:
allways

with kernel-2.6.27.5-37.fc9.i686 everything works fine, but with kernel-2.6.27.7-53.fc9.i686 sound is broken. and it seems than with kernel-2.6.27.5-41.fc9.i686 it broken too

Comment 1 Kathryn Marks 2008-12-28 12:32:29 UTC
I can confirm on my hardware as well.

[kathryn@Galaxy ~]$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd4240000 irq 22

[kathryn@Galaxy ~]$ rpm -q kernel
kernel-2.6.27.5-41.fc9.i686
kernel-2.6.27.7-53.fc9.i686
kernel-2.6.27.9-73.fc9.i686

Comment 2 Thomas Janssen 2008-12-29 15:07:29 UTC
Same is in Fedora 10 with:

HDA-Intel - HDA Intel
HDA Intel at 0xfc400000 irq 22

kernel-2.6.27.7-134.fc10.x86_64

Kernel 134 works flawless

kernel-2.6.27.9-159.fc10.x86_64

Kernel 159 no sound.

Comment 3 Thomas Fitzsimmons 2009-01-08 12:11:29 UTC
Created attachment 328458 [details]
Patch to revert ALSA 1.0.18a import.

The regression seems to have been caused by this change:

* Mon Dec 08 2008 Chuck Ebbert <cebbert> 2.6.27.7-139
- ALSA 1.0.18a
  Dropped patches:
    linux-2.6-alsa-ac97-whitelist.patch
    linux-2.6-alsa-ac97-whitelist-AD1981B.patch
    linux-2.6-alsa-revo51-headphone.patch
    linux-2.6-olpc-speaker-out.patch

This patch against 2.6.27.10-168 on the F-10 branch restores sound support on my machine.

Comment 4 Michel Lind 2009-01-13 01:43:32 UTC
Could this patch be reverted? There is a lot of duplicates to this bug, a lot of them seems to stem from that patch being dropped.

Comment 5 Kathryn Marks 2009-02-01 04:59:20 UTC
With the kernel update I installed from yum today, I now have sound.

[kathryn@Galaxy ~]$ uname -a
Linux Galaxy 2.6.27.12-78.2.8.fc9.i686 #1 SMP Mon Jan 19 20:14:35 EST 2009 i686 i686 i386 GNU/Linux

Comment 6 Kostya Kardamanov 2009-06-03 08:04:35 UTC
I have the same problem currently:

[root@korum ~]# uname -a
Linux korum.sw.ru 2.6.27.24-170.2.68.fc10.x86_64 #1 SMP Wed May 20 22:47:23 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

[root@korum ~]# cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf9ff8000 irq 22

[root@korum ~]# dmesg | grep 'ALSA\|kded4' | tail -n3
ALSA sound/core/pcm_native.c:1940: BUG? (err >= 0)
Pid: 2890, comm: kded4 Tainted: P          2.6.27.24-170.2.68.fc10.x86_64 #1
ALSA sound/core/pcm_native.c:2046: snd_pcm_hw_constraints_complete failed


Note You need to log in before you can comment on or make changes to this bug.