UPDATING revision 56144
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 620000109: 7 Your kernel config files need to be changed to s/controller/device/ 8 in them. You will need a new version of config to do this. 9 1020000107: 11 chown & chgrp moved again 12 13 This is a heads up to let you know that you need to 14 rm -f /sbin/chown /bin/chgrp 15 after your next `make world'. Additionally you need to install 16 a new /dev/MAKEDEV (mergemaster(8) will assist you in this). 17 1820000107: 19 SHA-1 password support gone 20 21 As warned yesterday, I've just removed the ability for 22 libcrypt to understand SHA-1 passwords. This was present but 23 undocumented in the tree for the past few months and was 24 removed so it can be reimplemented properly as part of a 25 revamped libcrypt at a later date. Anyone who was actually 26 making use of the feature will have to update their passwords 27 back to MD5 before they reinstall the library. 28 2920000106: 30 ioctl numbers changed for dvdio ioctls. You will need to recompile 31 anything that uses them. wormcontrol has been deprecated in 32 favor of burncd. 33 3419991223: 35 Building linux and svr4 compatibility into the kernel now 36 requires /usr/bin/genassym. Go to /usr/src/usr.bin/genassym, 37 do "make obj ; make clean depend all install" before building 38 your kernel. 39 4019991218: 41 sendmail.cf has moved from /etc/sendmail.cf to 42 /etc/mail/sendmail.cf. You may need to adjust /etc/rc.conf 43 and /etc/rc to cope as well as moving sendmail.cf. 44 4519991216: 46 ntp 4.0.98 has replaced the ancient xntpd. The daemon name 47 changed from xntpd to ntpd, so you may need to update your 48 /etc/rc.conf file. The ntp.conf files are compatible with the 49 old release, unless you are using a local reference clock. 50 Details about ntp4 can be found at http://www.ntp.org/. 51 52 xntpd will be cvs removed from the repo in about a week. 53 5419991213: 55 Soren updated the ata driver. Please update to at least this 56 version before submitting bug reports. 57 5819991210: 59 The ata driver has become the primary ata/ide/atapi driver in 60 the kernel. The wd driver is obsolete. You should upgrade your 61 machine to the new ata driver. You will need to follow the 62 directions for updating the devices in the 19991205 entry. You 63 will need to update all occurances of wd to ad in your config files 64 (/etc/rc.conf, /etc/fstab, etc). A compatibility device exists 65 for wd for the time being, but once you have determined that 66 ata is working for you, transition to the new ad devices. 67 6819991205: 69 Block devices are going away. You will need to update your /dev 70 tree with a fresh copy of MAKEDEV for things to always work in 71 the future. fsck is unable to cope with dirty file systems 72 after this change, so it may work for you or it may not. 73 74 MAKEDEV should be copied from src/etc/MAKEDEV to /dev before 75 starting the following: 76 77 For N in the list of disks 78 MAKEDEV N # eg ad0 79 for M in the list of slices 80 MAKEDEV NsMa # eg ad0s1a 81 82 *** All uses of block devices must be converted to char devices. 83 *** Likely the only thing impacted is dumpdev in /etc/rc.conf 84 8519991204: 86 The dc interface has replaced al, ax, dm, pn and mx. The former 87 have been removed. 88 8919991204: 90 Support for the old 'sd' device names has been removed in 91 favor of 'da'. Please update your /etc/fstab, /etc/rc.conf 92 and any other places you might have sd names cached. 93 Generally these changes are as simple as s=/dev/sd=/dev/da=g, 94 but be careful to make sure that things are really that 95 simple. You may also need to create /dev entries for the da 96 devices as well. 97 98 MAKEDEV should be copied from src/etc/MAKEDEV to /dev before 99 starting the following: 100 101 For N in the list of da disks on your system 102 MAKEDEV daN 103 for M in the list of slices 104 MAKEDEV daNsMa 10519991203: 106 BAD144 support has been removed. Cope or replace the hardware. 107 10819991129: 109 ALPHA users take note. All klds will need to be recompiled for 110 kernels build after this date. It is a good time to update since 111 pal.s will be going away soon. 112 11319991126: 114 MFS_ROOT and MFS_ROOT_SIZE are gone, replaced by MD_ROOT and 115 MD_ROOT_SIZE options in the md driver. md driver now deals with 116 the hacks. You should add md driver to kerneles that have 117 MFS_ROOT, et al. See GENERIC or LINT for details. 118 11919991125: 120 The ep changed a while ago and can no longer be used with hard 121 wired addresses in the config file. 122 12319991122: 124 The bridge drivers for sound cards have been committed. Please 125 see LINT for instructions for your card, if it still works at 126 all. 127 12819991113: 129 Gcc 2.95.2 is now the default compiler. 130 13119991030: 132 /etc/radius.conf file format has changed.The format change is 133 as follows. Each server line in the file should now begin 134 with a new field containing either "auth" for RADIUS 135 authentication, or "acct" for RADIUS accounting. Formerly 136 only authentication was supported. If the first field isn't 137 "auth" or "acct" then the code assumes that "auth" is 138 intended. (That's the compatibility hack.) 139 14019991015: 141 PCCARD has been updated to attach pcic to the isa bus. Therefore 142 you will need to modify kernel config files that have pcic/card 143 in them as follows: 144 controller pcic0 at isa? 145 controller pcic1 at isa? 146 controller card0 147 14819990929: 149 The sigset_t datatype has been changed from an integral type 150 to a compound type and can hold 128 signals. Syscalls directly 151 or indirectly using the new sigset_t have been added as to 152 maintain compatibility with existing binaries. A new kernel must 153 be made and installed and booted with before a make world can 154 be done. 155 15619990919: 157 New jail syscall format requires recompilation of jail(8) with 158 fresh headers installed (or a make world will do it for you). 159 16019990914: 161 Matt Dillon checked in many vm related things and sent a heads up 162 to -current urging caution and to report vm problems to him. 163 As of the 19th, no killer problems have been reported, but you 164 have been warned. 165 16619990908: 167 The new miibus has been added to the system. If you are using 168 the dm, rl, sf, sis, ste, tl, wb or xl drivers, you need to 169 add "controller miibus0" to your config file. 170 17119990905: 172 /var/cron/log has been moved to /var/log/cron to get all the 173 log files in one place. 174 17519990831: 176 tn3270 has been removed from the base system and added as a port. 177 17819990830: 179 User-visible TCP timers are now expressed in units of 1ms, instead 180 of 500ms, so if you've customized any timer values under 181 ``net.inet.tcp'', multiply them by 500 to preserve TCP's behavior. 182 18319990828: 184 RCS Id tags changed to FreeBSD. This will cause huge cvsup 185 updates. 186 18719990821: 188 On 28-May-1999 libreadline was upgraded from readline-2.2 to 189 readline-4.0. At that time the shared library major version 190 number was bumped from "3" to "4". It has been deemed that 191 the interface change between readline-2.2 and readline-4.0 was 192 not sufficient to warrant the version number bump. 193 194 Thus I have reverted it back to "3". You will need to perform 195 the below immediately before your next ``make world'': 196 cd /usr/lib 197 ls -l libreadline.so.4 198 (if you have /usr/lib/libreadline.so.4) 199 mv libreadline.so.4 libreadline.so.3 200 rm -f libreadline.so 201 ln -s libreadline.so.3 libreadline.so 202 20319990801: 204 Changes to the pccardd kernel interface require that you recompile 205 pccardd for new kernel. 206 20719980725: 208 The ipfw interface to the kernel has changed. You will need to 209 recompile ipfw programs for the new kernel. 210 21119990715: 212 The bpfilter device has been renamed to bpf. You will need to 213 change your config files in order to enable this in newer kernels. 214 21519990704: 216 src/contrib/sys/softupdates is moving to 217 src/sys/contrib/softupdates. Update your symbolic links/etc. 218 21919990702: 220 Major changes have been made to vinum and its interface. See 221 the man page (vinum(8)) for details. Look at the concat, 222 mirror and stripe commands, as well as the SIMPLIFIED 223 CONFIGURATION section. 224 22519990628: 226 Newsyslog.conf has had a minor, but potentially dangerous, 227 change to its username/group syntax. The old syntax was 228 user.group, while the new syntax is user:group. 229 23019990627: 231 Inetd wrapping default has changed. Please see the updated 232 man page for details. 233 23419990623: 235 Compaq Smart Raid driver committed as ida. 236 23719990622: 238 The second phase of syscons cleanup has happened. Some 239 functionality has been made optional. For details, see 240 http://www.freebsd.org/~yokota/sc_update-June.txt 241 Everyone will need to re-config(8) their kernels, but old 242 binaries will work with the new kernel. 243 24419990620: 245 IPFW uid/gid-based filtering support has been committed. This 246 breaks binary compatibility with previous copies of 247 ipfw(8). Any utilities using the ioctl()s of ipfw (especially 248 ipfw(8)) need to be recompiled with the newest headers 249 installed. 250 25119990618: 252 Inetd now wraps all stream-based services, including internals. 253 Syslog "severity" options are honoured. Installed syslog.conf 254 and hosts.allow should be checked. 255 25619990509: 257 Most of the problems with newbus have been corrected, but 258 it is still current and evolving. 259 260 libcam's ABI has changed. You must recompile the world and 261 any ports that use it. 262 26319990427: 264 Massive changes to SMP went into the tree that should speed 265 things up. However, if you experience problems with SMP 266 machines, you can back off to the PRE_SMP_VMSHARE tag in the 267 CVS repository (or run an MP kernel). 268 26919990420: 270 Pccardd and the pccard bus in general seem to be broken or 271 most people. Soren has patches to make it better for some, 272 but not all people. Work is underway to make it better for 273 all people. 274 27519990416: 276 new bus changes integrated into -current. Many problems were 277 initially reported, but most have been fixed. You'll need a 278 new config and to tweak your kernel config file the way that 279 GENERIC was tweaked. Keep a copy of your old kernel when 280 upgrading in case your new kernel doesn't work (and report the 281 breakage to current@freebsd.org). 282 283 As of 19990421 the remaining problems/quirks are 284 285 o sio no longer supports pnp nor pccard. This will be corrected, 286 but the new pccard code needs to be completed. 287 o Some of the sound drivers broke for some people. It seems 288 inconsistant as to who/what/when/where things broke. 289 o Duplicate device entries in your config do not work. Previously 290 they were silently ignored. psm0 seems to be the most common 291 duplicate choice, although some reports have come in from people 292 that wired their scsi disk entries. 293 o You must move the keyboard and mouse attachments from the 294 isa bus to the atkbdc bus. See GENERIC for details. 295 o Machines with multiple host-pci bridges (Intel 450NX) will not 296 probe the second pci bus. 297 o Some probe ordering may have changed, so device naming may change 298 with the new kernel. If you have multiple devices, please double 299 check to make sure they didn't move. This is especially true 300 for cards on different buses. 301 o The bus attachment for vga0 is always isa0 and never pci0 when 302 it is in fact a pci card. It is safe to ignore this. 303 o The format of the boot messages has changed (and is not 304 guaranteed to be constant for a while) so you may see this 305 in some shell scripts that diff dmesg from day to day as well 306 as scripts that parse dmesg output. 307 30819990414: 309 cc -aout sometimes has problems compiling with -g, remove -g 310 from those compilation units affected until this is corrected. 311 312 cc -aout has problems with producing some threaded libraries, 313 so make world -DWANT_AOUT is not functional at this time. 314 315 Since make world for a.out isn't functional, you cannot do 316 make aout-to-elf from a pre-egcs a.out system. To work around 317 this problem, make aout-to-elf using 3.1-stable first (or a 318 pre egcs -current) and then a simple make world will take you 319 the rest of the way with a -current source base. 320 32119990413: 322 Make -j works again for make world. As always, use it with 323 care, and be sure to try a make world w/o -j before reporting 324 problems (that is, know if the problem exists w/o -j before 325 reporting the problem with -j). 326 32719990413: 328 Note cc -aout, which had been broken since the conversion to 329 egcs, now supposedly works. If you have rebuilt things like 330 XFree86 a.out libraries, you should rebuild them again or 331 progams that use them, including netscape, will fail to work. 332 33319990409: 334 NOTE: New c++ compiler cannot be used with c++ binaries from 335 the old compiler and vice versa. 336 33719990408: 338 In recent days egcs has been imported into the tree. A number 339 of problems have been discussed in -current. Here is a highlight 340 of a few of the more common ones. With the exception of make 341 -j n, they have been claimed to have been fixed. 342 343 c++ is broken after make world: This is correct. Because we 344 changed compilers two make worlds are necessary to get C++ 345 working again. The code generated by the old compiler and new 346 compiler are not compatible, so things wind up being 347 undefined. 348 349 cpp is broken in make world: There was a window where cpp 350 would be built incorrectly. The fix for this is 351 cd src/gnu/usr.bin/cc 352 make clean 353 make all 354 make install 355 and this should correct your problems. See the -current 356 archives for a version of this that does moer cleaning. 357 358 Make -j n doesn't work. Work contiunes to make this work, 359 I've seen no reports of success as of April 7th. 360 36119990329: 362 Previously, one would define "NOAOUT" to keep from building 363 the legacy a.out bits. Now one would define "WANT_AOUT" to 364 build them. 365 36619990316: 367 The name of the old wd.c and atapi.c based CDROM driver has 368 been changed back to wcd. So update your config file to use 369 "device wcd" instead of "device acd". 370 37119990314: 372 For those of you using the VN device as a loadable module, 373 please be aware that the new VN device has been committed to 374 -4.x and cannot yet be used as a loadable module. This will 375 be fixed in the future. 376 37719990309: 378 New loader.rc mechanism. Please see src/sys/boot/README for 379 details. 380 38119990225: 382 struct proc size changed. Recompile kernel and the 383 usual suspects. Make world if in doubt. 384 38519990214: 386 The nlpt driver has changed names back to be the lpt driver. 387 See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html 388 for proper configuration details. 389 39019990210: 391 The 'lpt' driver is now obsolete. Replace it with the 'nlpt' 392 driver and 'ppbus' controller combination. 393 39419990209: 395 New devstat API requires recompilation of libdevstat, systat, 396 iostat, vmstat and rpc.rstatd. A new kernel is also required. 397 make world + building a kernel should do all of this. Any 398 ports that use devstat need to be recompiled as well. 399 40019990125: 401 Linux threads options has gone away (they are now standard in 402 the FreeBSD kernel). A recompile of all libkvm using programs 403 is in order (or better yet a make world). 404 40519990122: 406 On or about this date there was a small window when the boot 407 blocks had some minor problems which seemed to force one to 408 edit /etc/fstab. This has been corrected, if you are seeing this 409 problem, please rebuild and reinstall your boot blocks. 410 41119990121: 412 Vinum has changed. The "vinum read" command has changed. For 413 updates, please see 414 415http://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current 416 417 for details. 418 419 Matt Dillon committed a boatload of VM changes, for 420 information please see 421 422http://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current 423 or 424http://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current 425 426 for details. These changes will likely not impact anybody, 427 but large chagnes to the VM need at least a heads up. 428 42919990120: 430 Stable branch created. You might want to consider using this 431 branch. It is tagged with RELENG_3. 432 43319990119: 434 More work on the syscons driver has been committed. Since 435 files moved around, you will need to reconfigure your kernel, 436 and make clean; make depend before rebuilding the kernel. No 437 config file changes are needed. 438 43919990111: 440 New keyboard and video card drivers are introduced as the first 441 stage of console driver reorganization. You are required to 442 update the kernel configuration file and rebuild the kernel. 443 kbdcontrol, vidcontrol, and screen savers also need recompilation. 444 The instruction can be found in 445 446 http://www.freebsd.org/~yokota/sc_update.txt 447 448 It has notes on splash screen too. 449 45019990106: 451 Robert Nordier was kind enough to make this page to enable people to 452 install the new bootblocks: 453 454 http://www.freebsd.org/~rnordier/boot.txt 455 456 When updating to ELF, make sure that you have updated your 457 /etc/rc files which have different ldconfig invocations for 458 elf and aout. Otherwise things like X will stop working with 459 messages about being unable to find library files. The 460 mergemaster utility in ports/sysutils/mergemaster helps to 461 keep critical files like this in sync, and its use is 462 recommended. 463 46419990104: 465 Information about ELF day (see 19981230) can be found in 466 467 http://www.freebsd.org/~peter/elfday.html 468 469 about the upcoming change, its motivations and instructions 470 for doing the upgrade. 471 47219981230: 473 You should install new bootblocks now. The ELF kernel will 474 become default soon. In addition, you'll need to upgrade 475 your userland programs to ELF before then as well. Use 476 make aout-to-elf to upgrade your userland programs (old 477 a.out programs in, for example, /usr/local/bin will 478 continue to work, even after the upgrade). See src/Makefile 479 for more details. 480 48119981224: 482 The old wcd driver has been deleted from the kernel. The 483 driver that replaces it is named acd. You'll need to change 484 this in your configuration files. 485 486 Failure to do this will result in "ATAPI CD-ROMs not 487 configured" at boot time. 488 489 The floppy tape driver (ft) has been removed from the kernel, 490 with no replacement driver. 491 49219981202: 493 New groups from 19981201 commented out of mtree, so they 494 aren't strictly needed, but still a good idea to have. 495 49619981201: 497 New user/group added: bind. From src/etc/master.passwd and 498 src/etc/group: 499 % grep <newstuff> /usr/src/etc/group 500 bind:*:53: 501 % grep <newstuff> /usr/src/etc/master.passwd 502 tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin 503 kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin 504 bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin 505 50619981118: 507 PAM integrated into the tree. Requires new /etc/pam.conf file 508 to silence warnings from authentication programs (login, etc). 509 See src/etc/pam.conf for a sample. 510 511This file contains a list, in reverse chronologocal order, of major 512breakages in tracking -current. Not all things will be listed here, 513and it only starts on November 18, 1998. If you have an earlier 514version of FreeBSD, you are on your own to get to November 18, 1998. 515 516Please filter your entries through Warner (imp@village.org) so that 517the style, formatting, etc of this file can be maintained. 518 519$FreeBSD: head/UPDATING 56144 2000-01-17 06:12:00Z imp $ 520