UPDATING revision 56914
1Updating Information for FreeBSD current users
2
3This file is maintained by imp@village.org.  Please send new entries
4directly to him.  See end of file for further details.  For commonly
5done items, please see the end of the file.  Search for COMMON ITEMS:
6
720000129:
8	{set,get}flags have been added to the tree for rather dubious
9	reasons.  An unintended side effect of this is that you must
10	rebuild install before the rest of the world.
11
12		cd src/usr.bin/xinstall
13		make depend all install clean
14
15	before make world or buildworld.  This issue may be resolved
16	before 4.0 goes out.
17
1820000124:
19	The default way that virtual tables in our default C++
20	compiler has changed.  We used to use THUNKS for virtual
21	inheritance.  Unfortunately there are bugs that The GCC
22	developers thought would be fixed in GCC 2.95.  However it
23	isn't.
24
25	After this change existing applications written in C++ may
26	give errors like below when you try to run them:
27
28/usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__vt_7filebuf"
29
30	The only fix is to rebuild the application and any C++
31	libraries used.
32
3320000124:
34	The management of next_writeable has been move from the
35	kernel to userspace. This means that the burncd command
36	must be in sync with the kernel. So make world is your
37	friend.
38
3920000117:
40	GNU texinfo upgraded to 4.0.  It is recommended that you use
41	make buildworld to update.
42
4320000117:
44	CAM_VERSION has been increased.  Recompile all programs that
45	depend on it (tosha, camcontrol, etc) when moving to kernels
46	past this date.
47
4820000115:
49	pccard ioctls changed with a commit to have the kernel tell
50	pccardd which device it created, rather than having pccardd
51	dictate it to the kernel.  Recompile kernel and
52	pccardd/pccardc together.  pccardd/pccardc rely on a kernel
53	Makefile that must be installed prior to building them.  Make
54	world will automatically take care of this issue, but you need
55	to know if you are building by hand.
56
5720000109:
58	Your kernel config files need to be changed to s/controller/device/
59	in them.  You will need a new version of config to do this.
60
6120000107:
62	chown & chgrp moved again
63
64	This is a heads up to let you know that you need to 
65		    rm -f /sbin/chown /bin/chgrp
66	after your next `make world'.  Additionally you need to install
67	a new /dev/MAKEDEV (mergemaster(8) will assist you in this).
68
6920000107:
70	SHA-1 password support gone
71
72	As warned yesterday, I've just removed the ability for
73	libcrypt to understand SHA-1 passwords. This was present but
74	undocumented in the tree for the past few months and was
75	removed so it can be reimplemented properly as part of a
76	revamped libcrypt at a later date. Anyone who was actually
77	making use of the feature will have to update their passwords
78	back to MD5 before they reinstall the library.
79
8020000106:
81	ioctl numbers changed for dvdio ioctls.  You will need to recompile
82	anything that uses them.  wormcontrol has been deprecated in
83	favor of burncd.
84
8519991223:
86	Building linux and svr4 compatibility into the kernel now
87	requires /usr/bin/genassym.  Go to /usr/src/usr.bin/genassym,
88	do "make obj ; make clean depend all install" before building
89	your kernel.
90
9119991218:
92	sendmail.cf has moved from /etc/sendmail.cf to
93	/etc/mail/sendmail.cf.  You may need to adjust /etc/rc.conf
94	and /etc/rc to cope as well as moving sendmail.cf.
95
9619991216:
97	ntp 4.0.98 has replaced the ancient xntpd.  The daemon name
98	changed from xntpd to ntpd, so you may need to update your
99	/etc/rc.conf file.  The ntp.conf files are compatible with the
100	old release, unless you are using a local reference clock.
101	Details about ntp4 can be found at http://www.ntp.org/.
102
103	xntpd will be cvs removed from the repo in about a week.
104
10519991213:
106	Soren updated the ata driver.  Please update to at least this
107	version before submitting bug reports.
108
10919991210:
110	The ata driver has become the primary ata/ide/atapi driver in
111	the kernel.  The wd driver is obsolete.  You should upgrade your
112	machine to the new ata driver.  You will need to follow the
113	directions for updating the devices in the 19991205 entry.  You
114	will need to update all occurances of wd to ad in your config files
115	(/etc/rc.conf, /etc/fstab, etc).  A compatibility device exists
116	for wd for the time being, but once you have determined that
117	ata is working for you, transition to the new ad devices.
118
11919991205:
120	Block devices are going away.  You will need to update your /dev
121	tree with a fresh copy of MAKEDEV for things to always work in 
122	the future.  fsck is unable to cope with dirty file systems
123	after this change, so it may work for you or it may not.
124
125	MAKEDEV should be copied from src/etc/MAKEDEV to /dev before
126	starting the following:
127
128		For N in the list of disks
129			MAKEDEV N			# eg ad0
130			for M in the list of slices
131				MAKEDEV NsMa		# eg ad0s1a
132
133	*** All uses of block devices must be converted to char devices.
134	*** Likely the only thing impacted is dumpdev in /etc/rc.conf
135
13619991204:
137	The dc interface has replaced al, ax, dm, pn and mx.  The former
138	have been removed.
139
14019991204:
141	Support for the old 'sd' device names has been removed in
142	favor of 'da'.  Please update your /etc/fstab, /etc/rc.conf
143	and any other places you might have sd names cached.
144	Generally these changes are as simple as s=/dev/sd=/dev/da=g,
145	but be careful to make sure that things are really that
146	simple.  You may also need to create /dev entries for the da
147	devices as well.
148
149	MAKEDEV should be copied from src/etc/MAKEDEV to /dev before
150	starting the following:
151
152		For N in the list of da disks on your system
153			MAKEDEV daN
154			for M in the list of slices
155				MAKEDEV daNsMa
15619991203:
157	BAD144 support has been removed.  Cope or replace the hardware.
158
15919991129:
160	ALPHA users take note.  All klds will need to be recompiled for
161	kernels build after this date.  It is a good time to update since
162	pal.s will be going away soon.
163
16419991126:
165	MFS_ROOT and MFS_ROOT_SIZE are gone, replaced by MD_ROOT and
166	MD_ROOT_SIZE options in the md driver.  md driver now deals with
167	the hacks.  You should add md driver to kerneles that have
168	MFS_ROOT, et al.  See GENERIC or LINT for details.
169
17019991125:
171	The ep changed a while ago and can no longer be used with hard
172	wired addresses in the config file.
173
17419991122:
175	The bridge drivers for sound cards have been committed.  Please
176	see LINT for instructions for your card, if it still works at
177	all.
178
17919991113:
180	Gcc 2.95.2 is now the default compiler.
181
18219991030:
183	/etc/radius.conf file format has changed.The format change is
184	as follows.  Each server line in the file should now begin
185	with a new field containing either "auth" for RADIUS
186	authentication, or "acct" for RADIUS accounting.  Formerly
187	only authentication was supported.  If the first field isn't
188	"auth" or "acct" then the code assumes that "auth" is
189	intended.  (That's the compatibility hack.)
190
19119991015:
192	PCCARD has been updated to attach pcic to the isa bus.  Therefore
193	you will need to modify kernel config files that have pcic/card
194	in them as follows:
195		controller	pcic0	at isa?
196		controller	pcic1	at isa?
197		controller	card0
198
19919990929:
200	The sigset_t datatype has been changed from an integral type
201	to a compound type and can hold 128 signals. Syscalls directly
202	or indirectly using the new sigset_t have been added as to
203	maintain compatibility with existing binaries. A new kernel must
204	be made and installed and booted with before a make world can
205	be done.
206
20719990919:
208	New jail syscall format requires recompilation of jail(8) with
209	fresh headers installed (or a make world will do it for you).
210
21119990914:
212	Matt Dillon checked in many vm related things and sent a heads up
213	to -current urging caution and to report vm problems to him.
214	As of the 19th, no killer problems have been reported, but you
215	have been warned.
216
21719990908:
218	The new miibus has been added to the system.  If you are using
219	the dm, rl, sf, sis, ste, tl, wb or xl drivers, you need to
220	add "controller miibus0" to your config file.
221
22219990905:
223	/var/cron/log has been moved to /var/log/cron to get all the
224	log files in one place.
225
22619990831:
227	tn3270 has been removed from the base system and added as a port.
228
22919990830:
230	User-visible TCP timers are now expressed in units of 1ms, instead
231	of 500ms, so if you've customized any timer values under
232	``net.inet.tcp'', multiply them by 500 to preserve TCP's behavior.
233
23419990828:
235	RCS Id tags changed to FreeBSD.  This will cause huge cvsup
236	updates.
237
23819990821:
239	On 28-May-1999 libreadline was upgraded from readline-2.2 to
240	readline-4.0.  At that time the shared library major version
241	number was bumped from "3" to "4".  It has been deemed that
242	the interface change between readline-2.2 and readline-4.0 was
243	not sufficient to warrant the version number bump.
244
245	Thus I have reverted it back to "3".  You will need to perform
246	the below immediately before your next ``make world'':
247	    cd /usr/lib
248	    ls -l libreadline.so.4
249	        (if you have /usr/lib/libreadline.so.4)
250	    mv libreadline.so.4 libreadline.so.3
251	    rm -f libreadline.so
252	    ln -s libreadline.so.3 libreadline.so
253
25419990801:
255	Changes to the pccardd kernel interface require that you recompile
256	pccardd for new kernel.
257
25819980725:
259	The ipfw interface to the kernel has changed.  You will need to
260	recompile ipfw programs for the new kernel.
261
26219990715:
263	The bpfilter device has been renamed to bpf.  You will need to 
264	change your config files in order to enable this in newer kernels.
265
26619990704:
267	src/contrib/sys/softupdates is moving to
268	src/sys/contrib/softupdates.  Update your symbolic links/etc.
269
27019990702:
271	Major changes have been made to vinum and its interface.  See
272	the man page (vinum(8)) for details.  Look at the concat,
273	mirror and stripe commands, as well as the SIMPLIFIED
274	CONFIGURATION section.
275
27619990628:
277	Newsyslog.conf has had a minor, but potentially dangerous,
278	change to its username/group syntax.  The old syntax was
279	user.group, while the new syntax is user:group.
280
28119990627:
282	Inetd wrapping default has changed.  Please see the updated
283	man page for details.
284
28519990623:
286	Compaq Smart Raid driver committed as ida.
287
28819990622:
289	The second phase of syscons cleanup has happened.  Some
290	functionality has been made optional.  For details, see
291        http://www.freebsd.org/~yokota/sc_update-June.txt
292	Everyone will need to re-config(8) their kernels, but old
293	binaries will work with the new kernel.
294
29519990620:
296	IPFW uid/gid-based filtering support has been committed. This
297	breaks binary compatibility with previous copies of
298	ipfw(8). Any utilities using the ioctl()s of ipfw (especially
299	ipfw(8)) need to be recompiled with the newest headers
300	installed.
301
30219990618:
303	Inetd now wraps all stream-based services, including internals.
304	Syslog "severity" options are honoured. Installed syslog.conf
305	and hosts.allow should be checked.
306
30719990509:
308	Most of the problems with newbus have been corrected, but
309	it is still current and evolving.
310
311	libcam's ABI has changed.  You must recompile the world and
312	any ports that use it.
313
31419990427:
315	Massive changes to SMP went into the tree that should speed
316	things up.  However, if you experience problems with SMP 
317	machines, you can back off to the PRE_SMP_VMSHARE tag in the
318	CVS repository (or run an MP kernel).
319
32019990420:
321	Pccardd and the pccard bus in general seem to be broken or
322	most people.  Soren has patches to make it better for some,
323	but not all people.  Work is underway to make it better for
324	all people.
325
32619990416:
327	new bus changes integrated into -current.  Many problems were
328	initially reported, but most have been fixed.  You'll need a
329	new config and to tweak your kernel config file the way that
330	GENERIC was tweaked.  Keep a copy of your old kernel when
331	upgrading in case your new kernel doesn't work (and report the
332	breakage to current@freebsd.org).
333
334	As of 19990421 the remaining problems/quirks are
335
336	o sio no longer supports pnp nor pccard.  This will be corrected,
337	  but the new pccard code needs to be completed.
338	o Some of the sound drivers broke for some people.  It seems
339	  inconsistant as to who/what/when/where things broke.
340	o Duplicate device entries in your config do not work.  Previously
341	  they were silently ignored.  psm0 seems to be the most common
342	  duplicate choice, although some reports have come in from people
343	  that wired their scsi disk entries.
344	o You must move the keyboard and mouse attachments from the
345	  isa bus to the atkbdc bus.  See GENERIC for details.
346	o Machines with multiple host-pci bridges (Intel 450NX) will not
347	  probe the second pci bus.
348	o Some probe ordering may have changed, so device naming may change
349	  with the new kernel.  If you have multiple devices, please double
350	  check to make sure they didn't move.  This is especially true
351	  for cards on different buses.
352	o The bus attachment for vga0 is always isa0 and never pci0 when
353	  it is in fact a pci card.  It is safe to ignore this.
354	o The format of the boot messages has changed (and is not
355	  guaranteed to be constant for a while) so you may see this
356	  in some shell scripts that diff dmesg from day to day as well
357	  as scripts that parse dmesg output.
358
35919990414:
360	cc -aout sometimes has problems compiling with -g, remove -g
361	from those compilation units affected until this is corrected.
362
363	cc -aout has problems with producing some threaded libraries,
364	so make world -DWANT_AOUT is not functional at this time.
365
366	Since make world for a.out isn't functional, you cannot do
367	make aout-to-elf from a pre-egcs a.out system.  To work around
368	this problem, make aout-to-elf using 3.1-stable first (or a
369	pre egcs -current) and then a simple make world will take you
370	the rest of the way with a -current source base.
371
37219990413:
373	Make -j works again for make world.  As always, use it with
374	care, and be sure to try a make world w/o -j before reporting
375	problems (that is, know if the problem exists w/o -j before
376	reporting the problem with -j).
377
37819990413:
379	Note cc -aout, which had been broken since the conversion to
380	egcs, now supposedly works.  If you have rebuilt things like
381	XFree86 a.out libraries, you should rebuild them again or
382	progams that use them, including netscape, will fail to work.
383
38419990409:
385	NOTE: New c++ compiler cannot be used with c++ binaries from
386	the old compiler and vice versa.
387
38819990408:
389	In recent days egcs has been imported into the tree.  A number
390	of problems have been discussed in -current.  Here is a highlight
391	of a few of the more common ones.  With the exception of make
392	-j n, they have been claimed to have been fixed.
393
394	c++ is broken after make world: This is correct.  Because we
395	changed compilers two make worlds are necessary to get C++
396	working again.  The code generated by the old compiler and new
397	compiler are not compatible, so things wind up being
398	undefined.
399
400	cpp is broken in make world:  There was a window where cpp
401	would be built incorrectly.  The fix for this is
402		cd src/gnu/usr.bin/cc
403		make clean
404		make all
405		make install
406	and this should correct your problems.  See the -current
407	archives for a version of this that does moer cleaning.
408
409	Make -j n doesn't work.  Work contiunes to make this work,
410	I've seen no reports of success as of April 7th.
411
41219990329:
413	Previously, one would define "NOAOUT" to keep from building
414	the legacy a.out bits.  Now one would define "WANT_AOUT" to
415	build them.
416
41719990316:
418	The name of the old wd.c and atapi.c based CDROM driver has
419	been changed back to wcd. So update your config file to use
420	"device wcd" instead of "device acd".
421
42219990314:
423	For those of you using the VN device as a loadable module,
424	please be aware that the new VN device has been committed to
425	-4.x and cannot yet be used as a loadable module.  This will
426	be fixed in the future.
427	
42819990309:
429	New loader.rc mechanism.  Please see src/sys/boot/README for
430	details.
431
43219990225:
433	struct proc size changed.  Recompile kernel and the
434	usual suspects.  Make world if in doubt.
435
43619990214:
437	The nlpt driver has changed names back to be the lpt driver.
438	See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
439	for proper configuration details.
440
44119990210:
442	The 'lpt' driver is now obsolete.  Replace it with the 'nlpt'
443	driver and 'ppbus' controller combination.
444
44519990209:
446	New devstat API requires recompilation of libdevstat, systat,
447	iostat, vmstat and rpc.rstatd.  A new kernel is also required.
448	make world + building a kernel should do all of this.  Any
449	ports that use devstat need to be recompiled as well.
450
45119990125:
452	Linux threads options has gone away (they are now standard in
453	the FreeBSD kernel).  A recompile of all libkvm using programs
454	is in order (or better yet a make world).
455
45619990122:
457	On or about this date there was a small window when the boot
458	blocks had some minor problems which seemed to force one to
459	edit /etc/fstab.  This has been corrected, if you are seeing this
460	problem, please rebuild and reinstall your boot blocks.
461
46219990121:
463	Vinum has changed.  The "vinum read" command has changed.  For
464	updates, please see
465
466http://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
467
468	for details.  
469
470	Matt Dillon committed a boatload of VM changes, for
471	information please see
472
473http://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current
474	or
475http://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
476
477	for details.  These changes will likely not impact anybody,
478	but large chagnes to the VM need at least a heads up.
479
48019990120:
481	Stable branch created.  You might want to consider using this
482	branch.  It is tagged with RELENG_3.
483
48419990119:
485	More work on the syscons driver has been committed.  Since
486	files moved around, you will need to reconfigure your kernel,
487	and make clean; make depend before rebuilding the kernel.  No
488	config file changes are needed.
489
49019990111:
491	New keyboard and video card drivers are introduced as the first
492	stage of console driver reorganization.  You are required to
493	update the kernel configuration file and rebuild the kernel.
494	kbdcontrol, vidcontrol, and screen savers also need recompilation.
495	The instruction can be found in
496
497		http://www.freebsd.org/~yokota/sc_update.txt
498
499	It has notes on splash screen too.
500
50119990106:
502	Robert Nordier was kind enough to make this page to enable people to
503	install the new bootblocks:
504
505		http://www.freebsd.org/~rnordier/boot.txt
506
507	When updating to ELF, make sure that you have updated your
508	/etc/rc files which have different ldconfig invocations for
509	elf and aout.  Otherwise things like X will stop working with
510	messages about being unable to find library files.  The
511	mergemaster utility in ports/sysutils/mergemaster helps to
512	keep critical files like this in sync, and its use is
513	recommended.
514
51519990104:
516	Information about ELF day (see 19981230) can be found in
517
518		http://www.freebsd.org/~peter/elfday.html
519
520	about the upcoming change, its motivations and instructions
521	for doing the upgrade.
522
52319981230:
524	You should install new bootblocks now.  The ELF kernel will
525	become default soon.  In addition, you'll need to upgrade
526	your userland programs to ELF before then as well.  Use
527	make aout-to-elf to upgrade your userland programs (old
528	a.out programs in, for example, /usr/local/bin will
529	continue to work, even after the upgrade).  See src/Makefile
530	for more details.
531
53219981224:
533	The old wcd driver has been deleted from the kernel.  The
534	driver that replaces it is named acd.  You'll need to change
535	this in your configuration files.
536
537	Failure to do this will result in "ATAPI CD-ROMs not
538	configured" at boot time.
539
540	The floppy tape driver (ft) has been removed from the kernel,
541	with no replacement driver.
542
54319981202:
544	New groups from 19981201 commented out of mtree, so they
545	aren't strictly needed, but still a good idea to have.
546
54719981201:
548	New user/group added: bind.  From src/etc/master.passwd and
549	src/etc/group:
550		% grep <newstuff> /usr/src/etc/group 
551		bind:*:53:
552		% grep <newstuff> /usr/src/etc/master.passwd 
553		tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
554		kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
555		bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
556
55719981118:
558	PAM integrated into the tree.   Requires new /etc/pam.conf file
559	to silence warnings from authentication programs (login, etc).
560	See src/etc/pam.conf for a sample.
561
562COMMON ITEMS:
563
564	To build a kernel
565	-----------------
566	Update config, genassym and go:
567		cd src/usr.bin/genassym
568		make depend all install clean
569		cd ../../usr.sbin/config
570		make depend all install clean
571		cd ../../../sys/i386/conf
572		config YOUR_KERNEL_HERE
573		cd ../../compile/YOUR_KERNEL_HERE
574		make depend && make
575
576FORMAT:
577
578This file contains a list, in reverse chronologocal order, of major
579breakages in tracking -current.  Not all things will be listed here,
580and it only starts on November 18, 1998.  If you have an earlier
581version of FreeBSD, you are on your own to get to November 18, 1998.
582
583Please filter your entries through Warner (imp@village.org) so that
584the style, formatting, etc of this file can be maintained.
585
586$FreeBSD: head/UPDATING 56914 2000-01-30 23:15:21Z imp $
587