UPDATING revision 51817
1141104ShartiUpdating Information for FreeBSD current users
21590Srgrimes
31590SrgrimesThis file is maintained by imp@village.org.  Please send new entries
41590Srgrimesdirectly to him.  See end of file for further details.
51590Srgrimes
61590Srgrimes19990929:
71590Srgrimes	The sigset_t datatype has been changed from an integral type
81590Srgrimes	to a compound type and can hold 128 signals. Syscalls directly
91590Srgrimes	or indirectly using the new sigset_t have been added as to
101590Srgrimes	maintain compatible with existing binaries. A new kernel must
111590Srgrimes	be made and installed and booted with before a make world can
121590Srgrimes	be done.
131590Srgrimes
141590Srgrimes19990919:
151590Srgrimes	New jail syscall format requires recompilation of jail(8) with
161590Srgrimes	fresh headers installed (or a make world will do it for you).
171590Srgrimes
181590Srgrimes19990914:
191590Srgrimes	Matt Dillon checked in many vm related things and sent a heads up
201590Srgrimes	to -current urging caution and to report vm problems to him.
211590Srgrimes	As of the 19th, no killer problems have been reported, but you
221590Srgrimes	have been warned.
231590Srgrimes
241590Srgrimes19990908:
251590Srgrimes	The new miibus has been added to the system.  If you are using
261590Srgrimes	the dm, rl, sf, sis, ste, tl, wb or xl drivers, you need to
271590Srgrimes	add "controller miibus0" to your config file.
281590Srgrimes
291590Srgrimes19990905:
301590Srgrimes	/var/cron/log has been moved to /var/log/cron to get all the
311590Srgrimes	log files in one place.
321590Srgrimes
331590Srgrimes19990831:
341590Srgrimes	tn3270 has been removed from the based system and added as a port.
351590Srgrimes
361590Srgrimes19990830:
3762833Swsanchez	User-visible TCP timers are now expressed in units of 1ms, instead
3862833Swsanchez	of 500ms, so if you've customized any timer values under
391590Srgrimes	``net.inet.tcp'', multiply them by 500 to preserve TCP's behavior.
401590Srgrimes
4162833Swsanchez19990828:
4294587Sobrien	RCS Id tags changed to FreeBSD.  This will cause huge cvsup
431590Srgrimes	updates.
441590Srgrimes
451590Srgrimes19990821:
461590Srgrimes	On 28-May-1999 libreadline was upgraded from readline-2.2 to
471590Srgrimes	readline-4.0.  At that time the shared library major version
481590Srgrimes	number was bumped from "3" to "4".  It has been deemed that
491590Srgrimes	the interface change between readline-2.2 and readline-4.0 was
501590Srgrimes	not suffient to warrant the version number bump.
511590Srgrimes
521590Srgrimes	Thus I have reverted it back to "3".  You will need to perform
531590Srgrimes	the below immediately before your next ``make world'':
541590Srgrimes	    cd /usr/lib
55144026Sharti	    ls -l libreadline.so.4
56144026Sharti	        (if you have /usr/lib/libreadline.so.4)
57144026Sharti	    mv libreadline.so.4 libreadline.so.3
58144026Sharti	    rm -f libreadline.so
591590Srgrimes	    ln -s libreadline.so.3 libreadline.so
60144026Sharti
61144026Sharti19990801:
62144026Sharti	Changes to the pccardd kernel interface require that you recompile
63144026Sharti	pccardd for new kernel.
64144026Sharti
651590Srgrimes19980725:
66144026Sharti	The ipfw interface to the kernel has changed.  You will need to
67144026Sharti	recompile ipfw programs for the new kernel.
68144026Sharti
69144026Sharti19990715:
70144026Sharti	The bpfilter device has been renamed to bpf.  You will need to 
711590Srgrimes	change your config files in order to enable this in newer kernels.
721590Srgrimes
73144341Sharti19990704:
74141104Sharti	src/contrib/sys/softupdates is moving to
751590Srgrimes	src/sys/contrib/softupdates.  Update your symbolic links/etc.
76141104Sharti
77141104Sharti19990702:
7827644Scharnier	Major changes have been made to vinum and its interface.  See
79141104Sharti	the man page (vinum(8)) for details.  Look at the concat,
80141104Sharti	mirror and stripe commands, as well as the SIMPLIFIED
81141104Sharti	CONFIGURATION section.
82141104Sharti
83141104Sharti19990628:
841590Srgrimes	Newsyslog.conf has had a minor, but potentially dangerous,
85141104Sharti	change to its username/group syntax.  The old syntax was
86141104Sharti	user.group, while the new syntax is user:group.
87141104Sharti
88145683Sharti19990627:
891590Srgrimes	Inetd wrapping default has changed.  Please see the updated
90141104Sharti	man page for details.
91141104Sharti
921590Srgrimes19990623:
93141104Sharti	Compaq Smart Raid driver committed as ida.
94141104Sharti
95141104Sharti19990622:
96141104Sharti	The second phase of syscons cleanup has happened.  Some
97141104Sharti	functionality has been made optional.  For details, see
981590Srgrimes        http://www.freebsd.org/~yokota/sc_update-June.txt
991590Srgrimes	Everyone will need to re-config(8) their kernels, but old
100144341Sharti	binaries will work with the new kernel.
1011590Srgrimes
1021590Srgrimes19990620:
1031590Srgrimes	IPFW uid/gid-based filtering support has been committed. This
1041590Srgrimes	breaks binary compatibility with previous copies of
1051590Srgrimes	ipfw(8). Any utilities using the ioctl()s of ipfw (especially
106138916Sharti	ipfw(8)) need to be recompiled with the newest headers
107138916Sharti	installed.
108138916Sharti
109138916Sharti19990618:
110144026Sharti	Inetd now wraps all stream-based services, including internals.
111144026Sharti	Syslog "severity" options are honoured. Installed syslog.conf
1121590Srgrimes	and hosts.allow should be checked.
113144026Sharti
1141590Srgrimes19990509:
115144026Sharti	Most of the problems with newbus have been corrected, but
116144026Sharti	it is still current and evolving.
117144026Sharti
118144026Sharti	libcam's ABI has changed.  You must recompile the world and
119144026Sharti	any ports that use it.
120126824Sru
121144341Sharti19990427:
122144341Sharti	Massive changes to SMP went into the tree that should speed
123144341Sharti	things up.  However, if you experience problems with SMP 
124144341Sharti	machines, you can back off to the PRE_SMP_VMSHARE tag in the
125144341Sharti	CVS repository (or run an MP kernel).
126144341Sharti
127144341Sharti19990420:
128144341Sharti	Pccardd and the pccard bus in general seem to be broken or
129144341Sharti	most people.  Soren has patches to make it better for some,
130144341Sharti	but not all people.  Work is underway to make it better for
131144341Sharti	all people.
132144026Sharti
133138916Sharti19990416:
134144341Sharti	new bus changes integrated into -current.  Many problems were
1351590Srgrimes	initially reported, but most have been fixed.  You'll need a
136144341Sharti	new config and to tweak your kernel config file the way that
137144341Sharti	GENERIC was tweaked.  Keep a copy of your old kernel when
138144341Sharti	upgrading in case your new kernel doesn't work (and report the
139138916Sharti	breakage to current@freebsd.org).
140144020Sharti
141138916Sharti	As of 19990421 the remaining problems/quirks are
142138916Sharti
143144020Sharti	o sio no longer supports pnp nor pccard.  This will be corrected,
144138916Sharti	  but the new pccard code needs to be completed.
145144026Sharti	o Some of the sound drivers broke for some people.  It seems
1461590Srgrimes	  inconsistant as to who/what/when/where things broke.
1471590Srgrimes	o Duplicate device entries in your config do not work.  Previously
1481590Srgrimes	  they were silently ignored.  psm0 seems to be the most common
1491590Srgrimes	  duplicate choice, although some reports have come in from people
1501590Srgrimes	  that wired their scsi disk entries.
1511590Srgrimes	o You must move the keyboard and mouse attachments from the
152144026Sharti	  isa bus to the atkbdc bus.  See GENERIC for details.
153144026Sharti	o Machines with multiple host-pci bridges (Intel 450NX) will not
154144026Sharti	  probe the second pci bus.
155145971Sharti	o Some probe ordering may have changed, so device naming may change
156144026Sharti	  with the new kernel.  If you have multiple devices, please double
157144026Sharti	  check to make sure they didn't move.  This is especially true
158144026Sharti	  for cards on different buses.
159144026Sharti	o The bus attachment for vga0 is always isa0 and never pci0 when
160144026Sharti	  it is in fact a pci card.  It is safe to ignore this.
161144026Sharti	o The format of the boot messages has changed (and is not
162144026Sharti	  guaranteed to be constant for a while) so you may see this
163144026Sharti	  in some shell scripts that diff dmesg from day to day as well
164144026Sharti	  as scripts that parse dmesg output.
165144026Sharti
166144026Sharti19990414:
167144026Sharti	cc -aout sometimes has problems compiling with -g, remove -g
168144026Sharti	from those compilation units affected until this is corrected.
169144026Sharti
170144026Sharti	cc -aout has problems with producing some threaded libraries,
171144026Sharti	so make world -DWANT_AOUT is not functional at this time.
172144026Sharti
173144026Sharti	Since make world for a.out isn't functional, you cannot do
174144026Sharti	make aout-to-elf from a pre-egcs a.out system.  To work around
175144026Sharti	this problem, make aout-to-elf using 3.1-stable first (or a
176145679Sharti	pre egcs -current) and then a simple make world will take you
177144026Sharti	the rest of the way with a -current source base.
1781590Srgrimes
1791590Srgrimes19990413:
1801590Srgrimes	Make -j works again for make world.  As always, use it with
18118730Ssteve	care, and be sure to try a make world w/o -j before reporting
1821590Srgrimes	problems (that is, know if the problem exists w/o -j before
1831590Srgrimes	reporting the problem with -j).
18469527Swill
1851590Srgrimes19990413:
1861590Srgrimes	Note cc -aout, which had been broken since the conversion to
187144026Sharti	egcs, now supposedly works.  If you have rebuilt things like
1881590Srgrimes	XFree86 a.out libraries, you should rebuild them again or
1891590Srgrimes	progams that use them, including netscape, will fail to work.
1901590Srgrimes
1911590Srgrimes19990409:
1921590Srgrimes	NOTE: New c++ compiler cannot be used with c++ binaries from
1931590Srgrimes	the old compiler and vice versa.
1941590Srgrimes
1951590Srgrimes19990408:
196145616Sharti	In recent days egcs has been imported into the tree.  A number
197144026Sharti	of problems have been discussed in -current.  Here is a highlight
198144026Sharti	of a few of the more common ones.  With the exception of make
199144026Sharti	-j n, they have been claimed to have been fixed.
2001590Srgrimes
201145616Sharti	c++ is broken after make world: This is correct.  Because we
202144026Sharti	changed compilers two make worlds are necessary to get C++
203144026Sharti	working again.  The code generated by the old compiler and new
204144026Sharti	compiler are not compatible, so things wind up being
205144026Sharti	undefined.
206145971Sharti
207144026Sharti	cpp is broken in make world:  There was a window where cpp
208144026Sharti	would be built incorrectly.  The fix for this is
209144026Sharti		cd src/gnu/usr.bin/cc
210144026Sharti		make clean
211144026Sharti		make all
212144026Sharti		make install
213144026Sharti	and this should correct your problems.  See the -current
214144026Sharti	archives for a version of this that does moer cleaning.
215144026Sharti
216144026Sharti	Make -j n doesn't work.  Work contiunes to make this work,
217144026Sharti	I've seen no reports of success as of April 7th.
218144026Sharti
219144026Sharti19990329:
220144026Sharti	Previously, one would define "NOAOUT" to keep from building
221144026Sharti	the legacy a.out bits.  Now one would define "WANT_AOUT" to
222144026Sharti	build them.
223144026Sharti
224144026Sharti19990316:
225144026Sharti	The name of the old wd.c and atapi.c based CDROM driver has
226144026Sharti	been changed back to wcd. So update your config file to use
227144026Sharti	"device wcd" instead of "device acd".
228144026Sharti
229144026Sharti19990314:
230144026Sharti	For those of you using the VN device as a loadable module,
231144026Sharti	please be aware that the new VN device has been committed to
232144026Sharti	-4.x and cannot yet be used as a loadable module.  This will
233144026Sharti	be fixed in the future.
234144026Sharti	
235145679Sharti19990309:
236145616Sharti	New loader.rc mechanism.  Please see src/sys/boot/README for
2371590Srgrimes	details.
238145616Sharti
2391590Srgrimes19990225:
240144894Sharti	struct proc size changed.  Recompile kernel and the
241144894Sharti	usual suspects.  Make world if in doubt.
242144894Sharti
243144894Sharti19990214:
244144894Sharti	The nlpt driver has changed names back to be the lpt driver.
245144894Sharti	See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
246144894Sharti	for proper configuration details.
247144894Sharti
248144894Sharti19990210:
249144894Sharti	The 'lpt' driver is now obsolete.  Replace it with the 'nlpt'
250144894Sharti	driver and 'ppbus' controller combination.
251144894Sharti
252145612Sharti19990209:
253144894Sharti	New devstat API requires recompilation of libdevstat, systat,
254144894Sharti	iostat, vmstat and rpc.rstatd.  A new kernel is also required.
255144894Sharti	make world + building a kernel should do all of this.  Any
256144894Sharti	ports that use devstat need to be recompiled as well.
257144894Sharti
258144894Sharti19990125:
259144894Sharti	Linux threads options has gone away (they are now standard in
260144894Sharti	the FreeBSD kernel).  A recompile of all libkvm using programs
261144894Sharti	is in order (or better yet a make world).
262144894Sharti
263144894Sharti19990122:
264144894Sharti	On or about this date there was a small window when the boot
265144894Sharti	blocks had some minor problems which seemed to force one to
266144894Sharti	edit /etc/fstab.  This has been corrected, if you are seeing this
267144894Sharti	problem, please rebuild and reinstall your boot blocks.
268144894Sharti
269144894Sharti19990121:
270144894Sharti	Vinum has changed.  The "vinum read" command has changed.  For
271145612Sharti	updates, please see
272144894Sharti
273144894Shartihttp://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
274144894Sharti
2751590Srgrimes	for details.  
276145616Sharti
2771590Srgrimes	Matt Dillon committed a boatload of VM changes, for
2781590Srgrimes	information please see
2791590Srgrimes
280145616Shartihttp://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current
2811590Srgrimes	or
282145616Shartihttp://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
283145616Sharti
2841590Srgrimes	for details.  These changes will likely not impact anybody,
285145616Sharti	but large chagnes to the VM need at least a heads up.
2868874Srgrimes
287145616Sharti19990120:
288145616Sharti	Stable branch created.  You might want to consider using this
289145616Sharti	branch.  It is tagged with RELENG_3.
290145616Sharti
291145616Sharti19990119:
2921590Srgrimes	More work on the syscons driver has been committed.  Since
2931590Srgrimes	files moved around, you will need to reconfigure your kernel,
2941590Srgrimes	and make clean; make depend before rebuilding the kernel.  No
2951590Srgrimes	config file changes are needed.
2961590Srgrimes
2971590Srgrimes19990111:
2981590Srgrimes	New keyboard and video card drivers are introduced as the first
2991590Srgrimes	stage of console driver reorganization.  You are required to
3001590Srgrimes	update the kernel configuration file and rebuild the kernel.
3011590Srgrimes	kbdcontrol, vidcontrol, and screen savers also need recompilation.
3021590Srgrimes	The instruction can be found in
3031590Srgrimes
3041590Srgrimes		http://www.freebsd.org/~yokota/sc_update.txt
3051590Srgrimes
3061590Srgrimes	It has notes on splash screen too.
3071590Srgrimes
30898136Sjmallett19990106:
3091590Srgrimes	Robert Nordier was kind enough to make this page to enable people to
3101590Srgrimes	install the new bootblocks:
31193056Simp
3121590Srgrimes		http://www.freebsd.org/~rnordier/boot.txt
313144745Sharti
314144745Sharti	When updating to ELF, make sure that you have updated your
315144745Sharti	/etc/rc files which have different ldconfig invocations for
3161590Srgrimes	elf and aout.  Otherwise things like X will stop working with
317138232Sharti	messages about being unable to find library files.  The
318138232Sharti	mergemaster utility in ports/sysutils/mergemaster helps to
3191590Srgrimes	keep critical files like this in sync, and its use is
320138232Sharti	recommended.
321138232Sharti
3221590Srgrimes19990104:
3231590Srgrimes	Information about ELF day (see 19981230) can be found in
3241590Srgrimes
3251590Srgrimes		http://www.freebsd.org/~peter/elfday.html
326144341Sharti
327144341Sharti	about the upcoming change, its motivations and instructions
328144341Sharti	for doing the upgrade.
329144341Sharti
330144341Sharti19981230:
331144341Sharti	You should install new bootblocks now.  The ELF kernel will
332144341Sharti	become default soon.  In addition, you'll need to upgrade
333144341Sharti	your userland programs to ELF before then as well.  Use
334144341Sharti	make aout-to-elf to upgrade your userland programs (old
335144341Sharti	a.out programs in, for example, /usr/local/bin will
336144341Sharti	continue to work, even after the upgrade).  See src/Makefile
337144341Sharti	for more details.
338144341Sharti
339144341Sharti19981224:
340144341Sharti	The old wcd driver has been deleted from the kernel.  The
341144341Sharti	driver that replaces it is named acd.  You'll need to change
342144341Sharti	this in your configuration files.
343144341Sharti
344144341Sharti	Failure to do this will result in "ATAPI CD-ROMs not
345144341Sharti	configured" at boot time.
346144341Sharti
347144341Sharti	The floppy tape driver (ft) has been removed from the kernel,
348144341Sharti	with no replacement driver.
349144341Sharti
350144341Sharti19981202:
351144341Sharti	New groups from 19981201 commented out of mtree, so they
352144341Sharti	aren't strictly needed, but still a good idea to have.
353144341Sharti
354144341Sharti19981201:
355144341Sharti	New user/group added: bind.  From src/etc/master.passwd and
356144341Sharti	src/etc/group:
357144341Sharti		% grep <newstuff> /usr/src/etc/group 
358144341Sharti		bind:*:53:
359144341Sharti		% grep <newstuff> /usr/src/etc/master.passwd 
360144341Sharti		tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
361144341Sharti		kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
362144341Sharti		bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
363144341Sharti
364144341Sharti19981118:
365144341Sharti	PAM integrated into the tree.   Requires new /etc/pam.conf file
366144341Sharti	to silence warnings from authentication programs (login, etc).
367144341Sharti	See src/etc/pam.conf for a sample.
368144341Sharti
369144341ShartiThis file contains a list, in reverse chronologocal order, of major
370144341Shartibreakages in tracking -current.  Not all things will be listed here,
371144341Shartiand it only starts on November 18, 1998.  If you have an earlier
372144341Shartiversion of FreeBSD, you are on your own to get to November 18, 1998.
373144341Sharti
374144341ShartiPlease filter your entries through Warner (imp@village.org) so that
375144341Shartithe style, formatting, etc of this file can be maintained.
376144341Sharti
377144341Sharti$FreeBSD: head/UPDATING 51817 1999-09-30 14:54:48Z imp $
378144341Sharti