From owner-freebsd-questions@FreeBSD.ORG Mon May 14 20:39:11 2012 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 9E76A1065673 for ; Mon, 14 May 2012 20:39:11 +0000 (UTC) (envelope-from ataraxi@telia.com) Received: from smtp-out12.han.skanova.net (smtp-out12.han.skanova.net [195.67.226.212]) by mx1.freebsd.org (Postfix) with ESMTP id 31C308FC1E for ; Mon, 14 May 2012 20:39:11 +0000 (UTC) Received: from alice.nodomain.nowhere (95.199.147.48) by smtp-out12.han.skanova.net (8.5.133) (authenticated as u51204108) id 4FAE31D9000971D1 for freebsd-questions@freebsd.org; Mon, 14 May 2012 22:38:31 +0200 Received: by alice.nodomain.nowhere (Postfix, from userid 1002) id 1967B1F4E63; Mon, 14 May 2012 22:34:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by alice.nodomain.nowhere (Postfix) with ESMTP id 182B91F4457 for ; Mon, 14 May 2012 22:34:47 +0200 (CEST) Date: Mon, 14 May 2012 22:34:47 +0200 (CEST) From: Conny Andersson To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: Problem with newvers.sh in FreeBSD 8.3-RELEASE (amd64) 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: Mon, 14 May 2012 20:39:11 -0000 Hi, I have used FreeBSD since 2002, first on i386-arch-machines and from October 2010 on an (Intel i5 750) amd64-arch-machine. On this new computer, a Dell Precision T1500, I now have three operating systems on /dev/ada1s1-3: FreeBSD 8.1-RELEASE, FreeBSD 8.2-RELEASE and FreeBSD 8.3-RELEASE. Only the last release have the problem described in the following text. For the first time I got a problem after a kernel is recompiled. Below one can see that what now, after a recompilation should be FreeBSD 8.3-RELEASE #1 still is #0, and with a faulty date/time stamp. The number after the hash mark is not updated, neither is the date/time in these kernel messages. What is wrong? newvers.sh? ========= Misc info msgs about this problem ======================= # $FreeBSD: src/sys/conf/newvers.sh,v 1.83.2.15.2.4 2012/04/08 05:09:40 kensmith Exp $ % ll /boot | grep kernel drwxr-xr-x 2 root wheel 31232 10 Maj 17:22 kernel drwxr-xr-x 2 root wheel 31232 9 Maj 14:49 kernel.old (I am a Swedish FreeBSD user, hence 'Maj' instead of May) % sysctl -a | grep kern.version kern.version: FreeBSD 8.3-RELEASE #0: Mon May 7 20:00:37 CEST 2012 % uname -a FreeBSD alice.nodomain.nowhere 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon May 7 20:00:37 CEST 2012 root@alice.nodomain.nowhere:/usr/src/sys/amd64/compile/ALICE amd64 ================================================================== I compared by diff /usr/src/sys/conf/newvers.sh with the same file in FreeBSD 8.2 and found some differences. I saved newvers.sh in FreeBSD as ORIG_newvers.sh and copied the newvers.sh from FreeBSD 8.2 to FreeBSD 8.3. Edited the two lines REVISION="8.3", "RELEASE=8.3-RELEASE" and recompiled. It worked, so now I get the correct answers: % sysctl -a | grep kern.version kern.version: FreeBSD 8.3-RELEASE #2: Sun May 13 21:16:37 CEST 2012 % uname -a FreeBSD alice.nodomain.nowhere 8.3-RELEASE FreeBSD 8.3-RELEASE #2: Sun May 13 21:16:37 CEST 2012 root@alice.nodomain.nowhere:/usr/src/sys/amd64/compile/ALICE amd64 Best Regards, Conny Andersson