ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3973
Committed: Sun Jun 12 20:06:20 2011 UTC (13 years ago) by laffer1
File size: 29982 byte(s)
Log Message:
mksh updated

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.126