From owner-cvs-all@FreeBSD.ORG Thu Nov 16 04:29:21 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC91E16A403; Thu, 16 Nov 2006 04:29:21 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 675E443D55; Thu, 16 Nov 2006 04:29:21 +0000 (GMT) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (localhost [127.0.0.1]) by ns1.feral.com (8.13.8/8.13.8) with ESMTP id kAG4TBXM007736; Wed, 15 Nov 2006 20:29:21 -0800 (PST) (envelope-from mjacob@freebsd.org) Received: from localhost (mjacob@localhost) by ns1.feral.com (8.13.8/8.13.8/Submit) with ESMTP id kAG4TBeX007733; Wed, 15 Nov 2006 20:29:11 -0800 (PST) (envelope-from mjacob@freebsd.org) X-Authentication-Warning: ns1.feral.com: mjacob owned process doing -bs Date: Wed, 15 Nov 2006 20:29:11 -0800 (PST) From: mjacob@freebsd.org X-X-Sender: mjacob@ns1.feral.com To: Scott Long In-Reply-To: <455BE6DF.4090907@samsco.org> Message-ID: <20061115202136.K7698@ns1.feral.com> References: <200611152018.kAFKI9A3061678@repoman.freebsd.org> <200611151617.23125.jhb@freebsd.org> <20061115134949.T1700@ns1.feral.com> <20061115192354.D7197@ns1.feral.com> <455BDC68.2080603@samsco.org> <20061115194305.M7355@ns1.feral.com> <455BDFB7.9040303@samsco.org> <20061115200109.U7495@ns1.feral.com> <455BE6DF.4090907@samsco.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin Subject: Re: cvs commit: src/sys/dev/mpt mpt_pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mjacob@freebsd.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 04:29:22 -0000 On Wed, 15 Nov 2006, Scott Long wrote: > mjacob@freebsd.org wrote: >> >> see http://people.freebsd.org/~mjacob for 2 bootverbose files. >> >> > > Ah, it looks like the MPT chips support 8 messages. I think that > John's patch assumes only 1 message for it. No, John's patch will only enable MSI for a count of one. The PCI cards I have that support MSI are: AMD: QLogic 6312 (MSI 8) LSI-Logic 1030 (MSI 1) LSI-Logic 1030 (MSI 1) [ STUPID ME- The FC929 doesn't have MSI ] Broadcom NetXtreme (MSI 8) Broadcom NetXtreme (MSI 8) SuperMicro LSI-Logic 4Gb (MSI-1 MSI-X 1) LSI-Logic 4Gb (MSI-1 MSI-X 1) LSI-Logic SAS (MSI-1 MSI-X 1) QLogic 2422 4Gb (MSI 8) QLogic 2422 4Gb (MSI 8) em (MSI 1) I would guess you were looking at the one of the other devs. > For some devices, > requesting 1 message when N are available will work, but it really is > undefined behaviour and is dependent on the device to DTRT. So in your > case, some of the MPT chips handled it well, some did not. Just out of > curiosity, do you have any MPT docs that describe its MSI capabilities? > In any case, it should probably be disabled in the MPT driver until we > have a better understanding of how it works there. > > For your if_em problem, I'm not seeing what the problem is. It looks > like em0 was successful at getting an IP address over DHCP, so I would > assume that interrupts are working on it. Nope. That's why I included the change to disable msi in the boot verbose (there are two boot sessions there). You can have a *mostly* functional ethernet w/o interrupts functioning- you just get watchdog resets.