ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3044
Committed: Sat Sep 19 15:02:27 2009 UTC (14 years, 8 months ago) by laffer1
File size: 23445 byte(s)
Log Message:
tzupdate

File Contents

# User Rev Content
1 laffer1 169 Updating Information for MidnightBSD users
2 laffer1 2
3 laffer1 3044 20090919:
4     Update timezone data with tzdate2009m from September 2009.
5    
6 laffer1 3034 20090729:
7     Patch for Bind 9 security vulnerability. a dynmaic update packet
8     can trigger an assertion and cause named to exit
9    
10 laffer1 3002 20090606:
11     Remove PCC from the base system. This compiler will not work
12     as a system compiler for us as we've got some userland investment
13     in C++ code and may have Objective-C in the future. We're stuck
14     with a solution that supports these three languages at a minimum.
15    
16     I had wanted to keep it as an optional compiler because it is
17     fast, however too many users want to try to use it for the base
18     system which makes no sense.
19    
20     A hack was added for Cypress based usb hard drive enclosures to
21     the kernel. This should cut down on commands it claims to support
22     but does not (at the cam layer). Found while testing ZFS on
23     an external device.
24    
25 laffer1 2910 20090520:
26     The powerd daemon no longer starts automatically to improve
27     compatibility with many systems. However, there is a new
28     installer option in the startup section to enable it. This
29     makes it easier to enable for users that have working systems. I thought it was only a problem on older hardware, but it freaks
30     out my new Phenom too.
31    
32 laffer1 2874 20090502:
33     OpenSSH 5.2p1 import
34    
35 laffer1 2910 ale(4) connected to the build. (kernel module only)
36    
37 laffer1 2857 20090501:
38     Imported makefs utility from NetBSD/FreeBSD
39    
40 laffer1 2843 20090422:
41     OpenSSL security update
42    
43     The function ASN1_STRING_print_ex does not properly validate the lengths
44     of BMPString or UniversalString objects before attempting to print them.
45    
46 laffer1 2836 20090415:
47     Created a Symbol.map for libc/ohash symbols
48    
49     Updated several usr/bin usr/sbin utilities.
50    
51     Corrected a bug with Makefile.inc1 causing the bootstrap
52     tools to fail.
53    
54 laffer1 2745 20090405:
55     xorg 7.4 wants to configure its input devices via hald which does not
56 laffer1 2746 yet work with USB. If the keyboard/mouse does not work in xorg then
57 laffer1 2745 add
58     Option "AllowEmptyInput" "off"
59     to your ServerLayout section. This will cause X to use the configured
60     kbd and mouse sections from your xorg.conf
61    
62     20090403:
63 laffer1 2735 mksh was disconnected a few day ago do to bugs with
64     buildworld and mports. Now, connect it back
65     for use as /bin/sh with a conditional called
66     MK_ASH. By default, ash is the standard /bin/sh
67     but we may change this later. This will allow further
68     testing by users and developers of mksh without
69     causing an unpleasant default experience. In the
70     long run, we need to fix mksh compatibility.
71    
72 laffer1 2702 20090328:
73     Bring in mksh R37 from CVS. The dot.mkshrc files for root
74     and skel were changed. mksh(1) now replaces ash aka sh(1)
75     as the default /bin/sh. Please report bugs with
76     ports, etc. The ash code will remain in the repo for awhile
77     as I decide if we'll add something like MK_SHELL_ASH as
78     an optional build parameter.
79    
80     ahd was disconnected from the lint environment until
81     the compiler bug is sorted (by updating gcc?)
82    
83     Remove freebsd-tips from fortune files and change the
84     default for login and profile.
85    
86 laffer1 2672 20090327:
87     Update libarchive to 2.5.5, tar, and add bsdcpio.
88    
89     Also previously, ctriv has been connecting Perl 5.10
90     to the build (part of os). This will have an impact
91     on mports.
92    
93 laffer1 2654 20090325:
94     Update Bind to 9.4.3-P1
95    
96     Update mksh to R36b
97    
98     Update tcpdump to 3.9.8, fix libpcap to work with current.
99    
100     Update pnpinfo, sync with FreeBSD.
101    
102 laffer1 2524 20090115:
103     Fix a problem with DNSSEC and BIND.
104    
105     20090110:
106 laffer1 2511 For applications using OpenSSL for SSL connections, an invalid SSL
107     certificate may be interpreted as valid. This could for example be
108     used by an attacker to perform a man-in-the-middle attack.
109    
110     Other applications which use the OpenSSL EVP API may similarly be
111     affected.
112    
113 laffer1 2513 Stop cross site request forgery attacks in lukemftpd
114    
115 laffer1 2524 20090104:
116 laffer1 2501 Import GNU libreadline 5.2
117    
118 laffer1 2524 20090101:
119 laffer1 2485 Update time zone data to 2008i.
120    
121 laffer1 2481 20081231:
122     Correct a problem where bluetooth and netgraph sockets are not
123     properly initialized.
124    
125     Happy 2009.
126    
127 laffer1 2399 20081206:
128     Due to the massive change in the underlying system under way,
129     we're naming the next release 1.0. The sys/sys/param.h was
130     changed accordingly. ipfilter and ncurses were corrected
131     using __MidnightBSD__ tests in the code.
132    
133     The GENERIC kernel config was caught up on i386 today. Consider
134     i386 still broken, but amd64 is running again.
135    
136     mdoc.local was updated with the new MidnightBSD version info.
137    
138     batt(1) was rewritten in C. It now supports several flags and
139     runs about 8 times faster on my laptop. The default output
140     shows the number of minutes of battery life remaining and the
141     percentage. You can use -u to display the number of batteries or
142     -c to get script friendly output. Consult the man page for more.
143    
144 laffer1 2360 20081204:
145     Work has completed on importing ZFS, jemalloc, several
146     new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel
147     support, improved locking for file desc., audit (openbsm),
148     openssl .98e, nfe, imporved intel high def audio, midi, updated
149     intel gigabit (em), support for several wifi cards (intel), ...
150    
151     Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version
152     data from param.h instead of the FreeBSD version. This means
153     testing is now possible in the ports tree for the version
154     and that any ports or code relying on the FreeBSD version from
155     sys/sys/param.h will need to be fixed.
156    
157 laffer1 1809 20080905:
158     update nve(4) to support new hardware.
159    
160 laffer1 1794 20080801:
161     Import OpenBSM 1.0
162    
163     Modify src/release to create 3 isos instead of 2 for packages.
164    
165     etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats.
166    
167     Many ia64, alpha, powerpc items were removed.
168    
169     The recent diffutils 2.8.7 import was fixed.
170    
171 laffer1 1724 20080703:
172     pcc was not installed properly when setting DESTDIR for live cds,
173     or posibly jails.
174    
175 laffer1 1672 20080627:
176     Add firmware(9), WEP, CCMP, TKIP to GENERIC.
177    
178     Add glabel to GENERIC.
179    
180     Intel ICH8 mobile chipset used on some iMacs included with ata.
181    
182     pcc connected to the build on i386. (alternative compiler)
183    
184 laffer1 1678 ath added to GENERIC. (Atheros wireless NICs) on amd64/i386
185    
186 laffer1 1642 20080528:
187     Sendmail 8.14.3
188    
189 laffer1 1598 20080516:
190     ssh-vulnkey allows you to look for vulnerable ssh keys that
191     were generated on Debian and Ubuntu hosts over the last
192     few years. sshd can block offending keys with a configuration
193     option.
194    
195     The elf note on binaries is now set to MidnightBSD.
196    
197     20080514:
198     Fixed a number of problems with pcc. It is not yet connected
199     to the build, but usable on i386 hosts. You may use it
200     by make; make install in /usr/src/usr.bin/pcc. It will
201     install in /usr/local as some of the files conflict with
202     GCC versions. __MidnightBSD__ is defined in PCC as well.
203    
204     System headers were fixed to allow pcc to compile many binaries
205     on MidnightBSD. bin/cp will work now for instance.
206    
207 laffer1 1561 20080430:
208     __MidnightBSD__ is now defined via gcc. This can be tested
209     to determine we're running on MidnightBSD in the preprocessor.
210    
211 laffer1 1559 20080429:
212     Import bind 9.4.2 with threading
213    
214     libpthread (KSE) and libthr are built earlier
215    
216     pcvt(4) removed!
217    
218     Alias added for core2 cpus.
219    
220     Alpha and PC98 only utilities removed from usr/sbin
221    
222     syslogd, adduser, rmuser, mergemaster and mailwrapper have been
223     improved. See the man pages for info.
224    
225     periodic scripts will not send emails with empty message bodies.
226     See mailwrapper fix.
227    
228 laffer1 1462 20080410:
229     Sync cpdup with DragonFly. Add parallel transaction support and
230     -l flag to line-buffer stdout and stderr.
231    
232 laffer1 1456 20080406:
233 laffer1 1462 Import bzip2 1.05
234 laffer1 1456 Import OpenSSH 4.9p1
235    
236 laffer1 1432 20080322:
237     The default umask was changed to 022.
238    
239     /usr/X11R6 paths were removed from several config files.
240    
241     .mkshrc files are now installed for root.
242    
243 laffer1 1420 20080316:
244     FIx a problem with gif0 tunnels and neighbors with IPV6.
245    
246     20080312:
247     Add lndir from X.org. This aides in the porting of MirPorts.
248    
249     New OS versions were added to the mapage code (groff)
250    
251     20080310:
252     Correct a buffer overflow in ppp.
253    
254     20080308:
255     Remove /usr/X11R6 from manpath config.
256    
257     20080307:
258     Atheros driver no longer has several options set
259     which corrects building in tinderbox on all three platforms.
260    
261     Added a new macro to sx.h which returns true if the current
262     thread holds an exclusive lock on a specifix sx.
263    
264     Removed OS/2's HPFS file system. It's not maintained and
265     I don't know anyone using OS/2 or ecomstation these days.
266     My copy is in the closet collecting dust.
267    
268     20080306:
269     Synced tinderbox with FreeBSD. Modified it for MidnightBSD.
270     Developers can now use it to check src builds.
271    
272     20080303:
273     Add mksh to /etc/shells, made some adjustments to options
274     for mksh builds per suggestion upstream.
275    
276     USB HID table updated with modern hardware list.
277    
278     Updated BSD family true (we're not in there yet)
279    
280     iso3166 file updated and import of tzdata2007k for
281     new time zones.
282    
283     Updated mksh to latest version R33.
284    
285     20080228:
286     Remplaced the random IP id generation code with a new
287     version by Amit Klein.
288    
289     20080221:
290     Sendfile write only permissions fix.
291    
292     Removed some HPFS and PC98 code.
293    
294     iso639 file sycned with DragonFly.
295    
296     20080128:
297     Changed NTP configuration so that ips aren't cached
298     so multiple servers are used.
299    
300     Fix an issue with fork() in libpthread.
301    
302     20080121:
303     Add virtualization detection to set the HZ rate
304     according to a VM present. VMWare and Parallels
305     should work better like this.
306    
307     Change to full x11 install in sysinstall. Add
308     xorg 7 support.
309    
310     20080115:
311     Fix the handling of PTY's. CVE-2008-0216
312    
313     20080105:
314     mport delete code added, USE_MPORT_TOOLS knob aded.
315    
316 laffer1 1363 20080101:
317     Happy New Year
318    
319 laffer1 1345 20071123:
320     Update sendmail to 8.14.2
321    
322 laffer1 1339 20071120:
323     Update system compiler to gcc 3.4.6.
324    
325 laffer1 1345 20071023:
326     Updated mksh to R31d.
327    
328 laffer1 1228 20070911:
329     Updated mksh to version R31b.
330    
331     Fixed stderr output in libpthread. Previously it was
332     written to stdout.
333    
334 laffer1 1214 20070831:
335     Added dot.mkshrc file to support the recent change to
336     mksh from OpenBSD's ksh derived from pdksh.
337    
338     Added new firewall configuration. ipfw is enabled by default
339     with a "desktop" configuration. Consult /etc/rc.firewall
340     or ipfw show to see the ruleset used. You can disable
341     ipfw by setting firewall_enable="NO" in /etc/rc.conf This
342     change only effects IPv4. IPv6 does not have a firewall
343     enabled by default.
344    
345 laffer1 1192 20070814:
346     Removed GNU tar source. We've been using BSD tar
347     for awhile.
348    
349 laffer1 1143 20070806:
350     Finished removing umapfs and autofs from the tree.
351    
352     20070804:
353     BIND and Tcpdump have been patched for recent vulnerabilities.
354    
355     We switched to BSD cpio (pax).
356    
357 laffer1 1060 20070719:
358     Imported cpdup from DragonFly as /bin/cpdup
359    
360 laffer1 1055 20070716:
361     Update GNU cpio to 2.8.
362    
363 laffer1 939 20070410:
364     cvs was updated to 1.12.13. cvsbug was removed.
365     cvs now behaves similarly to DragonFly's cvs with
366     most of their local changes.
367    
368     20070409:
369     RELENG_0_1 was created. More aggresive changes will
370     continue here.
371    
372 laffer1 906 20070406:
373     Back out propolice. propolice caused several problems
374     with our threading libraries libthr and libpthread.
375     curthread was often NULL after the patch and many
376     multithreaded applications would crash. We plan to
377     work on either bringing in gcc 4.1 or developing a new
378     patch which also corrects our threading issues later.
379    
380     It is more important to have a stable system for our
381     mport work and other projects at this time.
382    
383 laffer1 907 This is not a clean removal. It is recommended that you
384     have a recently SNAP CD handy. You can either reinstall
385     or perform a make buildworld and make buildkernel and
386     make installkernel. Reboot on the cd and copy the contents
387     of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
388     /usr/lib, and /usr/libexec to the respective directories on
389     your disk. Then you should be able to boot into single user
390     mode and run make installworld. You will need to run
391     chflags noschg on some of the files if you can't overwrite
392     them.
393    
394     You will get __guard missing errors since we had to remove
395     this from libc.
396    
397     You will need to rebuild any ports built while propolice was
398     installed.
399    
400 archite 886 20070401:
401     Importing propolice into MidnightBSD. Propolice is going to
402     provide us with much greater security and stability in the
403     long run. If upgrading from a pre-propolice system, please
404     follow the these instructions:
405    
406     cd /usr/src/lib/libc && make obj && make && make install
407     cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
408 laffer1 893 cd /usr/src/lib/libpthread && make obj && make && make install
409     cd /usr/src/lib/libthr && make obj && make && make install
410 archite 886 buildworld and kernel
411    
412     It is adviced that any mports which were installed and/or built
413     prior to the propolice update also be updated. If any errors
414     or issue are encounted, please contact security@midnightbsd.org
415     and we will be sure to investigate and come up with an expeditious
416     fix.
417    
418 laffer1 842 20070314:
419     Remove send-pr from src.
420    
421     Switch to NetBSD's gzip.
422    
423     Bump MBSD minor revision.
424    
425 laffer1 832 20070313:
426     Imported OpenSSH 4.6p1.
427    
428     Imported FreeBSD's libarchive and updated tar to work with it.
429    
430     Disabled debug statements cluttering up /var/log/messages for
431     the tcp autobuf patch applied previously.
432    
433 laffer1 807 20070312:
434     Synced several audio changes from FreeBSD 6.1. Removed the
435     BSD Daemon files from src/share.
436    
437 laffer1 775 20070308:
438     Added mfi which supports LSI Logic MegaRAID SAS devices including
439     the Dell perc5i.
440    
441 archite 726 20070206:
442     Imported OpenBSD's sudo into source. Please install
443     /usr/src/usr.bin/sudo/lib first before building.
444    
445     Those who install from a snapshot after this date
446     will not be effected.
447    
448 laffer1 708 20070119:
449     Added audit group. Be sure to add audit to your /etc/group file
450     before installing world.
451    
452     hostapd was updated to 0.4.8.
453    
454     An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
455     unbreak world.
456    
457     wpa_supplicant was updated.
458    
459 laffer1 775 For stability and compatibility reasons, it was decided that MidnightBSD
460     sync with FreeBSD 6.1 Release. Nearly every change between the original
461     fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
462     2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
463     will not sync every little change with FreeBSD.
464 laffer1 708
465 laffer1 477 20061231:
466     Updated COPYRIGHT for 2007.
467    
468     Updated and bumped libutil after importing NetBSD efun(3) functions.
469    
470     Added MidnightBSD_version and bumped the FreeBSD version as we've
471     synced all commits between the fork and that version. It is now safe
472     to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
473     Feb 26, 2006.
474    
475     Added spell(1) and deroff(1) from NetBSD. Also added additional
476     dict files to work with it. /usr/share/dict/american,
477     /usr/share/dict/british and /usr/share/dict/special/math
478    
479     Numerous man page and bug fixes.
480    
481 laffer1 352 20061226:
482     Setup /usr/share/examples/cvsup SUPfiles for the new
483 laffer1 376 MidnightBSD CVSup server.
484 laffer1 352
485 laffer1 376 Fix a bug in burncd where it would continue forever while
486     erasing CDRW media.
487    
488     Add csup to /usr/bin. csup is a CVSup replacement written
489     in C.
490    
491     Fixed a bug with bsnmpd build from Oct 30.
492    
493     Corrected some race conditions and fixed a few bugs in
494     geom. Imported changes from FreeBSD RELENG_6.
495    
496 laffer1 352 20061225:
497     Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
498     that caused long double to long and long long
499     conversion of negative numbers to always result in -1.
500    
501     20061221:
502     Fixed acpi_battery.c to not report an ERROR if no
503     batteries are present.
504    
505     Performed some minor updates on the RL and RE NIC drivers.
506     RL should no longer panic when trying to print errors.
507    
508     Corrected a bug with TTY.
509    
510     20061218:
511     Corrected a bug with libpthread where newly created suspended
512     threads don't get scheduled.
513    
514     20061206:
515     Fixed a typo with the firewire security patch.
516    
517     20061129:
518     Minor cleanups to utilities in bin.
519    
520     Fixed msdos file system short file name behavior to match
521     FreeBSD.
522    
523 laffer1 325 20061031:
524     Updated man pages in section 7.
525    
526     20061030:
527     Updated sys/dev/drm to support intel 915 and radeon
528     r300 cards properly.
529    
530     Synced snmpd with FreeBSD-stable.
531    
532     Fixed a bug in rm which could cause data loss.
533    
534 laffer1 305 20061027:
535     Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
536     random, kbdmux, atkbd, and usb were updated. Changes
537     to clearing registers on SSE enabled processors (i386)
538     commited.
539    
540     lukemftpd updated.
541    
542     openssh rc script was altered which effects initial
543     seeding.
544    
545 laffer1 273 20061014:
546     Workaround for em driver problem on shared IRQ.
547    
548     Started removal of alpha support.
549    
550     20061013:
551     ATA driver was updated. USB/USB1/USB2 types added.
552    
553     20061010:
554 laffer1 305 OpenSSH was updated to 4.4p1.
555 laffer1 273
556 laffer1 169 20060909:
557     OpenNTPD was added to MidnightBSD. Run make delete-old to remove
558     the old ntpd daemon.
559 laffer1 63
560 laffer1 169 cat has a new option -D which allows you to timestamp output
561     on a per line basis.
562 laffer1 5
563 laffer1 169 The kernel has a keyboard mux which allows you to have multiple
564     keyboard connected simultaneously. USB keyboard support was also
565     improved with this patch.
566 laffer1 5
567 laffer1 169 The Intel em driver was updated. Network performance was greatly
568     increased on many systems. Additional models are supported.
569 laffer1 5
570 laffer1 169 The ATA driver was patched to fix a potential deadlock.
571 laffer1 5
572 laffer1 169 Bind was patched to fix a potential denial of service condition.
573 laffer1 5
574 laffer1 169 20060817:
575     ksh has been added to the base system. If you previously had
576     the port installed, it will be overwritten on the next buildworld.
577 laffer1 5
578    
579    
580 laffer1 2 To build a kernel
581     -----------------
582 laffer1 169 If you are updating from a prior version of MidnightBSD (even one just
583 laffer1 2 a few days old), you should follow this procedure. With a
584     /usr/obj tree with a fresh buildworld,
585     make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
586     make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
587    
588     To test a kernel once
589     ---------------------
590     If you just want to boot a kernel once (because you are not sure
591     if it works, or if you want to boot a known bad kernel to provide
592     debugging information) run
593     make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
594     nextboot -k testkernel
595    
596     To just build a kernel when you know that it won't mess you up
597     --------------------------------------------------------------
598     This assumes you are already running a 6.X system. Replace
599     ${arch} with the architecture of your machine (e.g. "i386",
600 laffer1 273 "amd64", "ia64", "pc98", "sparc64", etc).
601 laffer1 2
602     cd src/sys/${arch}/conf
603     config KERNEL_NAME_HERE
604     cd ../compile/KERNEL_NAME_HERE
605     make depend
606     make
607     make install
608    
609     If this fails, go to the "To build a kernel" section.
610    
611     To rebuild everything and install it on the current system.
612     -----------------------------------------------------------
613     # Note: sometimes if you are running current you gotta do more than
614     # is listed here if you are upgrading from a really old current.
615    
616     <make sure you have good level 0 dumps>
617     make buildworld
618     make kernel KERNCONF=YOUR_KERNEL_HERE
619     [1]
620     <reboot in single user> [3]
621     mergemaster -p [5]
622     make installworld
623 laffer1 5 make delete-old
624 laffer1 2 mergemaster [4]
625     <reboot>
626    
627    
628     To cross-install current onto a separate partition
629     --------------------------------------------------
630     # In this approach we use a separate partition to hold
631     # current's root, 'usr', and 'var' directories. A partition
632     # holding "/", "/usr" and "/var" should be about 2GB in
633     # size.
634    
635     <make sure you have good level 0 dumps>
636     <boot into -stable>
637     make buildworld
638     make buildkernel KERNCONF=YOUR_KERNEL_HERE
639     <maybe newfs current's root partition>
640     <mount current's root partition on directory ${CURRENT_ROOT}>
641     make installworld DESTDIR=${CURRENT_ROOT}
642     cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
643     make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
644     cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
645     <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
646     <reboot into current>
647     <do a "native" rebuild/install as described in the previous section>
648     <maybe install compatibility libraries from src/lib/compat>
649     <reboot>
650    
651    
652     To upgrade in-place from 5.x-stable or higher to 6.x-stable
653     -----------------------------------------------------------
654     <make sure you have good level 0 dumps>
655     make buildworld [9]
656     make kernel KERNCONF=YOUR_KERNEL_HERE [8]
657     [1]
658     <reboot in single user> [3]
659     mergemaster -p [5]
660     make installworld
661 laffer1 5 make delete-old
662 laffer1 2 mergemaster -i [4]
663     <reboot>
664    
665     Make sure that you've read the UPDATING file to understand the
666     tweaks to various things you need. At this point in the life
667     cycle of current, things change often and you are on your own
668     to cope. The defaults can also change, so please read ALL of
669     the UPDATING entries.
670    
671     Also, if you are tracking -current, you must be subscribed to
672     freebsd-current@freebsd.org. Make sure that before you update
673     your sources that you have read and understood all the recent
674     messages there. If in doubt, please track -stable which has
675     much fewer pitfalls.
676    
677     [1] If you have third party modules, such as vmware, you
678     should disable them at this point so they don't crash your
679     system on reboot.
680    
681     [3] From the bootblocks, boot -s, and then do
682     fsck -p
683     mount -u /
684     mount -a
685     cd src
686     adjkerntz -i # if CMOS is wall time
687     Also, when doing a major release upgrade, it is required that
688     you boot into single user mode to do the installworld.
689    
690     [4] Note: This step is non-optional. Failure to do this step
691     can result in a significant reduction in the functionality of the
692     system. Attempting to do it by hand is not recommended and those
693     that pursue this avenue should read this file carefully, as well
694     as the archives of freebsd-current and freebsd-hackers mailing lists
695     for potential gotchas.
696    
697     [5] Usually this step is a noop. However, from time to time
698     you may need to do this if you get unknown user in the following
699     step. It never hurts to do it all the time.
700    
701     [8] In order to have a kernel that can run the 5.x binaries
702     needed to do an installworld, you must include the COMPAT_FREEBSD5
703     option in your kernel. Failure to do so may leave you with a system
704     that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
705     is required to run the 5.x binaries on more recent kernels.
706    
707     Make sure that you merge any new devices from GENERIC since the
708     last time you updated your kernel config file.
709    
710     [9] When checking out sources, you must include the -P flag to have
711     cvs prune empty directories.
712    
713     If CPUTYPE is defined in your /etc/make.conf, make sure to use the
714     "?=" instead of the "=" assignment operator, so that buildworld can
715     override the CPUTYPE if it needs to.
716    
717     MAKEOBJDIRPREFIX must be defined in an environment variable, and
718     not on the command line, or in /etc/make.conf. buildworld will
719     warn if it is improperly defined.
720    
721     Copyright information:
722    
723     Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
724    
725     Redistribution, publication, translation and use, with or without
726     modification, in full or in part, in any form or format of this
727     document are permitted without further permission from the author.
728    
729     THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
730     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
731     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
732     DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
733     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
734     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
735     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
736     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
737     STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
738     IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
739     POSSIBILITY OF SUCH DAMAGE.
740    
741     If you find this document useful, and you want to, you may buy the
742     author a beer.
743    
744     Contact Warner Losh if you have any questions about your use of
745     this document.
746    
747 laffer1 5 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
748 laffer1 3044 $MidnightBSD: src/UPDATING,v 1.65 2009/07/29 15:31:29 laffer1 Exp $

Properties

Name Value
cvs2svn:cvs-rev 1.66