ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 726
Committed: Wed Feb 7 01:25:31 2007 UTC (17 years, 3 months ago) by archite
File size: 10599 byte(s)
Log Message:
Updated to include instructions for installing sudo.

File Contents

# User Rev Content
1 laffer1 169 Updating Information for MidnightBSD users
2 laffer1 2
3 laffer1 273 Items affecting the mports and packages system can be found in
4     /usr/mports/UPDATING.
5 laffer1 2
6 archite 726 20070206:
7     Imported OpenBSD's sudo into source. Please install
8     /usr/src/usr.bin/sudo/lib first before building.
9    
10     Those who install from a snapshot after this date
11     will not be effected.
12    
13 laffer1 708 20070119:
14     Added audit group. Be sure to add audit to your /etc/group file
15     before installing world.
16    
17     hostapd was updated to 0.4.8.
18    
19     An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
20     unbreak world.
21    
22     wpa_supplicant was updated.
23    
24     For stability and compatibility reasons, it was decided that MidnightBSD sync with FreeBSD 6.1 Release. Nearly every change between the original fork date of February 24, 2006 and the release of FreeBSD 6.1 in May 2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and will not sync every little change with FreeBSD.
25    
26 laffer1 477 20061231:
27     Updated COPYRIGHT for 2007.
28    
29     Updated and bumped libutil after importing NetBSD efun(3) functions.
30    
31     Added MidnightBSD_version and bumped the FreeBSD version as we've
32     synced all commits between the fork and that version. It is now safe
33     to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
34     Feb 26, 2006.
35    
36     Added spell(1) and deroff(1) from NetBSD. Also added additional
37     dict files to work with it. /usr/share/dict/american,
38     /usr/share/dict/british and /usr/share/dict/special/math
39    
40     Numerous man page and bug fixes.
41    
42 laffer1 352 20061226:
43     Setup /usr/share/examples/cvsup SUPfiles for the new
44 laffer1 376 MidnightBSD CVSup server.
45 laffer1 352
46 laffer1 376 Fix a bug in burncd where it would continue forever while
47     erasing CDRW media.
48    
49     Add csup to /usr/bin. csup is a CVSup replacement written
50     in C.
51    
52     Fixed a bug with bsnmpd build from Oct 30.
53    
54     Corrected some race conditions and fixed a few bugs in
55     geom. Imported changes from FreeBSD RELENG_6.
56    
57 laffer1 352 20061225:
58     Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
59     that caused long double to long and long long
60     conversion of negative numbers to always result in -1.
61    
62     20061221:
63     Fixed acpi_battery.c to not report an ERROR if no
64     batteries are present.
65    
66     Performed some minor updates on the RL and RE NIC drivers.
67     RL should no longer panic when trying to print errors.
68    
69     Corrected a bug with TTY.
70    
71     20061218:
72     Corrected a bug with libpthread where newly created suspended
73     threads don't get scheduled.
74    
75     20061206:
76     Fixed a typo with the firewire security patch.
77    
78     20061129:
79     Minor cleanups to utilities in bin.
80    
81     Fixed msdos file system short file name behavior to match
82     FreeBSD.
83    
84 laffer1 325 20061031:
85     Updated man pages in section 7.
86    
87     20061030:
88     Updated sys/dev/drm to support intel 915 and radeon
89     r300 cards properly.
90    
91     Synced snmpd with FreeBSD-stable.
92    
93     Fixed a bug in rm which could cause data loss.
94    
95 laffer1 305 20061027:
96     Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
97     random, kbdmux, atkbd, and usb were updated. Changes
98     to clearing registers on SSE enabled processors (i386)
99     commited.
100    
101     lukemftpd updated.
102    
103     openssh rc script was altered which effects initial
104     seeding.
105    
106 laffer1 273 20061014:
107     Workaround for em driver problem on shared IRQ.
108    
109     Started removal of alpha support.
110    
111     20061013:
112     ATA driver was updated. USB/USB1/USB2 types added.
113    
114     20061010:
115 laffer1 305 OpenSSH was updated to 4.4p1.
116 laffer1 273
117 laffer1 169 20060909:
118     OpenNTPD was added to MidnightBSD. Run make delete-old to remove
119     the old ntpd daemon.
120 laffer1 63
121 laffer1 169 cat has a new option -D which allows you to timestamp output
122     on a per line basis.
123 laffer1 5
124 laffer1 169 The kernel has a keyboard mux which allows you to have multiple
125     keyboard connected simultaneously. USB keyboard support was also
126     improved with this patch.
127 laffer1 5
128 laffer1 169 The Intel em driver was updated. Network performance was greatly
129     increased on many systems. Additional models are supported.
130 laffer1 5
131 laffer1 169 The ATA driver was patched to fix a potential deadlock.
132 laffer1 5
133 laffer1 169 Bind was patched to fix a potential denial of service condition.
134 laffer1 5
135 laffer1 169 20060817:
136     ksh has been added to the base system. If you previously had
137     the port installed, it will be overwritten on the next buildworld.
138 laffer1 5
139    
140    
141 laffer1 2 To build a kernel
142     -----------------
143 laffer1 169 If you are updating from a prior version of MidnightBSD (even one just
144 laffer1 2 a few days old), you should follow this procedure. With a
145     /usr/obj tree with a fresh buildworld,
146     make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
147     make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
148    
149     To test a kernel once
150     ---------------------
151     If you just want to boot a kernel once (because you are not sure
152     if it works, or if you want to boot a known bad kernel to provide
153     debugging information) run
154     make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
155     nextboot -k testkernel
156    
157     To just build a kernel when you know that it won't mess you up
158     --------------------------------------------------------------
159     This assumes you are already running a 6.X system. Replace
160     ${arch} with the architecture of your machine (e.g. "i386",
161 laffer1 273 "amd64", "ia64", "pc98", "sparc64", etc).
162 laffer1 2
163     cd src/sys/${arch}/conf
164     config KERNEL_NAME_HERE
165     cd ../compile/KERNEL_NAME_HERE
166     make depend
167     make
168     make install
169    
170     If this fails, go to the "To build a kernel" section.
171    
172     To rebuild everything and install it on the current system.
173     -----------------------------------------------------------
174     # Note: sometimes if you are running current you gotta do more than
175     # is listed here if you are upgrading from a really old current.
176    
177     <make sure you have good level 0 dumps>
178     make buildworld
179     make kernel KERNCONF=YOUR_KERNEL_HERE
180     [1]
181     <reboot in single user> [3]
182     mergemaster -p [5]
183     make installworld
184 laffer1 5 make delete-old
185 laffer1 2 mergemaster [4]
186     <reboot>
187    
188    
189     To cross-install current onto a separate partition
190     --------------------------------------------------
191     # In this approach we use a separate partition to hold
192     # current's root, 'usr', and 'var' directories. A partition
193     # holding "/", "/usr" and "/var" should be about 2GB in
194     # size.
195    
196     <make sure you have good level 0 dumps>
197     <boot into -stable>
198     make buildworld
199     make buildkernel KERNCONF=YOUR_KERNEL_HERE
200     <maybe newfs current's root partition>
201     <mount current's root partition on directory ${CURRENT_ROOT}>
202     make installworld DESTDIR=${CURRENT_ROOT}
203     cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
204     make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
205     cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
206     <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
207     <reboot into current>
208     <do a "native" rebuild/install as described in the previous section>
209     <maybe install compatibility libraries from src/lib/compat>
210     <reboot>
211    
212    
213     To upgrade in-place from 5.x-stable or higher to 6.x-stable
214     -----------------------------------------------------------
215     <make sure you have good level 0 dumps>
216     make buildworld [9]
217     make kernel KERNCONF=YOUR_KERNEL_HERE [8]
218     [1]
219     <reboot in single user> [3]
220     mergemaster -p [5]
221     make installworld
222 laffer1 5 make delete-old
223 laffer1 2 mergemaster -i [4]
224     <reboot>
225    
226     Make sure that you've read the UPDATING file to understand the
227     tweaks to various things you need. At this point in the life
228     cycle of current, things change often and you are on your own
229     to cope. The defaults can also change, so please read ALL of
230     the UPDATING entries.
231    
232     Also, if you are tracking -current, you must be subscribed to
233     freebsd-current@freebsd.org. Make sure that before you update
234     your sources that you have read and understood all the recent
235     messages there. If in doubt, please track -stable which has
236     much fewer pitfalls.
237    
238     [1] If you have third party modules, such as vmware, you
239     should disable them at this point so they don't crash your
240     system on reboot.
241    
242     [3] From the bootblocks, boot -s, and then do
243     fsck -p
244     mount -u /
245     mount -a
246     cd src
247     adjkerntz -i # if CMOS is wall time
248     Also, when doing a major release upgrade, it is required that
249     you boot into single user mode to do the installworld.
250    
251     [4] Note: This step is non-optional. Failure to do this step
252     can result in a significant reduction in the functionality of the
253     system. Attempting to do it by hand is not recommended and those
254     that pursue this avenue should read this file carefully, as well
255     as the archives of freebsd-current and freebsd-hackers mailing lists
256     for potential gotchas.
257    
258     [5] Usually this step is a noop. However, from time to time
259     you may need to do this if you get unknown user in the following
260     step. It never hurts to do it all the time.
261    
262     [8] In order to have a kernel that can run the 5.x binaries
263     needed to do an installworld, you must include the COMPAT_FREEBSD5
264     option in your kernel. Failure to do so may leave you with a system
265     that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
266     is required to run the 5.x binaries on more recent kernels.
267    
268     Make sure that you merge any new devices from GENERIC since the
269     last time you updated your kernel config file.
270    
271     [9] When checking out sources, you must include the -P flag to have
272     cvs prune empty directories.
273    
274     If CPUTYPE is defined in your /etc/make.conf, make sure to use the
275     "?=" instead of the "=" assignment operator, so that buildworld can
276     override the CPUTYPE if it needs to.
277    
278     MAKEOBJDIRPREFIX must be defined in an environment variable, and
279     not on the command line, or in /etc/make.conf. buildworld will
280     warn if it is improperly defined.
281    
282     Copyright information:
283    
284     Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
285    
286     Redistribution, publication, translation and use, with or without
287     modification, in full or in part, in any form or format of this
288     document are permitted without further permission from the author.
289    
290     THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
291     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
292     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
293     DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
294     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
295     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
296     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
297     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
298     STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
299     IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
300     POSSIBILITY OF SUCH DAMAGE.
301    
302     If you find this document useful, and you want to, you may buy the
303     author a beer.
304    
305     Contact Warner Losh if you have any questions about your use of
306     this document.
307    
308 laffer1 5 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
309 archite 726 $MidnightBSD: src/UPDATING,v 1.10 2007/01/19 14:45:44 laffer1 Exp $

Properties

Name Value
cvs2svn:cvs-rev 1.11