ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3377
Committed: Sat Mar 20 03:48:49 2010 UTC (14 years, 1 month ago) by laffer1
File size: 25778 byte(s)
Log Message:
Document this mornings change.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.86