xref: /freebsd/UPDATING (revision d98069654d28c5b1ace88b52a44cba9b324f80d1)
157199806SWarner LoshUpdating Information for FreeBSD current users
253dfde79SWarner Losh
3f8c77507SWarner LoshThis file is maintained by imp@village.org.  Please send new entries
4ea31d04dSWarner Loshdirectly to him.  See end of file for further details.
5ea31d04dSWarner Losh
6d9806965SNick Hibma19990905:
7d9806965SNick Hibma	/var/cron/log has been moved to /var/log/cron to get all the
8d9806965SNick Hibma	log files in one place.
930e90e8bSWarner Losh19990831:
1030e90e8bSWarner Losh	tn3270 has been removed from the based system and added as a port.
1130e90e8bSWarner Losh
12f8a59eaeSWarner Losh19990830:
13f8a59eaeSWarner Losh	User-visible TCP timers are now expressed in units of 1ms, instead
14f8a59eaeSWarner Losh	of 500ms, so if you've customized any timer values under
15f8a59eaeSWarner Losh	``net.inet.tcp'', multiply them by 500 to preserve TCP's behavior.
16f8a59eaeSWarner Losh
1730e90e8bSWarner Losh19990828:
1830e90e8bSWarner Losh	RCS Id tags changed to FreeBSD.  This will cause huge cvsup
1930e90e8bSWarner Losh	updates.
2030e90e8bSWarner Losh
21f8a59eaeSWarner Losh19990821:
22f8a59eaeSWarner Losh	On 28-May-1999 libreadline was upgraded from readline-2.2 to
23f8a59eaeSWarner Losh	readline-4.0.  At that time the shared library major version
24f8a59eaeSWarner Losh	number was bumped from "3" to "4".  It has been deemed that
25f8a59eaeSWarner Losh	the interface change between readline-2.2 and readline-4.0 was
26f8a59eaeSWarner Losh	not suffient to warrant the version number bump.
27f8a59eaeSWarner Losh
28f8a59eaeSWarner Losh	Thus I have reverted it back to "3".  You will need to perform
29f8a59eaeSWarner Losh	the below immediately before your next ``make world'':
30f8a59eaeSWarner Losh	    cd /usr/lib
31f8a59eaeSWarner Losh	    ls -l libreadline.so.4
32f8a59eaeSWarner Losh	        (if you have /usr/lib/libreadline.so.4)
33f8a59eaeSWarner Losh	    mv libreadline.so.4 libreadline.so.3
34f8a59eaeSWarner Losh	    rm -f libreadline.so
35f8a59eaeSWarner Losh	    ln -s libreadline.so.3 libreadline.so
36f8a59eaeSWarner Losh
377eedd934SWarner Losh19990801:
387eedd934SWarner Losh	Changes to the pccardd kernel interface require that you recompile
397eedd934SWarner Losh	pccardd for new kernel.
407eedd934SWarner Losh
41882984b3SWarner Losh19980725:
42882984b3SWarner Losh	The ipfw interface to the kernel has changed.  You will need to
43882984b3SWarner Losh	recompile ipfw programs for the new kernel.
44882984b3SWarner Losh
45882984b3SWarner Losh19990715:
46882984b3SWarner Losh	The bpfilter device has been renamed to bpf.  You will need to
47882984b3SWarner Losh	change your config files in order to enable this in newer kernels.
48882984b3SWarner Losh
49e5bd655aSWarner Losh19990704:
50e5bd655aSWarner Losh	src/contrib/sys/softupdates is moving to
5195d18cfcSWarner Losh	src/sys/contrib/softupdates.  Update your symbolic links/etc.
52e5bd655aSWarner Losh
53e5bd655aSWarner Losh19990702:
54e5bd655aSWarner Losh	Major changes have been made to vinum and its interface.  See
55e5bd655aSWarner Losh	the man page (vinum(8)) for details.  Look at the concat,
56e5bd655aSWarner Losh	mirror and stripe commands, as well as the SIMPLIFIED
57e5bd655aSWarner Losh	CONFIGURATION section.
58e5bd655aSWarner Losh
59e5bd655aSWarner Losh19990628:
60e5bd655aSWarner Losh	Newsyslog.conf has had a minor, but potentially dangerous,
61e5bd655aSWarner Losh	change to its username/group syntax.  The old syntax was
62e5bd655aSWarner Losh	user.group, while the new syntax is user:group.
63e5bd655aSWarner Losh
64e5bd655aSWarner Losh19990627:
65e5bd655aSWarner Losh	Inetd wrapping default has changed.  Please see the updated
66e5bd655aSWarner Losh	man page for details.
67e5bd655aSWarner Losh
68ed478e7cSWarner Losh19990623:
69ed478e7cSWarner Losh	Compaq Smart Raid driver committed as ida.
70ed478e7cSWarner Losh
71075eeff2SWarner Losh19990622:
72075eeff2SWarner Losh	The second phase of syscons cleanup has happened.  Some
73075eeff2SWarner Losh	functionality has been made optional.  For details, see
74075eeff2SWarner Losh        http://www.freebsd.org/~yokota/sc_update-June.txt
756ae429caSWarner Losh	Everyone will need to re-config(8) their kernels, but old
766ae429caSWarner Losh	binaries will work with the new kernel.
77075eeff2SWarner Losh
78a883e9d3SWarner Losh19990620:
79a883e9d3SWarner Losh	IPFW uid/gid-based filtering support has been committed. This
80a883e9d3SWarner Losh	breaks binary compatibility with previous copies of
81a883e9d3SWarner Losh	ipfw(8). Any utilities using the ioctl()s of ipfw (especially
82a883e9d3SWarner Losh	ipfw(8)) need to be recompiled with the newest headers
83a883e9d3SWarner Losh	installed.
84a883e9d3SWarner Losh
85a883e9d3SWarner Losh19990618:
86a883e9d3SWarner Losh	Inetd now wraps all stream-based services, including internals.
87a883e9d3SWarner Losh	Syslog "severity" options are honoured. Installed syslog.conf
88a883e9d3SWarner Losh	and hosts.allow should be checked.
89a883e9d3SWarner Losh
9007b72539SWarner Losh19990509:
9107b72539SWarner Losh	Most of the problems with newbus have been corrected, but
9207b72539SWarner Losh	it is still current and evolving.
9307b72539SWarner Losh
9407b72539SWarner Losh	libcam's ABI has changed.  You must recompile the world and
9507b72539SWarner Losh	any ports that use it.
9607b72539SWarner Losh
9709fcf3f9SWarner Losh19990427:
9809fcf3f9SWarner Losh	Massive changes to SMP went into the tree that should speed
9909fcf3f9SWarner Losh	things up.  However, if you experience problems with SMP
10009fcf3f9SWarner Losh	machines, you can back off to the PRE_SMP_VMSHARE tag in the
10109fcf3f9SWarner Losh	CVS repository (or run an MP kernel).
10209fcf3f9SWarner Losh
10309fcf3f9SWarner Losh19990420:
10409fcf3f9SWarner Losh	Pccardd and the pccard bus in general seem to be broken or
10509fcf3f9SWarner Losh	most people.  Soren has patches to make it better for some,
10609fcf3f9SWarner Losh	but not all people.  Work is underway to make it better for
10709fcf3f9SWarner Losh	all people.
10809fcf3f9SWarner Losh
109ea31d04dSWarner Losh19990416:
110ea31d04dSWarner Losh	new bus changes integrated into -current.  Many problems were
111ea31d04dSWarner Losh	initially reported, but most have been fixed.  You'll need a
112ea31d04dSWarner Losh	new config and to tweak your kernel config file the way that
113ea31d04dSWarner Losh	GENERIC was tweaked.  Keep a copy of your old kernel when
114ea31d04dSWarner Losh	upgrading in case your new kernel doesn't work (and report the
115ea31d04dSWarner Losh	breakage to current@freebsd.org).
116ea31d04dSWarner Losh
117ea31d04dSWarner Losh	As of 19990421 the remaining problems/quirks are
118ea31d04dSWarner Losh
119ea31d04dSWarner Losh	o sio no longer supports pnp nor pccard.  This will be corrected,
120ea31d04dSWarner Losh	  but the new pccard code needs to be completed.
121ea31d04dSWarner Losh	o Some of the sound drivers broke for some people.  It seems
122ea31d04dSWarner Losh	  inconsistant as to who/what/when/where things broke.
123ea31d04dSWarner Losh	o Duplicate device entries in your config do not work.  Previously
124ea31d04dSWarner Losh	  they were silently ignored.  psm0 seems to be the most common
125ea31d04dSWarner Losh	  duplicate choice, although some reports have come in from people
126ea31d04dSWarner Losh	  that wired their scsi disk entries.
127ea31d04dSWarner Losh	o You must move the keyboard and mouse attachments from the
128ea31d04dSWarner Losh	  isa bus to the atkbdc bus.  See GENERIC for details.
129ea31d04dSWarner Losh	o Machines with multiple host-pci bridges (Intel 450NX) will not
130ea31d04dSWarner Losh	  probe the second pci bus.
131ea31d04dSWarner Losh	o Some probe ordering may have changed, so device naming may change
132ea31d04dSWarner Losh	  with the new kernel.  If you have multiple devices, please double
133ea31d04dSWarner Losh	  check to make sure they didn't move.  This is especially true
134ea31d04dSWarner Losh	  for cards on different buses.
135ea31d04dSWarner Losh	o The bus attachment for vga0 is always isa0 and never pci0 when
136ea31d04dSWarner Losh	  it is in fact a pci card.  It is safe to ignore this.
137ea31d04dSWarner Losh	o The format of the boot messages has changed (and is not
138ea31d04dSWarner Losh	  guaranteed to be constant for a while) so you may see this
139ea31d04dSWarner Losh	  in some shell scripts that diff dmesg from day to day as well
140ea31d04dSWarner Losh	  as scripts that parse dmesg output.
141f8c77507SWarner Losh
142d24adca8SWarner Losh19990414:
143d24adca8SWarner Losh	cc -aout sometimes has problems compiling with -g, remove -g
144d24adca8SWarner Losh	from those compilation units affected until this is corrected.
145d24adca8SWarner Losh
146d24adca8SWarner Losh	cc -aout has problems with producing some threaded libraries,
147d24adca8SWarner Losh	so make world -DWANT_AOUT is not functional at this time.
148d24adca8SWarner Losh
149ea31d04dSWarner Losh	Since make world for a.out isn't functional, you cannot do
150ea31d04dSWarner Losh	make aout-to-elf from a pre-egcs a.out system.  To work around
151ea31d04dSWarner Losh	this problem, make aout-to-elf using 3.1-stable first (or a
152ea31d04dSWarner Losh	pre egcs -current) and then a simple make world will take you
153ea31d04dSWarner Losh	the rest of the way with a -current source base.
154ea31d04dSWarner Losh
155d5ca0636SWarner Losh19990413:
156d24adca8SWarner Losh	Make -j works again for make world.  As always, use it with
157d24adca8SWarner Losh	care, and be sure to try a make world w/o -j before reporting
158d24adca8SWarner Losh	problems (that is, know if the problem exists w/o -j before
159d24adca8SWarner Losh	reporting the problem with -j).
160d24adca8SWarner Losh
161d24adca8SWarner Losh19990413:
162d24adca8SWarner Losh	Note cc -aout, which had been broken since the conversion to
163ea31d04dSWarner Losh	egcs, now supposedly works.  If you have rebuilt things like
164d24adca8SWarner Losh	XFree86 a.out libraries, you should rebuild them again or
165ea31d04dSWarner Losh	progams that use them, including netscape, will fail to work.
166d5ca0636SWarner Losh
1671f692d40SWarner Losh19990409:
1681f692d40SWarner Losh	NOTE: New c++ compiler cannot be used with c++ binaries from
1691f692d40SWarner Losh	the old compiler and vice versa.
1701f692d40SWarner Losh
1711f692d40SWarner Losh19990408:
17281725689SWarner Losh	In recent days egcs has been imported into the tree.  A number
17381725689SWarner Losh	of problems have been discussed in -current.  Here is a highlight
17481725689SWarner Losh	of a few of the more common ones.  With the exception of make
17581725689SWarner Losh	-j n, they have been claimed to have been fixed.
17681725689SWarner Losh
17781725689SWarner Losh	c++ is broken after make world: This is correct.  Because we
17881725689SWarner Losh	changed compilers two make worlds are necessary to get C++
17981725689SWarner Losh	working again.  The code generated by the old compiler and new
18081725689SWarner Losh	compiler are not compatible, so things wind up being
18181725689SWarner Losh	undefined.
18281725689SWarner Losh
18381725689SWarner Losh	cpp is broken in make world:  There was a window where cpp
18481725689SWarner Losh	would be built incorrectly.  The fix for this is
185420d4744SMasafumi Max NAKANE		cd src/gnu/usr.bin/cc
18681725689SWarner Losh		make clean
18781725689SWarner Losh		make all
18881725689SWarner Losh		make install
18981725689SWarner Losh	and this should correct your problems.  See the -current
19081725689SWarner Losh	archives for a version of this that does moer cleaning.
19181725689SWarner Losh
19281725689SWarner Losh	Make -j n doesn't work.  Work contiunes to make this work,
19381725689SWarner Losh	I've seen no reports of success as of April 7th.
19481725689SWarner Losh
195ff5e1f79SWarner Losh19990329:
196ff5e1f79SWarner Losh	Previously, one would define "NOAOUT" to keep from building
197ff5e1f79SWarner Losh	the legacy a.out bits.  Now one would define "WANT_AOUT" to
198ff5e1f79SWarner Losh	build them.
199ff5e1f79SWarner Losh
200fe9af953SWarner Losh19990316:
201fe9af953SWarner Losh	The name of the old wd.c and atapi.c based CDROM driver has
202fe9af953SWarner Losh	been changed back to wcd. So update your config file to use
203fe9af953SWarner Losh	"device wcd" instead of "device acd".
204fe9af953SWarner Losh
205fe9af953SWarner Losh19990314:
206fe9af953SWarner Losh	For those of you using the VN device as a loadable module,
207fe9af953SWarner Losh	please be aware that the new VN device has been committed to
208fe9af953SWarner Losh	-4.x and cannot yet be used as a loadable module.  This will
209fe9af953SWarner Losh	be fixed in the future.
210fe9af953SWarner Losh
211ce32355fSWarner Losh19990309:
212fe9af953SWarner Losh	New loader.rc mechanism.  Please see src/sys/boot/README for
213fe9af953SWarner Losh	details.
214ce32355fSWarner Losh
215f8c77507SWarner Losh19990225:
216f8c77507SWarner Losh	struct proc size changed.  Recompile kernel and the
217f8c77507SWarner Losh	usual suspects.  Make world if in doubt.
2181fc1a0dcSWarner Losh
2190edeb9e7SWarner Losh19990214:
2200edeb9e7SWarner Losh	The nlpt driver has changed names back to be the lpt driver.
2217dd38e55SWarner Losh	See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
2227dd38e55SWarner Losh	for proper configuration details.
2230edeb9e7SWarner Losh
2241fc1a0dcSWarner Losh19990210:
2251fc1a0dcSWarner Losh	The 'lpt' driver is now obsolete.  Replace it with the 'nlpt'
2260edeb9e7SWarner Losh	driver and 'ppbus' controller combination.
22757199806SWarner Losh
2287dd38e55SWarner Losh19990209:
2297dd38e55SWarner Losh	New devstat API requires recompilation of libdevstat, systat,
2307dd38e55SWarner Losh	iostat, vmstat and rpc.rstatd.  A new kernel is also required.
2317dd38e55SWarner Losh	make world + building a kernel should do all of this.  Any
2327dd38e55SWarner Losh	ports that use devstat need to be recompiled as well.
2337dd38e55SWarner Losh
2349a3105eeSWarner Losh19990125:
2359a3105eeSWarner Losh	Linux threads options has gone away (they are now standard in
2369a3105eeSWarner Losh	the FreeBSD kernel).  A recompile of all libkvm using programs
2379a3105eeSWarner Losh	is in order (or better yet a make world).
2389a3105eeSWarner Losh
2399a3105eeSWarner Losh19990122:
2409a3105eeSWarner Losh	On or about this date there was a small window when the boot
2419a3105eeSWarner Losh	blocks had some minor problems which seemed to force one to
2429a3105eeSWarner Losh	edit /etc/fstab.  This has been corrected, if you are seeing this
2439a3105eeSWarner Losh	problem, please rebuild and reinstall your boot blocks.
2449a3105eeSWarner Losh
2459a3105eeSWarner Losh19990121:
2468cd37f69SWarner Losh	Vinum has changed.  The "vinum read" command has changed.  For
2478cd37f69SWarner Losh	updates, please see
2483652181cSWarner Losh
2498cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
2503652181cSWarner Losh
2518cd37f69SWarner Losh	for details.
2528cd37f69SWarner Losh
2538cd37f69SWarner Losh	Matt Dillon committed a boatload of VM changes, for
2548cd37f69SWarner Losh	information please see
2553652181cSWarner Losh
2568cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current
2578cd37f69SWarner Losh	or
2588cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
2593652181cSWarner Losh
2608cd37f69SWarner Losh	for details.  These changes will likely not impact anybody,
2618cd37f69SWarner Losh	but large chagnes to the VM need at least a heads up.
2628cd37f69SWarner Losh
2638cd37f69SWarner Losh19990120:
2648cd37f69SWarner Losh	Stable branch created.  You might want to consider using this
2658cd37f69SWarner Losh	branch.  It is tagged with RELENG_3.
2668cd37f69SWarner Losh
267ad56ea87SWarner Losh19990119:
268ad56ea87SWarner Losh	More work on the syscons driver has been committed.  Since
269ad56ea87SWarner Losh	files moved around, you will need to reconfigure your kernel,
270ad56ea87SWarner Losh	and make clean; make depend before rebuilding the kernel.  No
271ad56ea87SWarner Losh	config file changes are needed.
272ad56ea87SWarner Losh
27357199806SWarner Losh19990111:
274a85c0f55SWarner Losh	New keyboard and video card drivers are introduced as the first
275a85c0f55SWarner Losh	stage of console driver reorganization.  You are required to
276a85c0f55SWarner Losh	update the kernel configuration file and rebuild the kernel.
277a85c0f55SWarner Losh	kbdcontrol, vidcontrol, and screen savers also need recompilation.
278a85c0f55SWarner Losh	The instruction can be found in
27957199806SWarner Losh
2807dafbc29SWarner Losh		http://www.freebsd.org/~yokota/sc_update.txt
28157199806SWarner Losh
282a85c0f55SWarner Losh	It has notes on splash screen too.
28357199806SWarner Losh
28457199806SWarner Losh19990106:
2859857e582SWarner Losh	Robert Nordier was kind enough to make this page to enable people to
286db23c94fSWarner Losh	install the new bootblocks:
28757199806SWarner Losh
2887dafbc29SWarner Losh		http://www.freebsd.org/~rnordier/boot.txt
28957199806SWarner Losh
2909ba54ae0SWarner Losh	When updating to ELF, make sure that you have updated your
2919ba54ae0SWarner Losh	/etc/rc files which have different ldconfig invocations for
2929ba54ae0SWarner Losh	elf and aout.  Otherwise things like X will stop working with
2939857e582SWarner Losh	messages about being unable to find library files.  The
2949857e582SWarner Losh	mergemaster utility in ports/sysutils/mergemaster helps to
2959857e582SWarner Losh	keep critical files like this in sync, and its use is
2969857e582SWarner Losh	recommended.
29757199806SWarner Losh
29857199806SWarner Losh19990104:
2992c558794SWarner Losh	Information about ELF day (see 19981230) can be found in
30057199806SWarner Losh
3017dafbc29SWarner Losh		http://www.freebsd.org/~peter/elfday.html
30257199806SWarner Losh
3032c558794SWarner Losh	about the upcoming change, its motivations and instructions
3042c558794SWarner Losh	for doing the upgrade.
30557199806SWarner Losh
30657199806SWarner Losh19981230:
307d5513f53SWarner Losh	You should install new bootblocks now.  The ELF kernel will
308e363c17bSWarner Losh	become default soon.  In addition, you'll need to upgrade
309e363c17bSWarner Losh	your userland programs to ELF before then as well.  Use
310e363c17bSWarner Losh	make aout-to-elf to upgrade your userland programs (old
311e363c17bSWarner Losh	a.out programs in, for example, /usr/local/bin will
312e363c17bSWarner Losh	continue to work, even after the upgrade).  See src/Makefile
313e363c17bSWarner Losh	for more details.
31457199806SWarner Losh
31557199806SWarner Losh19981224:
316355edc3eSWarner Losh	The old wcd driver has been deleted from the kernel.  The
317355edc3eSWarner Losh	driver that replaces it is named acd.  You'll need to change
318355edc3eSWarner Losh	this in your configuration files.
31957199806SWarner Losh
320355edc3eSWarner Losh	Failure to do this will result in "ATAPI CD-ROMs not
321355edc3eSWarner Losh	configured" at boot time.
32257199806SWarner Losh
323355edc3eSWarner Losh	The floppy tape driver (ft) has been removed from the kernel,
324355edc3eSWarner Losh	with no replacement driver.
32557199806SWarner Losh
32657199806SWarner Losh19981202:
327ab308df6SWarner Losh	New groups from 19981201 commented out of mtree, so they
328ab308df6SWarner Losh	aren't strictly needed, but still a good idea to have.
32957199806SWarner Losh
33057199806SWarner Losh19981201:
331ab308df6SWarner Losh	New user/group added: bind.  From src/etc/master.passwd and
332ab308df6SWarner Losh	src/etc/group:
333ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/group
334ab308df6SWarner Losh		bind:*:53:
335ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/master.passwd
336ab308df6SWarner Losh		tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
337ab308df6SWarner Losh		kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
338ab308df6SWarner Losh		bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
33957199806SWarner Losh
34057199806SWarner Losh19981118:
34153dfde79SWarner Losh	PAM integrated into the tree.   Requires new /etc/pam.conf file
34253dfde79SWarner Losh	to silence warnings from authentication programs (login, etc).
34353dfde79SWarner Losh	See src/etc/pam.conf for a sample.
34457199806SWarner Losh
3451fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major
3461fc1a0dcSWarner Loshbreakages in tracking -current.  Not all things will be listed here,
3471fc1a0dcSWarner Loshand it only starts on Novemeber 18, 1998.  If you have an earlier
3481fc1a0dcSWarner Loshversion of FreeBSD, you are on your own to get to November 18, 1998.
3491fc1a0dcSWarner Losh
350f8c77507SWarner LoshPlease filter your entries through Warner (imp@village.org) so that
351f8c77507SWarner Loshthe style, formatting, etc of this file can be maintained.
352f8c77507SWarner Losh
35397d92980SPeter Wemm$FreeBSD$
354