UPDATING revision 46137
1Updating Information for FreeBSD current users 2 3This file is maintained by imp@village.org. Please send new entries 4directly to him. See end of file for further details. 5 619990427: 7 Massive changes to SMP went into the tree that should speed 8 things up. However, if you experience problems with SMP 9 machines, you can back off to the PRE_SMP_VMSHARE tag in the 10 CVS repository (or run an MP kernel). 11 1219990420: 13 Pccardd and the pccard bus in general seem to be broken or 14 most people. Soren has patches to make it better for some, 15 but not all people. Work is underway to make it better for 16 all people. 17 1819990416: 19 new bus changes integrated into -current. Many problems were 20 initially reported, but most have been fixed. You'll need a 21 new config and to tweak your kernel config file the way that 22 GENERIC was tweaked. Keep a copy of your old kernel when 23 upgrading in case your new kernel doesn't work (and report the 24 breakage to current@freebsd.org). 25 26 As of 19990421 the remaining problems/quirks are 27 28 o sio no longer supports pnp nor pccard. This will be corrected, 29 but the new pccard code needs to be completed. 30 o Some of the sound drivers broke for some people. It seems 31 inconsistant as to who/what/when/where things broke. 32 o Duplicate device entries in your config do not work. Previously 33 they were silently ignored. psm0 seems to be the most common 34 duplicate choice, although some reports have come in from people 35 that wired their scsi disk entries. 36 o You must move the keyboard and mouse attachments from the 37 isa bus to the atkbdc bus. See GENERIC for details. 38 o Machines with multiple host-pci bridges (Intel 450NX) will not 39 probe the second pci bus. 40 o Some probe ordering may have changed, so device naming may change 41 with the new kernel. If you have multiple devices, please double 42 check to make sure they didn't move. This is especially true 43 for cards on different buses. 44 o The bus attachment for vga0 is always isa0 and never pci0 when 45 it is in fact a pci card. It is safe to ignore this. 46 o The format of the boot messages has changed (and is not 47 guaranteed to be constant for a while) so you may see this 48 in some shell scripts that diff dmesg from day to day as well 49 as scripts that parse dmesg output. 50 5119990414: 52 cc -aout sometimes has problems compiling with -g, remove -g 53 from those compilation units affected until this is corrected. 54 55 cc -aout has problems with producing some threaded libraries, 56 so make world -DWANT_AOUT is not functional at this time. 57 58 Since make world for a.out isn't functional, you cannot do 59 make aout-to-elf from a pre-egcs a.out system. To work around 60 this problem, make aout-to-elf using 3.1-stable first (or a 61 pre egcs -current) and then a simple make world will take you 62 the rest of the way with a -current source base. 63 6419990413: 65 Make -j works again for make world. As always, use it with 66 care, and be sure to try a make world w/o -j before reporting 67 problems (that is, know if the problem exists w/o -j before 68 reporting the problem with -j). 69 7019990413: 71 Note cc -aout, which had been broken since the conversion to 72 egcs, now supposedly works. If you have rebuilt things like 73 XFree86 a.out libraries, you should rebuild them again or 74 progams that use them, including netscape, will fail to work. 75 7619990409: 77 NOTE: New c++ compiler cannot be used with c++ binaries from 78 the old compiler and vice versa. 79 8019990408: 81 In recent days egcs has been imported into the tree. A number 82 of problems have been discussed in -current. Here is a highlight 83 of a few of the more common ones. With the exception of make 84 -j n, they have been claimed to have been fixed. 85 86 c++ is broken after make world: This is correct. Because we 87 changed compilers two make worlds are necessary to get C++ 88 working again. The code generated by the old compiler and new 89 compiler are not compatible, so things wind up being 90 undefined. 91 92 cpp is broken in make world: There was a window where cpp 93 would be built incorrectly. The fix for this is 94 cd src/gnu/usr.bin/cc 95 make clean 96 make all 97 make install 98 and this should correct your problems. See the -current 99 archives for a version of this that does moer cleaning. 100 101 Make -j n doesn't work. Work contiunes to make this work, 102 I've seen no reports of success as of April 7th. 103 10419990329: 105 Previously, one would define "NOAOUT" to keep from building 106 the legacy a.out bits. Now one would define "WANT_AOUT" to 107 build them. 108 10919990316: 110 The name of the old wd.c and atapi.c based CDROM driver has 111 been changed back to wcd. So update your config file to use 112 "device wcd" instead of "device acd". 113 11419990314: 115 For those of you using the VN device as a loadable module, 116 please be aware that the new VN device has been committed to 117 -4.x and cannot yet be used as a loadable module. This will 118 be fixed in the future. 119 12019990309: 121 New loader.rc mechanism. Please see src/sys/boot/README for 122 details. 123 12419990225: 125 struct proc size changed. Recompile kernel and the 126 usual suspects. Make world if in doubt. 127 12819990214: 129 The nlpt driver has changed names back to be the lpt driver. 130 See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html 131 for proper configuration details. 132 13319990210: 134 The 'lpt' driver is now obsolete. Replace it with the 'nlpt' 135 driver and 'ppbus' controller combination. 136 13719990209: 138 New devstat API requires recompilation of libdevstat, systat, 139 iostat, vmstat and rpc.rstatd. A new kernel is also required. 140 make world + building a kernel should do all of this. Any 141 ports that use devstat need to be recompiled as well. 142 14319990125: 144 Linux threads options has gone away (they are now standard in 145 the FreeBSD kernel). A recompile of all libkvm using programs 146 is in order (or better yet a make world). 147 14819990122: 149 On or about this date there was a small window when the boot 150 blocks had some minor problems which seemed to force one to 151 edit /etc/fstab. This has been corrected, if you are seeing this 152 problem, please rebuild and reinstall your boot blocks. 153 15419990121: 155 Vinum has changed. The "vinum read" command has changed. For 156 updates, please see 157 158http://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current 159 160 for details. 161 162 Matt Dillon committed a boatload of VM changes, for 163 information please see 164 165http://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current 166 or 167http://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current 168 169 for details. These changes will likely not impact anybody, 170 but large chagnes to the VM need at least a heads up. 171 17219990120: 173 Stable branch created. You might want to consider using this 174 branch. It is tagged with RELENG_3. 175 17619990119: 177 More work on the syscons driver has been committed. Since 178 files moved around, you will need to reconfigure your kernel, 179 and make clean; make depend before rebuilding the kernel. No 180 config file changes are needed. 181 18219990111: 183 New keyboard and video card drivers are introduced as the first 184 stage of console driver reorganization. You are required to 185 update the kernel configuration file and rebuild the kernel. 186 kbdcontrol, vidcontrol, and screen savers also need recompilation. 187 The instruction can be found in 188 189 http://www.freebsd.org/~yokota/sc_update.txt 190 191 It has notes on splash screen too. 192 19319990106: 194 Robert Nordier was kind enough to make this page to enable people to 195 install the new bootblocks: 196 197 http://www.freebsd.org/~rnordier/boot.txt 198 199 When updating to ELF, make sure that you have updated your 200 /etc/rc files which have different ldconfig invocations for 201 elf and aout. Otherwise things like X will stop working with 202 messages about being unable to find library files. The 203 mergemaster utility in ports/sysutils/mergemaster helps to 204 keep critical files like this in sync, and its use is 205 recommended. 206 20719990104: 208 Information about ELF day (see 19981230) can be found in 209 210 http://www.freebsd.org/~peter/elfday.html 211 212 about the upcoming change, its motivations and instructions 213 for doing the upgrade. 214 21519981230: 216 You should install new bootblocks now. The ELF kernel will 217 become default soon. In addition, you'll need to upgrade 218 your userland programs to ELF before then as well. Use 219 make aout-to-elf to upgrade your userland programs (old 220 a.out programs in, for example, /usr/local/bin will 221 continue to work, even after the upgrade). See src/Makefile 222 for more details. 223 22419981224: 225 The old wcd driver has been deleted from the kernel. The 226 driver that replaces it is named acd. You'll need to change 227 this in your configuration files. 228 229 Failure to do this will result in "ATAPI CD-ROMs not 230 configured" at boot time. 231 232 The floppy tape driver (ft) has been removed from the kernel, 233 with no replacement driver. 234 23519981202: 236 New groups from 19981201 commented out of mtree, so they 237 aren't strictly needed, but still a good idea to have. 238 23919981201: 240 New user/group added: bind. From src/etc/master.passwd and 241 src/etc/group: 242 % grep <newstuff> /usr/src/etc/group 243 bind:*:53: 244 % grep <newstuff> /usr/src/etc/master.passwd 245 tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin 246 kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin 247 bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin 248 24919981118: 250 PAM integrated into the tree. Requires new /etc/pam.conf file 251 to silence warnings from authentication programs (login, etc). 252 See src/etc/pam.conf for a sample. 253 254This file contains a list, in reverse chronologocal order, of major 255breakages in tracking -current. Not all things will be listed here, 256and it only starts on Novemeber 18, 1998. If you have an earlier 257version of FreeBSD, you are on your own to get to November 18, 1998. 258 259Please filter your entries through Warner (imp@village.org) so that 260the style, formatting, etc of this file can be maintained. 261 262$Id: UPDATING,v 1.30 1999/04/21 06:57:35 imp Exp $ 263