xref: /freebsd/UPDATING (revision d24adca851bf9f0ae827f2ffa782446a85ffe963)
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
6d24adca8SWarner Losh19990414:
7d24adca8SWarner Losh	cc -aout sometimes has problems compiling with -g, remove -g
8d24adca8SWarner Losh	from those compilation units affected until this is corrected.
9d24adca8SWarner Losh
10d24adca8SWarner Losh	cc -aout has problems with producing some threaded libraries,
11d24adca8SWarner Losh	so make world -DWANT_AOUT is not functional at this time.
12d24adca8SWarner Losh
13d5ca0636SWarner Losh19990413:
14d24adca8SWarner Losh	Make -j works again for make world.  As always, use it with
15d24adca8SWarner Losh	care, and be sure to try a make world w/o -j before reporting
16d24adca8SWarner Losh	problems (that is, know if the problem exists w/o -j before
17d24adca8SWarner Losh	reporting the problem with -j).
18d24adca8SWarner Losh
19d24adca8SWarner Losh19990413:
20d24adca8SWarner Losh	Note cc -aout, which had been broken since the conversion to
21d24adca8SWarner Losh	egcs, not supposedly works.  If you have rebuilt things like
22d24adca8SWarner Losh	XFree86 a.out libraries, you should rebuild them again or
23d24adca8SWarner Losh	things (including netscape) will not work.
24d5ca0636SWarner Losh
251f692d40SWarner Losh19990409:
261f692d40SWarner Losh	NOTE: New c++ compiler cannot be used with c++ binaries from
271f692d40SWarner Losh	the old compiler and vice versa.
281f692d40SWarner Losh
291f692d40SWarner Losh19990408:
3081725689SWarner Losh	In recent days egcs has been imported into the tree.  A number
3181725689SWarner Losh	of problems have been discussed in -current.  Here is a highlight
3281725689SWarner Losh	of a few of the more common ones.  With the exception of make
3381725689SWarner Losh	-j n, they have been claimed to have been fixed.
3481725689SWarner Losh
3581725689SWarner Losh	c++ is broken after make world: This is correct.  Because we
3681725689SWarner Losh	changed compilers two make worlds are necessary to get C++
3781725689SWarner Losh	working again.  The code generated by the old compiler and new
3881725689SWarner Losh	compiler are not compatible, so things wind up being
3981725689SWarner Losh	undefined.
4081725689SWarner Losh
4181725689SWarner Losh	cpp is broken in make world:  There was a window where cpp
4281725689SWarner Losh	would be built incorrectly.  The fix for this is
43420d4744SMasafumi Max NAKANE		cd src/gnu/usr.bin/cc
4481725689SWarner Losh		make clean
4581725689SWarner Losh		make all
4681725689SWarner Losh		make install
4781725689SWarner Losh	and this should correct your problems.  See the -current
4881725689SWarner Losh	archives for a version of this that does moer cleaning.
4981725689SWarner Losh
5081725689SWarner Losh	Make -j n doesn't work.  Work contiunes to make this work,
5181725689SWarner Losh	I've seen no reports of success as of April 7th.
5281725689SWarner Losh
53ff5e1f79SWarner Losh19990329:
54ff5e1f79SWarner Losh	Previously, one would define "NOAOUT" to keep from building
55ff5e1f79SWarner Losh	the legacy a.out bits.  Now one would define "WANT_AOUT" to
56ff5e1f79SWarner Losh	build them.
57ff5e1f79SWarner Losh
58fe9af953SWarner Losh19990316:
59fe9af953SWarner Losh	The name of the old wd.c and atapi.c based CDROM driver has
60fe9af953SWarner Losh	been changed back to wcd. So update your config file to use
61fe9af953SWarner Losh	"device wcd" instead of "device acd".
62fe9af953SWarner Losh
63fe9af953SWarner Losh19990314:
64fe9af953SWarner Losh	For those of you using the VN device as a loadable module,
65fe9af953SWarner Losh	please be aware that the new VN device has been committed to
66fe9af953SWarner Losh	-4.x and cannot yet be used as a loadable module.  This will
67fe9af953SWarner Losh	be fixed in the future.
68fe9af953SWarner Losh
69ce32355fSWarner Losh19990309:
70fe9af953SWarner Losh	New loader.rc mechanism.  Please see src/sys/boot/README for
71fe9af953SWarner Losh	details.
72ce32355fSWarner Losh
73f8c77507SWarner Losh19990225:
74f8c77507SWarner Losh	struct proc size changed.  Recompile kernel and the
75f8c77507SWarner Losh	usual suspects.  Make world if in doubt.
761fc1a0dcSWarner Losh
770edeb9e7SWarner Losh19990214:
780edeb9e7SWarner Losh	The nlpt driver has changed names back to be the lpt driver.
797dd38e55SWarner Losh	See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
807dd38e55SWarner Losh	for proper configuration details.
810edeb9e7SWarner Losh
821fc1a0dcSWarner Losh19990210:
831fc1a0dcSWarner Losh	The 'lpt' driver is now obsolete.  Replace it with the 'nlpt'
840edeb9e7SWarner Losh	driver and 'ppbus' controller combination.
8557199806SWarner Losh
867dd38e55SWarner Losh19990209:
877dd38e55SWarner Losh	New devstat API requires recompilation of libdevstat, systat,
887dd38e55SWarner Losh	iostat, vmstat and rpc.rstatd.  A new kernel is also required.
897dd38e55SWarner Losh	make world + building a kernel should do all of this.  Any
907dd38e55SWarner Losh	ports that use devstat need to be recompiled as well.
917dd38e55SWarner Losh
929a3105eeSWarner Losh19990125:
939a3105eeSWarner Losh	Linux threads options has gone away (they are now standard in
949a3105eeSWarner Losh	the FreeBSD kernel).  A recompile of all libkvm using programs
959a3105eeSWarner Losh	is in order (or better yet a make world).
969a3105eeSWarner Losh
979a3105eeSWarner Losh19990122:
989a3105eeSWarner Losh	On or about this date there was a small window when the boot
999a3105eeSWarner Losh	blocks had some minor problems which seemed to force one to
1009a3105eeSWarner Losh	edit /etc/fstab.  This has been corrected, if you are seeing this
1019a3105eeSWarner Losh	problem, please rebuild and reinstall your boot blocks.
1029a3105eeSWarner Losh
1039a3105eeSWarner Losh19990121:
1048cd37f69SWarner Losh	Vinum has changed.  The "vinum read" command has changed.  For
1058cd37f69SWarner Losh	updates, please see
1063652181cSWarner Losh
1078cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
1083652181cSWarner Losh
1098cd37f69SWarner Losh	for details.
1108cd37f69SWarner Losh
1118cd37f69SWarner Losh	Matt Dillon committed a boatload of VM changes, for
1128cd37f69SWarner Losh	information please see
1133652181cSWarner Losh
1148cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current
1158cd37f69SWarner Losh	or
1168cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
1173652181cSWarner Losh
1188cd37f69SWarner Losh	for details.  These changes will likely not impact anybody,
1198cd37f69SWarner Losh	but large chagnes to the VM need at least a heads up.
1208cd37f69SWarner Losh
1218cd37f69SWarner Losh19990120:
1228cd37f69SWarner Losh	Stable branch created.  You might want to consider using this
1238cd37f69SWarner Losh	branch.  It is tagged with RELENG_3.
1248cd37f69SWarner Losh
125ad56ea87SWarner Losh19990119:
126ad56ea87SWarner Losh	More work on the syscons driver has been committed.  Since
127ad56ea87SWarner Losh	files moved around, you will need to reconfigure your kernel,
128ad56ea87SWarner Losh	and make clean; make depend before rebuilding the kernel.  No
129ad56ea87SWarner Losh	config file changes are needed.
130ad56ea87SWarner Losh
13157199806SWarner Losh19990111:
132a85c0f55SWarner Losh	New keyboard and video card drivers are introduced as the first
133a85c0f55SWarner Losh	stage of console driver reorganization.  You are required to
134a85c0f55SWarner Losh	update the kernel configuration file and rebuild the kernel.
135a85c0f55SWarner Losh	kbdcontrol, vidcontrol, and screen savers also need recompilation.
136a85c0f55SWarner Losh	The instruction can be found in
13757199806SWarner Losh
1387dafbc29SWarner Losh		http://www.freebsd.org/~yokota/sc_update.txt
13957199806SWarner Losh
140a85c0f55SWarner Losh	It has notes on splash screen too.
14157199806SWarner Losh
14257199806SWarner Losh19990106:
1439857e582SWarner Losh	Robert Nordier was kind enough to make this page to enable people to
144db23c94fSWarner Losh	install the new bootblocks:
14557199806SWarner Losh
1467dafbc29SWarner Losh		http://www.freebsd.org/~rnordier/boot.txt
14757199806SWarner Losh
1489ba54ae0SWarner Losh	When updating to ELF, make sure that you have updated your
1499ba54ae0SWarner Losh	/etc/rc files which have different ldconfig invocations for
1509ba54ae0SWarner Losh	elf and aout.  Otherwise things like X will stop working with
1519857e582SWarner Losh	messages about being unable to find library files.  The
1529857e582SWarner Losh	mergemaster utility in ports/sysutils/mergemaster helps to
1539857e582SWarner Losh	keep critical files like this in sync, and its use is
1549857e582SWarner Losh	recommended.
15557199806SWarner Losh
15657199806SWarner Losh19990104:
1572c558794SWarner Losh	Information about ELF day (see 19981230) can be found in
15857199806SWarner Losh
1597dafbc29SWarner Losh		http://www.freebsd.org/~peter/elfday.html
16057199806SWarner Losh
1612c558794SWarner Losh	about the upcoming change, its motivations and instructions
1622c558794SWarner Losh	for doing the upgrade.
16357199806SWarner Losh
16457199806SWarner Losh19981230:
165d5513f53SWarner Losh	You should install new bootblocks now.  The ELF kernel will
166e363c17bSWarner Losh	become default soon.  In addition, you'll need to upgrade
167e363c17bSWarner Losh	your userland programs to ELF before then as well.  Use
168e363c17bSWarner Losh	make aout-to-elf to upgrade your userland programs (old
169e363c17bSWarner Losh	a.out programs in, for example, /usr/local/bin will
170e363c17bSWarner Losh	continue to work, even after the upgrade).  See src/Makefile
171e363c17bSWarner Losh	for more details.
17257199806SWarner Losh
17357199806SWarner Losh19981224:
174355edc3eSWarner Losh	The old wcd driver has been deleted from the kernel.  The
175355edc3eSWarner Losh	driver that replaces it is named acd.  You'll need to change
176355edc3eSWarner Losh	this in your configuration files.
17757199806SWarner Losh
178355edc3eSWarner Losh	Failure to do this will result in "ATAPI CD-ROMs not
179355edc3eSWarner Losh	configured" at boot time.
18057199806SWarner Losh
181355edc3eSWarner Losh	The floppy tape driver (ft) has been removed from the kernel,
182355edc3eSWarner Losh	with no replacement driver.
18357199806SWarner Losh
18457199806SWarner Losh19981202:
185ab308df6SWarner Losh	New groups from 19981201 commented out of mtree, so they
186ab308df6SWarner Losh	aren't strictly needed, but still a good idea to have.
18757199806SWarner Losh
18857199806SWarner Losh19981201:
189ab308df6SWarner Losh	New user/group added: bind.  From src/etc/master.passwd and
190ab308df6SWarner Losh	src/etc/group:
191ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/group
192ab308df6SWarner Losh		bind:*:53:
193ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/master.passwd
194ab308df6SWarner Losh		tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
195ab308df6SWarner Losh		kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
196ab308df6SWarner Losh		bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
19757199806SWarner Losh
19857199806SWarner Losh19981118:
19953dfde79SWarner Losh	PAM integrated into the tree.   Requires new /etc/pam.conf file
20053dfde79SWarner Losh	to silence warnings from authentication programs (login, etc).
20153dfde79SWarner Losh	See src/etc/pam.conf for a sample.
20257199806SWarner Losh
2031fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major
2041fc1a0dcSWarner Loshbreakages in tracking -current.  Not all things will be listed here,
2051fc1a0dcSWarner Loshand it only starts on Novemeber 18, 1998.  If you have an earlier
2061fc1a0dcSWarner Loshversion of FreeBSD, you are on your own to get to November 18, 1998.
2071fc1a0dcSWarner Losh
208f8c77507SWarner LoshPlease filter your entries through Warner (imp@village.org) so that
209f8c77507SWarner Loshthe style, formatting, etc of this file can be maintained.
210f8c77507SWarner Losh
211d24adca8SWarner Losh$Id: UPDATING,v 1.28 1999/04/13 06:10:53 imp Exp $
212