From owner-cvs-all@FreeBSD.ORG Thu Nov 16 04:19:51 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 64C1B16A407; Thu, 16 Nov 2006 04:19:51 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D22DB43D4C; Thu, 16 Nov 2006 04:19:50 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id kAG4JinV010549; Wed, 15 Nov 2006 21:19:49 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <455BE6DF.4090907@samsco.org> Date: Wed, 15 Nov 2006 21:19:43 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: mjacob@freebsd.org 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> In-Reply-To: <20061115200109.U7495@ns1.feral.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org 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 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:19:51 -0000 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. 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. Scott