UPDATING revision 62226
1Updating Information for FreeBSD current users 2 3This file is maintained by imp@village.org. Please send new entries 4directly to him. See end of file for further details. For commonly 5done items, please see the end of the file. Search for 'COMMON 6ITEMS:' 7 820000625: 9 From approximately this date forward, one must have the crypto 10 system installed in order to build the system and kernel. While 11 not technically strictly true, one should treat it as true and 12 grab the crypto bits. If you are grabbing CVS trees, src-all 13 and cvs-crypto should be treated as if they were required. 14 1520000624: 16 Mark Murray just committed the first parts of a cleanup of 17 /dev/zero, et al. This is also cleaning up /dev/random. 18 The entropy is disconnected, so DO NOT USE VERSIONS OF FREEBSD 19 -CURRENT FROM THIS POINT FORWARD for cryptographic services 20 until Mark can merge in the fixes to this work in progress. 21 openssh and openssl should not be used to generate keys from this 22 date to the completion of the work. 23 2420000622: 25 The license on the softupdates is now a standard 2 clause 26 BSD license. You may need to remove your symbolic links 27 that used to be required when updating. 28 2920000621: 30 Scott Flatman <sf@aracnet.com> sent in a decent writeup on 31 the config file update procedure. 32 http://people.freebsd.org/~imp/config-upd.html 33 3420000620: 35 Binutils 2.10 have hit the tree, or will shortly. As soon 36 as they do, the problem noted in 20000522 will be resolved and 37 that workaround will no longer be required. 38 3920000615: 40 phk removed the compatibility creation of wd devices in the 41 ad driver. If you haven't done so already, you must update 42 your fstab, etc to use the ad devices instead of the wd 43 devices. 44 45 In addition, you'll need to update your boot blocks to a 46 more modern version, if you haven't already done so. Modern 47 here means 4.0 release or newer (although older releases 48 may work). 49 5020000612: 51 Peter took an axe to config(8). Besure that you read his mail 52 on the topic before even thinking about updating. You will 53 need to create a /boot/devices.hints or add a hints directive 54 to your config file to compile them in statically. The format 55 of the config file has changed as well. Please see LINT, 56 GENERIC or NEWCARD for examples of the new format. 57 5820000522: 59 A new set of binutils went into the tree today. Anybody 60 building a kernel after this point is advised that they need 61 to rebuild their binutils (or better yet do a 62 buildworld/installworld) before building a new kernel. 63 64 Due to bugs in binutils, using malloc options (eg /etc/malloc.conf 65 or MALLOC_OPTIONS env var) J will cause ld to dump core. It 66 is recommended that you don't set this option until the problem 67 is resolved. 68 6920000513: 70 The ethernet drivers were all updated to clean up the BPF handling. 71 7220000510: 73 The problems with boot blocks on the alphas have been corrected. 74 This will require some care in updating alphas. A new libstand 75 is requires for the boot blocks to build properly. 76 7720000503: 78 Recompile all kld modules. Proper version dependency info 79 is now available. 80 8120000502: 82 Modules have been disconnected from the buildworld tree and 83 connected to the kernel building instead. 84 852000427: 86 You may need to build gperf 87 cd /usr/src/gnu/usr.bin/gperf && make depend all install 88 when upgrading from 4.0 -> current. The build system now uses 89 an option only in -current. 90 9120000417: 92 The method that we brand ELF binaries has changed to be more 93 acceptible to the binutils maintainers. You will need to 94 rebrand your ELF binaries that aren't native. One problem 95 binary is the Linux ldconfig. After your make world, but 96 before you reboot, you'll neeed to issue: 97 brandelf -t Linux /compat/linux/sbin/ldconfig 98 if you have Linux compatibility enabled on your machine. 99 10020000320: 101 If you have really bad/marginal IDE drives, you may find they 102 don't work well. Use pio mode instead. The easiest way to 103 cope if you have a problem combination is to add: 104 /sbin/sysctl -w hw.atamodes=pio,pio,pio,pio 105 to the start of /etc/rc.conf. 106 10720000319: 108 The ISA and PCI compatability shims have been connected to the 109 options COMPAT_OLDISA and COMPAT_OLDPCI. If you are using old 110 style PCI or ISA drivers (i.e. tx, voxware, etc.) you must 111 include the appropriate option in your kernel config. Drivers 112 using the shims should be updated or they won't ship with 113 5.0-RELEASE, targeted for 2001. 114 11520000318: 116 We've entered the tradtional post release dumping party. 117 Large kernel changes are being committed and are in the 118 works. It is important to keep the systems' klds and kernel 119 in sync as kernel interfaces and structures are changing. 120 Before reporting kernel panics, make sure that all modules 121 that you are loading are up to date. 122 12320000315: 124 If you are upgrading from an older version of FreeBSD, you 125 need to update your boot blocks as well. 'disklabel -B ad0' 126 will do the trick. This isn't critical until you remove your 127 wd device entries in /dev, at which point your system will not 128 boot. 129 13020000315: 131 4.0 RELEASE shipped. Please see the 4.0 UPDATING file for how 132 to upgrade to 4.0 from 3.x. 133 134COMMON ITEMS: 135 136 To build a kernel 137 ----------------- 138 Update config, genassym and go: 139 config YOUR_KERNEL_HERE [1] 140 cd ../../compile/YOUR_KERNEL_HERE 141 make depend && make 142 make install 143 [1] If upgrading, add -r won't hurt and sometimes helps. 144 145 To rebuild everything 146 --------------------- 147 make world 148 149 To upgrade from 4.0-stable to current 150 ------------------------------------- 151 make buildworld 152 make buildkernel KERNEL=YOUR_KERNEL_HERE 153 make installkernel KERNEL=YOUR_KERNEL_HERE 154 make installworld 155 <reboot> 156 157 Make sure that you've read the UPDATING file to understand 158 the tweaks to various things you need. At this point in the 159 life cycloe of current, things change often and you are on 160 your own to cope. 161 162FORMAT: 163 164This file contains a list, in reverse chronologocal order, of major 165breakages in tracking -current. Not all things will be listed here, 166and it only starts on March 15, 2000. Updating files can found in 167previous releases if your system is older than this. 168 169Please filter your entries through Warner Losh (imp@village.org) so 170that the style, formatting, etc of this file can be maintained. 171 172$FreeBSD: head/UPDATING 62226 2000-06-29 00:34:54Z imp $ 173