ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4022
Committed: Sun Jul 10 21:01:53 2011 UTC (12 years, 10 months ago) by laffer1
File size: 30288 byte(s)
Log Message:
Ack!

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.128