weird version number during update (source)

Hello,

I did these steps:

Code:
portsnap fetch
portsnap extract
make buildworld 
make kernel
reboot 
mergemaster -p
make installworld
mergemaster -i

And now I see a diff containing this:
Code:
- FreeBSD 8.2-release-p7 (Generic) #0 : Mon May 14 11:50:18 CEST 2012
+ FreeBSD ?.?.? (unknown)
Is there something went wrong here and if so, how can I repair this?

Roelof
 
Oke , I did.
But something went wrong along the line.
When I do # uname -a I still see FreeBSD-8.2 instead of FreeBSD-9.0.

Roelof
 
Well, there we have the explanation then .. portsnap updates the ports tree (/usr/ports), not the source tree (/usr/src). Use csup(1) for that, and then build world and kernel again. Right now, you're just rebuilding the same OS over and over again.
 
Last question: am I right if I want to use the 9-release that I have to cvsup to releng-9.0 ?

Roelof
 
RELENG_9_0. A supfile similar to that below should do the trick.

Code:
*default host=cvsup14.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_9_0
*default delete use-rel-suffix
*default compress

src-all

FreeBSD CVS tags
 
I asked because # freebsd-update fetch does not work. I get a message that FreeBSD-9-stable cannot be found.

Roelof
 
If you just want to upgrade to 9.0-RELEASE just use freebsd-update(8). Unless you really want to do the source update.

RELENG_8_2 = 8.2-RELEASE
RELENG_8 = 8-STABLE
RELENG_9_0 = 9.0-RELEASE
RELENG_9 = 9-STABLE

You should see a pattern emerging here....
 
I always do the source update. So I will do the steps again so I have the -release instead of the -stable.

Thanks for the explanation.

Roelof
 
Another problem. Yesterday I did a source update to 9.0-stable. Today I tried an update to 9.0- release. So I did all the steps again.

But now I'm getting a 'disk full' message when doing this: # make buildworld kernel KODIR=/boot/testing

What's the best way to determine where the problem arises? With df I saw that / is full and used for 108%.

Roelof
 
You probably have a lot of .symbols files in /boot/kernel/ and/or /boot/kernel.old/. They are files used when debugging, you can remove them to make some room.
 
Back
Top