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