Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 14:15:52 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        "Jia-Shiun Li" <jiashiun@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/bce if_bce.c src/sys/dev/em if_em.c if_em.h src/sys/dev/mpt mpt.h mpt_pci.c
Message-ID:  <200701081415.52431.jhb@freebsd.org>
In-Reply-To: <1d6d20bc0611220146mccb0ef2x5e924de0e5e57df0@mail.gmail.com>
References:  <200611152004.kAFK4vfe058983@repoman.freebsd.org> <200611171317.14909.jhb@freebsd.org> <1d6d20bc0611220146mccb0ef2x5e924de0e5e57df0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 22 November 2006 04:46, Jia-Shiun Li wrote:
> My em0 stops working a few seconds after booting. And there are
> watchdog timeout messages.
> I tried kldunload it (I load it as module in loader.conf) and reload.
> Pinging other hosts get only the first few ~10 replies. Adding
> hw.pci.enable_msi[x]=0 to loader.conf solves this problem.
> 
> dmesg output before and after disabling msi are attached. The only
> difference meaningful to me is the irq vector assignment from PCI IRQ
> 96 to MSI IRQ 256. Not sure if this is a bug in MSI or buggy ACPI
> bios.

Can you try this patch?  It should disable MSI on your machine:

Index: pci.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/pci/pci.c,v
retrieving revision 1.331
diff -u -r1.331 pci.c
--- pci.c	28 Dec 2006 06:14:42 -0000	1.331
+++ pci.c	8 Jan 2007 19:14:42 -0000
@@ -178,6 +178,18 @@
 	{ 0x02001166, PCI_QUIRK_MAP_REG,	0x90,	 0 },
 
 	/*
+	 * MSI doesn't work with the ServerWorks CNB20-HE Host Bridge
+	 * or the CMIC-SL (AKA ServerWorks GC_LE).
+	 */
+	{ 0x00141106, PCI_QUIRK_DISABLE_MSI,	0,	0 },
+	{ 0x00171106, PCI_QUIRK_DISABLE_MSI,	0,	0 },
+
+	/*
+	 * MSI doesn't work with the Intel E7500 chipset.
+	 */
+	{ 0x25408086, PCI_QUIRK_DISABLE_MSI,	0,	0 },
+	
+	/*
 	 * MSI doesn't work with the Intel E7501 chipset, at least on
 	 * the Tyan 2721 motherboard.
 	 */

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701081415.52431.jhb>