From owner-freebsd-amd64@FreeBSD.ORG Tue Dec 25 16:09:44 2012 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 394AD734 for ; Tue, 25 Dec 2012 16:09:44 +0000 (UTC) (envelope-from fabian@wenks.ch) Received: from batman.home4u.ch (batman.home4u.ch [IPv6:2001:8a8:1005:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id B7C9F8FC12 for ; Tue, 25 Dec 2012 16:09:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at home4u.ch Received: from flashback.wenks.ch (fabian@flashback.wenks.ch [IPv6:2001:8a8:1005:1:223:dfff:fedf:13c9]) (authenticated bits=0) by batman.home4u.ch (8.14.4/8.14.4) with ESMTP id qBPG9fr8072384 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 25 Dec 2012 17:09:41 +0100 (CET) (envelope-from fabian@wenks.ch) Message-ID: <50D9CFC5.7000103@wenks.ch> Date: Tue, 25 Dec 2012 17:09:41 +0100 From: Fabian Wenk User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Subject: Re: Kernel Compile Fail References: <50CE5CB3.7010906@gmail.com> <50D9B914.1060406@gmail.com> In-Reply-To: <50D9B914.1060406@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 16:09:44 -0000 Hello Joseph On 25.12.2012 15:32, Joseph A. Nagy, Jr wrote: > I compiled my custom kernel (or so I thought), but 'uname -a' shows it > compiled with a generic kernel? > > FreeBSD alex-laptop 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Mon Dec 24 > 20:06:49 CST 2012 root@alex-laptop:/usr/obj/usr/src/sys/GENERIC amd64 > > Whereas in the past, it showed my custom kernel config in the above > path. I was running i386 before, does that make a difference? Or did I > miss a step somewhere? > when building and installing, I issued: > > 'make buildkernel kernconf=ALEX-LAPTOP' > 'make installkernel kernconf=ALEX-LAPTOP' I am not sure if 'kernconf=' will work too or if it needs to be in uppercase letters. Alternatively you could set the following line in /etc/make.conf: KERNCONF=ALEX-LAPTOP And then in /usr/src/ you only need to use 'make buildkernel' and 'make installkernel'. > alex@alex-laptop#> cd /usr/src/sys/amd64/conf > alex@alex-laptop#> ls > ALEX-LAPTOP DEFAULTS GENERIC GENERIC.hints Makefile > NOTES XENHVM > > I'm not quite sure what to expect now. This looks correct. Did you also adjust the 'ident' line in your ALEX-LAPTOP file from GENERIC to ALEX-LAPTOP? I am not sure if the "-" in the kernel name will work. I do remember having problems building a kernel with a number in the name. But this was more then 10 years ago, but I still avoid it and do use only letters. So it is probably better to just use ALEXLAPTOP instead of ALEX-LAPTOP. bye Fabian