UPDATING revision 56948
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. For commonly 5done items, please see the end of the file. Search for 'COMMON 6ITEMS:' 7 820000201: 9 The rcmd related fucntions have been aligned with other BSD 10 implementations. rlogind and rshd have been changed to use 11 the new API. A make world is recommended to keep them in sync 12 with the libraries they use. 13 14 http://www.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libc/net/rcmd.c 15 has the details. 16 1720000129: 18 {set,get}flags have been added to the tree for rather dubious 19 reasons. An unintended side effect of this is that you must 20 rebuild install before the rest of the world. You need to 21 build it static install before you make world: 22 23 cd src/usr.bin/xinstall 24 make depend all install NOSHARED=yes 25 26 If you encounter an error in installworld after doing a build 27 world, then do the following: 28 cd src/usr.bin/xinstall 29 make install 30 This issue may be resolved before 4.0 goes out. 31 3220000125: 33 rcmd_af() is added for multiple address family support. rsh 34 and rlogin have been updated to use this to support INET6. A 35 make world is recommended to keep them in sync with the 36 libraries they use. 37 3820000124: 39 The default way that virtual tables in our default C++ 40 compiler has changed. We used to use THUNKS for virtual 41 inheritance. Unfortunately there are bugs that The GCC 42 developers thought would be fixed in GCC 2.95. However it 43 isn't. 44 45 After this change existing applications written in C++ may 46 give errors like below when you try to run them: 47 48/usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__vt_7filebuf" 49 50 The only fix is to rebuild the application and any C++ 51 libraries used. 52 5320000124: 54 The management of next_writeable has been move from the 55 kernel to userspace. This means that the burncd command 56 must be in sync with the kernel. So make world is your 57 friend. 58 5920000117: 60 GNU texinfo upgraded to 4.0. It is recommended that you use 61 make buildworld to update. 62 6320000117: 64 CAM_VERSION has been increased. Recompile all programs that 65 depend on it (tosha, camcontrol, etc) when moving to kernels 66 past this date. 67 6820000115: 69 pccard ioctls changed with a commit to have the kernel tell 70 pccardd which device it created, rather than having pccardd 71 dictate it to the kernel. Recompile kernel and 72 pccardd/pccardc together. pccardd/pccardc rely on a kernel 73 Makefile that must be installed prior to building them. Make 74 world will automatically take care of this issue, but you need 75 to know if you are building by hand. 76 7720000109: 78 Your kernel config files need to be changed to s/controller/device/ 79 in them. You will need a new version of config to do this. 80 8120000107: 82 chown & chgrp moved again 83 84 This is a heads up to let you know that you need to 85 rm -f /sbin/chown /bin/chgrp 86 after your next `make world'. Additionally you need to install 87 a new /dev/MAKEDEV (mergemaster(8) will assist you in this). 88 8920000107: 90 SHA-1 password support gone 91 92 As warned yesterday, I've just removed the ability for 93 libcrypt to understand SHA-1 passwords. This was present but 94 undocumented in the tree for the past few months and was 95 removed so it can be reimplemented properly as part of a 96 revamped libcrypt at a later date. Anyone who was actually 97 making use of the feature will have to update their passwords 98 back to MD5 before they reinstall the library. 99 10020000106: 101 ioctl numbers changed for dvdio ioctls. You will need to recompile 102 anything that uses them. wormcontrol has been deprecated in 103 favor of burncd. 104 10519991223: 106 Building linux and svr4 compatibility into the kernel now 107 requires /usr/bin/genassym. Go to /usr/src/usr.bin/genassym, 108 do "make obj ; make clean depend all install" before building 109 your kernel. 110 11119991218: 112 sendmail.cf has moved from /etc/sendmail.cf to 113 /etc/mail/sendmail.cf. You may need to adjust /etc/rc.conf 114 and /etc/rc to cope as well as moving sendmail.cf. 115 11619991216: 117 ntp 4.0.98 has replaced the ancient xntpd. The daemon name 118 changed from xntpd to ntpd, so you may need to update your 119 /etc/rc.conf file. The ntp.conf files are compatible with the 120 old release, unless you are using a local reference clock. 121 Details about ntp4 can be found at http://www.ntp.org/. 122 123 xntpd will be cvs removed from the repo in about a week. 124 12519991213: 126 Soren updated the ata driver. Please update to at least this 127 version before submitting bug reports. 128 12919991210: 130 The ata driver has become the primary ata/ide/atapi driver in 131 the kernel. The wd driver is obsolete. You should upgrade your 132 machine to the new ata driver. You will need to follow the 133 directions for updating the devices in the 19991205 entry. You 134 will need to update all occurances of wd to ad in your config files 135 (/etc/rc.conf, /etc/fstab, etc). A compatibility device exists 136 for wd for the time being, but once you have determined that 137 ata is working for you, transition to the new ad devices. 138 13919991205: 140 Block devices are going away. You will need to update your /dev 141 tree with a fresh copy of MAKEDEV for things to always work in 142 the future. fsck is unable to cope with dirty file systems 143 after this change, so it may work for you or it may not. 144 145 See "To rebuild disk /dev entries" at the end of the file. 146 147 *** All uses of block devices must be converted to char devices. 148 *** Likely the only thing impacted is dumpdev in /etc/rc.conf 149 15019991204: 151 The dc interface has replaced al, ax, dm, pn and mx. The former 152 have been removed. 153 15419991204: 155 Support for the old 'sd' device names has been removed in 156 favor of 'da'. Please update your /etc/fstab, /etc/rc.conf 157 and any other places you might have sd names cached. 158 Generally these changes are as simple as s=/dev/sd=/dev/da=g, 159 but be careful to make sure that things are really that 160 simple. You may also need to create /dev entries for the da 161 devices as well. 162 163 See "To rebuild disk /dev entries" at the end of the file. 164 16519991203: 166 BAD144 support has been removed. Cope or replace the hardware. 167 16819991129: 169 ALPHA users take note. All klds will need to be recompiled for 170 kernels build after this date. It is a good time to update since 171 pal.s will be going away soon. 172 17319991126: 174 MFS_ROOT and MFS_ROOT_SIZE are gone, replaced by MD_ROOT and 175 MD_ROOT_SIZE options in the md driver. md driver now deals with 176 the hacks. You should add md driver to kerneles that have 177 MFS_ROOT, et al. See GENERIC or LINT for details. 178 17919991125: 180 The ep changed a while ago and can no longer be used with hard 181 wired addresses in the config file. 182 18319991122: 184 The bridge drivers for sound cards have been committed. Please 185 see LINT for instructions for your card, if it still works at 186 all. 187 18819991113: 189 Gcc 2.95.2 is now the default compiler. 190 19119991030: 192 /etc/radius.conf file format has changed.The format change is 193 as follows. Each server line in the file should now begin 194 with a new field containing either "auth" for RADIUS 195 authentication, or "acct" for RADIUS accounting. Formerly 196 only authentication was supported. If the first field isn't 197 "auth" or "acct" then the code assumes that "auth" is 198 intended. (That's the compatibility hack.) 199 20019991015: 201 PCCARD has been updated to attach pcic to the isa bus. Therefore 202 you will need to modify kernel config files that have pcic/card 203 in them as follows: 204 controller pcic0 at isa? 205 controller pcic1 at isa? 206 controller card0 207 20819990929: 209 The sigset_t datatype has been changed from an integral type 210 to a compound type and can hold 128 signals. Syscalls directly 211 or indirectly using the new sigset_t have been added as to 212 maintain compatibility with existing binaries. A new kernel must 213 be made and installed and booted with before a make world can 214 be done. 215 21619990919: 217 New jail syscall format requires recompilation of jail(8) with 218 fresh headers installed (or a make world will do it for you). 219 22019990914: 221 Matt Dillon checked in many vm related things and sent a heads up 222 to -current urging caution and to report vm problems to him. 223 As of the 19th, no killer problems have been reported, but you 224 have been warned. 225 22619990908: 227 The new miibus has been added to the system. If you are using 228 the dm, rl, sf, sis, ste, tl, wb or xl drivers, you need to 229 add "controller miibus0" to your config file. 230 23119990905: 232 /var/cron/log has been moved to /var/log/cron to get all the 233 log files in one place. 234 23519990831: 236 tn3270 has been removed from the base system and added as a port. 237 23819990830: 239 User-visible TCP timers are now expressed in units of 1ms, instead 240 of 500ms, so if you've customized any timer values under 241 ``net.inet.tcp'', multiply them by 500 to preserve TCP's behavior. 242 24319990828: 244 RCS Id tags changed to FreeBSD. This will cause huge cvsup 245 updates. 246 24719990821: 248 On 28-May-1999 libreadline was upgraded from readline-2.2 to 249 readline-4.0. At that time the shared library major version 250 number was bumped from "3" to "4". It has been deemed that 251 the interface change between readline-2.2 and readline-4.0 was 252 not sufficient to warrant the version number bump. 253 254 Thus I have reverted it back to "3". You will need to perform 255 the below immediately before your next ``make world'': 256 cd /usr/lib 257 ls -l libreadline.so.4 258 (if you have /usr/lib/libreadline.so.4) 259 mv libreadline.so.4 libreadline.so.3 260 rm -f libreadline.so 261 ln -s libreadline.so.3 libreadline.so 262 26319990801: 264 Changes to the pccardd kernel interface require that you recompile 265 pccardd for new kernel. 266 26719980725: 268 The ipfw interface to the kernel has changed. You will need to 269 recompile ipfw programs for the new kernel. 270 27119990715: 272 The bpfilter device has been renamed to bpf. You will need to 273 change your config files in order to enable this in newer kernels. 274 27519990704: 276 src/contrib/sys/softupdates is moving to 277 src/sys/contrib/softupdates. Update your symbolic links/etc. 278 27919990702: 280 Major changes have been made to vinum and its interface. See 281 the man page (vinum(8)) for details. Look at the concat, 282 mirror and stripe commands, as well as the SIMPLIFIED 283 CONFIGURATION section. 284 28519990628: 286 Newsyslog.conf has had a minor, but potentially dangerous, 287 change to its username/group syntax. The old syntax was 288 user.group, while the new syntax is user:group. 289 29019990627: 291 Inetd wrapping default has changed. Please see the updated 292 man page for details. 293 29419990623: 295 Compaq Smart Raid driver committed as ida. 296 29719990622: 298 The second phase of syscons cleanup has happened. Some 299 functionality has been made optional. For details, see 300 http://www.freebsd.org/~yokota/sc_update-June.txt 301 Everyone will need to re-config(8) their kernels, but old 302 binaries will work with the new kernel. 303 30419990620: 305 IPFW uid/gid-based filtering support has been committed. This 306 breaks binary compatibility with previous copies of 307 ipfw(8). Any utilities using the ioctl()s of ipfw (especially 308 ipfw(8)) need to be recompiled with the newest headers 309 installed. 310 31119990618: 312 Inetd now wraps all stream-based services, including internals. 313 Syslog "severity" options are honoured. Installed syslog.conf 314 and hosts.allow should be checked. 315 31619990509: 317 Most of the problems with newbus have been corrected, but 318 it is still current and evolving. 319 320 libcam's ABI has changed. You must recompile the world and 321 any ports that use it. 322 32319990427: 324 Massive changes to SMP went into the tree that should speed 325 things up. However, if you experience problems with SMP 326 machines, you can back off to the PRE_SMP_VMSHARE tag in the 327 CVS repository (or run an MP kernel). 328 32919990420: 330 Pccardd and the pccard bus in general seem to be broken or 331 most people. Soren has patches to make it better for some, 332 but not all people. Work is underway to make it better for 333 all people. 334 33519990416: 336 new bus changes integrated into -current. Many problems were 337 initially reported, but most have been fixed. You'll need a 338 new config and to tweak your kernel config file the way that 339 GENERIC was tweaked. Keep a copy of your old kernel when 340 upgrading in case your new kernel doesn't work (and report the 341 breakage to current@freebsd.org). 342 343 As of 19990421 the remaining problems/quirks are 344 345 o sio no longer supports pnp nor pccard. This will be corrected, 346 but the new pccard code needs to be completed. 347 o Some of the sound drivers broke for some people. It seems 348 inconsistant as to who/what/when/where things broke. 349 o Duplicate device entries in your config do not work. Previously 350 they were silently ignored. psm0 seems to be the most common 351 duplicate choice, although some reports have come in from people 352 that wired their scsi disk entries. 353 o You must move the keyboard and mouse attachments from the 354 isa bus to the atkbdc bus. See GENERIC for details. 355 o Machines with multiple host-pci bridges (Intel 450NX) will not 356 probe the second pci bus. 357 o Some probe ordering may have changed, so device naming may change 358 with the new kernel. If you have multiple devices, please double 359 check to make sure they didn't move. This is especially true 360 for cards on different buses. 361 o The bus attachment for vga0 is always isa0 and never pci0 when 362 it is in fact a pci card. It is safe to ignore this. 363 o The format of the boot messages has changed (and is not 364 guaranteed to be constant for a while) so you may see this 365 in some shell scripts that diff dmesg from day to day as well 366 as scripts that parse dmesg output. 367 36819990414: 369 cc -aout sometimes has problems compiling with -g, remove -g 370 from those compilation units affected until this is corrected. 371 372 cc -aout has problems with producing some threaded libraries, 373 so make world -DWANT_AOUT is not functional at this time. 374 375 Since make world for a.out isn't functional, you cannot do 376 make aout-to-elf from a pre-egcs a.out system. To work around 377 this problem, make aout-to-elf using 3.1-stable first (or a 378 pre egcs -current) and then a simple make world will take you 379 the rest of the way with a -current source base. 380 38119990413: 382 Make -j works again for make world. As always, use it with 383 care, and be sure to try a make world w/o -j before reporting 384 problems (that is, know if the problem exists w/o -j before 385 reporting the problem with -j). 386 38719990413: 388 Note cc -aout, which had been broken since the conversion to 389 egcs, now supposedly works. If you have rebuilt things like 390 XFree86 a.out libraries, you should rebuild them again or 391 progams that use them, including netscape, will fail to work. 392 39319990409: 394 NOTE: New c++ compiler cannot be used with c++ binaries from 395 the old compiler and vice versa. 396 39719990408: 398 In recent days egcs has been imported into the tree. A number 399 of problems have been discussed in -current. Here is a highlight 400 of a few of the more common ones. With the exception of make 401 -j n, they have been claimed to have been fixed. 402 403 c++ is broken after make world: This is correct. Because we 404 changed compilers two make worlds are necessary to get C++ 405 working again. The code generated by the old compiler and new 406 compiler are not compatible, so things wind up being 407 undefined. 408 409 cpp is broken in make world: There was a window where cpp 410 would be built incorrectly. The fix for this is 411 cd src/gnu/usr.bin/cc 412 make clean 413 make all 414 make install 415 and this should correct your problems. See the -current 416 archives for a version of this that does moer cleaning. 417 418 Make -j n doesn't work. Work contiunes to make this work, 419 I've seen no reports of success as of April 7th. 420 42119990329: 422 Previously, one would define "NOAOUT" to keep from building 423 the legacy a.out bits. Now one would define "WANT_AOUT" to 424 build them. 425 42619990316: 427 The name of the old wd.c and atapi.c based CDROM driver has 428 been changed back to wcd. So update your config file to use 429 "device wcd" instead of "device acd". 430 43119990314: 432 For those of you using the VN device as a loadable module, 433 please be aware that the new VN device has been committed to 434 -4.x and cannot yet be used as a loadable module. This will 435 be fixed in the future. 436 43719990309: 438 New loader.rc mechanism. Please see src/sys/boot/README for 439 details. 440 44119990225: 442 struct proc size changed. Recompile kernel and the 443 usual suspects. Make world if in doubt. 444 44519990214: 446 The nlpt driver has changed names back to be the lpt driver. 447 See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html 448 for proper configuration details. 449 45019990210: 451 The 'lpt' driver is now obsolete. Replace it with the 'nlpt' 452 driver and 'ppbus' controller combination. 453 45419990209: 455 New devstat API requires recompilation of libdevstat, systat, 456 iostat, vmstat and rpc.rstatd. A new kernel is also required. 457 make world + building a kernel should do all of this. Any 458 ports that use devstat need to be recompiled as well. 459 46019990125: 461 Linux threads options has gone away (they are now standard in 462 the FreeBSD kernel). A recompile of all libkvm using programs 463 is in order (or better yet a make world). 464 46519990122: 466 On or about this date there was a small window when the boot 467 blocks had some minor problems which seemed to force one to 468 edit /etc/fstab. This has been corrected, if you are seeing this 469 problem, please rebuild and reinstall your boot blocks. 470 47119990121: 472 Vinum has changed. The "vinum read" command has changed. For 473 updates, please see 474 475http://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current 476 477 for details. 478 479 Matt Dillon committed a boatload of VM changes, for 480 information please see 481 482http://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current 483 or 484http://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current 485 486 for details. These changes will likely not impact anybody, 487 but large chagnes to the VM need at least a heads up. 488 48919990120: 490 Stable branch created. You might want to consider using this 491 branch. It is tagged with RELENG_3. 492 49319990119: 494 More work on the syscons driver has been committed. Since 495 files moved around, you will need to reconfigure your kernel, 496 and make clean; make depend before rebuilding the kernel. No 497 config file changes are needed. 498 49919990111: 500 New keyboard and video card drivers are introduced as the first 501 stage of console driver reorganization. You are required to 502 update the kernel configuration file and rebuild the kernel. 503 kbdcontrol, vidcontrol, and screen savers also need recompilation. 504 The instruction can be found in 505 506 http://www.freebsd.org/~yokota/sc_update.txt 507 508 It has notes on splash screen too. 509 51019990106: 511 Robert Nordier was kind enough to make this page to enable people to 512 install the new bootblocks: 513 514 http://www.freebsd.org/~rnordier/boot.txt 515 516 When updating to ELF, make sure that you have updated your 517 /etc/rc files which have different ldconfig invocations for 518 elf and aout. Otherwise things like X will stop working with 519 messages about being unable to find library files. The 520 mergemaster utility in ports/sysutils/mergemaster helps to 521 keep critical files like this in sync, and its use is 522 recommended. 523 52419990104: 525 Information about ELF day (see 19981230) can be found in 526 527 http://www.freebsd.org/~peter/elfday.html 528 529 about the upcoming change, its motivations and instructions 530 for doing the upgrade. 531 53219981230: 533 You should install new bootblocks now. The ELF kernel will 534 become default soon. In addition, you'll need to upgrade 535 your userland programs to ELF before then as well. Use 536 make aout-to-elf to upgrade your userland programs (old 537 a.out programs in, for example, /usr/local/bin will 538 continue to work, even after the upgrade). See src/Makefile 539 for more details. 540 54119981224: 542 The old wcd driver has been deleted from the kernel. The 543 driver that replaces it is named acd. You'll need to change 544 this in your configuration files. 545 546 Failure to do this will result in "ATAPI CD-ROMs not 547 configured" at boot time. 548 549 The floppy tape driver (ft) has been removed from the kernel, 550 with no replacement driver. 551 55219981202: 553 New groups from 19981201 commented out of mtree, so they 554 aren't strictly needed, but still a good idea to have. 555 55619981201: 557 New user/group added: bind. From src/etc/master.passwd and 558 src/etc/group: 559 % grep <newstuff> /usr/src/etc/group 560 bind:*:53: 561 % grep <newstuff> /usr/src/etc/master.passwd 562 tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin 563 kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin 564 bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin 565 56619981118: 567 PAM integrated into the tree. Requires new /etc/pam.conf file 568 to silence warnings from authentication programs (login, etc). 569 See src/etc/pam.conf for a sample. 570 571COMMON ITEMS: 572 573 To build a kernel 574 ----------------- 575 Update config, genassym and go: 576 cd src/usr.bin/genassym 577 make depend all install clean 578 cd ../../usr.sbin/config 579 make depend all install clean 580 cd ../../../sys/i386/conf 581 config YOUR_KERNEL_HERE 582 cd ../../compile/YOUR_KERNEL_HERE 583 make depend && make 584 585 To rebuild disk /dev entries 586 ---------------------------- 587 588 MAKEDEV should be copied from src/etc/MAKEDEV to /dev before 589 starting the following: 590 591 For N in the list of disks 592 MAKEDEV N # eg ad0 593 for M in the list of slices 594 MAKEDEV NsMa # eg ad0s1a 595 596 597 To rebuild everything 598 --------------------- 599 make world. 600 601FORMAT: 602 603This file contains a list, in reverse chronologocal order, of major 604breakages in tracking -current. Not all things will be listed here, 605and it only starts on November 18, 1998. If you have an earlier 606version of FreeBSD, you are on your own to get to November 18, 1998. 607 608Please filter your entries through Warner (imp@village.org) so that 609the style, formatting, etc of this file can be maintained. 610 611$FreeBSD: head/UPDATING 56948 2000-02-02 05:35:31Z imp $ 612