From owner-freebsd-current@FreeBSD.ORG Mon Jan 8 19:20:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3071E16A759 for ; Mon, 8 Jan 2007 19:20:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id D720A13C4A8 for ; Mon, 8 Jan 2007 19:20:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id l08JKDdk068399; Mon, 8 Jan 2007 14:20:32 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Jia-Shiun Li" Date: Mon, 8 Jan 2007 14:15:52 -0500 User-Agent: KMail/1.9.1 References: <200611152004.kAFK4vfe058983@repoman.freebsd.org> <200611171317.14909.jhb@freebsd.org> <1d6d20bc0611220146mccb0ef2x5e924de0e5e57df0@mail.gmail.com> In-Reply-To: <1d6d20bc0611220146mccb0ef2x5e924de0e5e57df0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701081415.52431.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 08 Jan 2007 14:20:32 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2424/Mon Jan 8 11:46:49 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx 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 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2007 19:20:49 -0000 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