UPDATING revision 63061
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
820000710:
9	/dev/random now has good entropy collection (from the keyboard
10	and sysmouse drivers). Please ensure that either `options
11	RANDOMDEV' is present in your kernel config file or that
12	`randomdev_load="YES"' is in your /boot/loader.conf. If you do
13	not have the /dev/random driver, OpenSSL (and consequently
14	lots of crypto tools (like SSH)) will fail with strange
15	errors. (see below, 20000624).
16
1720000709:
18	phk made the default options AJ.  This may slow things down
19	and uncover other latent bugs in the code.  If you need to run
20	at full speed, you can disable this by doing the following:
21		ln -s aj /etc/malloc.conf
22
2320000706:
24	libftpio's version was accidentally bumped a few days ago.  This
25	has been corrected.  You may need to remove /usr/lib/libftpio.so.6
26	before doing your next buildworld/installworld pair.  It certainly
27	won't hurt to remove it before the update proceedure.  It will
28	break fetch until a new one is built, but ftp can be used in the
29	interrum if needed.
30
3120000705:
32	The crypto packages have changed for the cvsup.  This has been done
33	in a backward compatible way, but the old packages will go away at
34	some point in the future.  Look at /usr/share/examples/cvsup for
35	details.
36
3720000704:
38	With the new sys/modules/sound/drivers/*, you will need to
39	set SYSDIR until you do an installworld after July 7th.
40
4120000704:
42	rc.shutdown and rc will now call the rc.d scripts with start
43	or stop.  This may cause some harmless warnings from older
44	rc.d scripts that haven't been updated.
45
4620000630:
47	The libfetch based version of fetch has gone into the tree.
48	Minor problems may result on some of the less popular sites,
49	which should be reported to des@freebsd.org.
50
5120000625:
52	From approximately this date forward, one must have the crypto
53	system installed in order to build the system and kernel.
54	While not technically strictly true, one should treat it as
55	required and grab the crypto bits.  If you are grabbing CVS
56	trees, src-all and cvs-crypto should be treated as if they
57	were required.  You should check with the latest collections
58	to make sure that these haven't changed.
59
6020000624:
61	Mark Murray just committed the first parts of a cleanup of
62	/dev/zero, et al.  This is also cleaning up /dev/random.
63	The entropy is disconnected, so DO NOT USE VERSIONS OF FREEBSD
64	-CURRENT FROM THIS POINT FORWARD for cryptographic services
65	until Mark can merge in the fixes to this work in progress.
66	openssh and openssl should not be used to generate keys from this
67	date to the completion of the work.
68
69	If you must operate at this reduced level of security, add '
70	options RANDOMDEV' to your kernel or modload the randomdev
71	module.  You may also need to copy a new MAKEDEV to /dev and
72	recreate the random and urandom devices.
73
7420000622:
75	The license on the softupdates is now a standard 2 clause
76	BSD license.  You may need to remove your symbolic links
77	that used to be required when updating.
78
7920000621:
80	Scott Flatman <sf@aracnet.com> sent in a decent writeup on
81	the config file update procedure.
82		http://people.freebsd.org/~imp/config-upd.html
83	NOTE: LINT is gone.  It has been replaced with NOTES.  NOTES
84	isn't buildable.
85
8620000620:
87	Binutils 2.10 have hit the tree, or will shortly.  As soon
88	as they do, the problem noted in 20000522 will be resolved and
89	that workaround will no longer be required.
90
9120000615:
92	phk removed the compatibility creation of wd devices in the
93	ad driver.  If you haven't done so already, you must update
94	your fstab, etc to use the ad devices instead of the wd
95	devices.
96
97	In addition, you'll need to update your boot blocks to a
98	more modern version, if you haven't already done so.  Modern
99	here means 4.0 release or newer (although older releases
100	may work).
101
10220000612:
103	Peter took an axe to config(8).  Besure that you read his mail
104	on the topic before even thinking about updating.  You will
105	need to create a /boot/devices.hints or add a hints directive
106	to your config file to compile them in statically.  The format
107	of the config file has changed as well.  Please see LINT,
108	GENERIC or NEWCARD for examples of the new format.
109
11020000522:
111	A new set of binutils went into the tree today.  Anybody
112	building a kernel after this point is advised that they need
113	to rebuild their binutils (or better yet do a
114	buildworld/installworld) before building a new kernel.
115
116	Due to bugs in binutils, using malloc options (eg /etc/malloc.conf
117	or MALLOC_OPTIONS env var) J will cause ld to dump core.  It
118	is recommended that you don't set this option until the problem
119	is resolved.
120
12120000513:
122	The ethernet drivers were all updated to clean up the BPF handling.
123
12420000510:
125	The problems with boot blocks on the alphas have been corrected.
126	This will require some care in updating alphas.  A new libstand
127	is requires for the boot blocks to build properly.
128
12920000503:
130	Recompile all kld modules.  Proper version dependency info
131	is now available.
132
13320000502:
134	Modules have been disconnected from the buildworld tree and 
135	connected to the kernel building instead.
136
1372000427:
138	You may need to build gperf
139		cd /usr/src/gnu/usr.bin/gperf && make depend all install
140	when upgrading from 4.0 -> current.  The build system now uses
141	an option only in -current.
142
14320000417:
144	The method that we brand ELF binaries has changed to be more
145	acceptible to the binutils maintainers.  You will need to
146	rebrand your ELF binaries that aren't native.  One problem
147	binary is the Linux ldconfig.  After your make world, but
148	before you reboot, you'll neeed to issue:
149		brandelf -t Linux /compat/linux/sbin/ldconfig
150	if you have Linux compatibility enabled on your machine.
151
15220000320:
153	If you have really bad/marginal IDE drives, you may find they
154	don't work well.  Use pio mode instead.  The easiest way to
155	cope if you have a problem combination is to add:
156		/sbin/sysctl -w hw.atamodes=pio,pio,pio,pio
157	to the start of /etc/rc.conf.
158
15920000319:
160	The ISA and PCI compatability shims have been connected to the
161	options COMPAT_OLDISA and COMPAT_OLDPCI.  If you are using old
162	style PCI or ISA drivers (i.e. tx, voxware, etc.) you must
163	include the appropriate option in your kernel config.  Drivers
164	using the shims should be updated or they won't ship with
165	5.0-RELEASE, targeted for 2001.
166
16720000318:
168	We've entered the tradtional post release dumping party.
169	Large kernel changes are being committed and are in the
170	works.  It is important to keep the systems' klds and kernel
171	in sync as kernel interfaces and structures are changing.
172	Before reporting kernel panics, make sure that all modules
173	that you are loading are up to date.
174
17520000315:
176	If you are upgrading from an older version of FreeBSD, you
177	need to update your boot blocks as well.  'disklabel -B ad0'
178	will do the trick.  This isn't critical until you remove your
179	wd device entries in /dev, at which point your system will not
180	boot.
181
18220000315:
183	4.0 RELEASE shipped.  Please see the 4.0 UPDATING file for how
184	to upgrade to 4.0 from 3.x.
185
186COMMON ITEMS:
187
188	To build a kernel
189	-----------------
190	Update config, genassym and go:
191		config YOUR_KERNEL_HERE			[1]
192		cd ../../compile/YOUR_KERNEL_HERE
193		make depend && make
194		make install
195	[1] If upgrading, add -r won't hurt and sometimes helps.
196
197	To rebuild everything
198	---------------------
199	make world
200
201	To upgrade from 4.0-stable to current
202	-------------------------------------
203	make buildworld
204	make buildkernel KERNEL=YOUR_KERNEL_HERE
205	make installkernel KERNEL=YOUR_KERNEL_HERE
206	make installworld
207	<reboot>
208
209	Make sure that you've read the UPDATING file to understand
210	the tweaks to various things you need.  At this point in the
211	life cycloe of current, things change often and you are on
212	your own to cope.
213
214FORMAT:
215
216This file contains a list, in reverse chronologocal order, of major
217breakages in tracking -current.  Not all things will be listed here,
218and it only starts on March 15, 2000.  Updating files can found in
219previous releases if your system is older than this.
220
221Please filter your entries through Warner Losh (imp@village.org) so
222that the style, formatting, etc of this file can be maintained.
223
224$FreeBSD: head/UPDATING 63061 2000-07-13 05:35:31Z imp $
225