xref: /freebsd/UPDATING (revision 16de1a07c2da53f906f23dcf5dfda380f907e12a)
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
816de1a07SWarner Losh20000201:
916de1a07SWarner Losh	The rcmd related fucntions have been aligned with other BSD
1016de1a07SWarner Losh	implementations.  rlogind and rshd have been changed to use
1116de1a07SWarner Losh	the new API.  A make world is recommended to keep them in sync
1216de1a07SWarner Losh	with the libraries they use.
1316de1a07SWarner Losh
1416de1a07SWarner Losh	http://www.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libc/net/rcmd.c
1516de1a07SWarner Losh	has the details.
16ea31d04dSWarner Losh
1737990f36SWarner Losh20000129:
1837990f36SWarner Losh	{set,get}flags have been added to the tree for rather dubious
1937990f36SWarner Losh	reasons.  An unintended side effect of this is that you must
2016de1a07SWarner Losh	rebuild install before the rest of the world.  You need to
2116de1a07SWarner Losh	build it static install before you make world:
2237990f36SWarner Losh
2337990f36SWarner Losh		cd src/usr.bin/xinstall
2416de1a07SWarner Losh		make depend all install NOSHARED=yes
2537990f36SWarner Losh
2616de1a07SWarner Losh	If you encounter an error in installworld after doing a build
2716de1a07SWarner Losh	world, then do the following:
2816de1a07SWarner Losh		cd src/usr.bin/xinstall
2916de1a07SWarner Losh		make install
3016de1a07SWarner Losh	This issue may be resolved before 4.0 goes out.
3116de1a07SWarner Losh
3216de1a07SWarner Losh20000125:
3316de1a07SWarner Losh	rcmd_af() is added for multiple address family support.  rsh
3416de1a07SWarner Losh	and rlogin have been updated to use this to support INET6.  A
3516de1a07SWarner Losh	make world is recommended to keep them in sync with the
3616de1a07SWarner Losh	libraries they use.
3737990f36SWarner Losh
3837990f36SWarner Losh20000124:
3937990f36SWarner Losh	The default way that virtual tables in our default C++
4037990f36SWarner Losh	compiler has changed.  We used to use THUNKS for virtual
4137990f36SWarner Losh	inheritance.  Unfortunately there are bugs that The GCC
4237990f36SWarner Losh	developers thought would be fixed in GCC 2.95.  However it
4337990f36SWarner Losh	isn't.
4437990f36SWarner Losh
4537990f36SWarner Losh	After this change existing applications written in C++ may
4637990f36SWarner Losh	give errors like below when you try to run them:
4737990f36SWarner Losh
4837990f36SWarner Losh/usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__vt_7filebuf"
4937990f36SWarner Losh
5037990f36SWarner Losh	The only fix is to rebuild the application and any C++
5137990f36SWarner Losh	libraries used.
5237990f36SWarner Losh
5337990f36SWarner Losh20000124:
5437990f36SWarner Losh	The management of next_writeable has been move from the
5537990f36SWarner Losh	kernel to userspace. This means that the burncd command
5637990f36SWarner Losh	must be in sync with the kernel. So make world is your
5737990f36SWarner Losh	friend.
5837990f36SWarner Losh
59ee2ac360SWarner Losh20000117:
60ee2ac360SWarner Losh	GNU texinfo upgraded to 4.0.  It is recommended that you use
6137990f36SWarner Losh	make buildworld to update.
62ee2ac360SWarner Losh
63ee2ac360SWarner Losh20000117:
64ee2ac360SWarner Losh	CAM_VERSION has been increased.  Recompile all programs that
65ee2ac360SWarner Losh	depend on it (tosha, camcontrol, etc) when moving to kernels
66ee2ac360SWarner Losh	past this date.
67ee2ac360SWarner Losh
68ee2ac360SWarner Losh20000115:
69ee2ac360SWarner Losh	pccard ioctls changed with a commit to have the kernel tell
70ee2ac360SWarner Losh	pccardd which device it created, rather than having pccardd
71ee2ac360SWarner Losh	dictate it to the kernel.  Recompile kernel and
72ee2ac360SWarner Losh	pccardd/pccardc together.  pccardd/pccardc rely on a kernel
73ee2ac360SWarner Losh	Makefile that must be installed prior to building them.  Make
74ee2ac360SWarner Losh	world will automatically take care of this issue, but you need
75ee2ac360SWarner Losh	to know if you are building by hand.
76ee2ac360SWarner Losh
770a488c75SWarner Losh20000109:
780a488c75SWarner Losh	Your kernel config files need to be changed to s/controller/device/
790a488c75SWarner Losh	in them.  You will need a new version of config to do this.
800a488c75SWarner Losh
81f3a0785bSWarner Losh20000107:
82f3a0785bSWarner Losh	chown & chgrp moved again
83f3a0785bSWarner Losh
84f3a0785bSWarner Losh	This is a heads up to let you know that you need to
85f6517190SWarner Losh		    rm -f /sbin/chown /bin/chgrp
86f3a0785bSWarner Losh	after your next `make world'.  Additionally you need to install
870a488c75SWarner Losh	a new /dev/MAKEDEV (mergemaster(8) will assist you in this).
88f3a0785bSWarner Losh
89f3a0785bSWarner Losh20000107:
90f3a0785bSWarner Losh	SHA-1 password support gone
91f3a0785bSWarner Losh
92f3a0785bSWarner Losh	As warned yesterday, I've just removed the ability for
93f3a0785bSWarner Losh	libcrypt to understand SHA-1 passwords. This was present but
94f3a0785bSWarner Losh	undocumented in the tree for the past few months and was
95f3a0785bSWarner Losh	removed so it can be reimplemented properly as part of a
96f3a0785bSWarner Losh	revamped libcrypt at a later date. Anyone who was actually
97f3a0785bSWarner Losh	making use of the feature will have to update their passwords
98f3a0785bSWarner Losh	back to MD5 before they reinstall the library.
99f3a0785bSWarner Losh
100f3a0785bSWarner Losh20000106:
101f3a0785bSWarner Losh	ioctl numbers changed for dvdio ioctls.  You will need to recompile
1020a488c75SWarner Losh	anything that uses them.  wormcontrol has been deprecated in
103f3a0785bSWarner Losh	favor of burncd.
104f3a0785bSWarner Losh
1050a3f3aa2SWarner Losh19991223:
1060a3f3aa2SWarner Losh	Building linux and svr4 compatibility into the kernel now
1070a3f3aa2SWarner Losh	requires /usr/bin/genassym.  Go to /usr/src/usr.bin/genassym,
1080a3f3aa2SWarner Losh	do "make obj ; make clean depend all install" before building
1090a3f3aa2SWarner Losh	your kernel.
1100a3f3aa2SWarner Losh
1115525aae6SWarner Losh19991218:
1125525aae6SWarner Losh	sendmail.cf has moved from /etc/sendmail.cf to
1130a3f3aa2SWarner Losh	/etc/mail/sendmail.cf.  You may need to adjust /etc/rc.conf
1140a3f3aa2SWarner Losh	and /etc/rc to cope as well as moving sendmail.cf.
1155525aae6SWarner Losh
1165525aae6SWarner Losh19991216:
1170a3f3aa2SWarner Losh	ntp 4.0.98 has replaced the ancient xntpd.  The daemon name
1185525aae6SWarner Losh	changed from xntpd to ntpd, so you may need to update your
1195525aae6SWarner Losh	/etc/rc.conf file.  The ntp.conf files are compatible with the
1205525aae6SWarner Losh	old release, unless you are using a local reference clock.
1215525aae6SWarner Losh	Details about ntp4 can be found at http://www.ntp.org/.
1225525aae6SWarner Losh
1235525aae6SWarner Losh	xntpd will be cvs removed from the repo in about a week.
1245525aae6SWarner Losh
125fda36f2fSWarner Losh19991213:
126fda36f2fSWarner Losh	Soren updated the ata driver.  Please update to at least this
127fda36f2fSWarner Losh	version before submitting bug reports.
128fda36f2fSWarner Losh
129fda36f2fSWarner Losh19991210:
130fda36f2fSWarner Losh	The ata driver has become the primary ata/ide/atapi driver in
131fda36f2fSWarner Losh	the kernel.  The wd driver is obsolete.  You should upgrade your
132fda36f2fSWarner Losh	machine to the new ata driver.  You will need to follow the
133fda36f2fSWarner Losh	directions for updating the devices in the 19991205 entry.  You
134fda36f2fSWarner Losh	will need to update all occurances of wd to ad in your config files
135fda36f2fSWarner Losh	(/etc/rc.conf, /etc/fstab, etc).  A compatibility device exists
136fda36f2fSWarner Losh	for wd for the time being, but once you have determined that
137fda36f2fSWarner Losh	ata is working for you, transition to the new ad devices.
138fda36f2fSWarner Losh
139e306923fSPoul-Henning Kamp19991205:
140eeef0dd1SWarner Losh	Block devices are going away.  You will need to update your /dev
141a2e7fb9fSWarner Losh	tree with a fresh copy of MAKEDEV for things to always work in
142a2e7fb9fSWarner Losh	the future.  fsck is unable to cope with dirty file systems
143a2e7fb9fSWarner Losh	after this change, so it may work for you or it may not.
144a2e7fb9fSWarner Losh
14516de1a07SWarner Losh	See "To rebuild disk /dev entries" at the end of the file.
146a2e7fb9fSWarner Losh
147a2e7fb9fSWarner Losh	*** All uses of block devices must be converted to char devices.
148a2e7fb9fSWarner Losh	*** Likely the only thing impacted is dumpdev in /etc/rc.conf
149a2e7fb9fSWarner Losh
150a2e7fb9fSWarner Losh19991204:
151fda36f2fSWarner Losh	The dc interface has replaced al, ax, dm, pn and mx.  The former
152fda36f2fSWarner Losh	have been removed.
153fda36f2fSWarner Losh
154fda36f2fSWarner Losh19991204:
155a2e7fb9fSWarner Losh	Support for the old 'sd' device names has been removed in
156a2e7fb9fSWarner Losh	favor of 'da'.  Please update your /etc/fstab, /etc/rc.conf
157a2e7fb9fSWarner Losh	and any other places you might have sd names cached.
158a2e7fb9fSWarner Losh	Generally these changes are as simple as s=/dev/sd=/dev/da=g,
159a2e7fb9fSWarner Losh	but be careful to make sure that things are really that
160a2e7fb9fSWarner Losh	simple.  You may also need to create /dev entries for the da
161a2e7fb9fSWarner Losh	devices as well.
162a2e7fb9fSWarner Losh
16316de1a07SWarner Losh	See "To rebuild disk /dev entries" at the end of the file.
164a2e7fb9fSWarner Losh
165a2e7fb9fSWarner Losh19991203:
166a2e7fb9fSWarner Losh	BAD144 support has been removed.  Cope or replace the hardware.
167e306923fSPoul-Henning Kamp
168fda36f2fSWarner Losh19991129:
169fda36f2fSWarner Losh	ALPHA users take note.  All klds will need to be recompiled for
170fda36f2fSWarner Losh	kernels build after this date.  It is a good time to update since
171fda36f2fSWarner Losh	pal.s will be going away soon.
172fda36f2fSWarner Losh
1737a92b31cSWarner Losh19991126:
1747a92b31cSWarner Losh	MFS_ROOT and MFS_ROOT_SIZE are gone, replaced by MD_ROOT and
1757a92b31cSWarner Losh	MD_ROOT_SIZE options in the md driver.  md driver now deals with
1767a92b31cSWarner Losh	the hacks.  You should add md driver to kerneles that have
1777a92b31cSWarner Losh	MFS_ROOT, et al.  See GENERIC or LINT for details.
1787a92b31cSWarner Losh
17963f52da7SWarner Losh19991125:
18063f52da7SWarner Losh	The ep changed a while ago and can no longer be used with hard
18163f52da7SWarner Losh	wired addresses in the config file.
18263f52da7SWarner Losh
183fda36f2fSWarner Losh19991122:
184fda36f2fSWarner Losh	The bridge drivers for sound cards have been committed.  Please
185fda36f2fSWarner Losh	see LINT for instructions for your card, if it still works at
186fda36f2fSWarner Losh	all.
187fda36f2fSWarner Losh
1881a50e0c7SWarner Losh19991113:
1891a50e0c7SWarner Losh	Gcc 2.95.2 is now the default compiler.
1901a50e0c7SWarner Losh
1910a3f3aa2SWarner Losh19991030:
1920a3f3aa2SWarner Losh	/etc/radius.conf file format has changed.The format change is
1930a3f3aa2SWarner Losh	as follows.  Each server line in the file should now begin
1940a3f3aa2SWarner Losh	with a new field containing either "auth" for RADIUS
1950a3f3aa2SWarner Losh	authentication, or "acct" for RADIUS accounting.  Formerly
1960a3f3aa2SWarner Losh	only authentication was supported.  If the first field isn't
1970a3f3aa2SWarner Losh	"auth" or "acct" then the code assumes that "auth" is
1980a3f3aa2SWarner Losh	intended.  (That's the compatibility hack.)
1990a3f3aa2SWarner Losh
20025c3f405SWarner Losh19991015:
20125c3f405SWarner Losh	PCCARD has been updated to attach pcic to the isa bus.  Therefore
20225c3f405SWarner Losh	you will need to modify kernel config files that have pcic/card
20325c3f405SWarner Losh	in them as follows:
20425c3f405SWarner Losh		controller	pcic0	at isa?
20525c3f405SWarner Losh		controller	pcic1	at isa?
20625c3f405SWarner Losh		controller	card0
20725c3f405SWarner Losh
20873c86a1fSWarner Losh19990929:
20973c86a1fSWarner Losh	The sigset_t datatype has been changed from an integral type
21073c86a1fSWarner Losh	to a compound type and can hold 128 signals. Syscalls directly
21173c86a1fSWarner Losh	or indirectly using the new sigset_t have been added as to
21220d1019bSChris Costello	maintain compatibility with existing binaries. A new kernel must
21373c86a1fSWarner Losh	be made and installed and booted with before a make world can
21473c86a1fSWarner Losh	be done.
21573c86a1fSWarner Losh
21660dbe536SWarner Losh19990919:
21760dbe536SWarner Losh	New jail syscall format requires recompilation of jail(8) with
21860dbe536SWarner Losh	fresh headers installed (or a make world will do it for you).
21960dbe536SWarner Losh
22060dbe536SWarner Losh19990914:
22160dbe536SWarner Losh	Matt Dillon checked in many vm related things and sent a heads up
22260dbe536SWarner Losh	to -current urging caution and to report vm problems to him.
22360dbe536SWarner Losh	As of the 19th, no killer problems have been reported, but you
22460dbe536SWarner Losh	have been warned.
22560dbe536SWarner Losh
2265f83e348SWarner Losh19990908:
2275f83e348SWarner Losh	The new miibus has been added to the system.  If you are using
2285f83e348SWarner Losh	the dm, rl, sf, sis, ste, tl, wb or xl drivers, you need to
2295f83e348SWarner Losh	add "controller miibus0" to your config file.
2305f83e348SWarner Losh
231d9806965SNick Hibma19990905:
232d9806965SNick Hibma	/var/cron/log has been moved to /var/log/cron to get all the
233d9806965SNick Hibma	log files in one place.
2345f83e348SWarner Losh
23530e90e8bSWarner Losh19990831:
23663f52da7SWarner Losh	tn3270 has been removed from the base system and added as a port.
23730e90e8bSWarner Losh
238f8a59eaeSWarner Losh19990830:
239f8a59eaeSWarner Losh	User-visible TCP timers are now expressed in units of 1ms, instead
240f8a59eaeSWarner Losh	of 500ms, so if you've customized any timer values under
241f8a59eaeSWarner Losh	``net.inet.tcp'', multiply them by 500 to preserve TCP's behavior.
242f8a59eaeSWarner Losh
24330e90e8bSWarner Losh19990828:
24430e90e8bSWarner Losh	RCS Id tags changed to FreeBSD.  This will cause huge cvsup
24530e90e8bSWarner Losh	updates.
24630e90e8bSWarner Losh
247f8a59eaeSWarner Losh19990821:
248f8a59eaeSWarner Losh	On 28-May-1999 libreadline was upgraded from readline-2.2 to
249f8a59eaeSWarner Losh	readline-4.0.  At that time the shared library major version
250f8a59eaeSWarner Losh	number was bumped from "3" to "4".  It has been deemed that
251f8a59eaeSWarner Losh	the interface change between readline-2.2 and readline-4.0 was
25278bcb44aSBill Fumerola	not sufficient to warrant the version number bump.
253f8a59eaeSWarner Losh
254f8a59eaeSWarner Losh	Thus I have reverted it back to "3".  You will need to perform
255f8a59eaeSWarner Losh	the below immediately before your next ``make world'':
256f8a59eaeSWarner Losh	    cd /usr/lib
257f8a59eaeSWarner Losh	    ls -l libreadline.so.4
258f8a59eaeSWarner Losh	        (if you have /usr/lib/libreadline.so.4)
259f8a59eaeSWarner Losh	    mv libreadline.so.4 libreadline.so.3
260f8a59eaeSWarner Losh	    rm -f libreadline.so
261f8a59eaeSWarner Losh	    ln -s libreadline.so.3 libreadline.so
262f8a59eaeSWarner Losh
2637eedd934SWarner Losh19990801:
2647eedd934SWarner Losh	Changes to the pccardd kernel interface require that you recompile
2657eedd934SWarner Losh	pccardd for new kernel.
2667eedd934SWarner Losh
267882984b3SWarner Losh19980725:
268882984b3SWarner Losh	The ipfw interface to the kernel has changed.  You will need to
269882984b3SWarner Losh	recompile ipfw programs for the new kernel.
270882984b3SWarner Losh
271882984b3SWarner Losh19990715:
272882984b3SWarner Losh	The bpfilter device has been renamed to bpf.  You will need to
273882984b3SWarner Losh	change your config files in order to enable this in newer kernels.
274882984b3SWarner Losh
275e5bd655aSWarner Losh19990704:
276e5bd655aSWarner Losh	src/contrib/sys/softupdates is moving to
27795d18cfcSWarner Losh	src/sys/contrib/softupdates.  Update your symbolic links/etc.
278e5bd655aSWarner Losh
279e5bd655aSWarner Losh19990702:
280e5bd655aSWarner Losh	Major changes have been made to vinum and its interface.  See
281e5bd655aSWarner Losh	the man page (vinum(8)) for details.  Look at the concat,
282e5bd655aSWarner Losh	mirror and stripe commands, as well as the SIMPLIFIED
283e5bd655aSWarner Losh	CONFIGURATION section.
284e5bd655aSWarner Losh
285e5bd655aSWarner Losh19990628:
286e5bd655aSWarner Losh	Newsyslog.conf has had a minor, but potentially dangerous,
287e5bd655aSWarner Losh	change to its username/group syntax.  The old syntax was
288e5bd655aSWarner Losh	user.group, while the new syntax is user:group.
289e5bd655aSWarner Losh
290e5bd655aSWarner Losh19990627:
291e5bd655aSWarner Losh	Inetd wrapping default has changed.  Please see the updated
292e5bd655aSWarner Losh	man page for details.
293e5bd655aSWarner Losh
294ed478e7cSWarner Losh19990623:
295ed478e7cSWarner Losh	Compaq Smart Raid driver committed as ida.
296ed478e7cSWarner Losh
297075eeff2SWarner Losh19990622:
298075eeff2SWarner Losh	The second phase of syscons cleanup has happened.  Some
299075eeff2SWarner Losh	functionality has been made optional.  For details, see
300075eeff2SWarner Losh        http://www.freebsd.org/~yokota/sc_update-June.txt
3016ae429caSWarner Losh	Everyone will need to re-config(8) their kernels, but old
3026ae429caSWarner Losh	binaries will work with the new kernel.
303075eeff2SWarner Losh
304a883e9d3SWarner Losh19990620:
305a883e9d3SWarner Losh	IPFW uid/gid-based filtering support has been committed. This
306a883e9d3SWarner Losh	breaks binary compatibility with previous copies of
307a883e9d3SWarner Losh	ipfw(8). Any utilities using the ioctl()s of ipfw (especially
308a883e9d3SWarner Losh	ipfw(8)) need to be recompiled with the newest headers
309a883e9d3SWarner Losh	installed.
310a883e9d3SWarner Losh
311a883e9d3SWarner Losh19990618:
312a883e9d3SWarner Losh	Inetd now wraps all stream-based services, including internals.
313a883e9d3SWarner Losh	Syslog "severity" options are honoured. Installed syslog.conf
314a883e9d3SWarner Losh	and hosts.allow should be checked.
315a883e9d3SWarner Losh
31607b72539SWarner Losh19990509:
31707b72539SWarner Losh	Most of the problems with newbus have been corrected, but
31807b72539SWarner Losh	it is still current and evolving.
31907b72539SWarner Losh
32007b72539SWarner Losh	libcam's ABI has changed.  You must recompile the world and
32107b72539SWarner Losh	any ports that use it.
32207b72539SWarner Losh
32309fcf3f9SWarner Losh19990427:
32409fcf3f9SWarner Losh	Massive changes to SMP went into the tree that should speed
32509fcf3f9SWarner Losh	things up.  However, if you experience problems with SMP
32609fcf3f9SWarner Losh	machines, you can back off to the PRE_SMP_VMSHARE tag in the
32709fcf3f9SWarner Losh	CVS repository (or run an MP kernel).
32809fcf3f9SWarner Losh
32909fcf3f9SWarner Losh19990420:
33009fcf3f9SWarner Losh	Pccardd and the pccard bus in general seem to be broken or
33109fcf3f9SWarner Losh	most people.  Soren has patches to make it better for some,
33209fcf3f9SWarner Losh	but not all people.  Work is underway to make it better for
33309fcf3f9SWarner Losh	all people.
33409fcf3f9SWarner Losh
335ea31d04dSWarner Losh19990416:
336ea31d04dSWarner Losh	new bus changes integrated into -current.  Many problems were
337ea31d04dSWarner Losh	initially reported, but most have been fixed.  You'll need a
338ea31d04dSWarner Losh	new config and to tweak your kernel config file the way that
339ea31d04dSWarner Losh	GENERIC was tweaked.  Keep a copy of your old kernel when
340ea31d04dSWarner Losh	upgrading in case your new kernel doesn't work (and report the
341ea31d04dSWarner Losh	breakage to current@freebsd.org).
342ea31d04dSWarner Losh
343ea31d04dSWarner Losh	As of 19990421 the remaining problems/quirks are
344ea31d04dSWarner Losh
345ea31d04dSWarner Losh	o sio no longer supports pnp nor pccard.  This will be corrected,
346ea31d04dSWarner Losh	  but the new pccard code needs to be completed.
347ea31d04dSWarner Losh	o Some of the sound drivers broke for some people.  It seems
348ea31d04dSWarner Losh	  inconsistant as to who/what/when/where things broke.
349ea31d04dSWarner Losh	o Duplicate device entries in your config do not work.  Previously
350ea31d04dSWarner Losh	  they were silently ignored.  psm0 seems to be the most common
351ea31d04dSWarner Losh	  duplicate choice, although some reports have come in from people
352ea31d04dSWarner Losh	  that wired their scsi disk entries.
353ea31d04dSWarner Losh	o You must move the keyboard and mouse attachments from the
354ea31d04dSWarner Losh	  isa bus to the atkbdc bus.  See GENERIC for details.
355ea31d04dSWarner Losh	o Machines with multiple host-pci bridges (Intel 450NX) will not
356ea31d04dSWarner Losh	  probe the second pci bus.
357ea31d04dSWarner Losh	o Some probe ordering may have changed, so device naming may change
358ea31d04dSWarner Losh	  with the new kernel.  If you have multiple devices, please double
359ea31d04dSWarner Losh	  check to make sure they didn't move.  This is especially true
360ea31d04dSWarner Losh	  for cards on different buses.
361ea31d04dSWarner Losh	o The bus attachment for vga0 is always isa0 and never pci0 when
362ea31d04dSWarner Losh	  it is in fact a pci card.  It is safe to ignore this.
363ea31d04dSWarner Losh	o The format of the boot messages has changed (and is not
364ea31d04dSWarner Losh	  guaranteed to be constant for a while) so you may see this
365ea31d04dSWarner Losh	  in some shell scripts that diff dmesg from day to day as well
366ea31d04dSWarner Losh	  as scripts that parse dmesg output.
367f8c77507SWarner Losh
368d24adca8SWarner Losh19990414:
369d24adca8SWarner Losh	cc -aout sometimes has problems compiling with -g, remove -g
370d24adca8SWarner Losh	from those compilation units affected until this is corrected.
371d24adca8SWarner Losh
372d24adca8SWarner Losh	cc -aout has problems with producing some threaded libraries,
373d24adca8SWarner Losh	so make world -DWANT_AOUT is not functional at this time.
374d24adca8SWarner Losh
375ea31d04dSWarner Losh	Since make world for a.out isn't functional, you cannot do
376ea31d04dSWarner Losh	make aout-to-elf from a pre-egcs a.out system.  To work around
377ea31d04dSWarner Losh	this problem, make aout-to-elf using 3.1-stable first (or a
378ea31d04dSWarner Losh	pre egcs -current) and then a simple make world will take you
379ea31d04dSWarner Losh	the rest of the way with a -current source base.
380ea31d04dSWarner Losh
381d5ca0636SWarner Losh19990413:
382d24adca8SWarner Losh	Make -j works again for make world.  As always, use it with
383d24adca8SWarner Losh	care, and be sure to try a make world w/o -j before reporting
384d24adca8SWarner Losh	problems (that is, know if the problem exists w/o -j before
385d24adca8SWarner Losh	reporting the problem with -j).
386d24adca8SWarner Losh
387d24adca8SWarner Losh19990413:
388d24adca8SWarner Losh	Note cc -aout, which had been broken since the conversion to
389ea31d04dSWarner Losh	egcs, now supposedly works.  If you have rebuilt things like
390d24adca8SWarner Losh	XFree86 a.out libraries, you should rebuild them again or
391ea31d04dSWarner Losh	progams that use them, including netscape, will fail to work.
392d5ca0636SWarner Losh
3931f692d40SWarner Losh19990409:
3941f692d40SWarner Losh	NOTE: New c++ compiler cannot be used with c++ binaries from
3951f692d40SWarner Losh	the old compiler and vice versa.
3961f692d40SWarner Losh
3971f692d40SWarner Losh19990408:
39881725689SWarner Losh	In recent days egcs has been imported into the tree.  A number
39981725689SWarner Losh	of problems have been discussed in -current.  Here is a highlight
40081725689SWarner Losh	of a few of the more common ones.  With the exception of make
40181725689SWarner Losh	-j n, they have been claimed to have been fixed.
40281725689SWarner Losh
40381725689SWarner Losh	c++ is broken after make world: This is correct.  Because we
40481725689SWarner Losh	changed compilers two make worlds are necessary to get C++
40581725689SWarner Losh	working again.  The code generated by the old compiler and new
40681725689SWarner Losh	compiler are not compatible, so things wind up being
40781725689SWarner Losh	undefined.
40881725689SWarner Losh
40981725689SWarner Losh	cpp is broken in make world:  There was a window where cpp
41081725689SWarner Losh	would be built incorrectly.  The fix for this is
411420d4744SMasafumi Max NAKANE		cd src/gnu/usr.bin/cc
41281725689SWarner Losh		make clean
41381725689SWarner Losh		make all
41481725689SWarner Losh		make install
41581725689SWarner Losh	and this should correct your problems.  See the -current
41681725689SWarner Losh	archives for a version of this that does moer cleaning.
41781725689SWarner Losh
41881725689SWarner Losh	Make -j n doesn't work.  Work contiunes to make this work,
41981725689SWarner Losh	I've seen no reports of success as of April 7th.
42081725689SWarner Losh
421ff5e1f79SWarner Losh19990329:
422ff5e1f79SWarner Losh	Previously, one would define "NOAOUT" to keep from building
423ff5e1f79SWarner Losh	the legacy a.out bits.  Now one would define "WANT_AOUT" to
424ff5e1f79SWarner Losh	build them.
425ff5e1f79SWarner Losh
426fe9af953SWarner Losh19990316:
427fe9af953SWarner Losh	The name of the old wd.c and atapi.c based CDROM driver has
428fe9af953SWarner Losh	been changed back to wcd. So update your config file to use
429fe9af953SWarner Losh	"device wcd" instead of "device acd".
430fe9af953SWarner Losh
431fe9af953SWarner Losh19990314:
432fe9af953SWarner Losh	For those of you using the VN device as a loadable module,
433fe9af953SWarner Losh	please be aware that the new VN device has been committed to
434fe9af953SWarner Losh	-4.x and cannot yet be used as a loadable module.  This will
435fe9af953SWarner Losh	be fixed in the future.
436fe9af953SWarner Losh
437ce32355fSWarner Losh19990309:
438fe9af953SWarner Losh	New loader.rc mechanism.  Please see src/sys/boot/README for
439fe9af953SWarner Losh	details.
440ce32355fSWarner Losh
441f8c77507SWarner Losh19990225:
442f8c77507SWarner Losh	struct proc size changed.  Recompile kernel and the
443f8c77507SWarner Losh	usual suspects.  Make world if in doubt.
4441fc1a0dcSWarner Losh
4450edeb9e7SWarner Losh19990214:
4460edeb9e7SWarner Losh	The nlpt driver has changed names back to be the lpt driver.
4477dd38e55SWarner Losh	See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
4487dd38e55SWarner Losh	for proper configuration details.
4490edeb9e7SWarner Losh
4501fc1a0dcSWarner Losh19990210:
4511fc1a0dcSWarner Losh	The 'lpt' driver is now obsolete.  Replace it with the 'nlpt'
4520edeb9e7SWarner Losh	driver and 'ppbus' controller combination.
45357199806SWarner Losh
4547dd38e55SWarner Losh19990209:
4557dd38e55SWarner Losh	New devstat API requires recompilation of libdevstat, systat,
4567dd38e55SWarner Losh	iostat, vmstat and rpc.rstatd.  A new kernel is also required.
4577dd38e55SWarner Losh	make world + building a kernel should do all of this.  Any
4587dd38e55SWarner Losh	ports that use devstat need to be recompiled as well.
4597dd38e55SWarner Losh
4609a3105eeSWarner Losh19990125:
4619a3105eeSWarner Losh	Linux threads options has gone away (they are now standard in
4629a3105eeSWarner Losh	the FreeBSD kernel).  A recompile of all libkvm using programs
4639a3105eeSWarner Losh	is in order (or better yet a make world).
4649a3105eeSWarner Losh
4659a3105eeSWarner Losh19990122:
4669a3105eeSWarner Losh	On or about this date there was a small window when the boot
4679a3105eeSWarner Losh	blocks had some minor problems which seemed to force one to
4689a3105eeSWarner Losh	edit /etc/fstab.  This has been corrected, if you are seeing this
4699a3105eeSWarner Losh	problem, please rebuild and reinstall your boot blocks.
4709a3105eeSWarner Losh
4719a3105eeSWarner Losh19990121:
4728cd37f69SWarner Losh	Vinum has changed.  The "vinum read" command has changed.  For
4738cd37f69SWarner Losh	updates, please see
4743652181cSWarner Losh
4758cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
4763652181cSWarner Losh
4778cd37f69SWarner Losh	for details.
4788cd37f69SWarner Losh
4798cd37f69SWarner Losh	Matt Dillon committed a boatload of VM changes, for
4808cd37f69SWarner Losh	information please see
4813652181cSWarner Losh
4828cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current
4838cd37f69SWarner Losh	or
4848cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
4853652181cSWarner Losh
4868cd37f69SWarner Losh	for details.  These changes will likely not impact anybody,
4878cd37f69SWarner Losh	but large chagnes to the VM need at least a heads up.
4888cd37f69SWarner Losh
4898cd37f69SWarner Losh19990120:
4908cd37f69SWarner Losh	Stable branch created.  You might want to consider using this
4918cd37f69SWarner Losh	branch.  It is tagged with RELENG_3.
4928cd37f69SWarner Losh
493ad56ea87SWarner Losh19990119:
494ad56ea87SWarner Losh	More work on the syscons driver has been committed.  Since
495ad56ea87SWarner Losh	files moved around, you will need to reconfigure your kernel,
496ad56ea87SWarner Losh	and make clean; make depend before rebuilding the kernel.  No
497ad56ea87SWarner Losh	config file changes are needed.
498ad56ea87SWarner Losh
49957199806SWarner Losh19990111:
500a85c0f55SWarner Losh	New keyboard and video card drivers are introduced as the first
501a85c0f55SWarner Losh	stage of console driver reorganization.  You are required to
502a85c0f55SWarner Losh	update the kernel configuration file and rebuild the kernel.
503a85c0f55SWarner Losh	kbdcontrol, vidcontrol, and screen savers also need recompilation.
504a85c0f55SWarner Losh	The instruction can be found in
50557199806SWarner Losh
5067dafbc29SWarner Losh		http://www.freebsd.org/~yokota/sc_update.txt
50757199806SWarner Losh
508a85c0f55SWarner Losh	It has notes on splash screen too.
50957199806SWarner Losh
51057199806SWarner Losh19990106:
5119857e582SWarner Losh	Robert Nordier was kind enough to make this page to enable people to
512db23c94fSWarner Losh	install the new bootblocks:
51357199806SWarner Losh
5147dafbc29SWarner Losh		http://www.freebsd.org/~rnordier/boot.txt
51557199806SWarner Losh
5169ba54ae0SWarner Losh	When updating to ELF, make sure that you have updated your
5179ba54ae0SWarner Losh	/etc/rc files which have different ldconfig invocations for
5189ba54ae0SWarner Losh	elf and aout.  Otherwise things like X will stop working with
5199857e582SWarner Losh	messages about being unable to find library files.  The
5209857e582SWarner Losh	mergemaster utility in ports/sysutils/mergemaster helps to
5219857e582SWarner Losh	keep critical files like this in sync, and its use is
5229857e582SWarner Losh	recommended.
52357199806SWarner Losh
52457199806SWarner Losh19990104:
5252c558794SWarner Losh	Information about ELF day (see 19981230) can be found in
52657199806SWarner Losh
5277dafbc29SWarner Losh		http://www.freebsd.org/~peter/elfday.html
52857199806SWarner Losh
5292c558794SWarner Losh	about the upcoming change, its motivations and instructions
5302c558794SWarner Losh	for doing the upgrade.
53157199806SWarner Losh
53257199806SWarner Losh19981230:
533d5513f53SWarner Losh	You should install new bootblocks now.  The ELF kernel will
534e363c17bSWarner Losh	become default soon.  In addition, you'll need to upgrade
535e363c17bSWarner Losh	your userland programs to ELF before then as well.  Use
536e363c17bSWarner Losh	make aout-to-elf to upgrade your userland programs (old
537e363c17bSWarner Losh	a.out programs in, for example, /usr/local/bin will
538e363c17bSWarner Losh	continue to work, even after the upgrade).  See src/Makefile
539e363c17bSWarner Losh	for more details.
54057199806SWarner Losh
54157199806SWarner Losh19981224:
542355edc3eSWarner Losh	The old wcd driver has been deleted from the kernel.  The
543355edc3eSWarner Losh	driver that replaces it is named acd.  You'll need to change
544355edc3eSWarner Losh	this in your configuration files.
54557199806SWarner Losh
546355edc3eSWarner Losh	Failure to do this will result in "ATAPI CD-ROMs not
547355edc3eSWarner Losh	configured" at boot time.
54857199806SWarner Losh
549355edc3eSWarner Losh	The floppy tape driver (ft) has been removed from the kernel,
550355edc3eSWarner Losh	with no replacement driver.
55157199806SWarner Losh
55257199806SWarner Losh19981202:
553ab308df6SWarner Losh	New groups from 19981201 commented out of mtree, so they
554ab308df6SWarner Losh	aren't strictly needed, but still a good idea to have.
55557199806SWarner Losh
55657199806SWarner Losh19981201:
557ab308df6SWarner Losh	New user/group added: bind.  From src/etc/master.passwd and
558ab308df6SWarner Losh	src/etc/group:
559ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/group
560ab308df6SWarner Losh		bind:*:53:
561ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/master.passwd
562ab308df6SWarner Losh		tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
563ab308df6SWarner Losh		kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
564ab308df6SWarner Losh		bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
56557199806SWarner Losh
56657199806SWarner Losh19981118:
56753dfde79SWarner Losh	PAM integrated into the tree.   Requires new /etc/pam.conf file
56853dfde79SWarner Losh	to silence warnings from authentication programs (login, etc).
56953dfde79SWarner Losh	See src/etc/pam.conf for a sample.
57057199806SWarner Losh
571dc0dbf5cSWarner LoshCOMMON ITEMS:
572dc0dbf5cSWarner Losh
573dc0dbf5cSWarner Losh	To build a kernel
574dc0dbf5cSWarner Losh	-----------------
575dc0dbf5cSWarner Losh	Update config, genassym and go:
576dc0dbf5cSWarner Losh		cd src/usr.bin/genassym
577dc0dbf5cSWarner Losh		make depend all install clean
578dc0dbf5cSWarner Losh		cd ../../usr.sbin/config
579dc0dbf5cSWarner Losh		make depend all install clean
580dc0dbf5cSWarner Losh		cd ../../../sys/i386/conf
581dc0dbf5cSWarner Losh		config YOUR_KERNEL_HERE
582dc0dbf5cSWarner Losh		cd ../../compile/YOUR_KERNEL_HERE
583dc0dbf5cSWarner Losh		make depend && make
584dc0dbf5cSWarner Losh
58516de1a07SWarner Losh	To rebuild disk /dev entries
58616de1a07SWarner Losh	----------------------------
58716de1a07SWarner Losh
58816de1a07SWarner Losh	MAKEDEV should be copied from src/etc/MAKEDEV to /dev before
58916de1a07SWarner Losh	starting the following:
59016de1a07SWarner Losh
59116de1a07SWarner Losh		For N in the list of disks
59216de1a07SWarner Losh			MAKEDEV N			# eg ad0
59316de1a07SWarner Losh			for M in the list of slices
59416de1a07SWarner Losh				MAKEDEV NsMa		# eg ad0s1a
59516de1a07SWarner Losh
59616de1a07SWarner Losh
59716de1a07SWarner Losh	To rebuild everything
59816de1a07SWarner Losh	---------------------
59916de1a07SWarner Losh	make world.
60016de1a07SWarner Losh
601dc0dbf5cSWarner LoshFORMAT:
602dc0dbf5cSWarner Losh
6031fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major
6041fc1a0dcSWarner Loshbreakages in tracking -current.  Not all things will be listed here,
60560dbe536SWarner Loshand it only starts on November 18, 1998.  If you have an earlier
6061fc1a0dcSWarner Loshversion of FreeBSD, you are on your own to get to November 18, 1998.
6071fc1a0dcSWarner Losh
608f8c77507SWarner LoshPlease filter your entries through Warner (imp@village.org) so that
609f8c77507SWarner Loshthe style, formatting, etc of this file can be maintained.
610f8c77507SWarner Losh
61197d92980SPeter Wemm$FreeBSD$
612