ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3341
Committed: Wed Mar 10 05:05:28 2010 UTC (14 years, 2 months ago) by laffer1
File size: 25334 byte(s)
Log Message:
Haven't we been busy.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.82