Re: 2.6.18-rc5-mm1: BUG in pci_disable_msi on attempts to rmmod snd_hda_intel (64-bit kernel)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 6 Sep 2006 22:59:53 +0200,
Rafael J. Wysocki wrote:
> 
> Hi,
> 
> I get the appended BUG when I try to rmmod snd_hda_intel on 2.6.18-rc5-mm1
> (the box is an HPC nx6325).
> 
> The driver also breaks the suspend to disk (causes an oops to appear during
> the suspend phase, but I haven't been able to catch it yet).

Could you try the patch below?  It's pending on my local tree for
testing...  Also, you can use disable_msi=1 option to avoid MSI.


Takashi

diff -r f38b7e4c44c3 Documentation/sound/alsa/ALSA-Configuration.txt
--- a/sound/alsa/Documentation/ALSA-Configuration.txt	Wed Sep 06 16:03:11 2006 +0200
+++ b/sound/alsa/Documentation/ALSA-Configuration.txt	Thu Sep 07 11:15:07 2006 +0200
@@ -758,6 +758,7 @@ Prior to version 0.9.0rc4 options had a 
     position_fix - Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size)
     single_cmd  - Use single immediate commands to communicate with
 		codecs (for debugging only)
+    disable_msi - Disable Message Signaled Interrupt (MSI)
 
     This module supports one card and autoprobe.
 
diff -r f38b7e4c44c3 sound/pci/hda/hda_intel.c
--- a/sound/pci/hda/hda_intel.c	Wed Sep 06 16:03:11 2006 +0200
+++ b/sound/pci/hda/hda_intel.c	Thu Sep 07 11:16:34 2006 +0200
@@ -1422,8 +1422,9 @@ static int azx_free(struct azx *chip)
 	}
 
 	if (chip->irq >= 0) {
-		pci_disable_msi(chip->pci);
 		free_irq(chip->irq, (void*)chip);
+		if (!disable_msi)
+			pci_disable_msi(chip->pci);
 	}
 	if (chip->remap_addr)
 		iounmap(chip->remap_addr);

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux