From owner-freebsd-stable@FreeBSD.ORG Mon Jan 30 09:47:58 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22BC4106564A for ; Mon, 30 Jan 2012 09:47:58 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B283A8FC08 for ; Mon, 30 Jan 2012 09:47:57 +0000 (UTC) Received: by werm13 with SMTP id m13so2328958wer.13 for ; Mon, 30 Jan 2012 01:47:56 -0800 (PST) Received: by 10.216.137.166 with SMTP id y38mr6576645wei.16.1327916876564; Mon, 30 Jan 2012 01:47:56 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id bu13sm50655160wib.6.2012.01.30.01.47.52 (version=SSLv3 cipher=OTHER); Mon, 30 Jan 2012 01:47:55 -0800 (PST) Message-ID: <4F266748.4010602@my.gd> Date: Mon, 30 Jan 2012 10:47:52 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: mps module compilation issue on FreeBSD-9 amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 09:47:58 -0000 On 1/30/12 10:15 AM, Desai, Kashyap wrote: > Hi, > > I am seeing some uncommon problem while doing compilation of mps driver (this is a latest driver from LSI). > > Here are the steps I followed. > > CASE-1 > > 1. remove mps directory from sys/dev and sys/module and overwrite those two directories with my latest code. > 2. go to sys/module/mps and run "make". [Things works fine.] > > CASE-2. > 1. remove mps directory from sys/dev and sys/module and overwrite those two directories with my latest code. > 2. go to main directory ( In my case it is "/usr/trees/9.0.0") > 3. Run below command > make -j8 buildkernel KERNCONF=GENERIC MODULES_OVERRIDE=mps TARGET_ARCH=amd64 SYSDIR=/usr/trees/9.0.0/sys -DNO_CLEAN -DNO_KERNELCONFIG -DNO_KERNELCLEAN -DNO_KERNELDEPEND > Why are you multithreading your kernel build ? I might be mistaken but I've always read you're *NOT* supposed to do that, only with the world !