ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3565
Committed: Sat Nov 20 17:49:41 2010 UTC (13 years, 6 months ago) by laffer1
File size: 27532 byte(s)
Log Message:
 Several portions of the kernel and userland code related to UFS file
        systems (and UFS2) cannot properly handle inode counts above 2^31 due
        to use of int types.  Based on a patch from FreeBSD, I've modified
        our UFS2 implementation to handle unsigned values for inode counts
        which should allow for file systems greater than 16TB.

        newfs and growfs was also modified.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.99