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