From owner-freebsd-current@FreeBSD.ORG Mon Jan 15 06:43:58 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 0D60116A407; Mon, 15 Jan 2007 06:43:58 +0000 (UTC) (envelope-from dsh@vlink.ru) Received: from rigel.internal.vlink.ru (rigel.internal.vlink.ru [85.172.168.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6DBDE13C442; Mon, 15 Jan 2007 06:43:57 +0000 (UTC) (envelope-from dsh@vlink.ru) Received: from smtp.smtp.vlink.ru (clamav.smtp.vlink.ru [192.168.4.1]) by deliver.smtp.vlink.ru (Postfix) with ESMTP id AF006FECCB4; Mon, 15 Jan 2007 09:43:55 +0300 (MSK) Received: from neva.vlink.ru (neva.vlink.ru [85.172.168.250]) by smtp.smtp.vlink.ru (Postfix) with ESMTP id 6DA3010098B1; Mon, 15 Jan 2007 09:43:55 +0300 (MSK) Received: from neva.vlink.ru (localhost [127.0.0.1]) by neva.vlink.ru (8.13.8/8.13.8) with ESMTP id l0F6htlC095228; Mon, 15 Jan 2007 09:43:55 +0300 (MSK) (envelope-from dsh@vlink.ru) Received: (from dsh@localhost) by neva.vlink.ru (8.13.8/8.13.8/Submit) id l0F6hsSR095225; Mon, 15 Jan 2007 09:43:54 +0300 (MSK) (envelope-from dsh@vlink.ru) X-Comment-To: John Baldwin To: John Baldwin References: <200611152004.kAFK4vfe058983@repoman.freebsd.org> <200701091417.18936.jhb@freebsd.org> <87ejq26n8b.fsf@neva.vlink.ru> <200701111126.10095.jhb@freebsd.org> From: Denis Shaposhnikov Date: Mon, 15 Jan 2007 09:43:54 +0300 In-Reply-To: <200701111126.10095.jhb@freebsd.org> (John Baldwin's message of "Thu, 11 Jan 2007 11:26:09 -0500") Message-ID: <87r6twiyc5.fsf@neva.vlink.ru> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: ClamAV using ClamSMTP 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, 15 Jan 2007 06:43:58 -0000 >>>>> "John" == John Baldwin writes: John> Try this and see if it disables MSI for you automatically: John> Index: pci.c John> =================================================================== John> RCS file: /usr/cvs/src/sys/dev/pci/pci.c,v retrieving revision John> 1.331 diff -u -r1.331 pci.c John> --- pci.c 28 Dec 2006 06:14:42 -0000 1.331 John> +++ pci.c 11 Jan 2007 16:25:20 -0000 I've applied the patch and sysctl hw.pci.enable_msi still show "1" but no system freeze like boot with MSI disabled. BTW, I have watchdog timeouts and panic with em(4) on next to hosts. Disabling MSI fixes it. Here is pciconf -l: ==================== hostb0@pci0:0:0: class=0x060000 card=0x80941043 chip=0x25608086 rev=0x03 hdr=0x00 vgapci0@pci0:2:0: class=0x030000 card=0x25621043 chip=0x25628086 rev=0x03 hdr=0x00 none0@pci0:29:0: class=0x0c0300 card=0x80891043 chip=0x24c28086 rev=0x02 hdr=0x00 none1@pci0:29:1: class=0x0c0300 card=0x80891043 chip=0x24c48086 rev=0x02 hdr=0x00 none2@pci0:29:2: class=0x0c0300 card=0x80891043 chip=0x24c78086 rev=0x02 hdr=0x00 pcib1@pci0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x82 hdr=0x01 isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x02 hdr=0x00 atapci0@pci0:31:1: class=0x01018a card=0x80891043 chip=0x24cb8086 rev=0x02 hdr=0x00 fxp0@pci2:9:0: class=0x020000 card=0x305c1014 chip=0x12298086 rev=0x08 hdr=0x00 em0@pci2:10:0: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00 em1@pci2:10:1: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00 em2@pci2:11:0: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00 em3@pci2:11:1: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00 rl0@pci2:13:0: class=0x020000 card=0x80b31043 chip=0x813910ec rev=0x10 hdr=0x00 ==================== ==================== hostb0@pci0:0:0: class=0x060000 card=0x25708086 chip=0x25708086 rev=0x02 hdr=0x00 vgapci0@pci0:2:0: class=0x030000 card=0x03701462 chip=0x25728086 rev=0x02 hdr=0x00 none0@pci0:29:0: class=0x0c0300 card=0x03701462 chip=0x24d28086 rev=0x02 hdr=0x00 none1@pci0:29:1: class=0x0c0300 card=0x03701462 chip=0x24d48086 rev=0x02 hdr=0x00 none2@pci0:29:2: class=0x0c0300 card=0x03701462 chip=0x24d78086 rev=0x02 hdr=0x00 none3@pci0:29:3: class=0x0c0300 card=0x03701462 chip=0x24de8086 rev=0x02 hdr=0x00 none4@pci0:29:7: class=0x0c0320 card=0x03701462 chip=0x24dd8086 rev=0x02 hdr=0x00 pcib1@pci0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 hdr=0x01 isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 hdr=0x00 atapci0@pci0:31:1: class=0x01018a card=0x03701462 chip=0x24db8086 rev=0x02 hdr=0x00 atapci1@pci0:31:2: class=0x01018f card=0x03701462 chip=0x24d18086 rev=0x02 hdr=0x00 none5@pci0:31:3: class=0x0c0500 card=0x03701462 chip=0x24d38086 rev=0x02 hdr=0x00 none6@pci0:31:5: class=0x040100 card=0x03701462 chip=0x24d58086 rev=0x02 hdr=0x00 em0@pci1:10:0: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00 em1@pci1:10:1: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00 rl0@pci1:13:0: class=0x020000 card=0x037c1462 chip=0x813910ec rev=0x10 hdr=0x00 ==================== Thank you very much! -- DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet xmpp:dsh@vlink.ru mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/