ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3371
Committed: Wed Mar 17 23:53:35 2010 UTC (14 years, 2 months ago) by laffer1
File size: 25719 byte(s)
Log Message:
timezones and ati updates

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.85