UPDATING revision 61890
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 820000615: 9 phk removed the compatibility creation of wd devices in the 10 ad driver. If you haven't done so already, you must update 11 your fstab, etc to use the ad devices instead of the wd 12 devices. 13 14 In addition, you'll need to update your boot blocks to a 15 more modern version, if you haven't already done so. Modern 16 here means 4.0 release or newer (although older releases 17 may work). 18 1920000612: 20 Peter took an axe to config(8). Besure that you read his mail 21 on the topic before even thinking about updating. More details 22 to follow. 23 2420000522: 25 A new set of binutils went into the tree today. Anybody 26 building a kernel after this point is advised that they need 27 to rebuild their binutils (or better yet do a 28 buildworld/installworld) before building a new kernel. 29 30 Due to bugs in binutils, using malloc options (eg /etc/malloc.conf 31 or MALLOC_OPTIONS env var) J will cause ld to dump core. It 32 is recommended that you don't set this option until the problem 33 is resolved. 34 3520000513: 36 The ethernet drivers were all updated to clean up the BPF handling. 37 3820000510: 39 The problems with boot blocks on the alphas have been corrected. 40 This will require some care in updating alphas. A new libstand 41 is requires for the boot blocks to build properly. 42 4320000503: 44 Recompile all kld modules. Proper version dependency info 45 is now available. 46 4720000502: 48 Modules have been disconnected from the buildworld tree and 49 connected to the kernel building instead. 50 512000427: 52 You may need to build gperf 53 cd /usr/src/gnu/usr.bin/gperf && make depend all install 54 when upgrading from 4.0 -> current. The build system now uses 55 an option only in -current. 56 5720000417: 58 The method that we brand ELF binaries has changed to be more 59 acceptible to the binutils maintainers. You will need to 60 rebrand your ELF binaries that aren't native. One problem 61 binary is the Linux ldconfig. After your make world, but 62 before you reboot, you'll neeed to issue: 63 brandelf -t Linux /compat/linux/sbin/ldconfig 64 if you have Linux compatibility enabled on your machine. 65 6620000320: 67 If you have really bad/marginal IDE drives, you may find they 68 don't work well. Use pio mode instead. The easiest way to 69 cope if you have a problem combination is to add: 70 /sbin/sysctl -w hw.atamodes=pio,pio,pio,pio 71 to the start of /etc/rc.conf. 72 7320000319: 74 The ISA and PCI compatability shims have been connected to the 75 options COMPAT_OLDISA and COMPAT_OLDPCI. If you are using old 76 style PCI or ISA drivers (i.e. tx, voxware, etc.) you must 77 include the appropriate option in your kernel config. Drivers 78 using the shims should be updated or they won't ship with 79 5.0-RELEASE, targeted for 2001. 80 8120000318: 82 We've entered the tradtional post release dumping party. 83 Large kernel changes are being committed and are in the 84 works. It is important to keep the systems' klds and kernel 85 in sync as kernel interfaces and structures are changing. 86 Before reporting kernel panics, make sure that all modules 87 that you are loading are up to date. 88 8920000315: 90 If you are upgrading from an older version of FreeBSD, you 91 need to update your boot blocks as well. 'disklabel -B ad0' 92 will do the trick. This isn't critical until you remove your 93 wd device entries in /dev, at which point your system will not 94 boot. 95 9620000315: 97 4.0 RELEASE shipped. Please see the 4.0 UPDATING file for how 98 to upgrade to 4.0 from 3.x. 99 100COMMON ITEMS: 101 102 To build a kernel 103 ----------------- 104 Update config, genassym and go: 105 config YOUR_KERNEL_HERE [1] 106 cd ../../compile/YOUR_KERNEL_HERE 107 make depend && make 108 make install 109 [1] If upgrading, add -r won't hurt and sometimes helps. 110 111 To rebuild everything 112 --------------------- 113 make world 114 115 To upgrade from 4.0-stable to current 116 ------------------------------------- 117 make buildworld 118 make buildkernel KERNEL=YOUR_KERNEL_HERE 119 make installkernel KERNEL=YOUR_KERNEL_HERE 120 make installworld 121 <reboot> 122 123 Make sure that you've read the UPDATING file to understand 124 the tweaks to various things you need. At this point in the 125 life cycloe of current, things change often and you are on 126 your own to cope. 127 128FORMAT: 129 130This file contains a list, in reverse chronologocal order, of major 131breakages in tracking -current. Not all things will be listed here, 132and it only starts on March 15, 2000. Updating files can found in 133previous releases if your system is older than this. 134 135Please filter your entries through Warner Losh (imp@village.org) so 136that the style, formatting, etc of this file can be maintained. 137 138$FreeBSD: head/UPDATING 61890 2000-06-21 07:01:33Z imp $ 139