Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2012 22:34:47 +0200 (CEST)
From:      Conny Andersson <ataraxi@telia.com>
To:        freebsd-questions@freebsd.org
Subject:   Problem with newvers.sh in FreeBSD 8.3-RELEASE (amd64)  
Message-ID:  <alpine.BSF.2.00.1205102249100.1400@alice.nodomain.nowhere>

Next in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205102249100.1400>