From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 20:44:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 276D0139 for ; Wed, 17 Apr 2013 20:44:46 +0000 (UTC) (envelope-from ascherrer@gmail.com) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by mx1.freebsd.org (Postfix) with ESMTP id BB96B67B for ; Wed, 17 Apr 2013 20:44:45 +0000 (UTC) Received: by mail-ee0-f53.google.com with SMTP id d17so274442eek.40 for ; Wed, 17 Apr 2013 13:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=l1OEAHcP0IDSctZ6pMfcCdj1/lVcuuYhR37rnUX9P3A=; b=Ieic4P1b2/jJx4ac6wZG5waCKpOE19kJ6YRx/FloOqbBfuypShU2UvK/yvTrsSL9nG 8p7lbyFVNTwUUWx8R0xiDaeztVKxK5uBamnWXjke5k9WbTsscrZuuNXgKOttfHZ7xvr2 9L8NSycyqOnDcncB8MBmN1CWplUn5Gu7yfiHfqN4DRiKY6DDJt4fx7MLboTfSGQG8SV3 5cS0um38i6PWIm4oTvcCK30iRoqzmk5d1n45Koa5kIQDUR8vWYAM+VckO8rHTqmiHmgt bdxE5Yvaql0uqPHRDRngZKYr0IBBrM/gEuQr61EcSr82if2IObCWFKnoYQmo0KaCCg5B TYHA== X-Received: by 10.15.32.67 with SMTP id z43mr22188068eeu.24.1366231479234; Wed, 17 Apr 2013 13:44:39 -0700 (PDT) Received: from manzana.hws.homeip.net ([2001:470:b71d:1:225:ff:fef2:447f]) by mx.google.com with ESMTPS id a41sm11385885eei.4.2013.04.17.13.44.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Apr 2013 13:44:38 -0700 (PDT) Message-ID: <516F09B4.1070702@gmail.com> Date: Wed, 17 Apr 2013 22:44:36 +0200 From: andreas scherrer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Bad kernel with make -j? References: <201304171918.NAA01649@lariat.net> In-Reply-To: <201304171918.NAA01649@lariat.net> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 20:44:46 -0000 on 17.4.13 21:18 Brett Glass said the following: > I've just had to resurrect a machine which apparently failed because the > kernel was built with the make -j option. [snip] > The result was a kernel in which some compiled-in modules -- in > particular, netgraph nodes -- weren't accessible. mpd5 began spewing odd > messages, and VPN connections would not come up. I'd built the kernel > with the NO_MODULES option, so the modules that were missing couldn't be > loaded dynamically. > > Rebuilding the kernel using a single-threaded "make" solved the problem. I am not very experienced but I stumbled over the following note in /usr/src/UPDATING before: Avoid using make -j when upgrading. While generally safe, there are sometimes problems using -j to upgrade. If your upgrade fails with -j, please try again without -j. From time to time in the past there have been problems using -j with buildworld and/or installworld. This is especially true when upgrading between "distant" versions (eg one that cross a major release boundary or several minor releases, or when several months have passed on the -current branch). Maybe that's a hint? > --Brett Glass > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Cheers andreas