]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - UPDATING
Bump the patch level in the kernel version number, which was
[FreeBSD/releng/7.2.git] / UPDATING
1 Updating Information for FreeBSD STABLE users
2
3 This file is maintained and copyrighted by M. Warner Losh
4 <imp@village.org>.  See end of file for further details.  For commonly
5 done items, please see the COMMON ITEMS: section later in the file.
6
7 Items affecting the ports and packages system can be found in
8 /usr/ports/UPDATING.  Please read that file before running
9 portupgrade.
10
11 20091203:       p5      FreeBSD-SA-09:15.ssl, FreeBSD-SA-09:16.rtld,
12                         FreeBSD-SA-09:17.freebsd-update
13         Disable SSL renegotiation in order to protect against a serious
14         protocol flaw. [09:15]
15
16         Correctly handle failures from unsetenv resulting from a corrupt
17         environment in rtld-elf. [09:16]
18
19         Fix permissions in freebsd-update in order to prevent leakage of
20         sensitive files. [09:17]
21
22 20091002:       p4      FreeBSD-SA-09:14.devfs FreeBSD-EN-09:05.null
23         Fix devfs / VFS NULL pointer race condition. [SA-09:14]
24
25         Add no zero mapping feature. [EN-09:05]
26
27 20090729:       p3      FreeBSD-SA-09:12.bind
28         Fix BIND named(8) dynamic update message remote DoS.
29
30 20090624:       p2      FreeBSD-EN-09:02.bce, FreeBSD-EN-09:03.fxp,
31                         FreeBSD-EN-09:04.fork
32         Fix packet length calculation in bce(4). [EN-09:02]
33
34         Correctly set IP packet length for TSO in fxp(4). [EN-09:03]
35
36         Fix a lock order reversal bug that could cause deadlock during
37         fork(2). [EN-09:04]
38
39 20090610:       p1      FreeBSD-SA-09:09.pipe, FreeBSD-SA-09:10.ipv6,
40                         FreeBSD-SA-09:11.ntpd
41         Prevent integer overflow in direct pipe write code from circumventing
42         virtual-to-physical page lookups. [09:09]
43
44         Add missing permissions check for SIOCSIFINFO_IN6 ioctl. [09:10]
45
46         Fix buffer overflow in "autokey" negotiation in ntpd(8). [09:11]
47
48 20090504:
49         FreeBSD 7.2-RELEASE
50
51 20090422:               FreeBSD-SA-09:07.libc, FreeBSD-SA-09:08.openssl
52         Don't leak information via uninitialized space in db(3) records.
53         [09:07]
54
55         Sanity-check string lengths in order to stop OpenSSL crashing
56         when printing corrupt BMPString or UniversalString objects. [09:08]
57
58 20090326:
59         Following bug-fixes to TCP connection state flags, netstat, systat,
60         and sockstat will need to be rebuilt in order to properly print
61         connections in the TIMEWAIT state.
62
63 20090318:
64         Change IPv6 ephemeral port allocation from sequential to
65         random allocation, like IPv4 has done for more than four years.
66         The implementation shares infrastructure with IPv4. This
67         means that there is only one set of sysctls to control both
68         IPv4 and IPv6. See ip(4) man page for details.
69
70 20090312:
71         A workaround is committed to allow the creation of System V shared
72         memory segment of size > 2 GB on the 64-bit architectures.
73         Due to a limitation of the existing ABI, the shm_segsz member
74         of the struct shmid_ds, returned by shmctl(IPC_STAT) call is
75         wrong for large segments. Note that limits must be explicitely
76         raised to allow such segments to be created.
77
78         The management interface that is used by ipcs(1) has to be changed
79         in incompatible way. Rebuild the ipcs(1) utility with the new
80         headers after the update. Buildworld/installworld takes care
81         of this issue automatically.
82
83 20090312:
84         The open-source Atheros HAL has been merged from HEAD
85         to STABLE.
86         The kernel compile-time option AH_SUPPORT_AR5416 has been
87         added to support certain newer Atheros parts, particularly
88         PCI-Express chipsets.
89         The following modules are no longer available, and should be
90         removed from MODULES_OVERRIDE and/or loader.conf:-
91          ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample
92
93 20090207:
94         ZFS users on amd64 machines with 4GB or more of RAM should
95         reevaluate their need for setting vm.kmem_size_max and
96         vm.kmem_size manually.  In fact, after recent changes to the
97         kernel, the default value of vm.kmem_size is larger than the
98         suggested manual setting in most ZFS/FreeBSD tuning guides.
99
100 20090207:
101         Multi-IPv4/v6/no-IP jail support was merged to STABLE.
102         You need to rebuild jls(8) and to use the new features
103         jail(8), jexec(8) and cpuset(1) with a new kernel.
104         __FreeBSD_version was bumped to 701103.
105
106 20090119:
107         NTFS has been removed from GENERIC kernel on amd64 to match
108         GENERIC on i386. Should not cause any issues since mount_ntfs(8)
109         will load ntfs.ko module automatically when NTFS support is
110         actually needed, unless ntfs.ko is not installed or security
111         level prohibits loading kernel modules. If either is the case,
112         "options NTFS" has to be added into kernel config.
113
114 20090110:
115         powerd(8) was updated to get better SMP support.
116         Meanings of the -i and -r command line options were changed.
117
118 20090107:
119         snd_hda(4) driver was updated to version 20081226_0122.
120
121         Due to added HDMI audio and logical audio devices support, updated
122         driver often provides several PCM devices. In some cases it can make
123         system default audio device no longer correspond to the users's
124         habbitual audio connectors. In such cases wanted device can be
125         specified in audio application setup or defined globally via
126         hw.snd.default_unit sysctl according to sound(4) and snd_hda(4)
127         man pages.
128
129 20090106:
130         FreeBSD 7.1-RELEASE
131
132 20080903:
133         ntpd has been upgraded to 4.2.4p5.
134
135 20080901:
136         OpenSSH has been upgraded to 5.1p1.
137
138 20080826:
139         DTrace support was merged to STABLE today. In the best
140         tradition of "the dog ate my homework", subversion decided
141         that the commit message was too large and opted not to send
142         it. It was a stealth commit!
143
144         A 'make buildkernel' will now default to build the kernel
145         and modules with both DTrace kernel hooks and CTF data ready
146         for DTrace.
147
148         After you have installed both world and the kernel, and
149         rebooted, you can 'kldload dtraceall' to load all the DTrace
150         kernel modules and then you're set to run the 'dtrace'
151         client (as root).
152
153         For DTrace documentation, refer to:
154         <http://wikis.sun.com/display/DTrace/Documentation>
155
156         We are limited to kernel tracing at the moment, so the pid
157         provider is not available.
158
159         For the syscall provider, note that the arguments to the
160         return probes are the same as for the entry probes.
161
162 20080811:
163         Today STABLE got a reorganization of the Intel E1000
164         driver code. In order to better support our new adapters
165         there is a new driver, igb, that is now to be used for
166         either the 82575 or 82576 adapters. The source however,
167         is all now in sys/dev/e1000, both em and igb drivers are
168         built from that common directory if you configure them
169         in the kernel. Making loadable drivers still happens in
170         the same place: sys/modules/[em, igb].
171
172         The important thing to note is that the 82575 adapters
173         were supported in the em driver in 7.0, but now needed
174         to be moved into igb, so if you have the effected cards
175         be sure and make any script changes to follow the name
176         change.
177
178         There are only 3 PCI ID's effected in this change:
179                 0x10A7, 0x10A9, and 0x10D6 
180         So you can know ahead of time if they will be effected,
181         these will now be supported in the igb driver. That
182         driver will also support the new 82576 followon.
183
184         The driver reorg in STABLE is inconvenient but it really
185         was necessary for Intel to do this, and I figured it was
186         better to have this small admin type issue than not to
187         have support for this new hardware for a whole release
188         cycle.
189
190 20080724:
191         I have MFC'd in code to support multiple routing tables.
192         see the man pages setfib(1) and setfib(2).
193         This is a backwards compatible version,
194         but to make use of it you need to compile your kernel
195         with options ROUTETABLES=2 (or more up to 16).
196
197 20080226:
198         FreeBSD 7.0-RELEASE
199
200 20080208:
201         Note the addition of m_collapse for compacting mbuf chains.
202
203 20071126:
204         The AT keyboard emulation of sunkbd(4) has been turned on
205         by default. In order to make the special symbols of the Sun
206         keyboards driven by sunkbd(4) work under X these now have
207         to be configured the same way as Sun USB keyboards driven
208         by ukbd(4) (which also does AT keyboard emulation), f.e.:
209
210         Option  "XkbLayout" "us"
211         Option  "XkbRules" "xorg"
212         Option  "XkbSymbols" "pc(pc105)+sun_vndr/usb(sun_usb)+us"
213
214 20071028:
215         It has been decided that it is desirable to provide ABI
216         backwards compatibility to the FreeBSD 4/5/6 versions of the
217         PCIOCGETCONF, PCIOCREAD and PCIOCWRITE IOCTLs, which was
218         broken with the introduction of PCI domain support (see the
219         20070930 entry). Unfortunately, this required the ABI of
220         PCIOCGETCONF to be broken again in order to be able to
221         provide backwards compatibility to the old version of that
222         IOCTL. Thus consumers of PCIOCGETCONF have to be recompiled
223         again. As for prominent ports this affects neither pciutils
224         nor xorg-server this time, the hal port needs to be rebuilt
225         however.
226
227 20071010:
228         RELENG_7 branched.
229
230 20071009:
231         Setting WITHOUT_LIBPTHREAD now means WITHOUT_LIBKSE and
232         WITHOUT_LIBTHR are set.
233
234 20070930:
235         The PCI code has been made aware of PCI domains. This means that
236         the location strings as used by pciconf(8) etc are now in the
237         following format: pci<domain>:<bus>:<device>[:<function>]. It
238         also means that consumers of <sys/pciio.h> potentially need to
239         be recompiled; this includes the hal and xorg-server ports.
240
241 20070928:
242         The caching daemon (cached) was renamed to nscd. nscd.conf
243         configuration file should be used instead of cached.conf and
244         nscd_enable, nscd_pidfile and nscd_flags options should be used
245         instead of cached_enable, cached_pidfile and cached_flags in
246         rc.conf.
247
248 20070704:
249         The new IPsec code is now compiled in using the IPSEC option.  The
250         IPSEC option now requires "device crypto" be defined in your kernel
251         configuration.  The FAST_IPSEC kernel option is now deprecated.
252
253 20070702:
254         The packet filter (pf) code has been updated to OpenBSD 4.1 Please
255         note the changed syntax - keep state is now on by default.  Also
256         note the fact that ftp-proxy(8) has been changed from bottom up and
257         has been moved from libexec to usr/sbin.  Changes in the ALTQ
258         handling also affect users of IPFW's ALTQ capabilities.
259
260 20070701:
261         Remove KAME IPsec in favor of FAST_IPSEC, which is now the
262         only IPsec supported by FreeBSD.  The new IPsec stack
263         supports both IPv4 and IPv6. The kernel option will change
264         after the code changes have settled in.  For now the kernel
265         option IPSEC is deprecated and FAST_IPSEC is the only option, that
266         will change after some settling time.
267
268 20070701:
269         The wicontrol(8) utility has been removed from the base system. wi(4)
270         cards should be configured using ifconfig(8), see the man page for more
271         information.
272
273 20070612:
274         The i386/amd64 GENERIC kernel now defaults to the nfe(4) driver
275         instead of the nve(4) driver. Please update your configuration
276         accordingly.
277
278 20070612:
279         By default, /etc/rc.d/sendmail no longer rebuilds the aliases
280         database if it is missing or older than the aliases file.  If
281         desired, set the new rc.conf option sendmail_rebuild_aliases
282         to "YES" to restore that functionality.
283
284 20070612:
285         The IPv4 multicast socket code has been considerably modified, and
286         moved to the file sys/netinet/in_mcast.c. Initial support for the
287         RFC 3678 Source-Specific Multicast Socket API has been added to
288         the IPv4 network stack.
289
290         Strict multicast and broadcast reception is now the default for
291         UDP/IPv4 sockets; the net.inet.udp.strict_mcast_mship sysctl variable
292         has now been removed.
293
294         The RFC 1724 hack for interface selection has been removed; the use
295         of the Linux-derived ip_mreqn structure with IP_MULTICAST_IF has
296         been added to replace it. Consumers such as routed will soon be
297         updated to reflect this.
298
299         These changes affect users who are running routed(8) or rdisc(8)
300         from the FreeBSD base system on point-to-point or unnumbered
301         interfaces.
302
303 20070610:
304         The net80211 layer has changed significantly and all wireless
305         drivers that depend on it need to be recompiled.  Further these
306         changes require that any program that interacts with the wireless
307         support in the kernel be recompiled; this includes: ifconfig,
308         wpa_supplicant, hostapd, and wlanstats.  Users must also, for
309         the moment, kldload the wlan_scan_sta and/or wlan_scan_ap modules
310         if they use modules for wireless support.  These modules implement
311         scanning support for station and ap modes, respectively.  Failure
312         to load the appropriate module before marking a wireless interface
313         up will result in a message to the console and the device not
314         operating properly.
315
316 20070610:
317         The pam_nologin(8) module ceases to provide an authentication
318         function and starts providing an account management function.
319         Consequent changes to /etc/pam.d should be brought in using
320         mergemaster(8).  Third-party files in /usr/local/etc/pam.d may
321         need manual editing as follows.  Locate this line (or similar):
322
323                 auth    required        pam_nologin.so  no_warn
324
325         and change it according to this example:
326
327                 account required        pam_nologin.so  no_warn
328
329         That is, the first word needs to be changed from "auth" to
330         "account".  The new line can be moved to the account section
331         within the file for clarity.  Not updating pam.conf(5) files
332         will result in nologin(5) ignored by the respective services.
333
334 20070529:
335         The ether_ioctl() function has been synchronized with ioctl(2)
336         and ifnet.if_ioctl.  Due to that, the size of one of its arguments
337         has changed on 64-bit architectures.  All kernel modules using
338         ether_ioctl() need to be rebuilt on such architectures.
339
340 20070516:
341         Improved INCLUDE_CONFIG_FILE support has been introduced to the
342         config(8) utility. In order to take advantage of this new
343         functionality, you are expected to recompile and install
344         src/usr.sbin/config. If you don't rebuild config(8), and your
345         kernel configuration depends on INCLUDE_CONFIG_FILE, the kernel
346         build will be broken because of a missing "kernconfstring"
347         symbol.
348
349 20070513:
350         Symbol versioning is enabled by default.  To disable it, use
351         option WITHOUT_SYMVER.  It is not advisable to attempt to
352         disable symbol versioning once it is enabled; your installworld
353         will break because a symbol version-less libc will get installed
354         before the install tools.  As a result, the old install tools,
355         which previously had symbol dependencies to FBSD_1.0, will fail
356         because the freshly installed libc will not have them.
357
358         The default threading library (providing "libpthread") has been
359         changed to libthr.  If you wish to have libkse as your default,
360         use option DEFAULT_THREAD_LIB=libkse for the buildworld.
361
362 20070423:
363         The ABI breakage in sendmail(8)'s libmilter has been repaired
364         so it is no longer necessary to recompile mail filters (aka,
365         milters).  If you recompiled mail filters after the 20070408
366         note, it is not necessary to recompile them again.
367
368 20070417:
369         The new trunk(4) driver has been renamed to lagg(4) as it better
370         reflects its purpose. ifconfig will need to be recompiled.
371
372 20070408:
373         sendmail(8) has been updated to version 8.14.1.  Mail filters
374         (aka, milters) compiled against the libmilter included in the
375         base operating system should be recompiled.
376
377 20070302:
378         Firmwares for ipw(4) and iwi(4) are now included in the base tree.
379         In order to use them one must agree to the respective LICENSE in
380         share/doc/legal and define legal.intel_<name>.license_ack=1 via
381         loader.conf(5) or kenv(1).  Make sure to deinstall the now
382         deprecated modules from the respective firmware ports.
383
384 20070228:
385         The name resolution/mapping functions addr2ascii(3) and ascii2addr(3)
386         were removed from FreeBSD's libc. These originally came from INRIA
387         IPv6. Nothing in FreeBSD ever used them. They may be regarded as
388         deprecated in previous releases.
389         The AF_LINK support for getnameinfo(3) was merged from NetBSD to
390         replace it as a more portable (and re-entrant) API.
391
392 20070224:
393         To support interrupt filtering a modification to the newbus API 
394         has occurred, ABI was broken and __FreeBSD_version was bumped
395         to 700031. Please make sure that your kernel and modules are in 
396         sync. For more info:
397         http://docs.freebsd.org/cgi/mid.cgi?20070221233124.GA13941
398
399 20070224:
400         The IPv6 multicast forwarding code may now be loaded into GENERIC
401         kernels by loading the ip_mroute.ko module. This is built into the
402         module unless WITHOUT_INET6 or WITHOUT_INET6_SUPPORT options are
403         set; see src.conf(5) for more information.
404
405 20070214:
406         The output of netstat -r has changed. Without -n, we now only
407         print a "network name" without the prefix length if the network
408         address and mask exactly match a Class A/B/C network, and an entry
409         exists in the nsswitch "networks" map.
410         With -n, we print the full unabbreviated CIDR network prefix in
411         the form "a.b.c.d/p". 0.0.0.0/0 is always printed as "default".
412         This change is in preparation for changes such as equal-cost
413         multipath, and to more generally assist operational deployment
414         of FreeBSD as a modern IPv4 router.
415
416 20070210:
417         PIM has been turned on by default in the IPv4 multicast
418         routing code. The kernel option 'PIM' has now been removed.
419         PIM is now built by default if option 'MROUTING' is specified.
420         It may now be loaded into GENERIC kernels by loading the
421         ip_mroute.ko module.
422
423 20070207:
424         Support for IPIP tunnels (VIFF_TUNNEL) in IPv4 multicast routing
425         has been removed. Its functionality may be achieved by explicitly
426         configuring gif(4) interfaces and using the 'phyint' keyword in
427         mrouted.conf.
428         XORP does not support source-routed IPv4 multicast tunnels nor the
429         integrated IPIP tunneling, therefore it is not affected by this
430         change. The __FreeBSD_version macro has been bumped to 700030.
431
432 20061221:
433         Support for PCI Message Signalled Interrupts has been
434         re-enabled in the bge driver, only for those chips which are
435         believed to support it properly.  If there are any problems,
436         MSI can be disabled completely by setting the
437         'hw.pci.enable_msi' and 'hw.pci.enable_msix' tunables to 0
438         in the loader.
439
440 20061214:
441         Support for PCI Message Signalled Interrupts has been
442         disabled again in the bge driver.  Many revisions of the
443         hardware fail to support it properly.  Support can be
444         re-enabled by removing the #define of BGE_DISABLE_MSI in
445         "src/sys/dev/bge/if_bge.c".
446
447 20061214:
448         Support for PCI Message Signalled Interrupts has been added
449         to the bge driver.  If there are any problems, MSI can be
450         disabled completely by setting the 'hw.pci.enable_msi' and
451         'hw.pci.enable_msix' tunables to 0 in the loader.
452
453 20061205:
454         The removal of several facets of the experimental Threading 
455         system from the kernel means that the proc and thread structures 
456         have changed quite a bit. I suggest all kernel modules that might
457         reference these structures be recompiled.. Especially the
458         linux module.
459
460 20061126:
461         Sound infrastructure has been updated with various fixes and
462         improvements. Most of the changes are pretty much transparent,
463         with exceptions of followings:
464         1) All sound driver specific sysctls (hw.snd.pcm%d.*) have been
465            moved to their own dev sysctl nodes, for example:
466                 hw.snd.pcm0.vchans -> dev.pcm.0.vchans
467         2) /dev/dspr%d.%d has been deprecated. Each channel now has its
468            own chardev in the form of "dsp%d.<function>%d", where <function>
469            is p = playback, r = record and v = virtual, respectively. Users
470            are encouraged to use these devs instead of (old) "/dev/dsp%d.%d".
471            This does not affect those who are using "/dev/dsp".
472
473 20061122:
474         geom(4)'s gmirror(8) class metadata structure has been
475         rev'd from v3 to v4. If you update across this point and
476         your metadata is converted for you, you will not be easily
477         able to downgrade since the /boot/kernel.old/geom_mirror.ko
478         kernel module will be unable to read the v4 metadata.  You
479         can resolve this by doing from the loader(8) prompt:
480
481                 set vfs.root.mountfrom="ufs:/dev/XXX"
482
483         where XXX is the root slice of one of the disks that composed
484         the mirror (i.e.: /dev/ad0s1a). You can then rebuild
485         the array the same way you built it originally.
486
487 20061122:
488         The following binaries have been disconnected from the build:
489         mount_devfs, mount_ext2fs, mount_fdescfs, mount_procfs, mount_linprocfs,
490         and mount_std.  The functionality of these programs has been
491         moved into the mount program.  For example, to mount a devfs
492         filesystem, instead of using mount_devfs, use: "mount -t devfs".
493         This does not affect entries in /etc/fstab, since entries in
494         /etc/fstab are always processed with "mount -t fstype".
495
496 20061113:
497         Support for PCI Message Signalled Interrupts on i386 and amd64
498         has been added to the kernel and various drivers will soon be
499         updated to use MSI when it is available.  If there are any problems,
500         MSI can be disabled completely by setting the 'hw.pci.enable_msi'
501         and 'hw.pci.enable_msix' tunables to 0 in the loader.
502
503 20061110:
504         The MUTEX_PROFILING option has been renamed to LOCK_PROFILING.
505         The lockmgr object layout has been changed as a result of having
506         a lock_object embedded in it. As a consequence all file system
507         kernel modules must be re-compiled. The mutex profiling man page 
508         has not yet been updated to reflect this change.
509
510 20061026:
511         KSE in the kernel has now been made optional and turned on by
512         default. Use 'nooption KSE' in your kernel config to turn it
513         off. All kernel modules *must* be recompiled after this change.
514         There-after, modules from a KSE kernel should be compatible with
515         modules from a NOKSE kernel due to the temporary padding fields
516         added to 'struct proc'.
517
518 20060929:
519         mrouted and its utilities have been removed from the base system.
520
521 20060927:
522         Some ioctl(2) command codes have changed.  Full backward ABI
523         compatibility is provided if the "options COMPAT_FREEBSD6" is
524         present in the kernel configuration file.  Make sure to add
525         this option to your kernel config file, or recompile X.Org
526         and the rest of ports; otherwise they may refuse to work.
527
528 20060924:
529         tcpslice has been removed from the base system.
530
531 20060913:
532         The sizes of struct tcpcb (and struct xtcpcb) have changed due to
533         the rewrite of TCP syncookies.  Tools like netstat, sockstat, and
534         systat needs to be rebuilt.
535
536 20060903:
537         libpcap updated to v0.9.4 and tcpdump to v3.9.4
538
539 20060816:
540         The IPFIREWALL_FORWARD_EXTENDED option is gone and the behaviour
541         for IPFIREWALL_FORWARD is now as it was before when it was first
542         committed and for years after. The behaviour is now ON.
543
544 20060725:
545         enigma(1)/crypt(1) utility has been changed on 64 bit architectures.
546         Now it can decrypt files created from different architectures.
547         Unfortunately, it is no longer able to decrypt a cipher text
548         generated with an older version on 64 bit architectures.
549         If you have such a file, you need old utility to decrypt it.
550
551 20060709:
552         The interface version of the i4b kernel part has changed. So
553         after updating the kernel sources and compiling a new kernel,
554         the i4b user space tools in "/usr/src/usr.sbin/i4b" must also
555         be rebuilt, and vice versa.
556  
557 20060627:
558         The XBOX kernel now defaults to the nfe(4) driver instead of
559         the nve(4) driver. Please update your configuration
560         accordingly.
561
562 20060514:
563         The i386-only lnc(4) driver for the AMD Am7900 LANCE and Am79C9xx
564         PCnet family of NICs has been removed. The new le(4) driver serves
565         as an equivalent but cross-platform replacement with the pcn(4)
566         driver still providing performance-optimized support for the subset
567         of AMD Am79C971 PCnet-FAST and greater chips as before.
568
569 20060511:
570         The machdep.* sysctls and the adjkerntz utility have been
571         modified a bit.  The new adjkerntz utility uses the new
572         sysctl names and sysctlbyname() calls, so it may be impossible
573         to run an old /sbin/adjkerntz utility in single-user mode
574         with a new kernel.  Replace the `adjkerntz -i' step before
575         `make installworld' with:
576
577             /usr/obj/usr/src/sbin/adjkerntz/adjkerntz -i
578
579         and proceed as usual with the rest of the installworld-stage
580         steps.  Otherwise, you risk installing binaries with their
581         timestamp set several hours in the future, especially if
582         you are running with local time set to GMT+X hours.
583
584 20060412:
585         The ip6fw utility has been removed.  The behavior provided by
586         ip6fw has been in ipfw2 for a good while and the rc.d scripts
587         have been updated to deal with it.  There are some rules that
588         might not migrate cleanly.  Use rc.firewall6 as a template to
589         rewrite rules.
590
591 20060428:
592         The puc(4) driver has been overhauled. The ebus(4) and sbus(4)
593         attachments have been removed. Make sure to configure scc(4)
594         on sparc64. Note also that by default puc(4) will use uart(4)
595         and not sio(4) for serial ports because interrupt handling has
596         been optimized for multi-port serial cards and only uart(4)
597         implements the interface to support it.
598
599 20060330:
600         The scc(4) driver replaces puc(4) for Serial Communications
601         Controllers (SCCs) like the Siemens SAB82532 and the Zilog
602         Z8530. On sparc64, it is advised to add scc(4) to the kernel
603         configuration to make sure that the serial ports remain
604         functional.
605
606 20060317:
607         Most world/kernel related NO_* build options changed names.
608         New knobs have common prefixes WITHOUT_*/WITH_* (modelled
609         after FreeBSD ports) and should be set in /etc/src.conf
610         (the src.conf(5) manpage is provided).  Full backwards
611         compatibility is maintained for the time being though it's
612         highly recommended to start moving old options out of the
613         system-wide /etc/make.conf file into the new /etc/src.conf
614         while also properly renaming them.  More conversions will
615         likely follow.  Posting to current@:
616
617         http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
618
619 20060305:
620         The NETSMBCRYPTO kernel option has been retired because its
621         functionality is always included in NETSMB and smbfs.ko now.
622
623 20060303:
624         The TDFX_LINUX kernel option was retired and replaced by the
625         tdfx_linux device.  The latter can be loaded as the 3dfx_linux.ko
626         kernel module.  Loading it alone should suffice to get 3dfx support
627         for Linux apps because it will pull in 3dfx.ko and linux.ko through
628         its dependencies.
629
630 20060204:
631         The 'audit' group was added to support the new auditing functionality
632         in the base system.  Be sure to follow the directions for updating,
633         including the requirement to run mergemaster -p.
634
635 20060201:
636         The kernel ABI to file system modules was changed on i386.
637         Please make sure that your kernel and modules are in sync.
638         
639 20060118:
640         This actually occured some time ago, but installing the kernel
641         now also installs a bunch of symbol files for the kernel modules.
642         This increases the size of /boot/kernel to about 67Mbytes. You
643         will need twice this if you will eventually back this up to kernel.old
644         on your next install.
645         If you have a shortage of room in your root partition, you should add
646         -DINSTALL_NODEBUG to your make arguments or add INSTALL_NODEBUG="yes"
647         to your /etc/make.conf.
648
649 20060113:
650         libc's malloc implementation has been replaced.  This change has the
651         potential to uncover application bugs that previously went unnoticed.
652         See the malloc(3) manual page for more details.
653
654 20060112:
655         The generic netgraph(4) cookie has been changed. If you upgrade
656         kernel passing this point, you also need to upgrade userland
657         and netgraph(4) utilities like ports/net/mpd or ports/net/mpd4.
658
659 20060106:
660         si(4)'s device files now contain the unit number.
661         Uses of {cua,tty}A[0-9a-f] should be replaced by {cua,tty}A0[0-9a-f].
662
663 20060106:
664         The kernel ABI was mostly destroyed due to a change in the size
665         of struct lock_object which is nested in other structures such
666         as mutexes which are nested in all sorts of other structures.
667         Make sure your kernel and modules are in sync.
668
669 20051231:
670         The page coloring algorithm in the VM subsystem was converted
671         from tuning with kernel options to autotuning. Please remove
672         any PQ_* option except PQ_NOOPT from your kernel config.
673
674 20051211:
675         The net80211-related tools in the tools/tools/ath directory
676         have been moved to tools/tools/net80211 and renamed with a
677         "wlan" prefix.  Scripts that use them should be adjusted
678         accordingly.
679
680 20051202:
681         Scripts in the local_startup directories (as defined in
682         /etc/defaults/rc.conf) that have the new rc.d semantics will
683         now be run as part of the base system rcorder. If there are
684         errors or problems with one of these local scripts, it could
685         cause boot problems. If you encounter such problems, boot in
686         single user mode, remove that script from the */rc.d directory.
687         Please report the problem to the port's maintainer, and the
688         freebsd-ports@freebsd.org mailing list.
689
690 20051129:
691         The nodev mount option was deprecated in RELENG_6 (where it
692         was a no-op), and is now unsupported.  If you have nodev or dev listed
693         in /etc/fstab, remove it, otherwise it will result in a mount error.
694
695 20051129:
696         ABI between ipfw(4) and ipfw(8) has been changed. You need
697         to rebuild ipfw(8) when rebuilding kernel.
698
699 20051108:
700         rp(4)'s device files now contain the unit number.
701         Uses of {cua,tty}R[0-9a-f] should be replaced by {cua,tty}R0[0-9a-f].
702
703 20051029:
704         /etc/rc.d/ppp-user has been renamed to /etc/rc.d/ppp.
705         Its /etc/rc.conf.d configuration file has been `ppp' from
706         the beginning, and hence there is no need to touch it.
707
708 20051014:
709         Now most modules get their build-time options from the kernel
710         configuration file.  A few modules still have fixed options
711         due to their non-conformant implementation, but they will be
712         corrected eventually.  You may need to review the options of
713         the modules in use, explicitly specify the non-default options
714         in the kernel configuration file, and rebuild the kernel and
715         modules afterwards.
716
717 20051001:
718         kern.polling.enable sysctl MIB is now deprecated. Use ifconfig(8)
719         to turn polling(4) on your interfaces.
720
721 20050927:
722         The old bridge(4) implementation was retired.  The new
723         if_bridge(4) serves as a full functional replacement.
724
725 20050722:
726         The ai_addrlen of a struct addrinfo was changed to a socklen_t
727         to conform to POSIX-2001.  This change broke an ABI
728         compatibility on 64 bit architecture.  You have to recompile
729         userland programs that use getaddrinfo(3) on 64 bit
730         architecture.
731
732 20050711:
733         RELENG_6 branched here.
734
735 20050629:
736         The pccard_ifconfig rc.conf variable has been removed and a new
737         variable, ifconfig_DEFAULT has been introduced.  Unlike
738         pccard_ifconfig, ifconfig_DEFAULT applies to ALL interfaces that
739         do not have ifconfig_ifn entries rather than just those in
740         removable_interfaces.
741
742 20050616:
743         Some previous versions of PAM have permitted the use of
744         non-absolute paths in /etc/pam.conf or /etc/pam.d/* when referring
745         to third party PAM modules in /usr/local/lib.  A change has been
746         made to require the use of absolute paths in order to avoid
747         ambiguity and dependence on library path configuration, which may
748         affect existing configurations.
749
750 20050610:
751         Major changes to network interface API.  All drivers must be
752         recompiled.  Drivers not in the base system will need to be
753         updated to the new APIs.
754
755 20050609:
756         Changes were made to kinfo_proc in sys/user.h.  Please recompile
757         userland, or commands like `fstat', `pkill', `ps', `top' and `w'
758         will not behave correctly.
759
760         The API and ABI for hwpmc(4) have changed with the addition
761         of sampling support.  Please recompile lib/libpmc(3) and
762         usr.sbin/{pmcstat,pmccontrol}.
763
764 20050606:
765         The OpenBSD dhclient was imported in place of the ISC dhclient
766         and the network interface configuration scripts were updated
767         accordingly.  If you use DHCP to configure your interfaces, you
768         must now run devd.  Also, DNS updating was lost so you will need
769         to find a workaround if you use this feature.
770
771         The '_dhcp' user was added to support the OpenBSD dhclient.  Be
772         sure to run mergemaster -p (like you are supposed to do every time
773         anyway).
774
775 20050605:
776         if_bridge was added to the tree. This has changed struct ifnet.
777         Please recompile userland and all network related modules.
778
779 20050603:
780         The n_net of a struct netent was changed to an uint32_t, and
781         1st argument of getnetbyaddr() was changed to an uint32_t, to
782         conform to POSIX-2001.  These changes broke an ABI
783         compatibility on 64 bit architecture.  With these changes,
784         shlib major of libpcap was bumped.  You have to recompile
785         userland programs that use getnetbyaddr(3), getnetbyname(3),
786         getnetent(3) and/or libpcap on 64 bit architecture.
787
788 20050528:
789         Kernel parsing of extra options on '#!' first lines of shell
790         scripts has changed.  Lines with multiple options likely will
791         fail after this date.  For full details, please see
792                 http://people.freebsd.org/~gad/Updating-20050528.txt
793
794 20050503:
795         The packet filter (pf) code has been updated to OpenBSD 3.7
796         Please note the changed anchor syntax and the fact that
797         authpf(8) now needs a mounted fdescfs(5) to function.
798
799 20050415:
800         The NO_MIXED_MODE kernel option has been removed from the i386
801         amd64 platforms as its use has been superceded by the new local
802         APIC timer code.  Any kernel config files containing this option
803         should be updated.
804
805 20050227:
806         The on-disk format of LC_CTYPE files was changed to be machine
807         independent.  Please make sure NOT to use NO_CLEAN buildworld
808         when crossing this point. Crossing this point also requires
809         recompile or reinstall of all locale depended packages.
810
811 20050225:
812         The ifi_epoch member of struct if_data has been changed to
813         contain the uptime at which the interface was created or the
814         statistics zeroed rather then the wall clock time because
815         wallclock time may go backwards.  This should have no impact
816         unless an snmp implementation is using this value (I know of
817         none at this point.)
818
819 20050224:
820         The acpi_perf and acpi_throttle drivers are now part of the
821         acpi(4) main module.  They are no longer built separately.
822
823 20050223:
824         The layout of struct image_params has changed. You have to
825         recompile all compatibility modules (linux, svr4, etc) for use
826         with the new kernel.
827
828 20050223:
829         The p4tcc driver has been merged into cpufreq(4).  This makes
830         "options CPU_ENABLE_TCC" obsolete.  Please load cpufreq.ko or
831         compile in "device cpufreq" to restore this functionality.
832
833 20050220:
834         The responsibility of recomputing the file system summary of
835         a SoftUpdates-enabled dirty volume has been transferred to the
836         background fsck.  A rebuild of fsck(8) utility is recommended
837         if you have updated the kernel.
838
839         To get the old behavior (recompute file system summary at mount
840         time), you can set vfs.ffs.compute_summary_at_mount=1 before
841         mounting the new volume.
842
843 20050206:
844         The cpufreq import is complete.  As part of this, the sysctls for
845         acpi(4) throttling have been removed.  The power_profile script
846         has been updated, so you can use performance/economy_cpu_freq in
847         rc.conf(5) to set AC on/offline cpu frequencies.
848
849 20050206:
850         NG_VERSION has been increased. Recompiling kernel (or ng_socket.ko)
851         requires recompiling libnetgraph and userland netgraph utilities.
852
853 20050114:
854         Support for abbreviated forms of a number of ipfw options is
855         now deprecated.  Warnings are printed to stderr indicating the
856         correct full form when a match occurs.  Some abbreviations may
857         be supported at a later date based on user feedback.  To be
858         considered for support, abbreviations must be in use prior to
859         this commit and unlikely to be confused with current key words.
860
861 20041221:
862         By a popular demand, a lot of NOFOO options were renamed
863         to NO_FOO (see bsd.compat.mk for a full list).  The old
864         spellings are still supported, but will cause annoying
865         warnings on stderr.  Make sure you upgrade properly (see
866         the COMMON ITEMS: section later in this file).
867
868 20041219:
869         Auto-loading of ancillary wlan modules such as wlan_wep has
870         been temporarily disabled; you need to statically configure
871         the modules you need into your kernel or explicitly load them
872         prior to use.  Specifically, if you intend to use WEP encryption
873         with an 802.11 device load/configure wlan_wep; if you want to
874         use WPA with the ath driver load/configure wlan_tkip, wlan_ccmp,
875         and wlan_xauth as required.
876
877 20041213:
878         The behaviour of ppp(8) has changed slightly.  If lqr is enabled
879         (``enable lqr''), older versions would revert to LCP ECHO mode on
880         negotiation failure.  Now, ``enable echo'' is required for this
881         behaviour.  The ppp version number has been bumped to 3.4.2 to
882         reflect the change.
883
884 20041201:
885         The wlan support has been updated to split the crypto support
886         into separate modules.  For static WEP you must configure the
887         wlan_wep module in your system or build and install the module
888         in place where it can be loaded (the kernel will auto-load
889         the module when a wep key is configured).
890
891 20041201:
892         The ath driver has been updated to split the tx rate control
893         algorithm into a separate module.  You need to include either
894         ath_rate_onoe or ath_rate_amrr when configuring the kernel.
895
896 20041116:
897         Support for systems with an 80386 CPU has been removed.  Please
898         use FreeBSD 5.x or earlier on systems with an 80386.
899
900 20041110:
901         We have had a hack which would mount the root filesystem
902         R/W if the device were named 'md*'.  As part of the vnode
903         work I'm doing I have had to remove this hack.  People
904         building systems which use preloaded MD root filesystems
905         may need to insert a "/sbin/mount -u -o rw /dev/md0 /" in
906         their /etc/rc scripts.
907
908 20041104:
909         FreeBSD 5.3 shipped here.
910
911 20041102:
912         The size of struct tcpcb has changed again due to the removal
913         of RFC1644 T/TCP.  You have to recompile userland programs that
914         read kmem for tcp sockets directly (netstat, sockstat, etc.)
915
916 20041022:
917         The size of struct tcpcb has changed.  You have to recompile
918         userland programs that read kmem for tcp sockets directly
919         (netstat, sockstat, etc.)
920
921 20041016:
922         RELENG_5 branched here.  For older entries, please see updating
923         in the RELENG_5 branch.
924
925 COMMON ITEMS:
926
927         General Notes
928         -------------
929         Avoid using make -j when upgrading.  From time to time in the
930         past there have been problems using -j with buildworld and/or
931         installworld.  This is especially true when upgrading between
932         "distant" versions (eg one that cross a major release boundary
933         or several minor releases, or when several months have passed
934         on the -current branch).
935
936         Sometimes, obscure build problems are the result of environment
937         poisoning.  This can happen because the make utility reads its
938         environment when searching for values for global variables.
939         To run your build attempts in an "environmental clean room",
940         prefix all make commands with 'env -i '.  See the env(1) manual
941         page for more details.
942
943         When upgrading from one major version to another it is generally
944         best to upgrade to the latest code in the currently installed branch
945         first, then do an upgrade to the new branch. This is the best-tested
946         upgrade path, and has the highest probability of being successful.
947         Please try this approach before reporting problems with a major
948         version upgrade.
949
950         To build a kernel
951         -----------------
952         If you are updating from a prior version of FreeBSD (even one just
953         a few days old), you should follow this procedure.  It is the most
954         failsafe as it uses a /usr/obj tree with a fresh mini-buildworld,
955
956         make kernel-toolchain
957         make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
958         make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
959
960         To test a kernel once
961         ---------------------
962         If you just want to boot a kernel once (because you are not sure
963         if it works, or if you want to boot a known bad kernel to provide
964         debugging information) run
965         make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
966         nextboot -k testkernel
967
968         To just build a kernel when you know that it won't mess you up
969         --------------------------------------------------------------
970         This assumes you are already running a 5.X system.  Replace
971         ${arch} with the architecture of your machine (e.g. "i386",
972         "alpha", "amd64", "ia64", "pc98", "sparc64", etc).
973
974         cd src/sys/${arch}/conf
975         config KERNEL_NAME_HERE
976         cd ../compile/KERNEL_NAME_HERE
977         make depend
978         make
979         make install
980
981         If this fails, go to the "To build a kernel" section.
982
983         To rebuild everything and install it on the current system.
984         -----------------------------------------------------------
985         # Note: sometimes if you are running current you gotta do more than
986         # is listed here if you are upgrading from a really old current.
987
988         <make sure you have good level 0 dumps>
989         make buildworld
990         make kernel KERNCONF=YOUR_KERNEL_HERE
991                                                         [1]
992         <reboot in single user>                         [3]
993         mergemaster -p                                  [5]
994         make installworld
995         make delete-old
996         mergemaster                                     [4]
997         <reboot>
998
999
1000         To cross-install current onto a separate partition
1001         --------------------------------------------------
1002         # In this approach we use a separate partition to hold
1003         # current's root, 'usr', and 'var' directories.   A partition
1004         # holding "/", "/usr" and "/var" should be about 2GB in
1005         # size.
1006
1007         <make sure you have good level 0 dumps>
1008         <boot into -stable>
1009         make buildworld
1010         make buildkernel KERNCONF=YOUR_KERNEL_HERE
1011         <maybe newfs current's root partition>
1012         <mount current's root partition on directory ${CURRENT_ROOT}>
1013         make installworld DESTDIR=${CURRENT_ROOT}
1014         make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
1015         make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
1016         cp /etc/fstab ${CURRENT_ROOT}/etc/fstab                    # if newfs'd
1017         <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
1018         <reboot into current>
1019         <do a "native" rebuild/install as described in the previous section>
1020         <maybe install compatibility libraries from src/lib/compat>
1021         <reboot>
1022
1023
1024         To upgrade in-place from 5.x-stable to current
1025         ----------------------------------------------
1026         <make sure you have good level 0 dumps>
1027         make buildworld                                 [9]
1028         make kernel KERNCONF=YOUR_KERNEL_HERE           [8]
1029                                                         [1]
1030         <reboot in single user>                         [3]
1031         mergemaster -p                                  [5]
1032         make installworld
1033         make delete-old
1034         mergemaster -i                                  [4]
1035         <reboot>
1036
1037         Make sure that you've read the UPDATING file to understand the
1038         tweaks to various things you need.  At this point in the life
1039         cycle of current, things change often and you are on your own
1040         to cope.  The defaults can also change, so please read ALL of
1041         the UPDATING entries.
1042
1043         Also, if you are tracking -current, you must be subscribed to
1044         freebsd-current@freebsd.org.  Make sure that before you update
1045         your sources that you have read and understood all the recent
1046         messages there.  If in doubt, please track -stable which has
1047         much fewer pitfalls.
1048
1049         [1] If you have third party modules, such as vmware, you
1050         should disable them at this point so they don't crash your
1051         system on reboot.
1052
1053         [3] From the bootblocks, boot -s, and then do
1054                 fsck -p
1055                 mount -u /
1056                 mount -a
1057                 cd src
1058                 adjkerntz -i            # if CMOS is wall time
1059         Also, when doing a major release upgrade, it is required that
1060         you boot into single user mode to do the installworld.
1061
1062         [4] Note: This step is non-optional.  Failure to do this step
1063         can result in a significant reduction in the functionality of the
1064         system.  Attempting to do it by hand is not recommended and those
1065         that pursue this avenue should read this file carefully, as well
1066         as the archives of freebsd-current and freebsd-hackers mailing lists
1067         for potential gotchas.
1068
1069         [5] Usually this step is a noop.  However, from time to time
1070         you may need to do this if you get unknown user in the following
1071         step.  It never hurts to do it all the time.  You may need to
1072         install a new mergemaster (cd src/usr.sbin/mergemaster && make
1073         install) after the buildworld before this step if you last updated
1074         from current before 20020224 or from -stable before 20020408.
1075
1076         [8] In order to have a kernel that can run the 4.x binaries
1077         needed to do an installworld, you must include the COMPAT_FREEBSD4
1078         option in your kernel.  Failure to do so may leave you with a system
1079         that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
1080         is required to run the 5.x binaries on more recent kernels.
1081
1082         Make sure that you merge any new devices from GENERIC since the
1083         last time you updated your kernel config file.
1084
1085         [9] When checking out sources, you must include the -P flag to have
1086         cvs prune empty directories.
1087
1088         If CPUTYPE is defined in your /etc/make.conf, make sure to use the
1089         "?=" instead of the "=" assignment operator, so that buildworld can
1090         override the CPUTYPE if it needs to.
1091
1092         MAKEOBJDIRPREFIX must be defined in an environment variable, and
1093         not on the command line, or in /etc/make.conf.  buildworld will
1094         warn if it is improperly defined.
1095 FORMAT:
1096
1097 This file contains a list, in reverse chronological order, of major
1098 breakages in tracking -current.  Not all things will be listed here,
1099 and it only starts on October 16, 2004.  Updating files can found in
1100 previous releases if your system is older than this.
1101
1102 Copyright information:
1103
1104 Copyright 1998-2005 M. Warner Losh.  All Rights Reserved.
1105
1106 Redistribution, publication, translation and use, with or without
1107 modification, in full or in part, in any form or format of this
1108 document are permitted without further permission from the author.
1109
1110 THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
1111 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1112 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1113 DISCLAIMED.  IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
1114 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1115 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1116 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1117 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1118 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
1119 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1120 POSSIBILITY OF SUCH DAMAGE.
1121
1122 If you find this document useful, and you want to, you may buy the
1123 author a beer.
1124
1125 Contact Warner Losh if you have any questions about your use of
1126 this document.
1127
1128 $FreeBSD$