Hi Dong, Lawrence found an issue with your MSI/MSI-X patch. Can you please look it over? Sarah Sharp On Fri, Oct 22, 2010 at 10:40:30PM +0200, Lawrence Rust wrote: > Hi, > > Just built a 2.6.36 kernel and on re-booting got this error: > > Oct 22 10:13:05 gagarin kernel: [ 5.157428] xhci_hcd 0000:01:00.0: Failed to enable MSI-X > Oct 22 10:13:05 gagarin kernel: [ 5.157448] xhci_hcd 0000:01:00.0: failed to allocate MSI entry > > followed by a stream of these... > > Oct 22 10:13:05 gagarin kernel: [ 5.891099] xhci_hcd 0000:01:00.0: Spurious interrupt. > Oct 22 10:13:05 gagarin kernel: [ 9.038074] xhci_hcd 0000:01:00.0: Spurious interrupt. > Oct 22 10:13:05 gagarin kernel: [ 9.088027] xhci_hcd 0000:01:00.0: Spurious interrupt. > Oct 22 10:13:05 gagarin kernel: [ 9.137971] xhci_hcd 0000:01:00.0: Spurious interrupt. > > repeated until re-boot. > > The .config file used for this build was from a working 2.6.35.7 using > defaults for all differences. NB this config had MSI disabled: > > CONFIG_ARCH_SUPPORTS_MSI=y > # CONFIG_PCI_MSI is not set > > After re-building the kernel with MSI enabled: > > CONFIG_ARCH_SUPPORTS_MSI=y > CONFIG_PCI_MSI=y > > the error message and spurious interrupts went away. The motherboard is > a Gigabyte GA-H55M-USB3 > http://www.gigabyte.com/products/product-page.aspx?pid=3444#ov > > lspci -s 01:00.0 -v > 01:00.0 USB Controller: NEC Corporation Device 0194 (rev 03) (prog-if 30) > Subsystem: Giga-byte Technology Device 5007 > Flags: bus master, fast devsel, latency 0, IRQ 16 > Memory at fbdfe000 (64-bit, non-prefetchable) [size=8K] > Capabilities: [50] Power Management version 3 > Capabilities: [70] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable- > Capabilities: [90] MSI-X: Enable+ Mask- TabSize=8 > Capabilities: [a0] Express Endpoint, MSI 00 > Capabilities: [100] Advanced Error Reporting <?> > Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff > Capabilities: [150] #18 > Kernel driver in use: xhci_hcd > Kernel modules: xhci-hcd > > Running "sh scripts/ver_linux" on the MSI enabled kernel reports: > Linux gagarin 2.6.36-ga #2 SMP Fri Oct 22 11:03:10 CEST 2010 i686 GNU/Linux > > Gnu C 4.4.3 > Gnu make 3.81 > binutils 2.20.1 > util-linux 2.17.2 > mount support > module-init-tools 3.11.1 > e2fsprogs 1.41.11 > pcmciautils 014 > Linux C Library 2.11.1 > Dynamic linker (ldd) 2.11.1 > Procps 3.2.8 > Net-tools 1.60 > Kbd 1.15 > Sh-utils 7.4 > wireless-tools 30 > Modules Loaded xhci_hcd usblp binfmt_misc vboxnetadp vboxnetflt vboxdrv nfsd lockd sunrpc exportfs microcode ext2 dm_crypt snd_hda_codec_intelhdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec firmware_class snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi fbcon tileblit font bitblit softcursor snd_rawmidi i915 drm_kms_helper drm i2c_algo_bit video backlight output snd_seq_midi_event snd_seq snd_timer snd_seq_device snd joydev coretemp soundcore intel_agp it87 hwmon_vid lp parport usbhid hid r8169 mii agpgart snd_page_alloc > > -- Lawrence Rust > > > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html