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