From owner-freebsd-questions@FreeBSD.ORG Tue Mar 10 00:37:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C32B2106564A for ; Tue, 10 Mar 2009 00:37:19 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5158B8FC0A for ; Tue, 10 Mar 2009 00:37:18 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ey-out-2122.google.com with SMTP id d26so219718eyd.7 for ; Mon, 09 Mar 2009 17:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=psK9TGRcvxeToNm7Okb2TfWINNc3fyi7Jua5/3/Gbu4=; b=tAZZX9s207LayMJk7R0Ct6r4HC1YvJPewwI21ZK7yKFFxjR/UFEEvdwQAIlok0fHbJ 0woJ4etFdHET0NDQQsVu60Mm1Rn+7if8zNNJq6QO2gEoYKLX3HfqIddcTqBDXwUGM7ad pgjYefyfGAdriPYSucAI8AHInjV+hvPMaHF40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=tzKnGkqudpBOs3O/AQLLCL3gGa33SDpZZYd5wnoXHGCVhL5F1o3LNm//2ln63uFuVZ GrIph6nY9ENQKM9oEQj3p919sc/ToTj32fnjNyLIdnnPmnfx5M04Ke7XuVKaHzgDMIb/ rYO8kyY5fXGj/qxjXTdHMym37s5VQE2VuVi2c= Received: by 10.210.135.17 with SMTP id i17mr4083388ebd.47.1236645438277; Mon, 09 Mar 2009 17:37:18 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 28sm4690216eyg.55.2009.03.09.17.37.16 (version=SSLv3 cipher=RC4-MD5); Mon, 09 Mar 2009 17:37:17 -0700 (PDT) Date: Tue, 10 Mar 2009 00:37:13 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090310003713.0410dbe8@gumby.homeunix.com> In-Reply-To: <865278.52299.qm@web52107.mail.re2.yahoo.com> References: <865278.52299.qm@web52107.mail.re2.yahoo.com> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: freebsd 7.1, building kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 00:37:20 -0000 On Mon, 9 Mar 2009 15:13:55 -0700 (PDT) gahn wrote: > I am trying to build customized kernel with "device carp" and > followed kernel building procedure of the handbook. unfortunately it > is failed: > > lab1# make buildkernel KERNCONF=lab1 > ERROR: Missing kernel configuration file(s) (lab1). > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > -rw-r--r-- 1 root wheel 534 Nov 24 21:59 DEFAULTS > -rw-r--r-- 1 root wheel 12412 Nov 24 21:59 GENERIC > -rw-r--r-- 1 root wheel 1745 Nov 24 21:59 GENERIC.hints > -rw-r--r-- 1 root wheel 1034 Nov 24 21:59 MAC > -rw-r--r-- 1 root wheel 131 Nov 24 21:59 Makefile > -rw-r--r-- 1 root wheel 38713 Nov 24 21:59 NOTES > -rw-r--r-- 1 root wheel 2016 Nov 24 21:59 PAE > -rw-r--r-- 1 root wheel 3539 Nov 24 21:59 XBOX > lrwxr-xr-x 1 root wheel 20 Mar 9 18:08 lab1 > -> /root/kernels/lab1 This appears to be /usr/src/sys/i386/conf/ (note the PAE file), but the following line suggests you are running amd64. > FreeBSD piper_2 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Mon Mar 9 > 16:48:31 EDT 2009 admin@lab1:/usr/obj/usr/src/sys/GENERIC amd64 > > but for the kernel name GENERIC, the command work fine: probably because it's finding the amd64 GENERIC file in /usr/src/sys/amd64/conf/ rather than your symlink.