157199806SWarner LoshUpdating Information for FreeBSD current users 253dfde79SWarner Losh 3f8c77507SWarner LoshThis file is maintained by imp@village.org. Please send new entries 4dc0dbf5cSWarner Loshdirectly to him. See end of file for further details. For commonly 516de1a07SWarner Loshdone items, please see the end of the file. Search for 'COMMON 616de1a07SWarner LoshITEMS:' 716de1a07SWarner Losh 890fb6346SWarner Losh20000615: 990fb6346SWarner Losh phk removed the compatibility creation of wd devices in the 1090fb6346SWarner Losh ad driver. If you haven't done so already, you must update 1190fb6346SWarner Losh your fstab, etc to use the ad devices instead of the wd 1290fb6346SWarner Losh devices. 1390fb6346SWarner Losh 14*f75f65bbSWarner Losh In addition, you'll need to update your boot blocks to a 15*f75f65bbSWarner Losh more modern version, if you haven't already done so. Modern 16*f75f65bbSWarner Losh here means 4.0 release or newer (although older releases 17*f75f65bbSWarner Losh may work). 18*f75f65bbSWarner Losh 19ba26da8eSWarner Losh20000612: 20ba26da8eSWarner Losh Peter took an axe to config(8). Besure that you read his mail 21ba26da8eSWarner Losh on the topic before even thinking about updating. More details 22ba26da8eSWarner Losh to follow. 23ba26da8eSWarner Losh 24d65850ebSWarner Losh20000522: 25ba26da8eSWarner Losh A new set of binutils went into the tree today. Anybody 26d65850ebSWarner Losh building a kernel after this point is advised that they need 27d65850ebSWarner Losh to rebuild their binutils (or better yet do a 28d65850ebSWarner Losh buildworld/installworld) before building a new kernel. 29d65850ebSWarner Losh 30d9583a00SWarner Losh Due to bugs in binutils, using malloc options (eg /etc/malloc.conf 31d9583a00SWarner Losh or MALLOC_OPTIONS env var) J will cause ld to dump core. It 32d9583a00SWarner Losh is recommended that you don't set this option until the problem 33d9583a00SWarner Losh is resolved. 34d9583a00SWarner Losh 358039cedeSWarner Losh20000513: 368039cedeSWarner Losh The ethernet drivers were all updated to clean up the BPF handling. 378039cedeSWarner Losh 38d65850ebSWarner Losh20000510: 398039cedeSWarner Losh The problems with boot blocks on the alphas have been corrected. 408039cedeSWarner Losh This will require some care in updating alphas. A new libstand 418039cedeSWarner Losh is requires for the boot blocks to build properly. 428039cedeSWarner Losh 438039cedeSWarner Losh20000503: 448039cedeSWarner Losh Recompile all kld modules. Proper version dependency info 458039cedeSWarner Losh is now available. 468039cedeSWarner Losh 47d65850ebSWarner Losh20000502: 48d65850ebSWarner Losh Modules have been disconnected from the buildworld tree and 49d65850ebSWarner Losh connected to the kernel building instead. 50d65850ebSWarner Losh 518039cedeSWarner Losh2000427: 528039cedeSWarner Losh You may need to build gperf 538039cedeSWarner Losh cd /usr/src/gnu/usr.bin/gperf && make depend all install 548039cedeSWarner Losh when upgrading from 4.0 -> current. The build system now uses 558039cedeSWarner Losh an option only in -current. 568039cedeSWarner Losh 572b8dd5f4SWarner Losh20000417: 582b8dd5f4SWarner Losh The method that we brand ELF binaries has changed to be more 592b8dd5f4SWarner Losh acceptible to the binutils maintainers. You will need to 602b8dd5f4SWarner Losh rebrand your ELF binaries that aren't native. One problem 612b8dd5f4SWarner Losh binary is the Linux ldconfig. After your make world, but 622b8dd5f4SWarner Losh before you reboot, you'll neeed to issue: 632b8dd5f4SWarner Losh brandelf -t Linux /compat/linux/sbin/ldconfig 642b8dd5f4SWarner Losh if you have Linux compatibility enabled on your machine. 652b8dd5f4SWarner Losh 668d9f1945SWarner Losh20000320: 672b8dd5f4SWarner Losh If you have really bad/marginal IDE drives, you may find they 682b8dd5f4SWarner Losh don't work well. Use pio mode instead. The easiest way to 692b8dd5f4SWarner Losh cope if you have a problem combination is to add: 708d9f1945SWarner Losh /sbin/sysctl -w hw.atamodes=pio,pio,pio,pio 712b8dd5f4SWarner Losh to the start of /etc/rc.conf. 728d9f1945SWarner Losh 73f8ab1dd6SWarner Losh20000319: 74f8ab1dd6SWarner Losh The ISA and PCI compatability shims have been connected to the 75f8ab1dd6SWarner Losh options COMPAT_OLDISA and COMPAT_OLDPCI. If you are using old 76f8ab1dd6SWarner Losh style PCI or ISA drivers (i.e. tx, voxware, etc.) you must 77f8ab1dd6SWarner Losh include the appropriate option in your kernel config. Drivers 78f8ab1dd6SWarner Losh using the shims should be updated or they won't ship with 79f8ab1dd6SWarner Losh 5.0-RELEASE, targeted for 2001. 80f8ab1dd6SWarner Losh 8119cada77SWarner Losh20000318: 8219cada77SWarner Losh We've entered the tradtional post release dumping party. 8319cada77SWarner Losh Large kernel changes are being committed and are in the 8419cada77SWarner Losh works. It is important to keep the systems' klds and kernel 8519cada77SWarner Losh in sync as kernel interfaces and structures are changing. 8619cada77SWarner Losh Before reporting kernel panics, make sure that all modules 8719cada77SWarner Losh that you are loading are up to date. 88ba228352SWarner Losh 8919cada77SWarner Losh20000315: 906d23c382SWarner Losh If you are upgrading from an older version of FreeBSD, you 916d23c382SWarner Losh need to update your boot blocks as well. 'disklabel -B ad0' 926d23c382SWarner Losh will do the trick. This isn't critical until you remove your 936d23c382SWarner Losh wd device entries in /dev, at which point your system will not 946d23c382SWarner Losh boot. 956d23c382SWarner Losh 966d23c382SWarner Losh20000315: 9719cada77SWarner Losh 4.0 RELEASE shipped. Please see the 4.0 UPDATING file for how 9819cada77SWarner Losh to upgrade to 4.0 from 3.x. 9957199806SWarner Losh 100dc0dbf5cSWarner LoshCOMMON ITEMS: 101dc0dbf5cSWarner Losh 102dc0dbf5cSWarner Losh To build a kernel 103dc0dbf5cSWarner Losh ----------------- 104dc0dbf5cSWarner Losh Update config, genassym and go: 105ba26da8eSWarner Losh config YOUR_KERNEL_HERE [1] 106dc0dbf5cSWarner Losh cd ../../compile/YOUR_KERNEL_HERE 107dc0dbf5cSWarner Losh make depend && make 1083645fc1cSWarner Losh make install 109ba26da8eSWarner Losh [1] If upgrading, add -r won't hurt and sometimes helps. 110dc0dbf5cSWarner Losh 11116de1a07SWarner Losh To rebuild everything 11216de1a07SWarner Losh --------------------- 113759f0aefSWarner Losh make world 114759f0aefSWarner Losh 115ba26da8eSWarner Losh To upgrade from 4.0-stable to current 116ba26da8eSWarner Losh ------------------------------------- 117ba26da8eSWarner Losh make buildworld 118ba26da8eSWarner Losh make buildkernel KERNEL=YOUR_KERNEL_HERE 119ba26da8eSWarner Losh make installkernel KERNEL=YOUR_KERNEL_HERE 120ba26da8eSWarner Losh make installworld 121ba26da8eSWarner Losh <reboot> 122ba26da8eSWarner Losh 123ba26da8eSWarner Losh Make sure that you've read the UPDATING file to understand 124ba26da8eSWarner Losh the tweaks to various things you need. At this point in the 125ba26da8eSWarner Losh life cycloe of current, things change often and you are on 126ba26da8eSWarner Losh your own to cope. 127ba26da8eSWarner Losh 128dc0dbf5cSWarner LoshFORMAT: 129dc0dbf5cSWarner Losh 1301fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major 1311fc1a0dcSWarner Loshbreakages in tracking -current. Not all things will be listed here, 132f8ab1dd6SWarner Loshand it only starts on March 15, 2000. Updating files can found in 133f8ab1dd6SWarner Loshprevious releases if your system is older than this. 1341fc1a0dcSWarner Losh 1353645fc1cSWarner LoshPlease filter your entries through Warner Losh (imp@village.org) so 1363645fc1cSWarner Loshthat the style, formatting, etc of this file can be maintained. 137f8c77507SWarner Losh 13897d92980SPeter Wemm$FreeBSD$ 139