xref: /freebsd/UPDATING (revision 90fb634625c33001c6e0e79f6c2a7ada940301f3)
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
14ba26da8eSWarner Losh20000612:
15ba26da8eSWarner Losh	Peter took an axe to config(8).  Besure that you read his mail
16ba26da8eSWarner Losh	on the topic before even thinking about updating.  More details
17ba26da8eSWarner Losh	to follow.
18ba26da8eSWarner Losh
19d65850ebSWarner Losh20000522:
20ba26da8eSWarner Losh	A new set of binutils went into the tree today.  Anybody
21d65850ebSWarner Losh	building a kernel after this point is advised that they need
22d65850ebSWarner Losh	to rebuild their binutils (or better yet do a
23d65850ebSWarner Losh	buildworld/installworld) before building a new kernel.
24d65850ebSWarner Losh
25d9583a00SWarner Losh	Due to bugs in binutils, using malloc options (eg /etc/malloc.conf
26d9583a00SWarner Losh	or MALLOC_OPTIONS env var) J will cause ld to dump core.  It
27d9583a00SWarner Losh	is recommended that you don't set this option until the problem
28d9583a00SWarner Losh	is resolved.
29d9583a00SWarner Losh
308039cedeSWarner Losh20000513:
318039cedeSWarner Losh	The ethernet drivers were all updated to clean up the BPF handling.
328039cedeSWarner Losh
33d65850ebSWarner Losh20000510:
348039cedeSWarner Losh	The problems with boot blocks on the alphas have been corrected.
358039cedeSWarner Losh	This will require some care in updating alphas.  A new libstand
368039cedeSWarner Losh	is requires for the boot blocks to build properly.
378039cedeSWarner Losh
388039cedeSWarner Losh20000503:
398039cedeSWarner Losh	Recompile all kld modules.  Proper version dependency info
408039cedeSWarner Losh	is now available.
418039cedeSWarner Losh
42d65850ebSWarner Losh20000502:
43d65850ebSWarner Losh	Modules have been disconnected from the buildworld tree and
44d65850ebSWarner Losh	connected to the kernel building instead.
45d65850ebSWarner Losh
468039cedeSWarner Losh2000427:
478039cedeSWarner Losh	You may need to build gperf
488039cedeSWarner Losh		cd /usr/src/gnu/usr.bin/gperf && make depend all install
498039cedeSWarner Losh	when upgrading from 4.0 -> current.  The build system now uses
508039cedeSWarner Losh	an option only in -current.
518039cedeSWarner Losh
522b8dd5f4SWarner Losh20000417:
532b8dd5f4SWarner Losh	The method that we brand ELF binaries has changed to be more
542b8dd5f4SWarner Losh	acceptible to the binutils maintainers.  You will need to
552b8dd5f4SWarner Losh	rebrand your ELF binaries that aren't native.  One problem
562b8dd5f4SWarner Losh	binary is the Linux ldconfig.  After your make world, but
572b8dd5f4SWarner Losh	before you reboot, you'll neeed to issue:
582b8dd5f4SWarner Losh		brandelf -t Linux /compat/linux/sbin/ldconfig
592b8dd5f4SWarner Losh	if you have Linux compatibility enabled on your machine.
602b8dd5f4SWarner Losh
618d9f1945SWarner Losh20000320:
622b8dd5f4SWarner Losh	If you have really bad/marginal IDE drives, you may find they
632b8dd5f4SWarner Losh	don't work well.  Use pio mode instead.  The easiest way to
642b8dd5f4SWarner Losh	cope if you have a problem combination is to add:
658d9f1945SWarner Losh		/sbin/sysctl -w hw.atamodes=pio,pio,pio,pio
662b8dd5f4SWarner Losh	to the start of /etc/rc.conf.
678d9f1945SWarner Losh
68f8ab1dd6SWarner Losh20000319:
69f8ab1dd6SWarner Losh	The ISA and PCI compatability shims have been connected to the
70f8ab1dd6SWarner Losh	options COMPAT_OLDISA and COMPAT_OLDPCI.  If you are using old
71f8ab1dd6SWarner Losh	style PCI or ISA drivers (i.e. tx, voxware, etc.) you must
72f8ab1dd6SWarner Losh	include the appropriate option in your kernel config.  Drivers
73f8ab1dd6SWarner Losh	using the shims should be updated or they won't ship with
74f8ab1dd6SWarner Losh	5.0-RELEASE, targeted for 2001.
75f8ab1dd6SWarner Losh
7619cada77SWarner Losh20000318:
7719cada77SWarner Losh	We've entered the tradtional post release dumping party.
7819cada77SWarner Losh	Large kernel changes are being committed and are in the
7919cada77SWarner Losh	works.  It is important to keep the systems' klds and kernel
8019cada77SWarner Losh	in sync as kernel interfaces and structures are changing.
8119cada77SWarner Losh	Before reporting kernel panics, make sure that all modules
8219cada77SWarner Losh	that you are loading are up to date.
83ba228352SWarner Losh
8419cada77SWarner Losh20000315:
856d23c382SWarner Losh	If you are upgrading from an older version of FreeBSD, you
866d23c382SWarner Losh	need to update your boot blocks as well.  'disklabel -B ad0'
876d23c382SWarner Losh	will do the trick.  This isn't critical until you remove your
886d23c382SWarner Losh	wd device entries in /dev, at which point your system will not
896d23c382SWarner Losh	boot.
906d23c382SWarner Losh
916d23c382SWarner Losh20000315:
9219cada77SWarner Losh	4.0 RELEASE shipped.  Please see the 4.0 UPDATING file for how
9319cada77SWarner Losh	to upgrade to 4.0 from 3.x.
9457199806SWarner Losh
95dc0dbf5cSWarner LoshCOMMON ITEMS:
96dc0dbf5cSWarner Losh
97dc0dbf5cSWarner Losh	To build a kernel
98dc0dbf5cSWarner Losh	-----------------
99dc0dbf5cSWarner Losh	Update config, genassym and go:
100ba26da8eSWarner Losh		config YOUR_KERNEL_HERE			[1]
101dc0dbf5cSWarner Losh		cd ../../compile/YOUR_KERNEL_HERE
102dc0dbf5cSWarner Losh		make depend && make
1033645fc1cSWarner Losh		make install
104ba26da8eSWarner Losh	[1] If upgrading, add -r won't hurt and sometimes helps.
105dc0dbf5cSWarner Losh
10616de1a07SWarner Losh	To rebuild everything
10716de1a07SWarner Losh	---------------------
108759f0aefSWarner Losh	make world
109759f0aefSWarner Losh
110ba26da8eSWarner Losh	To upgrade from 4.0-stable to current
111ba26da8eSWarner Losh	-------------------------------------
112ba26da8eSWarner Losh	make buildworld
113ba26da8eSWarner Losh	make buildkernel KERNEL=YOUR_KERNEL_HERE
114ba26da8eSWarner Losh	make installkernel KERNEL=YOUR_KERNEL_HERE
115ba26da8eSWarner Losh	make installworld
116ba26da8eSWarner Losh	<reboot>
117ba26da8eSWarner Losh
118ba26da8eSWarner Losh	Make sure that you've read the UPDATING file to understand
119ba26da8eSWarner Losh	the tweaks to various things you need.  At this point in the
120ba26da8eSWarner Losh	life cycloe of current, things change often and you are on
121ba26da8eSWarner Losh	your own to cope.
122ba26da8eSWarner Losh
123dc0dbf5cSWarner LoshFORMAT:
124dc0dbf5cSWarner Losh
1251fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major
1261fc1a0dcSWarner Loshbreakages in tracking -current.  Not all things will be listed here,
127f8ab1dd6SWarner Loshand it only starts on March 15, 2000.  Updating files can found in
128f8ab1dd6SWarner Loshprevious releases if your system is older than this.
1291fc1a0dcSWarner Losh
1303645fc1cSWarner LoshPlease filter your entries through Warner Losh (imp@village.org) so
1313645fc1cSWarner Loshthat the style, formatting, etc of this file can be maintained.
132f8c77507SWarner Losh
13397d92980SPeter Wemm$FreeBSD$
134