ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3403
Committed: Wed May 5 20:40:34 2010 UTC (14 years ago) by laffer1
File size: 25868 byte(s)
Log Message:
zlib++

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.89