157199806SWarner LoshUpdating Information for FreeBSD current users 253dfde79SWarner Losh 3f8c77507SWarner LoshThis file is maintained by imp@village.org. Please send new entries 4ea31d04dSWarner Loshdirectly to him. See end of file for further details. 5ea31d04dSWarner Losh 6a883e9d3SWarner Losh19990620: 7a883e9d3SWarner Losh IPFW uid/gid-based filtering support has been committed. This 8a883e9d3SWarner Losh breaks binary compatibility with previous copies of 9a883e9d3SWarner Losh ipfw(8). Any utilities using the ioctl()s of ipfw (especially 10a883e9d3SWarner Losh ipfw(8)) need to be recompiled with the newest headers 11a883e9d3SWarner Losh installed. 12a883e9d3SWarner Losh 13a883e9d3SWarner Losh19990618: 14a883e9d3SWarner Losh Inetd now wraps all stream-based services, including internals. 15a883e9d3SWarner Losh Syslog "severity" options are honoured. Installed syslog.conf 16a883e9d3SWarner Losh and hosts.allow should be checked. 17a883e9d3SWarner Losh 1807b72539SWarner Losh19990509: 1907b72539SWarner Losh Most of the problems with newbus have been corrected, but 2007b72539SWarner Losh it is still current and evolving. 2107b72539SWarner Losh 2207b72539SWarner Losh libcam's ABI has changed. You must recompile the world and 2307b72539SWarner Losh any ports that use it. 2407b72539SWarner Losh 2509fcf3f9SWarner Losh19990427: 2609fcf3f9SWarner Losh Massive changes to SMP went into the tree that should speed 2709fcf3f9SWarner Losh things up. However, if you experience problems with SMP 2809fcf3f9SWarner Losh machines, you can back off to the PRE_SMP_VMSHARE tag in the 2909fcf3f9SWarner Losh CVS repository (or run an MP kernel). 3009fcf3f9SWarner Losh 3109fcf3f9SWarner Losh19990420: 3209fcf3f9SWarner Losh Pccardd and the pccard bus in general seem to be broken or 3309fcf3f9SWarner Losh most people. Soren has patches to make it better for some, 3409fcf3f9SWarner Losh but not all people. Work is underway to make it better for 3509fcf3f9SWarner Losh all people. 3609fcf3f9SWarner Losh 37ea31d04dSWarner Losh19990416: 38ea31d04dSWarner Losh new bus changes integrated into -current. Many problems were 39ea31d04dSWarner Losh initially reported, but most have been fixed. You'll need a 40ea31d04dSWarner Losh new config and to tweak your kernel config file the way that 41ea31d04dSWarner Losh GENERIC was tweaked. Keep a copy of your old kernel when 42ea31d04dSWarner Losh upgrading in case your new kernel doesn't work (and report the 43ea31d04dSWarner Losh breakage to current@freebsd.org). 44ea31d04dSWarner Losh 45ea31d04dSWarner Losh As of 19990421 the remaining problems/quirks are 46ea31d04dSWarner Losh 47ea31d04dSWarner Losh o sio no longer supports pnp nor pccard. This will be corrected, 48ea31d04dSWarner Losh but the new pccard code needs to be completed. 49ea31d04dSWarner Losh o Some of the sound drivers broke for some people. It seems 50ea31d04dSWarner Losh inconsistant as to who/what/when/where things broke. 51ea31d04dSWarner Losh o Duplicate device entries in your config do not work. Previously 52ea31d04dSWarner Losh they were silently ignored. psm0 seems to be the most common 53ea31d04dSWarner Losh duplicate choice, although some reports have come in from people 54ea31d04dSWarner Losh that wired their scsi disk entries. 55ea31d04dSWarner Losh o You must move the keyboard and mouse attachments from the 56ea31d04dSWarner Losh isa bus to the atkbdc bus. See GENERIC for details. 57ea31d04dSWarner Losh o Machines with multiple host-pci bridges (Intel 450NX) will not 58ea31d04dSWarner Losh probe the second pci bus. 59ea31d04dSWarner Losh o Some probe ordering may have changed, so device naming may change 60ea31d04dSWarner Losh with the new kernel. If you have multiple devices, please double 61ea31d04dSWarner Losh check to make sure they didn't move. This is especially true 62ea31d04dSWarner Losh for cards on different buses. 63ea31d04dSWarner Losh o The bus attachment for vga0 is always isa0 and never pci0 when 64ea31d04dSWarner Losh it is in fact a pci card. It is safe to ignore this. 65ea31d04dSWarner Losh o The format of the boot messages has changed (and is not 66ea31d04dSWarner Losh guaranteed to be constant for a while) so you may see this 67ea31d04dSWarner Losh in some shell scripts that diff dmesg from day to day as well 68ea31d04dSWarner Losh as scripts that parse dmesg output. 69f8c77507SWarner Losh 70d24adca8SWarner Losh19990414: 71d24adca8SWarner Losh cc -aout sometimes has problems compiling with -g, remove -g 72d24adca8SWarner Losh from those compilation units affected until this is corrected. 73d24adca8SWarner Losh 74d24adca8SWarner Losh cc -aout has problems with producing some threaded libraries, 75d24adca8SWarner Losh so make world -DWANT_AOUT is not functional at this time. 76d24adca8SWarner Losh 77ea31d04dSWarner Losh Since make world for a.out isn't functional, you cannot do 78ea31d04dSWarner Losh make aout-to-elf from a pre-egcs a.out system. To work around 79ea31d04dSWarner Losh this problem, make aout-to-elf using 3.1-stable first (or a 80ea31d04dSWarner Losh pre egcs -current) and then a simple make world will take you 81ea31d04dSWarner Losh the rest of the way with a -current source base. 82ea31d04dSWarner Losh 83d5ca0636SWarner Losh19990413: 84d24adca8SWarner Losh Make -j works again for make world. As always, use it with 85d24adca8SWarner Losh care, and be sure to try a make world w/o -j before reporting 86d24adca8SWarner Losh problems (that is, know if the problem exists w/o -j before 87d24adca8SWarner Losh reporting the problem with -j). 88d24adca8SWarner Losh 89d24adca8SWarner Losh19990413: 90d24adca8SWarner Losh Note cc -aout, which had been broken since the conversion to 91ea31d04dSWarner Losh egcs, now supposedly works. If you have rebuilt things like 92d24adca8SWarner Losh XFree86 a.out libraries, you should rebuild them again or 93ea31d04dSWarner Losh progams that use them, including netscape, will fail to work. 94d5ca0636SWarner Losh 951f692d40SWarner Losh19990409: 961f692d40SWarner Losh NOTE: New c++ compiler cannot be used with c++ binaries from 971f692d40SWarner Losh the old compiler and vice versa. 981f692d40SWarner Losh 991f692d40SWarner Losh19990408: 10081725689SWarner Losh In recent days egcs has been imported into the tree. A number 10181725689SWarner Losh of problems have been discussed in -current. Here is a highlight 10281725689SWarner Losh of a few of the more common ones. With the exception of make 10381725689SWarner Losh -j n, they have been claimed to have been fixed. 10481725689SWarner Losh 10581725689SWarner Losh c++ is broken after make world: This is correct. Because we 10681725689SWarner Losh changed compilers two make worlds are necessary to get C++ 10781725689SWarner Losh working again. The code generated by the old compiler and new 10881725689SWarner Losh compiler are not compatible, so things wind up being 10981725689SWarner Losh undefined. 11081725689SWarner Losh 11181725689SWarner Losh cpp is broken in make world: There was a window where cpp 11281725689SWarner Losh would be built incorrectly. The fix for this is 113420d4744SMasafumi Max NAKANE cd src/gnu/usr.bin/cc 11481725689SWarner Losh make clean 11581725689SWarner Losh make all 11681725689SWarner Losh make install 11781725689SWarner Losh and this should correct your problems. See the -current 11881725689SWarner Losh archives for a version of this that does moer cleaning. 11981725689SWarner Losh 12081725689SWarner Losh Make -j n doesn't work. Work contiunes to make this work, 12181725689SWarner Losh I've seen no reports of success as of April 7th. 12281725689SWarner Losh 123ff5e1f79SWarner Losh19990329: 124ff5e1f79SWarner Losh Previously, one would define "NOAOUT" to keep from building 125ff5e1f79SWarner Losh the legacy a.out bits. Now one would define "WANT_AOUT" to 126ff5e1f79SWarner Losh build them. 127ff5e1f79SWarner Losh 128fe9af953SWarner Losh19990316: 129fe9af953SWarner Losh The name of the old wd.c and atapi.c based CDROM driver has 130fe9af953SWarner Losh been changed back to wcd. So update your config file to use 131fe9af953SWarner Losh "device wcd" instead of "device acd". 132fe9af953SWarner Losh 133fe9af953SWarner Losh19990314: 134fe9af953SWarner Losh For those of you using the VN device as a loadable module, 135fe9af953SWarner Losh please be aware that the new VN device has been committed to 136fe9af953SWarner Losh -4.x and cannot yet be used as a loadable module. This will 137fe9af953SWarner Losh be fixed in the future. 138fe9af953SWarner Losh 139ce32355fSWarner Losh19990309: 140fe9af953SWarner Losh New loader.rc mechanism. Please see src/sys/boot/README for 141fe9af953SWarner Losh details. 142ce32355fSWarner Losh 143f8c77507SWarner Losh19990225: 144f8c77507SWarner Losh struct proc size changed. Recompile kernel and the 145f8c77507SWarner Losh usual suspects. Make world if in doubt. 1461fc1a0dcSWarner Losh 1470edeb9e7SWarner Losh19990214: 1480edeb9e7SWarner Losh The nlpt driver has changed names back to be the lpt driver. 1497dd38e55SWarner Losh See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html 1507dd38e55SWarner Losh for proper configuration details. 1510edeb9e7SWarner Losh 1521fc1a0dcSWarner Losh19990210: 1531fc1a0dcSWarner Losh The 'lpt' driver is now obsolete. Replace it with the 'nlpt' 1540edeb9e7SWarner Losh driver and 'ppbus' controller combination. 15557199806SWarner Losh 1567dd38e55SWarner Losh19990209: 1577dd38e55SWarner Losh New devstat API requires recompilation of libdevstat, systat, 1587dd38e55SWarner Losh iostat, vmstat and rpc.rstatd. A new kernel is also required. 1597dd38e55SWarner Losh make world + building a kernel should do all of this. Any 1607dd38e55SWarner Losh ports that use devstat need to be recompiled as well. 1617dd38e55SWarner Losh 1629a3105eeSWarner Losh19990125: 1639a3105eeSWarner Losh Linux threads options has gone away (they are now standard in 1649a3105eeSWarner Losh the FreeBSD kernel). A recompile of all libkvm using programs 1659a3105eeSWarner Losh is in order (or better yet a make world). 1669a3105eeSWarner Losh 1679a3105eeSWarner Losh19990122: 1689a3105eeSWarner Losh On or about this date there was a small window when the boot 1699a3105eeSWarner Losh blocks had some minor problems which seemed to force one to 1709a3105eeSWarner Losh edit /etc/fstab. This has been corrected, if you are seeing this 1719a3105eeSWarner Losh problem, please rebuild and reinstall your boot blocks. 1729a3105eeSWarner Losh 1739a3105eeSWarner Losh19990121: 1748cd37f69SWarner Losh Vinum has changed. The "vinum read" command has changed. For 1758cd37f69SWarner Losh updates, please see 1763652181cSWarner Losh 1778cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current 1783652181cSWarner Losh 1798cd37f69SWarner Losh for details. 1808cd37f69SWarner Losh 1818cd37f69SWarner Losh Matt Dillon committed a boatload of VM changes, for 1828cd37f69SWarner Losh information please see 1833652181cSWarner Losh 1848cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current 1858cd37f69SWarner Losh or 1868cd37f69SWarner Loshhttp://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current 1873652181cSWarner Losh 1888cd37f69SWarner Losh for details. These changes will likely not impact anybody, 1898cd37f69SWarner Losh but large chagnes to the VM need at least a heads up. 1908cd37f69SWarner Losh 1918cd37f69SWarner Losh19990120: 1928cd37f69SWarner Losh Stable branch created. You might want to consider using this 1938cd37f69SWarner Losh branch. It is tagged with RELENG_3. 1948cd37f69SWarner Losh 195ad56ea87SWarner Losh19990119: 196ad56ea87SWarner Losh More work on the syscons driver has been committed. Since 197ad56ea87SWarner Losh files moved around, you will need to reconfigure your kernel, 198ad56ea87SWarner Losh and make clean; make depend before rebuilding the kernel. No 199ad56ea87SWarner Losh config file changes are needed. 200ad56ea87SWarner Losh 20157199806SWarner Losh19990111: 202a85c0f55SWarner Losh New keyboard and video card drivers are introduced as the first 203a85c0f55SWarner Losh stage of console driver reorganization. You are required to 204a85c0f55SWarner Losh update the kernel configuration file and rebuild the kernel. 205a85c0f55SWarner Losh kbdcontrol, vidcontrol, and screen savers also need recompilation. 206a85c0f55SWarner Losh The instruction can be found in 20757199806SWarner Losh 2087dafbc29SWarner Losh http://www.freebsd.org/~yokota/sc_update.txt 20957199806SWarner Losh 210a85c0f55SWarner Losh It has notes on splash screen too. 21157199806SWarner Losh 21257199806SWarner Losh19990106: 2139857e582SWarner Losh Robert Nordier was kind enough to make this page to enable people to 214db23c94fSWarner Losh install the new bootblocks: 21557199806SWarner Losh 2167dafbc29SWarner Losh http://www.freebsd.org/~rnordier/boot.txt 21757199806SWarner Losh 2189ba54ae0SWarner Losh When updating to ELF, make sure that you have updated your 2199ba54ae0SWarner Losh /etc/rc files which have different ldconfig invocations for 2209ba54ae0SWarner Losh elf and aout. Otherwise things like X will stop working with 2219857e582SWarner Losh messages about being unable to find library files. The 2229857e582SWarner Losh mergemaster utility in ports/sysutils/mergemaster helps to 2239857e582SWarner Losh keep critical files like this in sync, and its use is 2249857e582SWarner Losh recommended. 22557199806SWarner Losh 22657199806SWarner Losh19990104: 2272c558794SWarner Losh Information about ELF day (see 19981230) can be found in 22857199806SWarner Losh 2297dafbc29SWarner Losh http://www.freebsd.org/~peter/elfday.html 23057199806SWarner Losh 2312c558794SWarner Losh about the upcoming change, its motivations and instructions 2322c558794SWarner Losh for doing the upgrade. 23357199806SWarner Losh 23457199806SWarner Losh19981230: 235d5513f53SWarner Losh You should install new bootblocks now. The ELF kernel will 236e363c17bSWarner Losh become default soon. In addition, you'll need to upgrade 237e363c17bSWarner Losh your userland programs to ELF before then as well. Use 238e363c17bSWarner Losh make aout-to-elf to upgrade your userland programs (old 239e363c17bSWarner Losh a.out programs in, for example, /usr/local/bin will 240e363c17bSWarner Losh continue to work, even after the upgrade). See src/Makefile 241e363c17bSWarner Losh for more details. 24257199806SWarner Losh 24357199806SWarner Losh19981224: 244355edc3eSWarner Losh The old wcd driver has been deleted from the kernel. The 245355edc3eSWarner Losh driver that replaces it is named acd. You'll need to change 246355edc3eSWarner Losh this in your configuration files. 24757199806SWarner Losh 248355edc3eSWarner Losh Failure to do this will result in "ATAPI CD-ROMs not 249355edc3eSWarner Losh configured" at boot time. 25057199806SWarner Losh 251355edc3eSWarner Losh The floppy tape driver (ft) has been removed from the kernel, 252355edc3eSWarner Losh with no replacement driver. 25357199806SWarner Losh 25457199806SWarner Losh19981202: 255ab308df6SWarner Losh New groups from 19981201 commented out of mtree, so they 256ab308df6SWarner Losh aren't strictly needed, but still a good idea to have. 25757199806SWarner Losh 25857199806SWarner Losh19981201: 259ab308df6SWarner Losh New user/group added: bind. From src/etc/master.passwd and 260ab308df6SWarner Losh src/etc/group: 261ab308df6SWarner Losh % grep <newstuff> /usr/src/etc/group 262ab308df6SWarner Losh bind:*:53: 263ab308df6SWarner Losh % grep <newstuff> /usr/src/etc/master.passwd 264ab308df6SWarner Losh tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin 265ab308df6SWarner Losh kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin 266ab308df6SWarner Losh bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin 26757199806SWarner Losh 26857199806SWarner Losh19981118: 26953dfde79SWarner Losh PAM integrated into the tree. Requires new /etc/pam.conf file 27053dfde79SWarner Losh to silence warnings from authentication programs (login, etc). 27153dfde79SWarner Losh See src/etc/pam.conf for a sample. 27257199806SWarner Losh 2731fc1a0dcSWarner LoshThis file contains a list, in reverse chronologocal order, of major 2741fc1a0dcSWarner Loshbreakages in tracking -current. Not all things will be listed here, 2751fc1a0dcSWarner Loshand it only starts on Novemeber 18, 1998. If you have an earlier 2761fc1a0dcSWarner Loshversion of FreeBSD, you are on your own to get to November 18, 1998. 2771fc1a0dcSWarner Losh 278f8c77507SWarner LoshPlease filter your entries through Warner (imp@village.org) so that 279f8c77507SWarner Loshthe style, formatting, etc of this file can be maintained. 280f8c77507SWarner Losh 281a883e9d3SWarner Losh$Id: UPDATING,v 1.32 1999/05/10 05:34:32 imp Exp $ 282