From owner-freebsd-questions@FreeBSD.ORG Mon Jan 17 06:11:04 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1342716A4CE for ; Mon, 17 Jan 2005 06:11:04 +0000 (GMT) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C916143D39 for ; Mon, 17 Jan 2005 06:11:03 +0000 (GMT) (envelope-from bc979@lafn.org) Received: from [10.0.1.6] ([4.28.157.47]) (authenticated bits=0) by zoot.lafn.org (8.12.3p3/8.12.3) with ESMTP id j0H6AuM9046055 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Sun, 16 Jan 2005 22:10:57 -0800 (PST) (envelope-from bc979@lafn.org) In-Reply-To: <20050117060510.GA63358@xor.obsecurity.org> References: <20050117060510.GA63358@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8F92CAE2-684E-11D9-8611-000393681B06@lafn.org> Content-Transfer-Encoding: 7bit From: Doug Hardie Date: Sun, 16 Jan 2005 22:11:00 -0800 To: Kris Kennaway X-Mailer: Apple Mail (2.619) X-Virus-Scanned: ClamAV 0.80/629/Tue Dec 14 11:01:57 2004 clamav-milter version 0.80j on zoot.lafn.org X-Virus-Status: Clean cc: f-questions List Subject: Re: 5.3 Building Kernel/World X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 06:11:04 -0000 On Jan 16, 2005, at 22:05, Kris Kennaway wrote: > On Sun, Jan 16, 2005 at 09:51:13PM -0800, Doug Hardie wrote: >> The instructions for building world/kernel for 4.x are straight >> forward >> and work fine. However, I seem to have munged two 5.3 installations >> now. I have been through all the UPDATING notes and the handbook and >> something is obviously not clear. >> >> The approach I used is: >> >> Clean install from 5.3 distribution. >> make buildworld >> create new config file LAFN >> make buildkernel KERNCONF=LAFN >> make installkernel KERNCONF=LAFN >> reboot >> make installworld >> reboot >> >> At that point It appeared I was using the LAFN kernel rather than >> generic. >> >> However, tonight I tried to make a new kernel. NO go: >> ERROR: version of config(8) does not match kernel! >> config version = 500012, version required = 500013 >> >> So I tried to reinstall the kernel: >> make installkernel KERNCONF=LAFN >> install -o root -g wheel -m 555 acpi.ko /boot/kernel >> install: acpi.ko: No such file or directory >> >> How are you supposed to build a new kernel that works? How do I >> recover this? > > The only way I can think for this to happen is if your source tree was > inconsistent (i.e. not completely updated), or you updated your > sources after you did the installworld, and the kernel depends on the > newer version of config than the one you have built (in this case the > 'safe' buildworld/buildkernel/installkernel method you used to begin > with should still work). > > Kris those instructions were typed just as noted with nothing inbetween. I have replaced kernel with kernel.old so the system will boot. But now I have an old kernel and new world (possibly). Nothing for reconstruction seems to work. buildkernel continues to give the above error. I guess I'll try a buildworld again tomorrow. Don't know what else to do.