UPDATING revision 53727
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 619991126: 7 MFS_ROOT and MFS_ROOT_SIZE are gone, replaced by MD_ROOT and 8 MD_ROOT_SIZE options in the md driver. md driver now deals with 9 the hacks. You should add md driver to kerneles that have 10 MFS_ROOT, et al. See GENERIC or LINT for details. 11 1219991125: 13 The ep changed a while ago and can no longer be used with hard 14 wired addresses in the config file. 15 1619991113: 17 Gcc 2.95.2 is now the default compiler. 18 1919991015: 20 PCCARD has been updated to attach pcic to the isa bus. Therefore 21 you will need to modify kernel config files that have pcic/card 22 in them as follows: 23 controller pcic0 at isa? 24 controller pcic1 at isa? 25 controller card0 26 2719990929: 28 The sigset_t datatype has been changed from an integral type 29 to a compound type and can hold 128 signals. Syscalls directly 30 or indirectly using the new sigset_t have been added as to 31 maintain compatibility with existing binaries. A new kernel must 32 be made and installed and booted with before a make world can 33 be done. 34 3519990919: 36 New jail syscall format requires recompilation of jail(8) with 37 fresh headers installed (or a make world will do it for you). 38 3919990914: 40 Matt Dillon checked in many vm related things and sent a heads up 41 to -current urging caution and to report vm problems to him. 42 As of the 19th, no killer problems have been reported, but you 43 have been warned. 44 4519990908: 46 The new miibus has been added to the system. If you are using 47 the dm, rl, sf, sis, ste, tl, wb or xl drivers, you need to 48 add "controller miibus0" to your config file. 49 5019990905: 51 /var/cron/log has been moved to /var/log/cron to get all the 52 log files in one place. 53 5419990831: 55 tn3270 has been removed from the base system and added as a port. 56 5719990830: 58 User-visible TCP timers are now expressed in units of 1ms, instead 59 of 500ms, so if you've customized any timer values under 60 ``net.inet.tcp'', multiply them by 500 to preserve TCP's behavior. 61 6219990828: 63 RCS Id tags changed to FreeBSD. This will cause huge cvsup 64 updates. 65 6619990821: 67 On 28-May-1999 libreadline was upgraded from readline-2.2 to 68 readline-4.0. At that time the shared library major version 69 number was bumped from "3" to "4". It has been deemed that 70 the interface change between readline-2.2 and readline-4.0 was 71 not sufficient to warrant the version number bump. 72 73 Thus I have reverted it back to "3". You will need to perform 74 the below immediately before your next ``make world'': 75 cd /usr/lib 76 ls -l libreadline.so.4 77 (if you have /usr/lib/libreadline.so.4) 78 mv libreadline.so.4 libreadline.so.3 79 rm -f libreadline.so 80 ln -s libreadline.so.3 libreadline.so 81 8219990801: 83 Changes to the pccardd kernel interface require that you recompile 84 pccardd for new kernel. 85 8619980725: 87 The ipfw interface to the kernel has changed. You will need to 88 recompile ipfw programs for the new kernel. 89 9019990715: 91 The bpfilter device has been renamed to bpf. You will need to 92 change your config files in order to enable this in newer kernels. 93 9419990704: 95 src/contrib/sys/softupdates is moving to 96 src/sys/contrib/softupdates. Update your symbolic links/etc. 97 9819990702: 99 Major changes have been made to vinum and its interface. See 100 the man page (vinum(8)) for details. Look at the concat, 101 mirror and stripe commands, as well as the SIMPLIFIED 102 CONFIGURATION section. 103 10419990628: 105 Newsyslog.conf has had a minor, but potentially dangerous, 106 change to its username/group syntax. The old syntax was 107 user.group, while the new syntax is user:group. 108 10919990627: 110 Inetd wrapping default has changed. Please see the updated 111 man page for details. 112 11319990623: 114 Compaq Smart Raid driver committed as ida. 115 11619990622: 117 The second phase of syscons cleanup has happened. Some 118 functionality has been made optional. For details, see 119 http://www.freebsd.org/~yokota/sc_update-June.txt 120 Everyone will need to re-config(8) their kernels, but old 121 binaries will work with the new kernel. 122 12319990620: 124 IPFW uid/gid-based filtering support has been committed. This 125 breaks binary compatibility with previous copies of 126 ipfw(8). Any utilities using the ioctl()s of ipfw (especially 127 ipfw(8)) need to be recompiled with the newest headers 128 installed. 129 13019990618: 131 Inetd now wraps all stream-based services, including internals. 132 Syslog "severity" options are honoured. Installed syslog.conf 133 and hosts.allow should be checked. 134 13519990509: 136 Most of the problems with newbus have been corrected, but 137 it is still current and evolving. 138 139 libcam's ABI has changed. You must recompile the world and 140 any ports that use it. 141 14219990427: 143 Massive changes to SMP went into the tree that should speed 144 things up. However, if you experience problems with SMP 145 machines, you can back off to the PRE_SMP_VMSHARE tag in the 146 CVS repository (or run an MP kernel). 147 14819990420: 149 Pccardd and the pccard bus in general seem to be broken or 150 most people. Soren has patches to make it better for some, 151 but not all people. Work is underway to make it better for 152 all people. 153 15419990416: 155 new bus changes integrated into -current. Many problems were 156 initially reported, but most have been fixed. You'll need a 157 new config and to tweak your kernel config file the way that 158 GENERIC was tweaked. Keep a copy of your old kernel when 159 upgrading in case your new kernel doesn't work (and report the 160 breakage to current@freebsd.org). 161 162 As of 19990421 the remaining problems/quirks are 163 164 o sio no longer supports pnp nor pccard. This will be corrected, 165 but the new pccard code needs to be completed. 166 o Some of the sound drivers broke for some people. It seems 167 inconsistant as to who/what/when/where things broke. 168 o Duplicate device entries in your config do not work. Previously 169 they were silently ignored. psm0 seems to be the most common 170 duplicate choice, although some reports have come in from people 171 that wired their scsi disk entries. 172 o You must move the keyboard and mouse attachments from the 173 isa bus to the atkbdc bus. See GENERIC for details. 174 o Machines with multiple host-pci bridges (Intel 450NX) will not 175 probe the second pci bus. 176 o Some probe ordering may have changed, so device naming may change 177 with the new kernel. If you have multiple devices, please double 178 check to make sure they didn't move. This is especially true 179 for cards on different buses. 180 o The bus attachment for vga0 is always isa0 and never pci0 when 181 it is in fact a pci card. It is safe to ignore this. 182 o The format of the boot messages has changed (and is not 183 guaranteed to be constant for a while) so you may see this 184 in some shell scripts that diff dmesg from day to day as well 185 as scripts that parse dmesg output. 186 18719990414: 188 cc -aout sometimes has problems compiling with -g, remove -g 189 from those compilation units affected until this is corrected. 190 191 cc -aout has problems with producing some threaded libraries, 192 so make world -DWANT_AOUT is not functional at this time. 193 194 Since make world for a.out isn't functional, you cannot do 195 make aout-to-elf from a pre-egcs a.out system. To work around 196 this problem, make aout-to-elf using 3.1-stable first (or a 197 pre egcs -current) and then a simple make world will take you 198 the rest of the way with a -current source base. 199 20019990413: 201 Make -j works again for make world. As always, use it with 202 care, and be sure to try a make world w/o -j before reporting 203 problems (that is, know if the problem exists w/o -j before 204 reporting the problem with -j). 205 20619990413: 207 Note cc -aout, which had been broken since the conversion to 208 egcs, now supposedly works. If you have rebuilt things like 209 XFree86 a.out libraries, you should rebuild them again or 210 progams that use them, including netscape, will fail to work. 211 21219990409: 213 NOTE: New c++ compiler cannot be used with c++ binaries from 214 the old compiler and vice versa. 215 21619990408: 217 In recent days egcs has been imported into the tree. A number 218 of problems have been discussed in -current. Here is a highlight 219 of a few of the more common ones. With the exception of make 220 -j n, they have been claimed to have been fixed. 221 222 c++ is broken after make world: This is correct. Because we 223 changed compilers two make worlds are necessary to get C++ 224 working again. The code generated by the old compiler and new 225 compiler are not compatible, so things wind up being 226 undefined. 227 228 cpp is broken in make world: There was a window where cpp 229 would be built incorrectly. The fix for this is 230 cd src/gnu/usr.bin/cc 231 make clean 232 make all 233 make install 234 and this should correct your problems. See the -current 235 archives for a version of this that does moer cleaning. 236 237 Make -j n doesn't work. Work contiunes to make this work, 238 I've seen no reports of success as of April 7th. 239 24019990329: 241 Previously, one would define "NOAOUT" to keep from building 242 the legacy a.out bits. Now one would define "WANT_AOUT" to 243 build them. 244 24519990316: 246 The name of the old wd.c and atapi.c based CDROM driver has 247 been changed back to wcd. So update your config file to use 248 "device wcd" instead of "device acd". 249 25019990314: 251 For those of you using the VN device as a loadable module, 252 please be aware that the new VN device has been committed to 253 -4.x and cannot yet be used as a loadable module. This will 254 be fixed in the future. 255 25619990309: 257 New loader.rc mechanism. Please see src/sys/boot/README for 258 details. 259 26019990225: 261 struct proc size changed. Recompile kernel and the 262 usual suspects. Make world if in doubt. 263 26419990214: 265 The nlpt driver has changed names back to be the lpt driver. 266 See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html 267 for proper configuration details. 268 26919990210: 270 The 'lpt' driver is now obsolete. Replace it with the 'nlpt' 271 driver and 'ppbus' controller combination. 272 27319990209: 274 New devstat API requires recompilation of libdevstat, systat, 275 iostat, vmstat and rpc.rstatd. A new kernel is also required. 276 make world + building a kernel should do all of this. Any 277 ports that use devstat need to be recompiled as well. 278 27919990125: 280 Linux threads options has gone away (they are now standard in 281 the FreeBSD kernel). A recompile of all libkvm using programs 282 is in order (or better yet a make world). 283 28419990122: 285 On or about this date there was a small window when the boot 286 blocks had some minor problems which seemed to force one to 287 edit /etc/fstab. This has been corrected, if you are seeing this 288 problem, please rebuild and reinstall your boot blocks. 289 29019990121: 291 Vinum has changed. The "vinum read" command has changed. For 292 updates, please see 293 294http://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current 295 296 for details. 297 298 Matt Dillon committed a boatload of VM changes, for 299 information please see 300 301http://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current 302 or 303http://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current 304 305 for details. These changes will likely not impact anybody, 306 but large chagnes to the VM need at least a heads up. 307 30819990120: 309 Stable branch created. You might want to consider using this 310 branch. It is tagged with RELENG_3. 311 31219990119: 313 More work on the syscons driver has been committed. Since 314 files moved around, you will need to reconfigure your kernel, 315 and make clean; make depend before rebuilding the kernel. No 316 config file changes are needed. 317 31819990111: 319 New keyboard and video card drivers are introduced as the first 320 stage of console driver reorganization. You are required to 321 update the kernel configuration file and rebuild the kernel. 322 kbdcontrol, vidcontrol, and screen savers also need recompilation. 323 The instruction can be found in 324 325 http://www.freebsd.org/~yokota/sc_update.txt 326 327 It has notes on splash screen too. 328 32919990106: 330 Robert Nordier was kind enough to make this page to enable people to 331 install the new bootblocks: 332 333 http://www.freebsd.org/~rnordier/boot.txt 334 335 When updating to ELF, make sure that you have updated your 336 /etc/rc files which have different ldconfig invocations for 337 elf and aout. Otherwise things like X will stop working with 338 messages about being unable to find library files. The 339 mergemaster utility in ports/sysutils/mergemaster helps to 340 keep critical files like this in sync, and its use is 341 recommended. 342 34319990104: 344 Information about ELF day (see 19981230) can be found in 345 346 http://www.freebsd.org/~peter/elfday.html 347 348 about the upcoming change, its motivations and instructions 349 for doing the upgrade. 350 35119981230: 352 You should install new bootblocks now. The ELF kernel will 353 become default soon. In addition, you'll need to upgrade 354 your userland programs to ELF before then as well. Use 355 make aout-to-elf to upgrade your userland programs (old 356 a.out programs in, for example, /usr/local/bin will 357 continue to work, even after the upgrade). See src/Makefile 358 for more details. 359 36019981224: 361 The old wcd driver has been deleted from the kernel. The 362 driver that replaces it is named acd. You'll need to change 363 this in your configuration files. 364 365 Failure to do this will result in "ATAPI CD-ROMs not 366 configured" at boot time. 367 368 The floppy tape driver (ft) has been removed from the kernel, 369 with no replacement driver. 370 37119981202: 372 New groups from 19981201 commented out of mtree, so they 373 aren't strictly needed, but still a good idea to have. 374 37519981201: 376 New user/group added: bind. From src/etc/master.passwd and 377 src/etc/group: 378 % grep <newstuff> /usr/src/etc/group 379 bind:*:53: 380 % grep <newstuff> /usr/src/etc/master.passwd 381 tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin 382 kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin 383 bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin 384 38519981118: 386 PAM integrated into the tree. Requires new /etc/pam.conf file 387 to silence warnings from authentication programs (login, etc). 388 See src/etc/pam.conf for a sample. 389 390This file contains a list, in reverse chronologocal order, of major 391breakages in tracking -current. Not all things will be listed here, 392and it only starts on November 18, 1998. If you have an earlier 393version of FreeBSD, you are on your own to get to November 18, 1998. 394 395Please filter your entries through Warner (imp@village.org) so that 396the style, formatting, etc of this file can be maintained. 397 398$FreeBSD: head/UPDATING 53727 1999-11-26 20:38:36Z imp $ 399