UPDATING (208002) | UPDATING (209962) |
---|---|
1Updating Information for FreeBSD current users 2 3This file is maintained and copyrighted by M. Warner Losh <imp@freebsd.org>. 4See end of file for further details. For commonly done items, please see the 5COMMON ITEMS: section later in the file. These instructions assume that you 6basically know what you are doing. If not, then please consult the FreeBSD 7handbook. 8 --- 9 unchanged lines hidden (view full) --- 18 benchmarking, and optimization, you'll want to turn them off. This 19 includes various WITNESS- related kernel options, INVARIANTS, malloc 20 debugging flags in userland, and various verbose features in the 21 kernel. Many developers choose to disable these features on build 22 machines to maximize performance. (To disable malloc debugging, run 23 ln -s aj /etc/malloc.conf.) 24 25 | 1Updating Information for FreeBSD current users 2 3This file is maintained and copyrighted by M. Warner Losh <imp@freebsd.org>. 4See end of file for further details. For commonly done items, please see the 5COMMON ITEMS: section later in the file. These instructions assume that you 6basically know what you are doing. If not, then please consult the FreeBSD 7handbook. 8 --- 9 unchanged lines hidden (view full) --- 18 benchmarking, and optimization, you'll want to turn them off. This 19 includes various WITNESS- related kernel options, INVARIANTS, malloc 20 debugging flags in userland, and various verbose features in the 21 kernel. Many developers choose to disable these features on build 22 machines to maximize performance. (To disable malloc debugging, run 23 ln -s aj /etc/malloc.conf.) 24 25 |
2620100713: 27 A new version of ZFS (version 15) has been merged to -HEAD. 28 This version uses a python library for the following subcommands: 29 zfs allow, zfs unallow, zfs groupspace, zfs userspace. 30 For full functionality of these commands the following port must 31 be installed: sysutils/py-zfs 32 |
|
2620100429: 27 'vm_page's are now hashed by physical address to an array of mutexes. 28 Currently this is only used to serialize access to hold_count. Over 29 time the page queue mutex will be peeled away. This changes the size 30 of pmap on every architecture. And requires all callers of vm_page_hold 31 and vm_page_unhold to be updated. 32 3320100402: --- 925 unchanged lines hidden (view full) --- 959 commands with 'env -i '. See the env(1) manual page for more details. 960 961 When upgrading from one major version to another it is generally best 962 to upgrade to the latest code in the currently installed branch first, 963 then do an upgrade to the new branch. This is the best-tested upgrade 964 path, and has the highest probability of being successful. Please try 965 this approach before reporting problems with a major version upgrade. 966 | 3320100429: 34 'vm_page's are now hashed by physical address to an array of mutexes. 35 Currently this is only used to serialize access to hold_count. Over 36 time the page queue mutex will be peeled away. This changes the size 37 of pmap on every architecture. And requires all callers of vm_page_hold 38 and vm_page_unhold to be updated. 39 4020100402: --- 925 unchanged lines hidden (view full) --- 966 commands with 'env -i '. See the env(1) manual page for more details. 967 968 When upgrading from one major version to another it is generally best 969 to upgrade to the latest code in the currently installed branch first, 970 then do an upgrade to the new branch. This is the best-tested upgrade 971 path, and has the highest probability of being successful. Please try 972 this approach before reporting problems with a major version upgrade. 973 |
974 ZFS notes 975 --------- 976 When upgrading the boot ZFS pool to a new version, always follow 977 these two steps: 978 979 1.) recompile and reinstall the ZFS boot loader and boot block 980 (this is part of "make buildworld" and "make installworld") 981 982 2.) update the ZFS boot block on your boot drive 983 984 The following example updates the ZFS boot block on the first 985 partition (freebsd-boot) of a GPT partitioned drive ad0: 986 "gpart bootcode -p /boot/gptzfsboot -i 1 ad0" 987 988 Non-boot pools do not need these updates. 989 |
|
967 To build a kernel 968 ----------------- 969 If you are updating from a prior version of FreeBSD (even one just 970 a few days old), you should follow this procedure. It is the most 971 failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, 972 973 make kernel-toolchain 974 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE --- 161 unchanged lines hidden (view full) --- 1136HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 1137STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 1138IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 1139POSSIBILITY OF SUCH DAMAGE. 1140 1141Contact Warner Losh if you have any questions about your use of 1142this document. 1143 | 990 To build a kernel 991 ----------------- 992 If you are updating from a prior version of FreeBSD (even one just 993 a few days old), you should follow this procedure. It is the most 994 failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, 995 996 make kernel-toolchain 997 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE --- 161 unchanged lines hidden (view full) --- 1159HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 1160STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 1161IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 1162POSSIBILITY OF SUCH DAMAGE. 1163 1164Contact Warner Losh if you have any questions about your use of 1165this document. 1166 |
1144$FreeBSD: head/UPDATING 208002 2010-05-12 21:20:04Z brueffer $ | 1167$FreeBSD: head/UPDATING 209962 2010-07-12 23:49:04Z mm $ |