ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3431
Committed: Tue Jul 13 23:16:10 2010 UTC (13 years, 10 months ago) by laffer1
File size: 25985 byte(s)
Log Message:
Denote mbuf fix

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.91