1 |
< |
Updating Information for FreeBSD STABLE users |
1 |
> |
Updating Information for MidnightBSD 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 |
– |
|
3 |
|
Items affecting the ports and packages system can be found in |
4 |
< |
/usr/ports/UPDATING. Please read that file before running |
9 |
< |
portupgrade. |
4 |
> |
/usr/ports/UPDATING. |
5 |
|
|
6 |
< |
20060817: |
7 |
< |
ksh has been added to the base system. If you previously had |
8 |
< |
the port installed, it will be overwritten on the next buildworld. |
6 |
> |
20060909: |
7 |
> |
OpenNTPD was added to MidnightBSD. Run make delete-old to remove |
8 |
> |
the old ntpd daemon. |
9 |
|
|
10 |
< |
20060211: |
11 |
< |
An IPv6 support of ipfw was enabled by default. If you don't |
17 |
< |
want to filter an IPv6 by ipfw, please add following line into |
18 |
< |
your ipfw rule: |
10 |
> |
cat has a new option -D which allows you to timestamp output |
11 |
> |
on a per line basis. |
12 |
|
|
13 |
< |
pass ip6 from any to any |
13 |
> |
The kernel has a keyboard mux which allows you to have multiple |
14 |
> |
keyboard connected simultaneously. USB keyboard support was also |
15 |
> |
improved with this patch. |
16 |
|
|
17 |
< |
20060210: |
18 |
< |
Now most modules get their build-time options from the kernel |
24 |
< |
configuration file. A few modules still have fixed options |
25 |
< |
due to their non-conformant implementation, but they will be |
26 |
< |
corrected eventually. You may need to review the options of |
27 |
< |
the modules in use, explicitly specify the non-default options |
28 |
< |
in the kernel configuration file, and rebuild the kernel and |
29 |
< |
modules afterwards. |
17 |
> |
The Intel em driver was updated. Network performance was greatly |
18 |
> |
increased on many systems. Additional models are supported. |
19 |
|
|
20 |
< |
20060122: |
32 |
< |
/etc/rc.d/ppp-user has been renamed to /etc/rc.d/ppp. |
33 |
< |
Its /etc/rc.conf.d configuration file has been `ppp' from |
34 |
< |
the beginning, and hence there is no need to touch it. |
20 |
> |
The ATA driver was patched to fix a potential deadlock. |
21 |
|
|
22 |
< |
20060113: |
37 |
< |
si(4)'s device files now contain the unit number. |
38 |
< |
Uses of {cua,tty}A[0-9a-f] should be replaced by {cua,tty}A0[0-9a-f]. |
39 |
< |
|
40 |
< |
20051230: |
41 |
< |
A lot of fixes and new features in the soundsystem. To get all |
42 |
< |
benefits, you may want to recompile mplayer (if installed) after |
43 |
< |
booting the new world. |
22 |
> |
Bind was patched to fix a potential denial of service condition. |
23 |
|
|
24 |
< |
20051222: |
25 |
< |
Bug fixes to the trimdomain(3) function in libutil may result in |
26 |
< |
slight changes to the host names appearing in log files under |
48 |
< |
relatively rare circumstances. |
24 |
> |
20060817: |
25 |
> |
ksh has been added to the base system. If you previously had |
26 |
> |
the port installed, it will be overwritten on the next buildworld. |
27 |
|
|
50 |
– |
20051220: |
51 |
– |
Scripts in the local_startup directories (as defined in |
52 |
– |
/etc/defaults/rc.conf) that have the new rc.d semantics will |
53 |
– |
now be run as part of the base system rcorder. If there are |
54 |
– |
errors or problems with one of these local scripts, it could |
55 |
– |
cause boot problems. If you encounter such problems, boot in |
56 |
– |
single user mode, remove that script from the */rc.d directory. |
57 |
– |
Please report the problem to the port's maintainer, and the |
58 |
– |
freebsd-ports@freebsd.org mailing list. |
28 |
|
|
60 |
– |
20051215: |
61 |
– |
The setkey(8) utility was moved from /usr/sbin/setkey to /sbin/setkey. |
62 |
– |
You may want to update scripts which depend on its location. |
29 |
|
|
64 |
– |
20051108: |
65 |
– |
rp(4)'s device files now contain the unit number. |
66 |
– |
Uses of {cua,tty}R[0-9a-f] should be replaced by {cua,tty}R0[0-9a-f]. |
67 |
– |
|
68 |
– |
20051101: |
69 |
– |
FreeBSD 6.0-RELEASE |
70 |
– |
|
71 |
– |
20051001: |
72 |
– |
kern.polling.enable sysctl MIB is now deprecated. Use ifconfig(8) |
73 |
– |
to turn polling(4) on your interfaces. |
74 |
– |
|
75 |
– |
20050722: |
76 |
– |
The ai_addrlen of a struct addrinfo was changed to a socklen_t |
77 |
– |
to conform to POSIX-2001. This change broke an ABI |
78 |
– |
compatibility on 64 bit architecture. You have to recompile |
79 |
– |
userland programs that use getaddrinfo(3) on 64 bit |
80 |
– |
architecture. |
81 |
– |
|
82 |
– |
20050711: |
83 |
– |
RELENG_6 branched here. |
84 |
– |
|
85 |
– |
20050629: |
86 |
– |
The pccard_ifconfig rc.conf variable has been removed and a new |
87 |
– |
variable, ifconfig_DEFAULT has been introduced. Unlike |
88 |
– |
pccard_ifconfig, ifconfig_DEFAULT applies to ALL interfaces that |
89 |
– |
do not have ifconfig_ifn entries rather than just those in |
90 |
– |
removable_interfaces. |
91 |
– |
|
92 |
– |
20050616: |
93 |
– |
Some previous versions of PAM have permitted the use of |
94 |
– |
non-absolute paths in /etc/pam.conf or /etc/pam.d/* when referring |
95 |
– |
to third party PAM modules in /usr/local/lib. A change has been |
96 |
– |
made to require the use of absolute paths in order to avoid |
97 |
– |
ambiguity and dependence on library path configuration, which may |
98 |
– |
affect existing configurations. |
99 |
– |
|
100 |
– |
20050610: |
101 |
– |
Major changes to network interface API. All drivers must be |
102 |
– |
recompiled. Drivers not in the base system will need to be |
103 |
– |
updated to the new APIs. |
104 |
– |
|
105 |
– |
20050609: |
106 |
– |
Changes were made to kinfo_proc in sys/user.h. Please recompile |
107 |
– |
userland, or commands like `fstat', `pkill', `ps', `top' and `w' |
108 |
– |
will not behave correctly. |
109 |
– |
|
110 |
– |
The API and ABI for hwpmc(4) have changed with the addition |
111 |
– |
of sampling support. Please recompile lib/libpmc(3) and |
112 |
– |
usr.sbin/{pmcstat,pmccontrol}. |
113 |
– |
|
114 |
– |
20050606: |
115 |
– |
The OpenBSD dhclient was imported in place of the ISC dhclient |
116 |
– |
and the network interface configuration scripts were updated |
117 |
– |
accordingly. If you use DHCP to configure your interfaces, you |
118 |
– |
must now run devd. Also, DNS updating was lost so you will need |
119 |
– |
to find a workaround if you use this feature. |
120 |
– |
|
121 |
– |
20050605: |
122 |
– |
if_bridge was added to the tree. This has changed struct ifnet. |
123 |
– |
Please recompile userland and all network related modules. |
124 |
– |
|
125 |
– |
20050603: |
126 |
– |
The n_net of a struct netent was changed to an uint32_t, and |
127 |
– |
1st argument of getnetbyaddr() was changed to an uint32_t, to |
128 |
– |
conform to POSIX-2001. These changes broke an ABI |
129 |
– |
compatibility on 64 bit architecture. With these changes, |
130 |
– |
shlib major of libpcap was bumped. You have to recompile |
131 |
– |
userland programs that use getnetbyaddr(3), getnetbyname(3), |
132 |
– |
getnetent(3) and/or libpcap on 64 bit architecture. |
133 |
– |
|
134 |
– |
20050528: |
135 |
– |
Kernel parsing of extra options on '#!' first lines of shell |
136 |
– |
scripts has changed. Lines with multiple options likely will |
137 |
– |
fail after this date. For full details, please see |
138 |
– |
http://people.freebsd.org/~gad/Updating-20050528.txt |
139 |
– |
|
140 |
– |
20050503: |
141 |
– |
The packet filter (pf) code has been updated to OpenBSD 3.7 |
142 |
– |
Please note the changed anchor syntax and the fact that |
143 |
– |
authpf(8) now needs a mounted fdescfs(5) to function. |
144 |
– |
|
145 |
– |
20050415: |
146 |
– |
The NO_MIXED_MODE kernel option has been removed from the i386 |
147 |
– |
amd64 platforms as its use has been superceded by the new local |
148 |
– |
APIC timer code. Any kernel config files containing this option |
149 |
– |
should be updated. |
150 |
– |
|
151 |
– |
20050227: |
152 |
– |
The on-disk format of LC_CTYPE files was changed to be machine |
153 |
– |
independent. Please make sure NOT to use NO_CLEAN buildworld |
154 |
– |
when crossing this point. Crossing this point also requires |
155 |
– |
recompile or reinstall of all locale depended packages. |
156 |
– |
|
157 |
– |
20050225: |
158 |
– |
The ifi_epoch member of struct if_data has been changed to |
159 |
– |
contain the uptime at which the interface was created or the |
160 |
– |
statistics zeroed rather then the wall clock time because |
161 |
– |
wallclock time may go backwards. This should have no impact |
162 |
– |
unless an snmp implementation is using this value (I know of |
163 |
– |
none at this point.) |
164 |
– |
|
165 |
– |
20050224: |
166 |
– |
The acpi_perf and acpi_throttle drivers are now part of the |
167 |
– |
acpi(4) main module. They are no longer built separately. |
168 |
– |
|
169 |
– |
20050223: |
170 |
– |
The layout of struct image_params has changed. You have to |
171 |
– |
recompile all compatibility modules (linux, svr4, etc) for use |
172 |
– |
with the new kernel. |
173 |
– |
|
174 |
– |
20050223: |
175 |
– |
The p4tcc driver has been merged into cpufreq(4). This makes |
176 |
– |
"options CPU_ENABLE_TCC" obsolete. Please load cpufreq.ko or |
177 |
– |
compile in "device cpufreq" to restore this functionality. |
178 |
– |
|
179 |
– |
20050220: |
180 |
– |
The responsibility of recomputing the file system summary of |
181 |
– |
a SoftUpdates-enabled dirty volume has been transferred to the |
182 |
– |
background fsck. A rebuild of fsck(8) utility is recommended |
183 |
– |
if you have updated the kernel. |
184 |
– |
|
185 |
– |
To get the old behavior (recompute file system summary at mount |
186 |
– |
time), you can set vfs.ffs.compute_summary_at_mount=1 before |
187 |
– |
mounting the new volume. |
188 |
– |
|
189 |
– |
20050206: |
190 |
– |
The cpufreq import is complete. As part of this, the sysctls for |
191 |
– |
acpi(4) throttling have been removed. The power_profile script |
192 |
– |
has been updated, so you can use performance/economy_cpu_freq in |
193 |
– |
rc.conf(5) to set AC on/offline cpu frequencies. |
194 |
– |
|
195 |
– |
20050206: |
196 |
– |
NG_VERSION has been increased. Recompiling kernel (or ng_socket.ko) |
197 |
– |
requires recompiling libnetgraph and userland netgraph utilities. |
198 |
– |
|
199 |
– |
20050114: |
200 |
– |
Support for abbreviated forms of a number of ipfw options is |
201 |
– |
now deprecated. Warnings are printed to stderr indicating the |
202 |
– |
correct full form when a match occurs. Some abbreviations may |
203 |
– |
be supported at a later date based on user feedback. To be |
204 |
– |
considered for support, abbreviations must be in use prior to |
205 |
– |
this commit and unlikely to be confused with current key words. |
206 |
– |
|
207 |
– |
20041221: |
208 |
– |
By a popular demand, a lot of NOFOO options were renamed |
209 |
– |
to NO_FOO (see bsd.compat.mk for a full list). The old |
210 |
– |
spellings are still supported, but will cause annoying |
211 |
– |
warnings on stderr. Make sure you upgrade properly (see |
212 |
– |
the COMMON ITEMS: section later in this file). |
213 |
– |
|
214 |
– |
20041219: |
215 |
– |
Auto-loading of ancillary wlan modules such as wlan_wep has |
216 |
– |
been temporarily disabled; you need to statically configure |
217 |
– |
the modules you need into your kernel or explicitly load them |
218 |
– |
prior to use. Specifically, if you intend to use WEP encryption |
219 |
– |
with an 802.11 device load/configure wlan_wep; if you want to |
220 |
– |
use WPA with the ath driver load/configure wlan_tkip, wlan_ccmp, |
221 |
– |
and wlan_xauth as required. |
222 |
– |
|
223 |
– |
20041213: |
224 |
– |
The behaviour of ppp(8) has changed slightly. If lqr is enabled |
225 |
– |
(``enable lqr''), older versions would revert to LCP ECHO mode on |
226 |
– |
negotiation failure. Now, ``enable echo'' is required for this |
227 |
– |
behaviour. The ppp version number has been bumped to 3.4.2 to |
228 |
– |
reflect the change. |
229 |
– |
|
230 |
– |
20041201: |
231 |
– |
The wlan support has been updated to split the crypto support |
232 |
– |
into separate modules. For static WEP you must configure the |
233 |
– |
wlan_wep module in your system or build and install the module |
234 |
– |
in place where it can be loaded (the kernel will auto-load |
235 |
– |
the module when a wep key is configured). |
236 |
– |
|
237 |
– |
20041201: |
238 |
– |
The ath driver has been updated to split the tx rate control |
239 |
– |
algorithm into a separate module. You need to include either |
240 |
– |
ath_rate_onoe or ath_rate_amrr when configuring the kernel. |
241 |
– |
|
242 |
– |
20041116: |
243 |
– |
Support for systems with an 80386 CPU has been removed. Please |
244 |
– |
use FreeBSD 5.x or earlier on systems with an 80386. |
245 |
– |
|
246 |
– |
20041110: |
247 |
– |
We have had a hack which would mount the root filesystem |
248 |
– |
R/W if the device were named 'md*'. As part of the vnode |
249 |
– |
work I'm doing I have had to remove this hack. People |
250 |
– |
building systems which use preloaded MD root filesystems |
251 |
– |
may need to insert a "/sbin/mount -u -o rw /dev/md0 /" in |
252 |
– |
their /etc/rc scripts. |
253 |
– |
|
254 |
– |
20041104: |
255 |
– |
FreeBSD 5.3 shipped here. |
256 |
– |
|
257 |
– |
20041102: |
258 |
– |
The size of struct tcpcb has changed again due to the removal |
259 |
– |
of RFC1644 T/TCP. You have to recompile userland programs that |
260 |
– |
read kmem for tcp sockets directly (netstat, sockstat, etc.) |
261 |
– |
|
262 |
– |
20041022: |
263 |
– |
The size of struct tcpcb has changed. You have to recompile |
264 |
– |
userland programs that read kmem for tcp sockets directly |
265 |
– |
(netstat, sockstat, etc.) |
266 |
– |
|
267 |
– |
20041016: |
268 |
– |
RELENG_5 branched here. For older entries, please see updating |
269 |
– |
in the RELENG_5 branch. |
270 |
– |
|
271 |
– |
COMMON ITEMS: |
272 |
– |
|
273 |
– |
General Notes |
274 |
– |
------------- |
275 |
– |
Avoid using make -j when upgrading. From time to time in the |
276 |
– |
past there have been problems using -j with buildworld and/or |
277 |
– |
installworld. This is especially true when upgrading between |
278 |
– |
"distant" versions (eg one that cross a major release boundary |
279 |
– |
or several minor releases, or when several months have passed |
280 |
– |
on the -current branch). |
281 |
– |
|
282 |
– |
Sometimes, obscure build problems are the result of environment |
283 |
– |
poisoning. This can happen because the make utility reads its |
284 |
– |
environment when searching for values for global variables. |
285 |
– |
To run your build attempts in an "environmental clean room", |
286 |
– |
prefix all make commands with 'env -i '. See the env(1) manual |
287 |
– |
page for more details. |
288 |
– |
|
289 |
– |
Due to several updates to the build infrastructure, source |
290 |
– |
upgrades from versions prior to 5.3 no longer supported. |
291 |
– |
|
292 |
– |
When upgrading from one major version to another it is generally |
293 |
– |
best to upgrade to the latest code in the currently installed branch |
294 |
– |
first, then do an upgrade to the new branch. This is the best-tested |
295 |
– |
upgrade path, and has the highest probability of being successful. |
296 |
– |
Please try this approach before reporting problems with a major |
297 |
– |
version upgrade. |
298 |
– |
|
30 |
|
To build a kernel |
31 |
|
----------------- |
32 |
< |
If you are updating from a prior version of FreeBSD (even one just |
32 |
> |
If you are updating from a prior version of MidnightBSD (even one just |
33 |
|
a few days old), you should follow this procedure. With a |
34 |
|
/usr/obj tree with a fresh buildworld, |
35 |
|
make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE |
167 |
|
MAKEOBJDIRPREFIX must be defined in an environment variable, and |
168 |
|
not on the command line, or in /etc/make.conf. buildworld will |
169 |
|
warn if it is improperly defined. |
439 |
– |
FORMAT: |
170 |
|
|
441 |
– |
This file contains a list, in reverse chronological order, of major |
442 |
– |
breakages in tracking -STABLE. Not all things will be listed here, |
443 |
– |
and it only starts on October 16, 2004. Updating files can found in |
444 |
– |
previous releases if your system is older than this. |
445 |
– |
|
171 |
|
Copyright information: |
172 |
|
|
173 |
|
Copyright 1998-2005 M. Warner Losh. All Rights Reserved. |
195 |
|
this document. |
196 |
|
|
197 |
|
$FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $ |
198 |
+ |
$MidnightBSD$ |