From owner-freebsd-current@FreeBSD.ORG Tue Jan 9 19:46:39 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 680CA16A50E for ; Tue, 9 Jan 2007 19:46:39 +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 1341B13C461 for ; Tue, 9 Jan 2007 19:46:38 +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 l09JkQBn077947; Tue, 9 Jan 2007 14:46:31 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 9 Jan 2007 14:17:18 -0500 User-Agent: KMail/1.9.1 References: <200611152004.kAFK4vfe058983@repoman.freebsd.org> <200701081415.52431.jhb@freebsd.org> <87d55o3900.fsf@neva.vlink.ru> In-Reply-To: <87d55o3900.fsf@neva.vlink.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701091417.18936.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]); Tue, 09 Jan 2007 14:46:31 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2430/Tue Jan 9 12:35:51 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: Denis Shaposhnikov 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: Tue, 09 Jan 2007 19:46:39 -0000 On Tuesday 09 January 2007 03:22, Denis Shaposhnikov wrote: > >>>>> "John" == John Baldwin writes: > > >> 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. > > John> Can you try this patch? It should disable MSI on your machine: > > BTW, I have the same problem with > > em0@pci2:10:0: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82546EB Dual Port Gigabit Ethernet Controller (Copper)' > class = network > subclass = ethernet > > and disabling MSI fixes it. The same for if_ipw also: > > ipw0@pci1:3:0: class=0x028000 card=0x25618086 chip=0x10438086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801 Intel(R) PRO/Wireless 2100 LAN Card Driver' > class = network ipw(4) doesn't support MSI, so that doesn't make sense. The problem is probably not in the devices though, but in your chipset. Can you provide the output from 'pciconf -l'? -- John Baldwin