xref: /freebsd/UPDATING (revision 1f692d40944967e9c7237c5901d3cf23b81efb65)
157199806SWarner LoshUpdating Information for FreeBSD current users
253dfde79SWarner Losh
3f8c77507SWarner LoshThis file is maintained by imp@village.org.  Please send new entries
4f8c77507SWarner Loshto him.  See end of file for further details.
5f8c77507SWarner Losh
61f692d40SWarner Losh19990409:
71f692d40SWarner Losh	NOTE: New c++ compiler cannot be used with c++ binaries from
81f692d40SWarner Losh	the old compiler and vice versa.
91f692d40SWarner Losh
101f692d40SWarner Losh19990408:
1181725689SWarner Losh	In recent days egcs has been imported into the tree.  A number
1281725689SWarner Losh	of problems have been discussed in -current.  Here is a highlight
1381725689SWarner Losh	of a few of the more common ones.  With the exception of make
1481725689SWarner Losh	-j n, they have been claimed to have been fixed.
1581725689SWarner Losh
1681725689SWarner Losh	c++ is broken after make world: This is correct.  Because we
1781725689SWarner Losh	changed compilers two make worlds are necessary to get C++
1881725689SWarner Losh	working again.  The code generated by the old compiler and new
1981725689SWarner Losh	compiler are not compatible, so things wind up being
2081725689SWarner Losh	undefined.
2181725689SWarner Losh
2281725689SWarner Losh	cpp is broken in make world:  There was a window where cpp
2381725689SWarner Losh	would be built incorrectly.  The fix for this is
2481725689SWarner Losh		cd src/sys/gnu/usr.bin/cc
2581725689SWarner Losh		make clean
2681725689SWarner Losh		make all
2781725689SWarner Losh		make install
2881725689SWarner Losh	and this should correct your problems.  See the -current
2981725689SWarner Losh	archives for a version of this that does moer cleaning.
3081725689SWarner Losh
3181725689SWarner Losh	Make -j n doesn't work.  Work contiunes to make this work,
3281725689SWarner Losh	I've seen no reports of success as of April 7th.
3381725689SWarner Losh
34ff5e1f79SWarner Losh19990329:
35ff5e1f79SWarner Losh	Previously, one would define "NOAOUT" to keep from building
36ff5e1f79SWarner Losh	the legacy a.out bits.  Now one would define "WANT_AOUT" to
37ff5e1f79SWarner Losh	build them.
38ff5e1f79SWarner Losh
39fe9af953SWarner Losh19990316:
40fe9af953SWarner Losh	The name of the old wd.c and atapi.c based CDROM driver has
41fe9af953SWarner Losh	been changed back to wcd. So update your config file to use
42fe9af953SWarner Losh	"device wcd" instead of "device acd".
43fe9af953SWarner Losh
44fe9af953SWarner Losh19990314:
45fe9af953SWarner Losh	For those of you using the VN device as a loadable module,
46fe9af953SWarner Losh	please be aware that the new VN device has been committed to
47fe9af953SWarner Losh	-4.x and cannot yet be used as a loadable module.  This will
48fe9af953SWarner Losh	be fixed in the future.
49fe9af953SWarner Losh
50ce32355fSWarner Losh19990309:
51fe9af953SWarner Losh	New loader.rc mechanism.  Please see src/sys/boot/README for
52fe9af953SWarner Losh	details.
53ce32355fSWarner Losh
54f8c77507SWarner Losh19990225:
55f8c77507SWarner Losh	struct proc size changed.  Recompile kernel and the
56f8c77507SWarner Losh	usual suspects.  Make world if in doubt.
571fc1a0dcSWarner Losh
580edeb9e7SWarner Losh19990214:
590edeb9e7SWarner Losh	The nlpt driver has changed names back to be the lpt driver.
607dd38e55SWarner Losh	See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
617dd38e55SWarner Losh	for proper configuration details.
620edeb9e7SWarner Losh
631fc1a0dcSWarner Losh19990210:
641fc1a0dcSWarner Losh	The 'lpt' driver is now obsolete.  Replace it with the 'nlpt'
650edeb9e7SWarner Losh	driver and 'ppbus' controller combination.
6657199806SWarner Losh
677dd38e55SWarner Losh19990209:
687dd38e55SWarner Losh	New devstat API requires recompilation of libdevstat, systat,
697dd38e55SWarner Losh	iostat, vmstat and rpc.rstatd.  A new kernel is also required.
707dd38e55SWarner Losh	make world + building a kernel should do all of this.  Any
717dd38e55SWarner Losh	ports that use devstat need to be recompiled as well.
727dd38e55SWarner Losh
739a3105eeSWarner Losh19990125:
749a3105eeSWarner Losh	Linux threads options has gone away (they are now standard in
759a3105eeSWarner Losh	the FreeBSD kernel).  A recompile of all libkvm using programs
769a3105eeSWarner Losh	is in order (or better yet a make world).
779a3105eeSWarner Losh
789a3105eeSWarner Losh19990122:
799a3105eeSWarner Losh	On or about this date there was a small window when the boot
809a3105eeSWarner Losh	blocks had some minor problems which seemed to force one to
819a3105eeSWarner Losh	edit /etc/fstab.  This has been corrected, if you are seeing this
829a3105eeSWarner Losh	problem, please rebuild and reinstall your boot blocks.
839a3105eeSWarner Losh
849a3105eeSWarner Losh19990121:
858cd37f69SWarner Losh	Vinum has changed.  The "vinum read" command has changed.  For
868cd37f69SWarner Losh	updates, please see
873652181cSWarner Losh
888cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
893652181cSWarner Losh
908cd37f69SWarner Losh	for details.
918cd37f69SWarner Losh
928cd37f69SWarner Losh	Matt Dillon committed a boatload of VM changes, for
938cd37f69SWarner Losh	information please see
943652181cSWarner Losh
958cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current
968cd37f69SWarner Losh	or
978cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
983652181cSWarner Losh
998cd37f69SWarner Losh	for details.  These changes will likely not impact anybody,
1008cd37f69SWarner Losh	but large chagnes to the VM need at least a heads up.
1018cd37f69SWarner Losh
1028cd37f69SWarner Losh19990120:
1038cd37f69SWarner Losh	Stable branch created.  You might want to consider using this
1048cd37f69SWarner Losh	branch.  It is tagged with RELENG_3.
1058cd37f69SWarner Losh
106ad56ea87SWarner Losh19990119:
107ad56ea87SWarner Losh	More work on the syscons driver has been committed.  Since
108ad56ea87SWarner Losh	files moved around, you will need to reconfigure your kernel,
109ad56ea87SWarner Losh	and make clean; make depend before rebuilding the kernel.  No
110ad56ea87SWarner Losh	config file changes are needed.
111ad56ea87SWarner Losh
11257199806SWarner Losh19990111:
113a85c0f55SWarner Losh	New keyboard and video card drivers are introduced as the first
114a85c0f55SWarner Losh	stage of console driver reorganization.  You are required to
115a85c0f55SWarner Losh	update the kernel configuration file and rebuild the kernel.
116a85c0f55SWarner Losh	kbdcontrol, vidcontrol, and screen savers also need recompilation.
117a85c0f55SWarner Losh	The instruction can be found in
11857199806SWarner Losh
1197dafbc29SWarner Losh		http://www.freebsd.org/~yokota/sc_update.txt
12057199806SWarner Losh
121a85c0f55SWarner Losh	It has notes on splash screen too.
12257199806SWarner Losh
12357199806SWarner Losh19990106:
1249857e582SWarner Losh	Robert Nordier was kind enough to make this page to enable people to
125db23c94fSWarner Losh	install the new bootblocks:
12657199806SWarner Losh
1277dafbc29SWarner Losh		http://www.freebsd.org/~rnordier/boot.txt
12857199806SWarner Losh
1299ba54ae0SWarner Losh	When updating to ELF, make sure that you have updated your
1309ba54ae0SWarner Losh	/etc/rc files which have different ldconfig invocations for
1319ba54ae0SWarner Losh	elf and aout.  Otherwise things like X will stop working with
1329857e582SWarner Losh	messages about being unable to find library files.  The
1339857e582SWarner Losh	mergemaster utility in ports/sysutils/mergemaster helps to
1349857e582SWarner Losh	keep critical files like this in sync, and its use is
1359857e582SWarner Losh	recommended.
13657199806SWarner Losh
13757199806SWarner Losh19990104:
1382c558794SWarner Losh	Information about ELF day (see 19981230) can be found in
13957199806SWarner Losh
1407dafbc29SWarner Losh		http://www.freebsd.org/~peter/elfday.html
14157199806SWarner Losh
1422c558794SWarner Losh	about the upcoming change, its motivations and instructions
1432c558794SWarner Losh	for doing the upgrade.
14457199806SWarner Losh
14557199806SWarner Losh19981230:
146d5513f53SWarner Losh	You should install new bootblocks now.  The ELF kernel will
147e363c17bSWarner Losh	become default soon.  In addition, you'll need to upgrade
148e363c17bSWarner Losh	your userland programs to ELF before then as well.  Use
149e363c17bSWarner Losh	make aout-to-elf to upgrade your userland programs (old
150e363c17bSWarner Losh	a.out programs in, for example, /usr/local/bin will
151e363c17bSWarner Losh	continue to work, even after the upgrade).  See src/Makefile
152e363c17bSWarner Losh	for more details.
15357199806SWarner Losh
15457199806SWarner Losh19981224:
155355edc3eSWarner Losh	The old wcd driver has been deleted from the kernel.  The
156355edc3eSWarner Losh	driver that replaces it is named acd.  You'll need to change
157355edc3eSWarner Losh	this in your configuration files.
15857199806SWarner Losh
159355edc3eSWarner Losh	Failure to do this will result in "ATAPI CD-ROMs not
160355edc3eSWarner Losh	configured" at boot time.
16157199806SWarner Losh
162355edc3eSWarner Losh	The floppy tape driver (ft) has been removed from the kernel,
163355edc3eSWarner Losh	with no replacement driver.
16457199806SWarner Losh
16557199806SWarner Losh19981202:
166ab308df6SWarner Losh	New groups from 19981201 commented out of mtree, so they
167ab308df6SWarner Losh	aren't strictly needed, but still a good idea to have.
16857199806SWarner Losh
16957199806SWarner Losh19981201:
170ab308df6SWarner Losh	New user/group added: bind.  From src/etc/master.passwd and
171ab308df6SWarner Losh	src/etc/group:
172ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/group
173ab308df6SWarner Losh		bind:*:53:
174ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/master.passwd
175ab308df6SWarner Losh		tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
176ab308df6SWarner Losh		kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
177ab308df6SWarner Losh		bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
17857199806SWarner Losh
17957199806SWarner Losh19981118:
18053dfde79SWarner Losh	PAM integrated into the tree.   Requires new /etc/pam.conf file
18153dfde79SWarner Losh	to silence warnings from authentication programs (login, etc).
18253dfde79SWarner Losh	See src/etc/pam.conf for a sample.
18357199806SWarner Losh
1841fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major
1851fc1a0dcSWarner Loshbreakages in tracking -current.  Not all things will be listed here,
1861fc1a0dcSWarner Loshand it only starts on Novemeber 18, 1998.  If you have an earlier
1871fc1a0dcSWarner Loshversion of FreeBSD, you are on your own to get to November 18, 1998.
1881fc1a0dcSWarner Losh
189f8c77507SWarner LoshPlease filter your entries through Warner (imp@village.org) so that
190f8c77507SWarner Loshthe style, formatting, etc of this file can be maintained.
191f8c77507SWarner Losh
1921f692d40SWarner Losh$Id: UPDATING,v 1.25 1999/04/09 06:31:00 imp Exp $
193