Skip to contentSkip to conversation

PATCH: Fix snd-hda-intel boot hang on ASUS A8N-VM

PATCH Brian Lindholm 3 participants 4 messages Mar 16, 2010 – Mar 21, 2010 Sound

lore
Share & tools
lore
#0 lore raw

This patch fixes a regression in 2.6.33.x. Was working in 2.6.32.x.

Symptom: Hang on boot at "HDA Intel". Boots only if on-board sound
is disabled or if "snd-hda-intel.enable_msi=0" is appended to boot parameters.

Machine: ASUS A8N-VM with Athlon-X2 processor.

Relevant output from lspci -nn:

00:10.1 Audio device [0403]: nVidia Corporation MCP51 High Definition Audio [10de:026c] (rev a2)

Relevant output from alsa-info.sh:

00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2) 00:10.1 0403: 10de:026c (rev a2)

        Subsystem: 10de:cb84

Proposed patch (which has been confirmed to allow boot, with sound
active):

sound/pci/hda/hda_intel.c 2010-03-16 17:40:36.141225010 -0400 renamed from sound/pci/hda/hda_intel.c 2010-03-16 17:33:23.487938000 -0400 +0 -0
diff -dru linux-2.6.33-orig/sound/pci/hda/hda_intel.c linux-2.6.33/sound/pci/hda/hda_intel.c
@@ -2354,6 +2354,7 @@ static void __devinit check_probe_mask(s
 static struct snd_pci_quirk msi_black_list[] __devinitdata = {
        SND_PCI_QUIRK(0x1043, 0x81f2, "ASUS", 0), /* Athlon64 X2 + 

nvidia */

        SND_PCI_QUIRK(0x1043, 0x81f6, "ASUS", 0), /* nvidia */
+       SND_PCI_QUIRK(0x10de, 0xcb84, "ASUS", 0), /* nvidia */
        {}

};

#1 lore raw

At Tue, 16 Mar 2010 19:17:52 -0400,

Quoted 16 lines · Brian Lindholm

This patch fixes a regression in 2.6.33.x. Was working in 2.6.32.x.

Symptom: Hang on boot at "HDA Intel". Boots only if on-board sound
is disabled or if "snd-hda-intel.enable_msi=0" is appended to boot parameters.

Machine: ASUS A8N-VM with Athlon-X2 processor.

Relevant output from lspci -nn:

00:10.1 Audio device [0403]: nVidia Corporation MCP51 High Definition Audio [10de:026c] (rev a2)

Relevant output from alsa-info.sh:

Quoted 7 lines

00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:10.1 0403: 10de:026c (rev a2)

         Subsystem: 10de:cb84

Proposed patch (which has been confirmed to allow boot, with sound
active):

Thanks for the patch. The issue was already fixed in a different way, namely, disable MSI for all Nvidia controller chips. The fix will be included in the next pull request and stable kernel.

Takashi

Quoted 17 lines

diff -dru linux-2.6.33-orig/sound/pci/hda/hda_intel.c linux-2.6.33/sound/pci/hda/hda_intel.c
--- linux-2.6.33-orig/sound/pci/hda/hda_intel.c 2010-03-16
17:33:23.487938000 -0400
+++ linux-2.6.33/sound/pci/hda/hda_intel.c 2010-03-16
17:40:36.141225010 -0400

sound/pci/hda/hda_intel.c 2010-03-16 17:40:36.141225010 -0400 renamed from sound/pci/hda/hda_intel.c 2010-03-16 17:33:23.487938000 -0400 +0 -0
@@ -2354,6 +2354,7 @@ static void __devinit check_probe_mask(s
  static struct snd_pci_quirk msi_black_list[] __devinitdata = {
         SND_PCI_QUIRK(0x1043, 0x81f2, "ASUS", 0), /* Athlon64 X2 + 

nvidia */

         SND_PCI_QUIRK(0x1043, 0x81f6, "ASUS", 0), /* nvidia */
+       SND_PCI_QUIRK(0x10de, 0xcb84, "ASUS", 0), /* nvidia */
         {}

};

#2 lore raw
Quoted 9 lines · Takashi Iwai

At Tue, 16 Mar 2010 19:17:52 -0400,

Quoted 7 lines · Brian Lindholm

This patch fixes a regression in 2.6.33.x. Was working in 2.6.32.x.

Symptom: Hang on boot at "HDA Intel". Boots only if on-board sound
is disabled or if "snd-hda-intel.enable_msi=0" is appended to boot parameters.

Machine: ASUS A8N-VM with Athlon-X2 processor.

[]

Quoted 3 lines

Thanks for the patch. The issue was already fixed in a different way, namely, disable MSI for all Nvidia controller chips. The fix will be included in the next pull request and stable kernel.

Can you provide a bit more information? I've the same issue at hand, on an Acer Aspire 9300 notebook, also with nvidia chipset. So far I disabled snd-hda-intel module loading, but it'd be nice to actually have sound working on this machine, as well as to test the patch... ;)

Thanks!

/mjt

#3 lore raw

At Fri, 19 Mar 2010 22:26:35 +0300,

Quoted 16 lines · Michael Tokarev
Quoted 9 lines · Takashi Iwai

At Tue, 16 Mar 2010 19:17:52 -0400,

Quoted 7 lines · Brian Lindholm

This patch fixes a regression in 2.6.33.x. Was working in 2.6.32.x.

Symptom: Hang on boot at "HDA Intel". Boots only if on-board sound
is disabled or if "snd-hda-intel.enable_msi=0" is appended to boot parameters.

Machine: ASUS A8N-VM with Athlon-X2 processor.

[]

Quoted 3 lines

Thanks for the patch. The issue was already fixed in a different way, namely, disable MSI for all Nvidia controller chips. The fix will be included in the next pull request and stable kernel.

Quoted 5 lines

Can you provide a bit more information? I've the same issue at hand, on an Acer Aspire 9300 notebook, also with nvidia chipset. So far I disabled snd-hda-intel module loading, but it'd be nice to actually have sound working on this machine, as well as to test the patch... ;)

Take a look at:

commit 80c43ed724797627d8f86855248c497a6161a214

Author: Takashi Iwai <[email protected]>
Date:   Mon Mar 15 15:51:53 2010 +0100

ALSA: hda - Disable MSI for Nvidia controller

It's marked to Cc to stable, so the patch will be applied later to 2.6.33.x kernel, too.

Takashi