![]() |
|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Typed make update in /usr/src to have cvsup update the directory, .. i copied the GENERIC kernel file to a new one and edited that, .. then i typed config <kernelfile> ..? Weird no such command .. checked /usr/sbin config was there though only rw mode chmod +x .. didn't work checked what was in the config file apparently it was some script so: "cd /usr/src/usr.sbin/config && make install"
Code:
ERROR: version of config(8) does not match kernel! config version = 600003, version required = 600004 Make sure that /usr/src/usr.sbin/config is in sync with your /usr/src/sys and install a new config binary before trying this again. If running the new config fails check your config file against the GENERIC or LINT config files for changes in config syntax, or option/device naming conventions Figured it's due the freebsd7 source tree, so i downloaded with cvsup freebsd6.3 source tree still the same, how can i fix this ? I have noticed that i still can compile when the configuration and src tree is FreeBSD6, though after reinstalling world and upgrading the kernel to 6.3p2 i still have this issue with config, when i try to compile a freebsd7 kernel, i've tried building world before using config without any effects .. |
|
|||
![]()
I will try to do make buildworld again if that's what you mean though I have already tried this.. once before, or how do you suggest i do this ?
|
|
|||
![]()
hmm, I havn't tried it yet with a GENERIC kernel though, .. but i get a lot of this
Code:
kldxref: file isn't dynamically-linked |
|
|||
![]()
It is recommended that you boot into single user mode to run "make installworld" and run mergemaster. After that, you can continue.
|
|
|||
![]()
hmm but isn't "kldxref: file isn't dynamically-linked" a problem i get a lot of those on the end .. after running make installkernel (KERNCONF is defined in make.conf)
|
|
|||
![]() Quote:
|
|
|||
![]()
Apparently it worked by just ignoring it so far it works just fine, ..
Thanks for all the replay's it really helped. |
|
|||
![]()
Oh one more thing can I run make check-old && make delete-old after a successful upgrade ?
EDIT: also i've noticed pkgdb is acting weird, .. Code:
# pkgdb -F ---> Checking the package registry database [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 56 packages found (-0 +56) ........................................................ done] Stale dependency: BitchX-1.1.0.1_1 -> perl-5.8.8_1 (lang/perl5.8): Install stale dependency? ([y]es/[n]o/[a]ll) [yes] ... # pwd /var/db/pkg # ls | grep perl perl-5.8.8_1/ # perl -v This is perl, v5.8.8 built for i386-freebsd-64int (with 1 registered patch, see perl -V for more detail) Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. Last edited by Ofloo; 22nd May 2008 at 11:51 PM. |
|
|||
![]()
There are some major library changes between 6.3 and 7.0.
You will need to reinstall most (if not all) of your ports so that they are linked to the correct ones. |
|
|||
![]()
So, if I've been installing my ports via the packages most of the time, do I still have to reinstall all my ports?
Looking at the ports-supfile, it doesn't seem like it makes a distinction between 6.x and 7.x. Also, is there a command that I could use to "force refresh" install of all the ports? (Just wondering how painful this might be...) Thanks! |
|
|||
![]()
Hi,
I Will at some point shortly upgrade from 6.4 to 7.1 release. I've been reasonably OK doing source upgrades using pretty much the same steps as Phoenix detailed - from 4.3 to 4.11 and 6.1 to 6.4. My question is in regards to generic kernel. Was it an outright recommendation to install a generic kernel when first building 7.0 release? I've seen a couple other recommendations - specifically one describing a binary upgrade - state that the GENERIC kernel in 7.x has SMP by default. And for that reason users should build & install GENERIC first. But i've got a custom kernel including dummynet for ipfw among a few other options. And if possible I would prefer to upgrade to 7.x with my custom kernel, without having to first build & install GENERIC first. Can I ask what reasons exist for building/installing GENERIC first? Thanks! |
|
||||
![]()
To make sure that the system works. If you can't run GENERIC, you probably can't run FreeBSD. So you do upgrades using GENERIC. If it doesn't work, you put back the old kernel. If it does work, then you build a new custom kernel. This also avoids the "that option no longer exists" and "we've changed the defaults, so now your custom kernel is missing things" traps.
|
|
|||
![]()
got it. Thanks!
|
|
|||
![]()
Hi,
Am in the process of rebuilding all ports after upgrading from 6.4 to 7.1. So far have built/installed world & kernel (both generic & custom kernels install and run). Am running custom kernel now w/o any noticeable problems. After all ports are rebuilt should I Code:
cd /usr/src make delete-old-libs Last edited by qsecofr; 23rd February 2009 at 10:03 PM. Reason: got fftw3 installed. libopensync may not have been required as a dependecny by any other port. I deinstalled it. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Upgrade FreeBSD7.0 to 7.1 | Ofloo | FreeBSD Installation and Upgrading | 2 | 10th October 2008 03:24 AM |
How do I upgrade? | wubrgamer | FreeBSD Ports and Packages | 2 | 27th August 2008 07:18 PM |
GNOME/FreeBSD6 | gr1M | FreeBSD Installation and Upgrading | 3 | 25th July 2008 07:12 AM |
raw disk access on FreeBSD6 & 7 | SimonSync | FreeBSD General | 1 | 15th July 2008 03:00 PM |
Guide: Atheros ar5007 wifi cards in freebsd7 | Dazhelpwiz | FreeBSD Installation and Upgrading | 3 | 16th June 2008 02:23 AM |