xref: /freebsd/UPDATING (revision ba228352bbfd7e898d9646ec8d489f125d6b645d)
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
8*ba228352SWarner Losh20000308:
9*ba228352SWarner Losh	The binary interface of perl to its modules changed.  You
10*ba228352SWarner Losh	will need to recompile any perl moudles after an
11*ba228352SWarner Losh	installworld.  This includes all ports matching the pattern
12*ba228352SWarner Losh	/usr/ports/*/p5-*.
13*ba228352SWarner Losh
1412cc495aSWarner Losh20000303:
1512cc495aSWarner Losh	CMSG_XXX macros offset in <sys/socket.h> has changed to
1612cc495aSWarner Losh	conform RFC-2292.  All affected applications have been
1712cc495aSWarner Losh	corrected.  The i386 platform's offsets haven't changed, but
1812cc495aSWarner Losh	the alpha's did.  When you build and install new kernel on
1912cc495aSWarner Losh	FreeBSD/alpha, you must also do a make world.
2012cc495aSWarner Losh
2112cc495aSWarner Losh20000225:
2212cc495aSWarner Losh	OpenSSH has been added to FreeBSD.  This may conflict with the
2312cc495aSWarner Losh	ports/security/ssh port since it installs binaries into
2412cc495aSWarner Losh	/usr/bin and the port goes into /usr/local/bin.  Most paths
2512cc495aSWarner Losh	have /usr/bin in the path before /usr/local/bin, so problems
2612cc495aSWarner Losh	may arise.  If you don't want OpenSSH, add NO_OPENSSH=yes to
2712cc495aSWarner Losh	your make.conf.
2812cc495aSWarner Losh
2912cc495aSWarner Losh	You will also need to enable OpenSSH in /etc/rc.conf if you
3012cc495aSWarner Losh	want to run the new servers.  You may need to move your host
3112cc495aSWarner Losh	key and other config files from /usr/local/etc to /etc/ssh.
3212cc495aSWarner Losh
3312cc495aSWarner Losh	OpenSSH's command line parsing, available options and default
3412cc495aSWarner Losh	settings aren't the same as ssh, so some care needs to be
3512cc495aSWarner Losh	taken in its operation.  One should do a full audit of all
3612cc495aSWarner Losh	configuration settings.
3712cc495aSWarner Losh
38759f0aefSWarner Losh20000205:
3992c9724fSWarner Losh	The xinstall problem has kinda sorta been corrected.  The
4092c9724fSWarner Losh	following is known to work by the author of UPDATING.  It
4192c9724fSWarner Losh	is what he did to update his laptop.  It is likely the same
4292c9724fSWarner Losh	effect as the work around listed in 20000129.
4392c9724fSWarner Losh		make buildworld
4492c9724fSWarner Losh		make installworld	This will fail
4592c9724fSWarner Losh		cd usr.bin/xinstall
4692c9724fSWarner Losh		make clean all install NOSHARED=YES
4792c9724fSWarner Losh		cd ../..
4892c9724fSWarner Losh		make installworld
4992c9724fSWarner Losh	If it doesn't work for you, then I'm sure that there will be
5092c9724fSWarner Losh	another 100 messages in -current.
51759f0aefSWarner Losh
52759f0aefSWarner Losh20000204:
53759f0aefSWarner Losh	libipsec version number changed from 2 to 0.  The original
5493e7bcc9SWarner Losh	commit of Jan 6 incorrectly set this to 2.  Remove
55759f0aefSWarner Losh	/usr/lib/libipsec.so.2* before the buildworld and rebuild
56759f0aefSWarner Losh	anything that uses libipsec.so after you install the new
57759f0aefSWarner Losh	version.
58759f0aefSWarner Losh
5916de1a07SWarner Losh20000201:
60759f0aefSWarner Losh	The rcmd related functions have been aligned with other BSD
6116de1a07SWarner Losh	implementations.  rlogind and rshd have been changed to use
6216de1a07SWarner Losh	the new API.  A make world is recommended to keep them in sync
6316de1a07SWarner Losh	with the libraries they use.
6416de1a07SWarner Losh
6516de1a07SWarner Losh	http://www.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libc/net/rcmd.c
6616de1a07SWarner Losh	has the details.
67ea31d04dSWarner Losh
6837990f36SWarner Losh20000129:
6937990f36SWarner Losh	{set,get}flags have been added to the tree for rather dubious
70759f0aefSWarner Losh	reasons.
7137990f36SWarner Losh
72759f0aefSWarner Losh	IF AND ONLY IF installworld fails:
73759f0aefSWarner Losh		make -k -DNOFSCHG installworld
74759f0aefSWarner Losh		make installworld
75759f0aefSWarner Losh	This issue was resolved Feb 5, 2000.
7616de1a07SWarner Losh
7716de1a07SWarner Losh20000125:
7816de1a07SWarner Losh	rcmd_af() is added for multiple address family support.  rsh
7916de1a07SWarner Losh	and rlogin have been updated to use this to support INET6.  A
8016de1a07SWarner Losh	make world is recommended to keep them in sync with the
8116de1a07SWarner Losh	libraries they use.
8237990f36SWarner Losh
8337990f36SWarner Losh20000124:
8437990f36SWarner Losh	The default way that virtual tables in our default C++
8537990f36SWarner Losh	compiler has changed.  We used to use THUNKS for virtual
8637990f36SWarner Losh	inheritance.  Unfortunately there are bugs that The GCC
8737990f36SWarner Losh	developers thought would be fixed in GCC 2.95.  However it
8837990f36SWarner Losh	isn't.
8937990f36SWarner Losh
9037990f36SWarner Losh	After this change existing applications written in C++ may
9137990f36SWarner Losh	give errors like below when you try to run them:
9237990f36SWarner Losh
9337990f36SWarner Losh/usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__vt_7filebuf"
9437990f36SWarner Losh
9537990f36SWarner Losh	The only fix is to rebuild the application and any C++
9637990f36SWarner Losh	libraries used.
9737990f36SWarner Losh
9837990f36SWarner Losh20000124:
9937990f36SWarner Losh	The management of next_writeable has been move from the
10037990f36SWarner Losh	kernel to userspace. This means that the burncd command
10137990f36SWarner Losh	must be in sync with the kernel. So make world is your
10237990f36SWarner Losh	friend.
10337990f36SWarner Losh
104ee2ac360SWarner Losh20000117:
105ee2ac360SWarner Losh	GNU texinfo upgraded to 4.0.  It is recommended that you use
10637990f36SWarner Losh	make buildworld to update.
107ee2ac360SWarner Losh
108ee2ac360SWarner Losh20000117:
109ee2ac360SWarner Losh	CAM_VERSION has been increased.  Recompile all programs that
110ee2ac360SWarner Losh	depend on it (tosha, camcontrol, etc) when moving to kernels
111ee2ac360SWarner Losh	past this date.
112ee2ac360SWarner Losh
113ee2ac360SWarner Losh20000115:
114ee2ac360SWarner Losh	pccard ioctls changed with a commit to have the kernel tell
115ee2ac360SWarner Losh	pccardd which device it created, rather than having pccardd
116ee2ac360SWarner Losh	dictate it to the kernel.  Recompile kernel and
117ee2ac360SWarner Losh	pccardd/pccardc together.  pccardd/pccardc rely on a kernel
118ee2ac360SWarner Losh	Makefile that must be installed prior to building them.  Make
119ee2ac360SWarner Losh	world will automatically take care of this issue, but you need
120ee2ac360SWarner Losh	to know if you are building by hand.
121ee2ac360SWarner Losh
1220a488c75SWarner Losh20000109:
1230a488c75SWarner Losh	Your kernel config files need to be changed to s/controller/device/
1240a488c75SWarner Losh	in them.  You will need a new version of config to do this.
1250a488c75SWarner Losh
126f3a0785bSWarner Losh20000107:
127f3a0785bSWarner Losh	chown & chgrp moved again
128f3a0785bSWarner Losh
129f3a0785bSWarner Losh	This is a heads up to let you know that you need to
130f6517190SWarner Losh		    rm -f /sbin/chown /bin/chgrp
131f3a0785bSWarner Losh	after your next `make world'.  Additionally you need to install
1320a488c75SWarner Losh	a new /dev/MAKEDEV (mergemaster(8) will assist you in this).
133f3a0785bSWarner Losh
134f3a0785bSWarner Losh20000107:
135f3a0785bSWarner Losh	SHA-1 password support gone
136f3a0785bSWarner Losh
137f3a0785bSWarner Losh	As warned yesterday, I've just removed the ability for
138f3a0785bSWarner Losh	libcrypt to understand SHA-1 passwords. This was present but
139f3a0785bSWarner Losh	undocumented in the tree for the past few months and was
140f3a0785bSWarner Losh	removed so it can be reimplemented properly as part of a
141f3a0785bSWarner Losh	revamped libcrypt at a later date. Anyone who was actually
142f3a0785bSWarner Losh	making use of the feature will have to update their passwords
143f3a0785bSWarner Losh	back to MD5 before they reinstall the library.
144f3a0785bSWarner Losh
145f3a0785bSWarner Losh20000106:
146f3a0785bSWarner Losh	ioctl numbers changed for dvdio ioctls.  You will need to recompile
1470a488c75SWarner Losh	anything that uses them.  wormcontrol has been deprecated in
148f3a0785bSWarner Losh	favor of burncd.
149f3a0785bSWarner Losh
1500a3f3aa2SWarner Losh19991223:
1510a3f3aa2SWarner Losh	Building linux and svr4 compatibility into the kernel now
1520a3f3aa2SWarner Losh	requires /usr/bin/genassym.  Go to /usr/src/usr.bin/genassym,
1530a3f3aa2SWarner Losh	do "make obj ; make clean depend all install" before building
1540a3f3aa2SWarner Losh	your kernel.
1550a3f3aa2SWarner Losh
1565525aae6SWarner Losh19991218:
1575525aae6SWarner Losh	sendmail.cf has moved from /etc/sendmail.cf to
1580a3f3aa2SWarner Losh	/etc/mail/sendmail.cf.  You may need to adjust /etc/rc.conf
1590a3f3aa2SWarner Losh	and /etc/rc to cope as well as moving sendmail.cf.
1605525aae6SWarner Losh
1615525aae6SWarner Losh19991216:
1620a3f3aa2SWarner Losh	ntp 4.0.98 has replaced the ancient xntpd.  The daemon name
1635525aae6SWarner Losh	changed from xntpd to ntpd, so you may need to update your
1645525aae6SWarner Losh	/etc/rc.conf file.  The ntp.conf files are compatible with the
1655525aae6SWarner Losh	old release, unless you are using a local reference clock.
1665525aae6SWarner Losh	Details about ntp4 can be found at http://www.ntp.org/.
1675525aae6SWarner Losh
1685525aae6SWarner Losh	xntpd will be cvs removed from the repo in about a week.
1695525aae6SWarner Losh
170fda36f2fSWarner Losh19991213:
171fda36f2fSWarner Losh	Soren updated the ata driver.  Please update to at least this
172fda36f2fSWarner Losh	version before submitting bug reports.
173fda36f2fSWarner Losh
174fda36f2fSWarner Losh19991210:
175fda36f2fSWarner Losh	The ata driver has become the primary ata/ide/atapi driver in
176fda36f2fSWarner Losh	the kernel.  The wd driver is obsolete.  You should upgrade your
177fda36f2fSWarner Losh	machine to the new ata driver.  You will need to follow the
178fda36f2fSWarner Losh	directions for updating the devices in the 19991205 entry.  You
179fda36f2fSWarner Losh	will need to update all occurances of wd to ad in your config files
180fda36f2fSWarner Losh	(/etc/rc.conf, /etc/fstab, etc).  A compatibility device exists
181fda36f2fSWarner Losh	for wd for the time being, but once you have determined that
182fda36f2fSWarner Losh	ata is working for you, transition to the new ad devices.
183fda36f2fSWarner Losh
184e306923fSPoul-Henning Kamp19991205:
185eeef0dd1SWarner Losh	Block devices are going away.  You will need to update your /dev
186a2e7fb9fSWarner Losh	tree with a fresh copy of MAKEDEV for things to always work in
187a2e7fb9fSWarner Losh	the future.  fsck is unable to cope with dirty file systems
188a2e7fb9fSWarner Losh	after this change, so it may work for you or it may not.
189a2e7fb9fSWarner Losh
19016de1a07SWarner Losh	See "To rebuild disk /dev entries" at the end of the file.
191a2e7fb9fSWarner Losh
192a2e7fb9fSWarner Losh	*** All uses of block devices must be converted to char devices.
193a2e7fb9fSWarner Losh	*** Likely the only thing impacted is dumpdev in /etc/rc.conf
194a2e7fb9fSWarner Losh
195a2e7fb9fSWarner Losh19991204:
196fda36f2fSWarner Losh	The dc interface has replaced al, ax, dm, pn and mx.  The former
197fda36f2fSWarner Losh	have been removed.
198fda36f2fSWarner Losh
199fda36f2fSWarner Losh19991204:
200a2e7fb9fSWarner Losh	Support for the old 'sd' device names has been removed in
201a2e7fb9fSWarner Losh	favor of 'da'.  Please update your /etc/fstab, /etc/rc.conf
202a2e7fb9fSWarner Losh	and any other places you might have sd names cached.
203a2e7fb9fSWarner Losh	Generally these changes are as simple as s=/dev/sd=/dev/da=g,
204a2e7fb9fSWarner Losh	but be careful to make sure that things are really that
205a2e7fb9fSWarner Losh	simple.  You may also need to create /dev entries for the da
206a2e7fb9fSWarner Losh	devices as well.
207a2e7fb9fSWarner Losh
20816de1a07SWarner Losh	See "To rebuild disk /dev entries" at the end of the file.
209a2e7fb9fSWarner Losh
210a2e7fb9fSWarner Losh19991203:
211a2e7fb9fSWarner Losh	BAD144 support has been removed.  Cope or replace the hardware.
212e306923fSPoul-Henning Kamp
213fda36f2fSWarner Losh19991129:
214fda36f2fSWarner Losh	ALPHA users take note.  All klds will need to be recompiled for
215fda36f2fSWarner Losh	kernels build after this date.  It is a good time to update since
216fda36f2fSWarner Losh	pal.s will be going away soon.
217fda36f2fSWarner Losh
2187a92b31cSWarner Losh19991126:
2197a92b31cSWarner Losh	MFS_ROOT and MFS_ROOT_SIZE are gone, replaced by MD_ROOT and
2207a92b31cSWarner Losh	MD_ROOT_SIZE options in the md driver.  md driver now deals with
2217a92b31cSWarner Losh	the hacks.  You should add md driver to kerneles that have
2227a92b31cSWarner Losh	MFS_ROOT, et al.  See GENERIC or LINT for details.
2237a92b31cSWarner Losh
22463f52da7SWarner Losh19991125:
22563f52da7SWarner Losh	The ep changed a while ago and can no longer be used with hard
22663f52da7SWarner Losh	wired addresses in the config file.
22763f52da7SWarner Losh
228fda36f2fSWarner Losh19991122:
229fda36f2fSWarner Losh	The bridge drivers for sound cards have been committed.  Please
230fda36f2fSWarner Losh	see LINT for instructions for your card, if it still works at
231fda36f2fSWarner Losh	all.
232fda36f2fSWarner Losh
2331a50e0c7SWarner Losh19991113:
2341a50e0c7SWarner Losh	Gcc 2.95.2 is now the default compiler.
2351a50e0c7SWarner Losh
2360a3f3aa2SWarner Losh19991030:
2370a3f3aa2SWarner Losh	/etc/radius.conf file format has changed.The format change is
2380a3f3aa2SWarner Losh	as follows.  Each server line in the file should now begin
2390a3f3aa2SWarner Losh	with a new field containing either "auth" for RADIUS
2400a3f3aa2SWarner Losh	authentication, or "acct" for RADIUS accounting.  Formerly
2410a3f3aa2SWarner Losh	only authentication was supported.  If the first field isn't
2420a3f3aa2SWarner Losh	"auth" or "acct" then the code assumes that "auth" is
2430a3f3aa2SWarner Losh	intended.  (That's the compatibility hack.)
2440a3f3aa2SWarner Losh
24525c3f405SWarner Losh19991015:
24625c3f405SWarner Losh	PCCARD has been updated to attach pcic to the isa bus.  Therefore
24725c3f405SWarner Losh	you will need to modify kernel config files that have pcic/card
24825c3f405SWarner Losh	in them as follows:
24925c3f405SWarner Losh		controller	pcic0	at isa?
25025c3f405SWarner Losh		controller	pcic1	at isa?
25125c3f405SWarner Losh		controller	card0
25225c3f405SWarner Losh
25373c86a1fSWarner Losh19990929:
25473c86a1fSWarner Losh	The sigset_t datatype has been changed from an integral type
25573c86a1fSWarner Losh	to a compound type and can hold 128 signals. Syscalls directly
25673c86a1fSWarner Losh	or indirectly using the new sigset_t have been added as to
25720d1019bSChris Costello	maintain compatibility with existing binaries. A new kernel must
25873c86a1fSWarner Losh	be made and installed and booted with before a make world can
25973c86a1fSWarner Losh	be done.
26073c86a1fSWarner Losh
2613645fc1cSWarner Losh	***************************************************************
2623645fc1cSWarner Losh		RECOMPILE AND REINSTALL KERNEL BEFORE MAKEWORLD
2633645fc1cSWarner Losh	***************************************************************
2643645fc1cSWarner Losh
26560dbe536SWarner Losh19990919:
26660dbe536SWarner Losh	New jail syscall format requires recompilation of jail(8) with
26760dbe536SWarner Losh	fresh headers installed (or a make world will do it for you).
26860dbe536SWarner Losh
26960dbe536SWarner Losh19990914:
27060dbe536SWarner Losh	Matt Dillon checked in many vm related things and sent a heads up
27160dbe536SWarner Losh	to -current urging caution and to report vm problems to him.
27260dbe536SWarner Losh	As of the 19th, no killer problems have been reported, but you
27360dbe536SWarner Losh	have been warned.
27460dbe536SWarner Losh
2755f83e348SWarner Losh19990908:
2765f83e348SWarner Losh	The new miibus has been added to the system.  If you are using
2775f83e348SWarner Losh	the dm, rl, sf, sis, ste, tl, wb or xl drivers, you need to
2785f83e348SWarner Losh	add "controller miibus0" to your config file.
2795f83e348SWarner Losh
280d9806965SNick Hibma19990905:
281d9806965SNick Hibma	/var/cron/log has been moved to /var/log/cron to get all the
282d9806965SNick Hibma	log files in one place.
2835f83e348SWarner Losh
28430e90e8bSWarner Losh19990831:
28563f52da7SWarner Losh	tn3270 has been removed from the base system and added as a port.
28630e90e8bSWarner Losh
287f8a59eaeSWarner Losh19990830:
288f8a59eaeSWarner Losh	User-visible TCP timers are now expressed in units of 1ms, instead
289f8a59eaeSWarner Losh	of 500ms, so if you've customized any timer values under
290f8a59eaeSWarner Losh	``net.inet.tcp'', multiply them by 500 to preserve TCP's behavior.
291f8a59eaeSWarner Losh
29230e90e8bSWarner Losh19990828:
29330e90e8bSWarner Losh	RCS Id tags changed to FreeBSD.  This will cause huge cvsup
29430e90e8bSWarner Losh	updates.
29530e90e8bSWarner Losh
296f8a59eaeSWarner Losh19990821:
297f8a59eaeSWarner Losh	On 28-May-1999 libreadline was upgraded from readline-2.2 to
298f8a59eaeSWarner Losh	readline-4.0.  At that time the shared library major version
299f8a59eaeSWarner Losh	number was bumped from "3" to "4".  It has been deemed that
300f8a59eaeSWarner Losh	the interface change between readline-2.2 and readline-4.0 was
30178bcb44aSBill Fumerola	not sufficient to warrant the version number bump.
302f8a59eaeSWarner Losh
303f8a59eaeSWarner Losh	Thus I have reverted it back to "3".  You will need to perform
304f8a59eaeSWarner Losh	the below immediately before your next ``make world'':
305f8a59eaeSWarner Losh	    cd /usr/lib
306f8a59eaeSWarner Losh	    ls -l libreadline.so.4
307f8a59eaeSWarner Losh	        (if you have /usr/lib/libreadline.so.4)
308f8a59eaeSWarner Losh	    mv libreadline.so.4 libreadline.so.3
309f8a59eaeSWarner Losh	    rm -f libreadline.so
310f8a59eaeSWarner Losh	    ln -s libreadline.so.3 libreadline.so
311f8a59eaeSWarner Losh
3127eedd934SWarner Losh19990801:
3137eedd934SWarner Losh	Changes to the pccardd kernel interface require that you recompile
3147eedd934SWarner Losh	pccardd for new kernel.
3157eedd934SWarner Losh
316882984b3SWarner Losh19980725:
317882984b3SWarner Losh	The ipfw interface to the kernel has changed.  You will need to
318882984b3SWarner Losh	recompile ipfw programs for the new kernel.
319882984b3SWarner Losh
320882984b3SWarner Losh19990715:
321882984b3SWarner Losh	The bpfilter device has been renamed to bpf.  You will need to
322882984b3SWarner Losh	change your config files in order to enable this in newer kernels.
323882984b3SWarner Losh
324e5bd655aSWarner Losh19990704:
325e5bd655aSWarner Losh	src/contrib/sys/softupdates is moving to
32695d18cfcSWarner Losh	src/sys/contrib/softupdates.  Update your symbolic links/etc.
327e5bd655aSWarner Losh
328e5bd655aSWarner Losh19990702:
329e5bd655aSWarner Losh	Major changes have been made to vinum and its interface.  See
330e5bd655aSWarner Losh	the man page (vinum(8)) for details.  Look at the concat,
331e5bd655aSWarner Losh	mirror and stripe commands, as well as the SIMPLIFIED
332e5bd655aSWarner Losh	CONFIGURATION section.
333e5bd655aSWarner Losh
334e5bd655aSWarner Losh19990628:
335e5bd655aSWarner Losh	Newsyslog.conf has had a minor, but potentially dangerous,
336e5bd655aSWarner Losh	change to its username/group syntax.  The old syntax was
337e5bd655aSWarner Losh	user.group, while the new syntax is user:group.
338e5bd655aSWarner Losh
339e5bd655aSWarner Losh19990627:
340e5bd655aSWarner Losh	Inetd wrapping default has changed.  Please see the updated
341e5bd655aSWarner Losh	man page for details.
342e5bd655aSWarner Losh
343ed478e7cSWarner Losh19990623:
344ed478e7cSWarner Losh	Compaq Smart Raid driver committed as ida.
345ed478e7cSWarner Losh
346075eeff2SWarner Losh19990622:
347075eeff2SWarner Losh	The second phase of syscons cleanup has happened.  Some
348075eeff2SWarner Losh	functionality has been made optional.  For details, see
349075eeff2SWarner Losh        http://www.freebsd.org/~yokota/sc_update-June.txt
3506ae429caSWarner Losh	Everyone will need to re-config(8) their kernels, but old
3516ae429caSWarner Losh	binaries will work with the new kernel.
352075eeff2SWarner Losh
353a883e9d3SWarner Losh19990620:
354a883e9d3SWarner Losh	IPFW uid/gid-based filtering support has been committed. This
355a883e9d3SWarner Losh	breaks binary compatibility with previous copies of
356a883e9d3SWarner Losh	ipfw(8). Any utilities using the ioctl()s of ipfw (especially
357a883e9d3SWarner Losh	ipfw(8)) need to be recompiled with the newest headers
358a883e9d3SWarner Losh	installed.
359a883e9d3SWarner Losh
360a883e9d3SWarner Losh19990618:
361a883e9d3SWarner Losh	Inetd now wraps all stream-based services, including internals.
362a883e9d3SWarner Losh	Syslog "severity" options are honoured. Installed syslog.conf
363a883e9d3SWarner Losh	and hosts.allow should be checked.
364a883e9d3SWarner Losh
36507b72539SWarner Losh19990509:
36607b72539SWarner Losh	Most of the problems with newbus have been corrected, but
36707b72539SWarner Losh	it is still current and evolving.
36807b72539SWarner Losh
36907b72539SWarner Losh	libcam's ABI has changed.  You must recompile the world and
37007b72539SWarner Losh	any ports that use it.
37107b72539SWarner Losh
37209fcf3f9SWarner Losh19990427:
37309fcf3f9SWarner Losh	Massive changes to SMP went into the tree that should speed
37409fcf3f9SWarner Losh	things up.  However, if you experience problems with SMP
37509fcf3f9SWarner Losh	machines, you can back off to the PRE_SMP_VMSHARE tag in the
37609fcf3f9SWarner Losh	CVS repository (or run an MP kernel).
37709fcf3f9SWarner Losh
37809fcf3f9SWarner Losh19990420:
37909fcf3f9SWarner Losh	Pccardd and the pccard bus in general seem to be broken or
38009fcf3f9SWarner Losh	most people.  Soren has patches to make it better for some,
38109fcf3f9SWarner Losh	but not all people.  Work is underway to make it better for
38209fcf3f9SWarner Losh	all people.
38309fcf3f9SWarner Losh
384ea31d04dSWarner Losh19990416:
385ea31d04dSWarner Losh	new bus changes integrated into -current.  Many problems were
386ea31d04dSWarner Losh	initially reported, but most have been fixed.  You'll need a
387ea31d04dSWarner Losh	new config and to tweak your kernel config file the way that
388ea31d04dSWarner Losh	GENERIC was tweaked.  Keep a copy of your old kernel when
389ea31d04dSWarner Losh	upgrading in case your new kernel doesn't work (and report the
390ea31d04dSWarner Losh	breakage to current@freebsd.org).
391ea31d04dSWarner Losh
392ea31d04dSWarner Losh	As of 19990421 the remaining problems/quirks are
393ea31d04dSWarner Losh
394ea31d04dSWarner Losh	o sio no longer supports pnp nor pccard.  This will be corrected,
395ea31d04dSWarner Losh	  but the new pccard code needs to be completed.
396ea31d04dSWarner Losh	o Some of the sound drivers broke for some people.  It seems
397ea31d04dSWarner Losh	  inconsistant as to who/what/when/where things broke.
398ea31d04dSWarner Losh	o Duplicate device entries in your config do not work.  Previously
399ea31d04dSWarner Losh	  they were silently ignored.  psm0 seems to be the most common
400ea31d04dSWarner Losh	  duplicate choice, although some reports have come in from people
401ea31d04dSWarner Losh	  that wired their scsi disk entries.
402ea31d04dSWarner Losh	o You must move the keyboard and mouse attachments from the
403ea31d04dSWarner Losh	  isa bus to the atkbdc bus.  See GENERIC for details.
404ea31d04dSWarner Losh	o Machines with multiple host-pci bridges (Intel 450NX) will not
405ea31d04dSWarner Losh	  probe the second pci bus.
406ea31d04dSWarner Losh	o Some probe ordering may have changed, so device naming may change
407ea31d04dSWarner Losh	  with the new kernel.  If you have multiple devices, please double
408ea31d04dSWarner Losh	  check to make sure they didn't move.  This is especially true
409ea31d04dSWarner Losh	  for cards on different buses.
410ea31d04dSWarner Losh	o The bus attachment for vga0 is always isa0 and never pci0 when
411ea31d04dSWarner Losh	  it is in fact a pci card.  It is safe to ignore this.
412ea31d04dSWarner Losh	o The format of the boot messages has changed (and is not
413ea31d04dSWarner Losh	  guaranteed to be constant for a while) so you may see this
414ea31d04dSWarner Losh	  in some shell scripts that diff dmesg from day to day as well
415ea31d04dSWarner Losh	  as scripts that parse dmesg output.
416f8c77507SWarner Losh
417d24adca8SWarner Losh19990414:
418d24adca8SWarner Losh	cc -aout sometimes has problems compiling with -g, remove -g
419d24adca8SWarner Losh	from those compilation units affected until this is corrected.
420d24adca8SWarner Losh
421d24adca8SWarner Losh	cc -aout has problems with producing some threaded libraries,
422d24adca8SWarner Losh	so make world -DWANT_AOUT is not functional at this time.
423d24adca8SWarner Losh
424ea31d04dSWarner Losh	Since make world for a.out isn't functional, you cannot do
425ea31d04dSWarner Losh	make aout-to-elf from a pre-egcs a.out system.  To work around
426ea31d04dSWarner Losh	this problem, make aout-to-elf using 3.1-stable first (or a
427ea31d04dSWarner Losh	pre egcs -current) and then a simple make world will take you
428ea31d04dSWarner Losh	the rest of the way with a -current source base.
429ea31d04dSWarner Losh
430d5ca0636SWarner Losh19990413:
431d24adca8SWarner Losh	Make -j works again for make world.  As always, use it with
432d24adca8SWarner Losh	care, and be sure to try a make world w/o -j before reporting
433d24adca8SWarner Losh	problems (that is, know if the problem exists w/o -j before
434d24adca8SWarner Losh	reporting the problem with -j).
435d24adca8SWarner Losh
436d24adca8SWarner Losh19990413:
437d24adca8SWarner Losh	Note cc -aout, which had been broken since the conversion to
438ea31d04dSWarner Losh	egcs, now supposedly works.  If you have rebuilt things like
439d24adca8SWarner Losh	XFree86 a.out libraries, you should rebuild them again or
440ea31d04dSWarner Losh	progams that use them, including netscape, will fail to work.
441d5ca0636SWarner Losh
4421f692d40SWarner Losh19990409:
4431f692d40SWarner Losh	NOTE: New c++ compiler cannot be used with c++ binaries from
4441f692d40SWarner Losh	the old compiler and vice versa.
4451f692d40SWarner Losh
4461f692d40SWarner Losh19990408:
44781725689SWarner Losh	In recent days egcs has been imported into the tree.  A number
44881725689SWarner Losh	of problems have been discussed in -current.  Here is a highlight
44981725689SWarner Losh	of a few of the more common ones.  With the exception of make
45081725689SWarner Losh	-j n, they have been claimed to have been fixed.
45181725689SWarner Losh
45281725689SWarner Losh	c++ is broken after make world: This is correct.  Because we
45381725689SWarner Losh	changed compilers two make worlds are necessary to get C++
45481725689SWarner Losh	working again.  The code generated by the old compiler and new
45581725689SWarner Losh	compiler are not compatible, so things wind up being
45681725689SWarner Losh	undefined.
45781725689SWarner Losh
45881725689SWarner Losh	cpp is broken in make world:  There was a window where cpp
45981725689SWarner Losh	would be built incorrectly.  The fix for this is
460420d4744SMasafumi Max NAKANE		cd src/gnu/usr.bin/cc
46181725689SWarner Losh		make clean
46281725689SWarner Losh		make all
46381725689SWarner Losh		make install
46481725689SWarner Losh	and this should correct your problems.  See the -current
46581725689SWarner Losh	archives for a version of this that does moer cleaning.
46681725689SWarner Losh
46781725689SWarner Losh	Make -j n doesn't work.  Work contiunes to make this work,
46881725689SWarner Losh	I've seen no reports of success as of April 7th.
46981725689SWarner Losh
470ff5e1f79SWarner Losh19990329:
471ff5e1f79SWarner Losh	Previously, one would define "NOAOUT" to keep from building
472ff5e1f79SWarner Losh	the legacy a.out bits.  Now one would define "WANT_AOUT" to
473ff5e1f79SWarner Losh	build them.
474ff5e1f79SWarner Losh
475fe9af953SWarner Losh19990316:
476fe9af953SWarner Losh	The name of the old wd.c and atapi.c based CDROM driver has
477fe9af953SWarner Losh	been changed back to wcd. So update your config file to use
478fe9af953SWarner Losh	"device wcd" instead of "device acd".
479fe9af953SWarner Losh
480fe9af953SWarner Losh19990314:
481fe9af953SWarner Losh	For those of you using the VN device as a loadable module,
482fe9af953SWarner Losh	please be aware that the new VN device has been committed to
483fe9af953SWarner Losh	-4.x and cannot yet be used as a loadable module.  This will
484fe9af953SWarner Losh	be fixed in the future.
485fe9af953SWarner Losh
486ce32355fSWarner Losh19990309:
487fe9af953SWarner Losh	New loader.rc mechanism.  Please see src/sys/boot/README for
488fe9af953SWarner Losh	details.
489ce32355fSWarner Losh
490f8c77507SWarner Losh19990225:
491f8c77507SWarner Losh	struct proc size changed.  Recompile kernel and the
492f8c77507SWarner Losh	usual suspects.  Make world if in doubt.
4931fc1a0dcSWarner Losh
4940edeb9e7SWarner Losh19990214:
4950edeb9e7SWarner Losh	The nlpt driver has changed names back to be the lpt driver.
4967dd38e55SWarner Losh	See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
4977dd38e55SWarner Losh	for proper configuration details.
4980edeb9e7SWarner Losh
4991fc1a0dcSWarner Losh19990210:
5001fc1a0dcSWarner Losh	The 'lpt' driver is now obsolete.  Replace it with the 'nlpt'
5010edeb9e7SWarner Losh	driver and 'ppbus' controller combination.
50257199806SWarner Losh
5037dd38e55SWarner Losh19990209:
5047dd38e55SWarner Losh	New devstat API requires recompilation of libdevstat, systat,
5057dd38e55SWarner Losh	iostat, vmstat and rpc.rstatd.  A new kernel is also required.
5067dd38e55SWarner Losh	make world + building a kernel should do all of this.  Any
5077dd38e55SWarner Losh	ports that use devstat need to be recompiled as well.
5087dd38e55SWarner Losh
5099a3105eeSWarner Losh19990125:
5109a3105eeSWarner Losh	Linux threads options has gone away (they are now standard in
5119a3105eeSWarner Losh	the FreeBSD kernel).  A recompile of all libkvm using programs
5129a3105eeSWarner Losh	is in order (or better yet a make world).
5139a3105eeSWarner Losh
5149a3105eeSWarner Losh19990122:
5159a3105eeSWarner Losh	On or about this date there was a small window when the boot
5169a3105eeSWarner Losh	blocks had some minor problems which seemed to force one to
5179a3105eeSWarner Losh	edit /etc/fstab.  This has been corrected, if you are seeing this
5189a3105eeSWarner Losh	problem, please rebuild and reinstall your boot blocks.
5199a3105eeSWarner Losh
5209a3105eeSWarner Losh19990121:
5218cd37f69SWarner Losh	Vinum has changed.  The "vinum read" command has changed.  For
5228cd37f69SWarner Losh	updates, please see
5233652181cSWarner Losh
5248cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
5253652181cSWarner Losh
5268cd37f69SWarner Losh	for details.
5278cd37f69SWarner Losh
5288cd37f69SWarner Losh	Matt Dillon committed a boatload of VM changes, for
5298cd37f69SWarner Losh	information please see
5303652181cSWarner Losh
5318cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current
5328cd37f69SWarner Losh	or
5338cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
5343652181cSWarner Losh
5358cd37f69SWarner Losh	for details.  These changes will likely not impact anybody,
5368cd37f69SWarner Losh	but large chagnes to the VM need at least a heads up.
5378cd37f69SWarner Losh
5388cd37f69SWarner Losh19990120:
5398cd37f69SWarner Losh	Stable branch created.  You might want to consider using this
5408cd37f69SWarner Losh	branch.  It is tagged with RELENG_3.
5418cd37f69SWarner Losh
542ad56ea87SWarner Losh19990119:
543ad56ea87SWarner Losh	More work on the syscons driver has been committed.  Since
544ad56ea87SWarner Losh	files moved around, you will need to reconfigure your kernel,
545ad56ea87SWarner Losh	and make clean; make depend before rebuilding the kernel.  No
546ad56ea87SWarner Losh	config file changes are needed.
547ad56ea87SWarner Losh
54857199806SWarner Losh19990111:
549a85c0f55SWarner Losh	New keyboard and video card drivers are introduced as the first
550a85c0f55SWarner Losh	stage of console driver reorganization.  You are required to
551a85c0f55SWarner Losh	update the kernel configuration file and rebuild the kernel.
552a85c0f55SWarner Losh	kbdcontrol, vidcontrol, and screen savers also need recompilation.
553a85c0f55SWarner Losh	The instruction can be found in
55457199806SWarner Losh
5557dafbc29SWarner Losh		http://www.freebsd.org/~yokota/sc_update.txt
55657199806SWarner Losh
557a85c0f55SWarner Losh	It has notes on splash screen too.
55857199806SWarner Losh
55957199806SWarner Losh19990106:
5609857e582SWarner Losh	Robert Nordier was kind enough to make this page to enable people to
561db23c94fSWarner Losh	install the new bootblocks:
56257199806SWarner Losh
5637dafbc29SWarner Losh		http://www.freebsd.org/~rnordier/boot.txt
56457199806SWarner Losh
5659ba54ae0SWarner Losh	When updating to ELF, make sure that you have updated your
5669ba54ae0SWarner Losh	/etc/rc files which have different ldconfig invocations for
5679ba54ae0SWarner Losh	elf and aout.  Otherwise things like X will stop working with
5689857e582SWarner Losh	messages about being unable to find library files.  The
5699857e582SWarner Losh	mergemaster utility in ports/sysutils/mergemaster helps to
5709857e582SWarner Losh	keep critical files like this in sync, and its use is
5719857e582SWarner Losh	recommended.
57257199806SWarner Losh
57357199806SWarner Losh19990104:
5742c558794SWarner Losh	Information about ELF day (see 19981230) can be found in
57557199806SWarner Losh
5767dafbc29SWarner Losh		http://www.freebsd.org/~peter/elfday.html
57757199806SWarner Losh
5782c558794SWarner Losh	about the upcoming change, its motivations and instructions
5792c558794SWarner Losh	for doing the upgrade.
58057199806SWarner Losh
58157199806SWarner Losh19981230:
582d5513f53SWarner Losh	You should install new bootblocks now.  The ELF kernel will
583e363c17bSWarner Losh	become default soon.  In addition, you'll need to upgrade
584e363c17bSWarner Losh	your userland programs to ELF before then as well.  Use
585e363c17bSWarner Losh	make aout-to-elf to upgrade your userland programs (old
586e363c17bSWarner Losh	a.out programs in, for example, /usr/local/bin will
587e363c17bSWarner Losh	continue to work, even after the upgrade).  See src/Makefile
588e363c17bSWarner Losh	for more details.
58957199806SWarner Losh
59057199806SWarner Losh19981224:
591355edc3eSWarner Losh	The old wcd driver has been deleted from the kernel.  The
592355edc3eSWarner Losh	driver that replaces it is named acd.  You'll need to change
593355edc3eSWarner Losh	this in your configuration files.
59457199806SWarner Losh
595355edc3eSWarner Losh	Failure to do this will result in "ATAPI CD-ROMs not
596355edc3eSWarner Losh	configured" at boot time.
59757199806SWarner Losh
598355edc3eSWarner Losh	The floppy tape driver (ft) has been removed from the kernel,
599355edc3eSWarner Losh	with no replacement driver.
60057199806SWarner Losh
60157199806SWarner Losh19981202:
602ab308df6SWarner Losh	New groups from 19981201 commented out of mtree, so they
603ab308df6SWarner Losh	aren't strictly needed, but still a good idea to have.
60457199806SWarner Losh
60557199806SWarner Losh19981201:
606ab308df6SWarner Losh	New user/group added: bind.  From src/etc/master.passwd and
607ab308df6SWarner Losh	src/etc/group:
608ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/group
609ab308df6SWarner Losh		bind:*:53:
610ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/master.passwd
611ab308df6SWarner Losh		tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
612ab308df6SWarner Losh		kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
613ab308df6SWarner Losh		bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
61457199806SWarner Losh
61557199806SWarner Losh19981118:
61653dfde79SWarner Losh	PAM integrated into the tree.   Requires new /etc/pam.conf file
61753dfde79SWarner Losh	to silence warnings from authentication programs (login, etc).
61853dfde79SWarner Losh	See src/etc/pam.conf for a sample.
61957199806SWarner Losh
620dc0dbf5cSWarner LoshCOMMON ITEMS:
621dc0dbf5cSWarner Losh
622dc0dbf5cSWarner Losh	To build a kernel
623dc0dbf5cSWarner Losh	-----------------
624dc0dbf5cSWarner Losh	Update config, genassym and go:
625dc0dbf5cSWarner Losh		cd src/usr.bin/genassym
626dc0dbf5cSWarner Losh		make depend all install clean
627dc0dbf5cSWarner Losh		cd ../../usr.sbin/config
628dc0dbf5cSWarner Losh		make depend all install clean
629759f0aefSWarner Losh		cd ../../sys/i386/conf
630dc0dbf5cSWarner Losh		config YOUR_KERNEL_HERE
631dc0dbf5cSWarner Losh		cd ../../compile/YOUR_KERNEL_HERE
632dc0dbf5cSWarner Losh		make depend && make
6333645fc1cSWarner Losh		make install
634dc0dbf5cSWarner Losh
63516de1a07SWarner Losh	To rebuild disk /dev entries
63616de1a07SWarner Losh	----------------------------
63716de1a07SWarner Losh
63816de1a07SWarner Losh	MAKEDEV should be copied from src/etc/MAKEDEV to /dev before
63916de1a07SWarner Losh	starting the following:
64016de1a07SWarner Losh
64116de1a07SWarner Losh		For N in the list of disks
64216de1a07SWarner Losh			MAKEDEV N			# eg ad0
64316de1a07SWarner Losh			for M in the list of slices
64416de1a07SWarner Losh				MAKEDEV NsMa		# eg ad0s1a
64516de1a07SWarner Losh
64616de1a07SWarner Losh
64716de1a07SWarner Losh	To rebuild everything
64816de1a07SWarner Losh	---------------------
649759f0aefSWarner Losh	make world
650759f0aefSWarner Losh
6519e5fefaeSWarner Losh	Except when it doesn't work.
6529e5fefaeSWarner Losh
653759f0aefSWarner Losh	To update from 3.x to 4.0 stable
654759f0aefSWarner Losh	--------------------------------
6553645fc1cSWarner Losh	cd /usr/src
6563645fc1cSWarner Losh	make buildworld
6573645fc1cSWarner Losh	cd sbin/mknod
6583645fc1cSWarner Losh	make install
6593645fc1cSWarner Losh	<follow directions to build/install a kernel>
6603645fc1cSWarner Losh	<follow rebuild disk /dev entries above>	[*]
6613645fc1cSWarner Losh	reboot
6623645fc1cSWarner Losh	<in single user>
6633645fc1cSWarner Losh	cd /usr/src
6649e5fefaeSWarner Losh	make -DNOINFO installworld
6653645fc1cSWarner Losh	make installworld
6663645fc1cSWarner Losh
6673645fc1cSWarner Losh	[*] You may need to switch from wd to ad ala 19991210
6683645fc1cSWarner Losh
66916de1a07SWarner Losh
670dc0dbf5cSWarner LoshFORMAT:
671dc0dbf5cSWarner Losh
6721fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major
6731fc1a0dcSWarner Loshbreakages in tracking -current.  Not all things will be listed here,
67460dbe536SWarner Loshand it only starts on November 18, 1998.  If you have an earlier
6751fc1a0dcSWarner Loshversion of FreeBSD, you are on your own to get to November 18, 1998.
6761fc1a0dcSWarner Losh
6773645fc1cSWarner LoshPlease filter your entries through Warner Losh (imp@village.org) so
6783645fc1cSWarner Loshthat the style, formatting, etc of this file can be maintained.
679f8c77507SWarner Losh
68097d92980SPeter Wemm$FreeBSD$
681