xref: /freebsd/UPDATING (revision 7eedd934c97b0527faf852a99fd921b7507e83b2)
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
67eedd934SWarner Losh19990801:
77eedd934SWarner Losh	Changes to the pccardd kernel interface require that you recompile
87eedd934SWarner Losh	pccardd for new kernel.
97eedd934SWarner Losh
10e5bd655aSWarner Losh19990704:
11e5bd655aSWarner Losh	src/contrib/sys/softupdates is moving to
1295d18cfcSWarner Losh	src/sys/contrib/softupdates.  Update your symbolic links/etc.
13e5bd655aSWarner Losh
14e5bd655aSWarner Losh19990702:
15e5bd655aSWarner Losh	Major changes have been made to vinum and its interface.  See
16e5bd655aSWarner Losh	the man page (vinum(8)) for details.  Look at the concat,
17e5bd655aSWarner Losh	mirror and stripe commands, as well as the SIMPLIFIED
18e5bd655aSWarner Losh	CONFIGURATION section.
19e5bd655aSWarner Losh
20e5bd655aSWarner Losh19990628:
21e5bd655aSWarner Losh	Newsyslog.conf has had a minor, but potentially dangerous,
22e5bd655aSWarner Losh	change to its username/group syntax.  The old syntax was
23e5bd655aSWarner Losh	user.group, while the new syntax is user:group.
24e5bd655aSWarner Losh
25e5bd655aSWarner Losh19990627:
26e5bd655aSWarner Losh	Inetd wrapping default has changed.  Please see the updated
27e5bd655aSWarner Losh	man page for details.
28e5bd655aSWarner Losh
29ed478e7cSWarner Losh19990623:
30ed478e7cSWarner Losh	Compaq Smart Raid driver committed as ida.
31ed478e7cSWarner Losh
32075eeff2SWarner Losh19990622:
33075eeff2SWarner Losh	The second phase of syscons cleanup has happened.  Some
34075eeff2SWarner Losh	functionality has been made optional.  For details, see
35075eeff2SWarner Losh        http://www.freebsd.org/~yokota/sc_update-June.txt
366ae429caSWarner Losh	Everyone will need to re-config(8) their kernels, but old
376ae429caSWarner Losh	binaries will work with the new kernel.
38075eeff2SWarner Losh
39a883e9d3SWarner Losh19990620:
40a883e9d3SWarner Losh	IPFW uid/gid-based filtering support has been committed. This
41a883e9d3SWarner Losh	breaks binary compatibility with previous copies of
42a883e9d3SWarner Losh	ipfw(8). Any utilities using the ioctl()s of ipfw (especially
43a883e9d3SWarner Losh	ipfw(8)) need to be recompiled with the newest headers
44a883e9d3SWarner Losh	installed.
45a883e9d3SWarner Losh
46a883e9d3SWarner Losh19990618:
47a883e9d3SWarner Losh	Inetd now wraps all stream-based services, including internals.
48a883e9d3SWarner Losh	Syslog "severity" options are honoured. Installed syslog.conf
49a883e9d3SWarner Losh	and hosts.allow should be checked.
50a883e9d3SWarner Losh
5107b72539SWarner Losh19990509:
5207b72539SWarner Losh	Most of the problems with newbus have been corrected, but
5307b72539SWarner Losh	it is still current and evolving.
5407b72539SWarner Losh
5507b72539SWarner Losh	libcam's ABI has changed.  You must recompile the world and
5607b72539SWarner Losh	any ports that use it.
5707b72539SWarner Losh
5809fcf3f9SWarner Losh19990427:
5909fcf3f9SWarner Losh	Massive changes to SMP went into the tree that should speed
6009fcf3f9SWarner Losh	things up.  However, if you experience problems with SMP
6109fcf3f9SWarner Losh	machines, you can back off to the PRE_SMP_VMSHARE tag in the
6209fcf3f9SWarner Losh	CVS repository (or run an MP kernel).
6309fcf3f9SWarner Losh
6409fcf3f9SWarner Losh19990420:
6509fcf3f9SWarner Losh	Pccardd and the pccard bus in general seem to be broken or
6609fcf3f9SWarner Losh	most people.  Soren has patches to make it better for some,
6709fcf3f9SWarner Losh	but not all people.  Work is underway to make it better for
6809fcf3f9SWarner Losh	all people.
6909fcf3f9SWarner Losh
70ea31d04dSWarner Losh19990416:
71ea31d04dSWarner Losh	new bus changes integrated into -current.  Many problems were
72ea31d04dSWarner Losh	initially reported, but most have been fixed.  You'll need a
73ea31d04dSWarner Losh	new config and to tweak your kernel config file the way that
74ea31d04dSWarner Losh	GENERIC was tweaked.  Keep a copy of your old kernel when
75ea31d04dSWarner Losh	upgrading in case your new kernel doesn't work (and report the
76ea31d04dSWarner Losh	breakage to current@freebsd.org).
77ea31d04dSWarner Losh
78ea31d04dSWarner Losh	As of 19990421 the remaining problems/quirks are
79ea31d04dSWarner Losh
80ea31d04dSWarner Losh	o sio no longer supports pnp nor pccard.  This will be corrected,
81ea31d04dSWarner Losh	  but the new pccard code needs to be completed.
82ea31d04dSWarner Losh	o Some of the sound drivers broke for some people.  It seems
83ea31d04dSWarner Losh	  inconsistant as to who/what/when/where things broke.
84ea31d04dSWarner Losh	o Duplicate device entries in your config do not work.  Previously
85ea31d04dSWarner Losh	  they were silently ignored.  psm0 seems to be the most common
86ea31d04dSWarner Losh	  duplicate choice, although some reports have come in from people
87ea31d04dSWarner Losh	  that wired their scsi disk entries.
88ea31d04dSWarner Losh	o You must move the keyboard and mouse attachments from the
89ea31d04dSWarner Losh	  isa bus to the atkbdc bus.  See GENERIC for details.
90ea31d04dSWarner Losh	o Machines with multiple host-pci bridges (Intel 450NX) will not
91ea31d04dSWarner Losh	  probe the second pci bus.
92ea31d04dSWarner Losh	o Some probe ordering may have changed, so device naming may change
93ea31d04dSWarner Losh	  with the new kernel.  If you have multiple devices, please double
94ea31d04dSWarner Losh	  check to make sure they didn't move.  This is especially true
95ea31d04dSWarner Losh	  for cards on different buses.
96ea31d04dSWarner Losh	o The bus attachment for vga0 is always isa0 and never pci0 when
97ea31d04dSWarner Losh	  it is in fact a pci card.  It is safe to ignore this.
98ea31d04dSWarner Losh	o The format of the boot messages has changed (and is not
99ea31d04dSWarner Losh	  guaranteed to be constant for a while) so you may see this
100ea31d04dSWarner Losh	  in some shell scripts that diff dmesg from day to day as well
101ea31d04dSWarner Losh	  as scripts that parse dmesg output.
102f8c77507SWarner Losh
103d24adca8SWarner Losh19990414:
104d24adca8SWarner Losh	cc -aout sometimes has problems compiling with -g, remove -g
105d24adca8SWarner Losh	from those compilation units affected until this is corrected.
106d24adca8SWarner Losh
107d24adca8SWarner Losh	cc -aout has problems with producing some threaded libraries,
108d24adca8SWarner Losh	so make world -DWANT_AOUT is not functional at this time.
109d24adca8SWarner Losh
110ea31d04dSWarner Losh	Since make world for a.out isn't functional, you cannot do
111ea31d04dSWarner Losh	make aout-to-elf from a pre-egcs a.out system.  To work around
112ea31d04dSWarner Losh	this problem, make aout-to-elf using 3.1-stable first (or a
113ea31d04dSWarner Losh	pre egcs -current) and then a simple make world will take you
114ea31d04dSWarner Losh	the rest of the way with a -current source base.
115ea31d04dSWarner Losh
116d5ca0636SWarner Losh19990413:
117d24adca8SWarner Losh	Make -j works again for make world.  As always, use it with
118d24adca8SWarner Losh	care, and be sure to try a make world w/o -j before reporting
119d24adca8SWarner Losh	problems (that is, know if the problem exists w/o -j before
120d24adca8SWarner Losh	reporting the problem with -j).
121d24adca8SWarner Losh
122d24adca8SWarner Losh19990413:
123d24adca8SWarner Losh	Note cc -aout, which had been broken since the conversion to
124ea31d04dSWarner Losh	egcs, now supposedly works.  If you have rebuilt things like
125d24adca8SWarner Losh	XFree86 a.out libraries, you should rebuild them again or
126ea31d04dSWarner Losh	progams that use them, including netscape, will fail to work.
127d5ca0636SWarner Losh
1281f692d40SWarner Losh19990409:
1291f692d40SWarner Losh	NOTE: New c++ compiler cannot be used with c++ binaries from
1301f692d40SWarner Losh	the old compiler and vice versa.
1311f692d40SWarner Losh
1321f692d40SWarner Losh19990408:
13381725689SWarner Losh	In recent days egcs has been imported into the tree.  A number
13481725689SWarner Losh	of problems have been discussed in -current.  Here is a highlight
13581725689SWarner Losh	of a few of the more common ones.  With the exception of make
13681725689SWarner Losh	-j n, they have been claimed to have been fixed.
13781725689SWarner Losh
13881725689SWarner Losh	c++ is broken after make world: This is correct.  Because we
13981725689SWarner Losh	changed compilers two make worlds are necessary to get C++
14081725689SWarner Losh	working again.  The code generated by the old compiler and new
14181725689SWarner Losh	compiler are not compatible, so things wind up being
14281725689SWarner Losh	undefined.
14381725689SWarner Losh
14481725689SWarner Losh	cpp is broken in make world:  There was a window where cpp
14581725689SWarner Losh	would be built incorrectly.  The fix for this is
146420d4744SMasafumi Max NAKANE		cd src/gnu/usr.bin/cc
14781725689SWarner Losh		make clean
14881725689SWarner Losh		make all
14981725689SWarner Losh		make install
15081725689SWarner Losh	and this should correct your problems.  See the -current
15181725689SWarner Losh	archives for a version of this that does moer cleaning.
15281725689SWarner Losh
15381725689SWarner Losh	Make -j n doesn't work.  Work contiunes to make this work,
15481725689SWarner Losh	I've seen no reports of success as of April 7th.
15581725689SWarner Losh
156ff5e1f79SWarner Losh19990329:
157ff5e1f79SWarner Losh	Previously, one would define "NOAOUT" to keep from building
158ff5e1f79SWarner Losh	the legacy a.out bits.  Now one would define "WANT_AOUT" to
159ff5e1f79SWarner Losh	build them.
160ff5e1f79SWarner Losh
161fe9af953SWarner Losh19990316:
162fe9af953SWarner Losh	The name of the old wd.c and atapi.c based CDROM driver has
163fe9af953SWarner Losh	been changed back to wcd. So update your config file to use
164fe9af953SWarner Losh	"device wcd" instead of "device acd".
165fe9af953SWarner Losh
166fe9af953SWarner Losh19990314:
167fe9af953SWarner Losh	For those of you using the VN device as a loadable module,
168fe9af953SWarner Losh	please be aware that the new VN device has been committed to
169fe9af953SWarner Losh	-4.x and cannot yet be used as a loadable module.  This will
170fe9af953SWarner Losh	be fixed in the future.
171fe9af953SWarner Losh
172ce32355fSWarner Losh19990309:
173fe9af953SWarner Losh	New loader.rc mechanism.  Please see src/sys/boot/README for
174fe9af953SWarner Losh	details.
175ce32355fSWarner Losh
176f8c77507SWarner Losh19990225:
177f8c77507SWarner Losh	struct proc size changed.  Recompile kernel and the
178f8c77507SWarner Losh	usual suspects.  Make world if in doubt.
1791fc1a0dcSWarner Losh
1800edeb9e7SWarner Losh19990214:
1810edeb9e7SWarner Losh	The nlpt driver has changed names back to be the lpt driver.
1827dd38e55SWarner Losh	See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
1837dd38e55SWarner Losh	for proper configuration details.
1840edeb9e7SWarner Losh
1851fc1a0dcSWarner Losh19990210:
1861fc1a0dcSWarner Losh	The 'lpt' driver is now obsolete.  Replace it with the 'nlpt'
1870edeb9e7SWarner Losh	driver and 'ppbus' controller combination.
18857199806SWarner Losh
1897dd38e55SWarner Losh19990209:
1907dd38e55SWarner Losh	New devstat API requires recompilation of libdevstat, systat,
1917dd38e55SWarner Losh	iostat, vmstat and rpc.rstatd.  A new kernel is also required.
1927dd38e55SWarner Losh	make world + building a kernel should do all of this.  Any
1937dd38e55SWarner Losh	ports that use devstat need to be recompiled as well.
1947dd38e55SWarner Losh
1959a3105eeSWarner Losh19990125:
1969a3105eeSWarner Losh	Linux threads options has gone away (they are now standard in
1979a3105eeSWarner Losh	the FreeBSD kernel).  A recompile of all libkvm using programs
1989a3105eeSWarner Losh	is in order (or better yet a make world).
1999a3105eeSWarner Losh
2009a3105eeSWarner Losh19990122:
2019a3105eeSWarner Losh	On or about this date there was a small window when the boot
2029a3105eeSWarner Losh	blocks had some minor problems which seemed to force one to
2039a3105eeSWarner Losh	edit /etc/fstab.  This has been corrected, if you are seeing this
2049a3105eeSWarner Losh	problem, please rebuild and reinstall your boot blocks.
2059a3105eeSWarner Losh
2069a3105eeSWarner Losh19990121:
2078cd37f69SWarner Losh	Vinum has changed.  The "vinum read" command has changed.  For
2088cd37f69SWarner Losh	updates, please see
2093652181cSWarner Losh
2108cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
2113652181cSWarner Losh
2128cd37f69SWarner Losh	for details.
2138cd37f69SWarner Losh
2148cd37f69SWarner Losh	Matt Dillon committed a boatload of VM changes, for
2158cd37f69SWarner Losh	information please see
2163652181cSWarner Losh
2178cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current
2188cd37f69SWarner Losh	or
2198cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
2203652181cSWarner Losh
2218cd37f69SWarner Losh	for details.  These changes will likely not impact anybody,
2228cd37f69SWarner Losh	but large chagnes to the VM need at least a heads up.
2238cd37f69SWarner Losh
2248cd37f69SWarner Losh19990120:
2258cd37f69SWarner Losh	Stable branch created.  You might want to consider using this
2268cd37f69SWarner Losh	branch.  It is tagged with RELENG_3.
2278cd37f69SWarner Losh
228ad56ea87SWarner Losh19990119:
229ad56ea87SWarner Losh	More work on the syscons driver has been committed.  Since
230ad56ea87SWarner Losh	files moved around, you will need to reconfigure your kernel,
231ad56ea87SWarner Losh	and make clean; make depend before rebuilding the kernel.  No
232ad56ea87SWarner Losh	config file changes are needed.
233ad56ea87SWarner Losh
23457199806SWarner Losh19990111:
235a85c0f55SWarner Losh	New keyboard and video card drivers are introduced as the first
236a85c0f55SWarner Losh	stage of console driver reorganization.  You are required to
237a85c0f55SWarner Losh	update the kernel configuration file and rebuild the kernel.
238a85c0f55SWarner Losh	kbdcontrol, vidcontrol, and screen savers also need recompilation.
239a85c0f55SWarner Losh	The instruction can be found in
24057199806SWarner Losh
2417dafbc29SWarner Losh		http://www.freebsd.org/~yokota/sc_update.txt
24257199806SWarner Losh
243a85c0f55SWarner Losh	It has notes on splash screen too.
24457199806SWarner Losh
24557199806SWarner Losh19990106:
2469857e582SWarner Losh	Robert Nordier was kind enough to make this page to enable people to
247db23c94fSWarner Losh	install the new bootblocks:
24857199806SWarner Losh
2497dafbc29SWarner Losh		http://www.freebsd.org/~rnordier/boot.txt
25057199806SWarner Losh
2519ba54ae0SWarner Losh	When updating to ELF, make sure that you have updated your
2529ba54ae0SWarner Losh	/etc/rc files which have different ldconfig invocations for
2539ba54ae0SWarner Losh	elf and aout.  Otherwise things like X will stop working with
2549857e582SWarner Losh	messages about being unable to find library files.  The
2559857e582SWarner Losh	mergemaster utility in ports/sysutils/mergemaster helps to
2569857e582SWarner Losh	keep critical files like this in sync, and its use is
2579857e582SWarner Losh	recommended.
25857199806SWarner Losh
25957199806SWarner Losh19990104:
2602c558794SWarner Losh	Information about ELF day (see 19981230) can be found in
26157199806SWarner Losh
2627dafbc29SWarner Losh		http://www.freebsd.org/~peter/elfday.html
26357199806SWarner Losh
2642c558794SWarner Losh	about the upcoming change, its motivations and instructions
2652c558794SWarner Losh	for doing the upgrade.
26657199806SWarner Losh
26757199806SWarner Losh19981230:
268d5513f53SWarner Losh	You should install new bootblocks now.  The ELF kernel will
269e363c17bSWarner Losh	become default soon.  In addition, you'll need to upgrade
270e363c17bSWarner Losh	your userland programs to ELF before then as well.  Use
271e363c17bSWarner Losh	make aout-to-elf to upgrade your userland programs (old
272e363c17bSWarner Losh	a.out programs in, for example, /usr/local/bin will
273e363c17bSWarner Losh	continue to work, even after the upgrade).  See src/Makefile
274e363c17bSWarner Losh	for more details.
27557199806SWarner Losh
27657199806SWarner Losh19981224:
277355edc3eSWarner Losh	The old wcd driver has been deleted from the kernel.  The
278355edc3eSWarner Losh	driver that replaces it is named acd.  You'll need to change
279355edc3eSWarner Losh	this in your configuration files.
28057199806SWarner Losh
281355edc3eSWarner Losh	Failure to do this will result in "ATAPI CD-ROMs not
282355edc3eSWarner Losh	configured" at boot time.
28357199806SWarner Losh
284355edc3eSWarner Losh	The floppy tape driver (ft) has been removed from the kernel,
285355edc3eSWarner Losh	with no replacement driver.
28657199806SWarner Losh
28757199806SWarner Losh19981202:
288ab308df6SWarner Losh	New groups from 19981201 commented out of mtree, so they
289ab308df6SWarner Losh	aren't strictly needed, but still a good idea to have.
29057199806SWarner Losh
29157199806SWarner Losh19981201:
292ab308df6SWarner Losh	New user/group added: bind.  From src/etc/master.passwd and
293ab308df6SWarner Losh	src/etc/group:
294ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/group
295ab308df6SWarner Losh		bind:*:53:
296ab308df6SWarner Losh		% grep <newstuff> /usr/src/etc/master.passwd
297ab308df6SWarner Losh		tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
298ab308df6SWarner Losh		kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
299ab308df6SWarner Losh		bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
30057199806SWarner Losh
30157199806SWarner Losh19981118:
30253dfde79SWarner Losh	PAM integrated into the tree.   Requires new /etc/pam.conf file
30353dfde79SWarner Losh	to silence warnings from authentication programs (login, etc).
30453dfde79SWarner Losh	See src/etc/pam.conf for a sample.
30557199806SWarner Losh
3061fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major
3071fc1a0dcSWarner Loshbreakages in tracking -current.  Not all things will be listed here,
3081fc1a0dcSWarner Loshand it only starts on Novemeber 18, 1998.  If you have an earlier
3091fc1a0dcSWarner Loshversion of FreeBSD, you are on your own to get to November 18, 1998.
3101fc1a0dcSWarner Losh
311f8c77507SWarner LoshPlease filter your entries through Warner (imp@village.org) so that
312f8c77507SWarner Loshthe style, formatting, etc of this file can be maintained.
313f8c77507SWarner Losh
3147eedd934SWarner Losh$Id: UPDATING,v 1.38 1999/07/07 04:28:48 imp Exp $
315