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

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 8 Jan 2007 14:15:52 -0500
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
_at__at_ -178,6 +178,18 _at__at_
 	{ 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
Received on Mon Jan 08 2007 - 18:20:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC