xref: /freebsd/UPDATING (revision d9583a0008ba3a49f13cc4af85b561726779d651)
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
8d65850ebSWarner Losh20000522:
9d65850ebSWarner Losh	A new set up binutils went into the tree today.  Anybdoy
10d65850ebSWarner Losh	building a kernel after this point is advised that they need
11d65850ebSWarner Losh	to rebuild their binutils (or better yet do a
12d65850ebSWarner Losh	buildworld/installworld) before building a new kernel.
13d65850ebSWarner Losh
14*d9583a00SWarner Losh	Due to bugs in binutils, using malloc options (eg /etc/malloc.conf
15*d9583a00SWarner Losh	or MALLOC_OPTIONS env var) J will cause ld to dump core.  It
16*d9583a00SWarner Losh	is recommended that you don't set this option until the problem
17*d9583a00SWarner Losh	is resolved.
18*d9583a00SWarner Losh
198039cedeSWarner Losh20000513:
208039cedeSWarner Losh	The ethernet drivers were all updated to clean up the BPF handling.
218039cedeSWarner Losh
22d65850ebSWarner Losh20000510:
238039cedeSWarner Losh	The problems with boot blocks on the alphas have been corrected.
248039cedeSWarner Losh	This will require some care in updating alphas.  A new libstand
258039cedeSWarner Losh	is requires for the boot blocks to build properly.
268039cedeSWarner Losh
278039cedeSWarner Losh20000503:
288039cedeSWarner Losh	Recompile all kld modules.  Proper version dependency info
298039cedeSWarner Losh	is now available.
308039cedeSWarner Losh
31d65850ebSWarner Losh20000502:
32d65850ebSWarner Losh	Modules have been disconnected from the buildworld tree and
33d65850ebSWarner Losh	connected to the kernel building instead.
34d65850ebSWarner Losh
358039cedeSWarner Losh2000427:
368039cedeSWarner Losh	You may need to build gperf
378039cedeSWarner Losh		cd /usr/src/gnu/usr.bin/gperf && make depend all install
388039cedeSWarner Losh	when upgrading from 4.0 -> current.  The build system now uses
398039cedeSWarner Losh	an option only in -current.
408039cedeSWarner Losh
412b8dd5f4SWarner Losh20000417:
422b8dd5f4SWarner Losh	The method that we brand ELF binaries has changed to be more
432b8dd5f4SWarner Losh	acceptible to the binutils maintainers.  You will need to
442b8dd5f4SWarner Losh	rebrand your ELF binaries that aren't native.  One problem
452b8dd5f4SWarner Losh	binary is the Linux ldconfig.  After your make world, but
462b8dd5f4SWarner Losh	before you reboot, you'll neeed to issue:
472b8dd5f4SWarner Losh		brandelf -t Linux /compat/linux/sbin/ldconfig
482b8dd5f4SWarner Losh	if you have Linux compatibility enabled on your machine.
492b8dd5f4SWarner Losh
508d9f1945SWarner Losh20000320:
512b8dd5f4SWarner Losh	If you have really bad/marginal IDE drives, you may find they
522b8dd5f4SWarner Losh	don't work well.  Use pio mode instead.  The easiest way to
532b8dd5f4SWarner Losh	cope if you have a problem combination is to add:
548d9f1945SWarner Losh		/sbin/sysctl -w hw.atamodes=pio,pio,pio,pio
552b8dd5f4SWarner Losh	to the start of /etc/rc.conf.
568d9f1945SWarner Losh
57f8ab1dd6SWarner Losh20000319:
58f8ab1dd6SWarner Losh	The ISA and PCI compatability shims have been connected to the
59f8ab1dd6SWarner Losh	options COMPAT_OLDISA and COMPAT_OLDPCI.  If you are using old
60f8ab1dd6SWarner Losh	style PCI or ISA drivers (i.e. tx, voxware, etc.) you must
61f8ab1dd6SWarner Losh	include the appropriate option in your kernel config.  Drivers
62f8ab1dd6SWarner Losh	using the shims should be updated or they won't ship with
63f8ab1dd6SWarner Losh	5.0-RELEASE, targeted for 2001.
64f8ab1dd6SWarner Losh
6519cada77SWarner Losh20000318:
6619cada77SWarner Losh	We've entered the tradtional post release dumping party.
6719cada77SWarner Losh	Large kernel changes are being committed and are in the
6819cada77SWarner Losh	works.  It is important to keep the systems' klds and kernel
6919cada77SWarner Losh	in sync as kernel interfaces and structures are changing.
7019cada77SWarner Losh	Before reporting kernel panics, make sure that all modules
7119cada77SWarner Losh	that you are loading are up to date.
72ba228352SWarner Losh
7319cada77SWarner Losh20000315:
746d23c382SWarner Losh	If you are upgrading from an older version of FreeBSD, you
756d23c382SWarner Losh	need to update your boot blocks as well.  'disklabel -B ad0'
766d23c382SWarner Losh	will do the trick.  This isn't critical until you remove your
776d23c382SWarner Losh	wd device entries in /dev, at which point your system will not
786d23c382SWarner Losh	boot.
796d23c382SWarner Losh
806d23c382SWarner Losh20000315:
8119cada77SWarner Losh	4.0 RELEASE shipped.  Please see the 4.0 UPDATING file for how
8219cada77SWarner Losh	to upgrade to 4.0 from 3.x.
8357199806SWarner Losh
84dc0dbf5cSWarner LoshCOMMON ITEMS:
85dc0dbf5cSWarner Losh
86dc0dbf5cSWarner Losh	To build a kernel
87dc0dbf5cSWarner Losh	-----------------
88dc0dbf5cSWarner Losh	Update config, genassym and go:
89dc0dbf5cSWarner Losh		config YOUR_KERNEL_HERE
90dc0dbf5cSWarner Losh		cd ../../compile/YOUR_KERNEL_HERE
91dc0dbf5cSWarner Losh		make depend && make
923645fc1cSWarner Losh		make install
93dc0dbf5cSWarner Losh
9416de1a07SWarner Losh	To rebuild everything
9516de1a07SWarner Losh	---------------------
96759f0aefSWarner Losh	make world
97759f0aefSWarner Losh
98dc0dbf5cSWarner LoshFORMAT:
99dc0dbf5cSWarner Losh
1001fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major
1011fc1a0dcSWarner Loshbreakages in tracking -current.  Not all things will be listed here,
102f8ab1dd6SWarner Loshand it only starts on March 15, 2000.  Updating files can found in
103f8ab1dd6SWarner Loshprevious releases if your system is older than this.
1041fc1a0dcSWarner Losh
1053645fc1cSWarner LoshPlease filter your entries through Warner Losh (imp@village.org) so
1063645fc1cSWarner Loshthat the style, formatting, etc of this file can be maintained.
107f8c77507SWarner Losh
10897d92980SPeter Wemm$FreeBSD$
109