UPDATING revision 46860
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 619990509: 7 Most of the problems with newbus have been corrected, but 8 it is still current and evolving. 9 10 libcam's ABI has changed. You must recompile the world and 11 any ports that use it. 12 1319990427: 14 Massive changes to SMP went into the tree that should speed 15 things up. However, if you experience problems with SMP 16 machines, you can back off to the PRE_SMP_VMSHARE tag in the 17 CVS repository (or run an MP kernel). 18 1919990420: 20 Pccardd and the pccard bus in general seem to be broken or 21 most people. Soren has patches to make it better for some, 22 but not all people. Work is underway to make it better for 23 all people. 24 2519990416: 26 new bus changes integrated into -current. Many problems were 27 initially reported, but most have been fixed. You'll need a 28 new config and to tweak your kernel config file the way that 29 GENERIC was tweaked. Keep a copy of your old kernel when 30 upgrading in case your new kernel doesn't work (and report the 31 breakage to current@freebsd.org). 32 33 As of 19990421 the remaining problems/quirks are 34 35 o sio no longer supports pnp nor pccard. This will be corrected, 36 but the new pccard code needs to be completed. 37 o Some of the sound drivers broke for some people. It seems 38 inconsistant as to who/what/when/where things broke. 39 o Duplicate device entries in your config do not work. Previously 40 they were silently ignored. psm0 seems to be the most common 41 duplicate choice, although some reports have come in from people 42 that wired their scsi disk entries. 43 o You must move the keyboard and mouse attachments from the 44 isa bus to the atkbdc bus. See GENERIC for details. 45 o Machines with multiple host-pci bridges (Intel 450NX) will not 46 probe the second pci bus. 47 o Some probe ordering may have changed, so device naming may change 48 with the new kernel. If you have multiple devices, please double 49 check to make sure they didn't move. This is especially true 50 for cards on different buses. 51 o The bus attachment for vga0 is always isa0 and never pci0 when 52 it is in fact a pci card. It is safe to ignore this. 53 o The format of the boot messages has changed (and is not 54 guaranteed to be constant for a while) so you may see this 55 in some shell scripts that diff dmesg from day to day as well 56 as scripts that parse dmesg output. 57 5819990414: 59 cc -aout sometimes has problems compiling with -g, remove -g 60 from those compilation units affected until this is corrected. 61 62 cc -aout has problems with producing some threaded libraries, 63 so make world -DWANT_AOUT is not functional at this time. 64 65 Since make world for a.out isn't functional, you cannot do 66 make aout-to-elf from a pre-egcs a.out system. To work around 67 this problem, make aout-to-elf using 3.1-stable first (or a 68 pre egcs -current) and then a simple make world will take you 69 the rest of the way with a -current source base. 70 7119990413: 72 Make -j works again for make world. As always, use it with 73 care, and be sure to try a make world w/o -j before reporting 74 problems (that is, know if the problem exists w/o -j before 75 reporting the problem with -j). 76 7719990413: 78 Note cc -aout, which had been broken since the conversion to 79 egcs, now supposedly works. If you have rebuilt things like 80 XFree86 a.out libraries, you should rebuild them again or 81 progams that use them, including netscape, will fail to work. 82 8319990409: 84 NOTE: New c++ compiler cannot be used with c++ binaries from 85 the old compiler and vice versa. 86 8719990408: 88 In recent days egcs has been imported into the tree. A number 89 of problems have been discussed in -current. Here is a highlight 90 of a few of the more common ones. With the exception of make 91 -j n, they have been claimed to have been fixed. 92 93 c++ is broken after make world: This is correct. Because we 94 changed compilers two make worlds are necessary to get C++ 95 working again. The code generated by the old compiler and new 96 compiler are not compatible, so things wind up being 97 undefined. 98 99 cpp is broken in make world: There was a window where cpp 100 would be built incorrectly. The fix for this is 101 cd src/gnu/usr.bin/cc 102 make clean 103 make all 104 make install 105 and this should correct your problems. See the -current 106 archives for a version of this that does moer cleaning. 107 108 Make -j n doesn't work. Work contiunes to make this work, 109 I've seen no reports of success as of April 7th. 110 11119990329: 112 Previously, one would define "NOAOUT" to keep from building 113 the legacy a.out bits. Now one would define "WANT_AOUT" to 114 build them. 115 11619990316: 117 The name of the old wd.c and atapi.c based CDROM driver has 118 been changed back to wcd. So update your config file to use 119 "device wcd" instead of "device acd". 120 12119990314: 122 For those of you using the VN device as a loadable module, 123 please be aware that the new VN device has been committed to 124 -4.x and cannot yet be used as a loadable module. This will 125 be fixed in the future. 126 12719990309: 128 New loader.rc mechanism. Please see src/sys/boot/README for 129 details. 130 13119990225: 132 struct proc size changed. Recompile kernel and the 133 usual suspects. Make world if in doubt. 134 13519990214: 136 The nlpt driver has changed names back to be the lpt driver. 137 See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html 138 for proper configuration details. 139 14019990210: 141 The 'lpt' driver is now obsolete. Replace it with the 'nlpt' 142 driver and 'ppbus' controller combination. 143 14419990209: 145 New devstat API requires recompilation of libdevstat, systat, 146 iostat, vmstat and rpc.rstatd. A new kernel is also required. 147 make world + building a kernel should do all of this. Any 148 ports that use devstat need to be recompiled as well. 149 15019990125: 151 Linux threads options has gone away (they are now standard in 152 the FreeBSD kernel). A recompile of all libkvm using programs 153 is in order (or better yet a make world). 154 15519990122: 156 On or about this date there was a small window when the boot 157 blocks had some minor problems which seemed to force one to 158 edit /etc/fstab. This has been corrected, if you are seeing this 159 problem, please rebuild and reinstall your boot blocks. 160 16119990121: 162 Vinum has changed. The "vinum read" command has changed. For 163 updates, please see 164 165http://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current 166 167 for details. 168 169 Matt Dillon committed a boatload of VM changes, for 170 information please see 171 172http://www.freebsd.org/cgi/getmsg.cgi?fetch=886676+0+current/freebsd-current 173 or 174http://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current 175 176 for details. These changes will likely not impact anybody, 177 but large chagnes to the VM need at least a heads up. 178 17919990120: 180 Stable branch created. You might want to consider using this 181 branch. It is tagged with RELENG_3. 182 18319990119: 184 More work on the syscons driver has been committed. Since 185 files moved around, you will need to reconfigure your kernel, 186 and make clean; make depend before rebuilding the kernel. No 187 config file changes are needed. 188 18919990111: 190 New keyboard and video card drivers are introduced as the first 191 stage of console driver reorganization. You are required to 192 update the kernel configuration file and rebuild the kernel. 193 kbdcontrol, vidcontrol, and screen savers also need recompilation. 194 The instruction can be found in 195 196 http://www.freebsd.org/~yokota/sc_update.txt 197 198 It has notes on splash screen too. 199 20019990106: 201 Robert Nordier was kind enough to make this page to enable people to 202 install the new bootblocks: 203 204 http://www.freebsd.org/~rnordier/boot.txt 205 206 When updating to ELF, make sure that you have updated your 207 /etc/rc files which have different ldconfig invocations for 208 elf and aout. Otherwise things like X will stop working with 209 messages about being unable to find library files. The 210 mergemaster utility in ports/sysutils/mergemaster helps to 211 keep critical files like this in sync, and its use is 212 recommended. 213 21419990104: 215 Information about ELF day (see 19981230) can be found in 216 217 http://www.freebsd.org/~peter/elfday.html 218 219 about the upcoming change, its motivations and instructions 220 for doing the upgrade. 221 22219981230: 223 You should install new bootblocks now. The ELF kernel will 224 become default soon. In addition, you'll need to upgrade 225 your userland programs to ELF before then as well. Use 226 make aout-to-elf to upgrade your userland programs (old 227 a.out programs in, for example, /usr/local/bin will 228 continue to work, even after the upgrade). See src/Makefile 229 for more details. 230 23119981224: 232 The old wcd driver has been deleted from the kernel. The 233 driver that replaces it is named acd. You'll need to change 234 this in your configuration files. 235 236 Failure to do this will result in "ATAPI CD-ROMs not 237 configured" at boot time. 238 239 The floppy tape driver (ft) has been removed from the kernel, 240 with no replacement driver. 241 24219981202: 243 New groups from 19981201 commented out of mtree, so they 244 aren't strictly needed, but still a good idea to have. 245 24619981201: 247 New user/group added: bind. From src/etc/master.passwd and 248 src/etc/group: 249 % grep <newstuff> /usr/src/etc/group 250 bind:*:53: 251 % grep <newstuff> /usr/src/etc/master.passwd 252 tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin 253 kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin 254 bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin 255 25619981118: 257 PAM integrated into the tree. Requires new /etc/pam.conf file 258 to silence warnings from authentication programs (login, etc). 259 See src/etc/pam.conf for a sample. 260 261This file contains a list, in reverse chronologocal order, of major 262breakages in tracking -current. Not all things will be listed here, 263and it only starts on Novemeber 18, 1998. If you have an earlier 264version of FreeBSD, you are on your own to get to November 18, 1998. 265 266Please filter your entries through Warner (imp@village.org) so that 267the style, formatting, etc of this file can be maintained. 268 269$Id: UPDATING,v 1.31 1999/04/28 05:18:46 imp Exp $ 270