From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 01:54:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 836CF16A40B for ; Tue, 27 Jun 2006 01:54:13 +0000 (UTC) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (tarc.po.cs.msu.su [158.250.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41E9A43D49 for ; Tue, 27 Jun 2006 01:54:11 +0000 (GMT) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (localhost [127.0.0.1]) by tarc.po.cs.msu.su (8.13.4/8.13.4) with ESMTP id k5R1s8lx082208; Tue, 27 Jun 2006 05:54:08 +0400 (MSD) (envelope-from tarc@tarc.po.cs.msu.su) Received: (from tarc@localhost) by tarc.po.cs.msu.su (8.13.4/8.13.4/Submit) id k5R1s7BV082207; Tue, 27 Jun 2006 05:54:07 +0400 (MSD) (envelope-from tarc) Date: Tue, 27 Jun 2006 05:54:05 +0400 From: Arseny Nasokin To: Bill Xu Message-ID: <20060627015405.GQ32801@tarc.po.cs.msu.su> References: <44A07CB6.50604@billxu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <44A07CB6.50604@billxu.com> User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: freebsd-current@freebsd.org Subject: Re: the errors when updating FreeBSD from 6.0-RELEASE to 7.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 01:54:13 -0000 On Tue, Jun 27, 2006 at 08:32:54AM +0800, Bill Xu wrote: > Dear all, > > I installed FreeBSD 6.0-RELEASE, and then upgraded to 7.0-CURRENT. After > # make buildworld and # make buildkernel, I run # make installkernel, > during this stage, it'll use kldxref to generate hints for the kernel > loader, but at that time the kldxref in FreeBSD 6.0 can't do this, it > must use the kldxref from -CURRENT, so I have to install the new version > kldxref manually. This is a contradiction. :(. But after I install > kldxref, it didn't work still, because kldxref will use libc.so.7...... > > and then, I have to rum "# make installworld" before "# make > installkernel". that's too bad. > > Bill Xu > You need fresh install. AFAIK, kldxref(8) can be runned _after_ booting in single mode. I use "fresh install" with all system updates(minor & major). I do it because -CURRENT changes too fast. simple sheme is: * * update buildworld buildkernel * installworld installkernel -DDESTDIR=/path/to/new/place * etc merging (for example, by etcmerge(1)) * boot fixing * (optionally) port installing in chroot (or jail) with new system * reboot -- Best regards, Arseny Nasokin