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