ƒ°X152699 162 390 154 194 168 174 334 404 1218 266 339 146 107 208 113 783 114 135 114 126 134 483 107 217 153 162 1357 97 165 377 149 130 139 299 312 106 106 664 1357 300 239 136 287 1807 155 238 153 280 106 155 137 107 142 239 179 157 175 144 142 107 107 106 106 107 107 107 106 337 1989 106 107 106 246 232 106 489 235 101 227 112 338 1245 310 184 139 206 116 230 2760 321 209 3792 1369 685 331 194 192 284 847 506 144 222 235 130 129 176 311 127 320 139 627 643 234 467 103 162 168 135 182 273 296 152 110 234 245 282 361 158 102 119 140 145 138 191 134 278 277 262 292 144 175 149 471 471 195 195 2108 213 102 342 283 384 214 156 541 188 181 1638 175 150 162 166 285 K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-22T22:34:14.000000Z K 7 svn:log V 297 Garbage collect the code to store diagnostics codes in a CMOS register during SMP startup. We haven't had any issues with starting up the APs on i386 in quite a while now which is all this code is really useful for. If someone ever does really need it they can always dig it up out of the attic. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-22T22:37:13.000000Z K 7 svn:log V 62 Garbage collect unused {VERBOSE_,}CPUSTOP_ON_DDBBREAK macros. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-22T22:54:42.000000Z K 7 svn:log V 101 Make COUNT_IPIS and COUNT_XINVLTLB_HITS real kernel options and take them out of machine/smptests.h. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-22T22:55:48.000000Z K 7 svn:log V 76 Garbage collect machine/smptests.h now that it is empty and no longer used. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-11-23T00:53:01.000000Z K 7 svn:log V 82 Simplify checks for valid battery info via DeMorgan's Rule. No functional change. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-23T00:56:18.000000Z K 7 svn:log V 240 Teach rfcomm_sppd(1) about service names, so it is possible to specify service name instead of channel number with -c command option. Supported service names are: DUN (Dial-Up Networking), FAX (Fax) and SP (Serial Port). MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-11-23T00:57:51.000000Z K 7 svn:log V 311 Try to fix problems with periodic hangs by never directly calling _BIF. Instead, re-evaluate _BIF only when we get a notify and use the cached results. We also still evaluate _BIF once on boot. Also, optimize the init loop a little by only querying for a particular info if it's not valid. MFC after: 2 days END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-23T02:06:06.000000Z K 7 svn:log V 1124 Quick fix for stack buffer overrun in rev.1.13. Oops. The prec == 1 arg to __kernel_rem_pio2() gives 53-bit (double) precision, not single precision and/or the array dimension like I thought. prec == 2 is used in e_rem_pio2.c for double precision although it is documented to be for 64-bit (extended) precision, and I just reduced it by 1 thinking that this would give the value suitable for 24-bit (float) precision. Reducing it 1 more to the documented value for float precision doesn't actually work (it gives errors of ~0.75 ulps in the reduced arg, but errors of much less than 0.5 ulps are needed; the bug seems to be in kernel_rem_pio2.c). Keep using a value 1 larger than the documented value but supply an array large enough hold the extra unused result from this. The bug can also be fixed quickly by increasing init_jk[0] in k_rem_pio2.c from 2 to 3. This gives behaviour identical to using prec == 1 except it doesn't create the extra result. It isn't clear how the precision bug affects higher precisions. 113-bit (quad) is the largest precision, so there is no way to use a large precision to fix it. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-23T03:03:09.000000Z K 7 svn:log V 173 Simplified setiing up args for __kernel_rem_pio2(). We already have x with a 24-bit fraction, so we don't need a loop to split it into up to 3 terms with 24-bit fractions. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2005-11-23T04:02:27.000000Z K 7 svn:log V 243 Userland applications may include queue.h and define INVARIANTS but not provide a panic(9) implementation. Thus, enable the sanity checks under INVARIANTS only if _KERNEL is also defined. Submitted by: jmallett Approved by: rwatson (mentor) END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-11-23T07:17:09.000000Z K 7 svn:log V 51 MFC: Rev. 1.37.2.1. Approved by: trhodes (mentor) END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-11-23T09:00:35.000000Z K 7 svn:log V 13 correct typo END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-11-23T10:31:59.000000Z K 7 svn:log V 113 Document PKG_PATH enviroment variable. Prodded by: Mark Andrews MFC after: 2 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T10:49:07.000000Z K 7 svn:log V 22 Add missing includes. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-23T14:27:56.000000Z K 7 svn:log V 690 Use only double precision for "kernel" tanf (except for returning float). This is a minor interface change. The function is renamed from __kernel_tanf() to __kernel_tandf() so that misues of it will cause link errors and not crashes. This version is a routine translation with no special optimizations for accuracy or efficiency. It gives an unimportant increase in accuracy, from ~0.9 ulps to 0.5285 ulps. Almost all of the error is from the minimax polynomial (~0.03 ulps and the final rounding step (< 0.5 ulps). It gives strange differences in efficiency in the -5 to +10% range, with -O1 fairly consistently becoming faster and -O2 slower on AXP and A64 with gcc-3.3 and gcc-3.4. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T15:41:36.000000Z K 7 svn:log V 23 Make SYNOPSIS compile. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T15:44:42.000000Z K 7 svn:log V 44 Make SYNOPSIS compile after imp@'s changes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T15:55:38.000000Z K 7 svn:log V 23 Make SYNOPSIS compile. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T16:07:54.000000Z K 7 svn:log V 35 Fix inet6_opt_get_val() prototype. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T16:24:39.000000Z K 7 svn:log V 43 There's no longer^Wyet . END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-23T16:36:13.000000Z K 7 svn:log V 390 - Quiet the pci_link(4) devices so that they don't show up in dmesg now. - Improve panic message if we fail to read the PCI bus number from a bridge device. - Don't try to lookup a BIOS IRQ for a link unless the link is routed via an ISA IRQ since BIOSen currently only route PCI link devices via ISA IRQs. Tested by: Mathieu Prevot bsdhack at club-internet dot fr MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T16:44:23.000000Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-11-23T17:10:46.000000Z K 7 svn:log V 122 Somehow memmove() got mapped to memset() in the patch table. Create a real memmove() implementation and use that instead. END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-23T17:32:57.000000Z K 7 svn:log V 58 Optimize PLCP length field computation for 802.11b rates. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-23T18:02:40.000000Z K 7 svn:log V 67 MFP4: Bring in arm9 cache-related functions Obtained from: NetBSD END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-23T18:03:33.000000Z K 7 svn:log V 1262 MFC: Start Bluetooth integration into rc.d system. Introduce /etc/rc.d/bluetooth script to start/stop Bluetooth devices. It will be called from devd(8) in response to device arrival/departure events. It is also possible to call it by hand to start/stop particular device without unplugging it. Introduce generic way to set configuration parameters for Bluetooth devices. By default /etc/rc.d/bluetooth script has hardwired defaults compatible with old rc.bluetooth from /usr/share/netgraph/bluetooth/examples. These can be overridden using /etc/defaults/bluetooth.device.conf file (system wide defaults). Finally, there could be another device specific override file located in /etc/bluetooth/$device.conf (where $device is ubt0, btccc0 etc.) The list of configuration parameters and their meaning described in the /etc/defaults/bluetooth.device.conf file. Even though Bluetooth device configuration files are not shell scripts, they must follow basic sh(1) syntax. Add rc.d scripts for the hcsecd(8) and sdpd(8) daemons. Put defaults into /etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices are attached to the system. Both daemons depend on Bluetooth socket layer. Fix Bluetooth assigned numbers URL in /etc/bluetooth/protocols file. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-23T18:11:24.000000Z K 7 svn:log V 6 Sort. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-23T18:12:05.000000Z K 7 svn:log V 73 MFi386: Sort and add COUNT_{IPIS,XINVLTLB_HITS}. Pointy hat to: jhb (2) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-23T18:51:34.000000Z K 7 svn:log V 284 Add locking and mark MPSAFE: - Add locked variants of start, init, and ifmedia_upd. - Add a mutex to the softc and remove spl calls. - Use callout(9) rather than timeout(9). - Setup interrupt handler last in attach. - Use M_ZERO rather than bzero. MFC after: 1 week Tested by: wpaul END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-23T19:06:53.000000Z K 7 svn:log V 57 MFC: Check for -1 using 0xffffffff rather than 0xffffff. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-11-23T19:14:19.000000Z K 7 svn:log V 36 sync with HEAD. fix typo while here END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-11-23T19:16:08.000000Z K 7 svn:log V 45 MFC: add witty remark about serious thought. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-11-23T19:52:14.000000Z K 7 svn:log V 203 - Adding the missing 'W' option back which was accidentally removed in rev1.37. - Fixing a core dump inside build_iovec_argf by providing a !NULL format string to vsnprintf(3). Reviewed by: rodrigc END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-23T20:17:27.000000Z K 7 svn:log V 215 Do not pass userquota and groupquota mount options to nmount(). These options are read from fstab by quotacheck(8), but are not valid mount options that need to be passed down the the filesystem. Noticed by: maxim END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T20:26:58.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-23T20:34:37.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-23T20:51:15.000000Z K 7 svn:log V 567 In nmount() and vfs_donmount(), do not strcmp() the options in the iovec directly. We need to copyin() the strings in the iovec before we can strcmp() them. Also, when we want to send the errmsg back to userspace, we need to copyout()/copystr() the string. Add a small helper function vfs_getopt_pos() which takes in the name of an option, and returns the array index of the name in the iovec, or -1 if not found. This allows us to locate an option in the iovec without actually manipulating the iovec members. directly via strcmp(). Noticed by: kris on sparc64 END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-23T22:51:01.000000Z K 7 svn:log V 1262 MFC: Start Bluetooth integration into rc.d system. Introduce /etc/rc.d/bluetooth script to start/stop Bluetooth devices. It will be called from devd(8) in response to device arrival/departure events. It is also possible to call it by hand to start/stop particular device without unplugging it. Introduce generic way to set configuration parameters for Bluetooth devices. By default /etc/rc.d/bluetooth script has hardwired defaults compatible with old rc.bluetooth from /usr/share/netgraph/bluetooth/examples. These can be overridden using /etc/defaults/bluetooth.device.conf file (system wide defaults). Finally, there could be another device specific override file located in /etc/bluetooth/$device.conf (where $device is ubt0, btccc0 etc.) The list of configuration parameters and their meaning described in the /etc/defaults/bluetooth.device.conf file. Even though Bluetooth device configuration files are not shell scripts, they must follow basic sh(1) syntax. Add rc.d scripts for the hcsecd(8) and sdpd(8) daemons. Put defaults into /etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices are attached to the system. Both daemons depend on Bluetooth socket layer. Fix Bluetooth assigned numbers URL in /etc/bluetooth/protocols file. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-23T23:06:33.000000Z K 7 svn:log V 203 These files were never hooked into the build, and were the start of an nmount()-based mount program for UFS. Now that mount(8) calls nmount() directly for mounting UFS filesystems, they are unnecessary. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-23T23:22:56.000000Z K 7 svn:log V 142 Remove UFS-specific parts from mount(8). For mounting UFS, all mount options are passed directly to nmount(), without any UFS-specific logic. END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-11-24T00:53:14.000000Z K 7 svn:log V 43 Correct division by zero error in comment. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-24T01:44:49.000000Z K 7 svn:log V 190 Merge in new driver version from Intel - 3.2.18. The most important change is support for adapters based on 82571 and 82572 chips. Tested on: 82547EI on i386 Tested on: 82540EM on sparc64 END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-24T02:04:26.000000Z K 7 svn:log V 1713 Optimized by eliminating the special case for 0.67434 <= |x| < pi/4. A single polynomial approximation for tan(x) works in infinite precision up to |x| < pi/2, but in finite precision, to restrict the accumulated roundoff error to < 1 ulp, |x| must be restricted to less than about sqrt(0.5/((1.5+1.5)/3)) ~= 0.707. We restricted it a bit more to give a safety margin including some slop for optimizations. Now that we use double precision for the calculations, the accumulated roundoff error is in double-precision ulps so it can easily be made almost 2**29 times smaller than a single-precision ulp. Near x = pi/4 its maximum is about 0.5+(1.5+1.5)*x**2/3 ~= 1.117 double-precision ulps. The minimax polynomial needs to be different to work for the larger interval. I didn't increase its degree the old degree is just large enough to keep the final error less than 1 ulp and increasing the degree would be a pessimization. The maximum error is now ~0.80 ulps instead of ~0.53 ulps. The speedup from this optimization for uniformly distributed args in [-2pi, 2pi] is 28-43% on athlons, depending on how badly gcc selected and scheduled the instructions in the old version. The old version has some int-to-float conversions that are apparently difficult to schedule well, but gcc-3.3 somehow did everything ~10 cycles or ~10% faster than gcc-3.4, with the difference especially large on AXPs. On A64s, the problem seems to be related to documented penalties for moving single precision data to undead xmm registers. With this version, the speed is cycles is almost independent of the athlon and gcc version despite the large differences in instruction selection to use the FPU on AXPs and SSE on A64s. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-24T02:25:49.000000Z K 7 svn:log V 60 Create a non-elf pure binary version of the kernel as well. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-24T02:27:55.000000Z K 7 svn:log V 142 Use a magic number to know we were started from the elf wrapper. Add a dummy _start function to make the non-elf version of the wrapper work. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-11-24T05:23:56.000000Z K 7 svn:log V 61 Only copy out the battery status/info if there was no error. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-11-24T05:29:15.000000Z K 7 svn:log V 187 MFC: acpi_battery.c 1.22, acpi_cmbat.c 1.42, acpi_smbat.c 1.2 and 1.3 Cache smbat battery states like cmbat (Original by ume@). Only re-evaluate _BIF when there is a notify and on boot. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T06:56:21.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T06:59:35.000000Z K 7 svn:log V 64 Fix prototype of strmode() to match the code and documentation. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T07:04:20.000000Z K 7 svn:log V 46 Keep up with const poisoning in uuid.h,v 1.3. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T07:12:01.000000Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T07:20:26.000000Z K 7 svn:log V 51 Fix prototype to match the code and documentation. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T07:33:35.000000Z K 7 svn:log V 147 Fix prototypes. Attn davidxu@: most likely, the description should also be tweaked after your undocumented changes that changed these prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T07:48:19.000000Z K 7 svn:log V 88 Make SYNOPSIS compile. Attn peter@: this manpage wasn't synced with your code changes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T08:16:18.000000Z K 7 svn:log V 66 Add missing "struct" in i386/i386/machdep.c,v 1.497 by deischen@. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T08:30:44.000000Z K 7 svn:log V 84 Revert last revision, strmode() should be moved to to be properly fixed. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-11-24T09:25:10.000000Z K 7 svn:log V 51 s/5.5/6.0/ in HISTORY section. Discussed with: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T09:51:59.000000Z K 7 svn:log V 51 Fix prototype to match the code and documentation. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T10:06:05.000000Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T10:30:44.000000Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T10:32:39.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T10:43:35.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T10:54:47.000000Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T11:14:06.000000Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T11:26:36.000000Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T11:29:11.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T13:44:42.000000Z K 7 svn:log V 245 Improve the documentation of "proxyall" knob, somewhat: we do not proxy for hosts that are reachable through the same interface the request came in from. This feature is mainly for hosts reachable through some P2P link, e.g. the gif(4) tunnel. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-24T13:48:40.000000Z K 7 svn:log V 1895 Minor cleanups and optimizations: - Remove dead code that I forgot to remove in the previous commit. - Calculate the sum of the lower terms of the polynomial (divided by x**5) in a single expression (sum of odd terms) + (sum of even terms) with parentheses to control grouping. This is clearer and happens to give better instruction scheduling for a tiny optimization (an average of about ~0.5 cycles/call on Athlons). - Calculate the final sum in a single expression with parentheses to control grouping too. Change the grouping from first_term + (second_term + sum_of_lower_terms) to (first_term + second_term) + sum_of_lower_terms. Normally the first grouping must be used for accuracy, but extra precision makes any grouping give a correct result so we can group for efficiency. This is a larger optimization (average 3-4 cycles/call or 5%). - Use parentheses to indicate that the C order of left to right evaluation is what is wanted (for efficiency) in a multiplication too. The old fdlibm code has several optimizations related to these. 2 involve doing an extra operation that can be done almost in parallel on some superscalar machines but are pessimizations on sequential machines. Others involve statement ordering or expression grouping. All of these except the ordering for the combining the sums of the odd and even terms seem to be ideal for Athlons, but parallelism is still limited so all of these optimizations combined together with the ones in this commit save only ~6-8 cycles (~10%). On an AXP, tanf() on uniformly distributed args in [-2pi, 2pi] now takes 39-59 cycles. I don't know of any more optimizations for tanf() short of writing it all in asm with very MD instruction scheduling. Hardware fsin takes 122-138 cycles. Most of the optimizations for tanf() don't work very well for tan[l](). fdlibm tan() now takes 145-365 cycles. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T14:17:35.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T14:23:16.000000Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T14:27:53.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-11-24T14:39:41.000000Z K 7 svn:log V 150 Add a -f configfile option to devd(8), based on a patch submitted by Wojciech A. Koszek. Submitted by: Wojciech A. Koszek END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-24T15:06:40.000000Z K 7 svn:log V 135 Fix parsing of atime, clusterr, clusterw, exec, suid, symfollow mount options. Noticed by: Amir Shalem < amir at boom dot org dot il> END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T15:10:38.000000Z K 7 svn:log V 15 Fix prototype. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-24T15:11:41.000000Z K 7 svn:log V 397 Since we want a vinum geom created anytime the module loads, move the geom creation to a seperate init function and ignore the tasting. The config is now parsed only in the vinumdrive geom, which hopefully fixes the problem, that the drive class tasted before the vinum class had a chance, for good. Also restore the behaviour that the module can be loaded at boot time and on a running system. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-24T15:13:47.000000Z K 7 svn:log V 139 Remember the bus_dmamap_t where we loaded the mbuf, and sync this map instead of tx_buffer->map, or we could end up syncing the wrong map. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-24T15:28:32.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T16:03:09.000000Z K 7 svn:log V 135 - Stop talking about non-FreeBSD stuff (mostly because it's hard to keep this info up-to-date as time goes by). - Revise the markup. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-11-24T17:28:43.000000Z K 7 svn:log V 19 Add entry for 6.1. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-11-24T17:35:05.000000Z K 7 svn:log V 242 Fixing a regression introduced in rev1.72 by connecting cd9660 to the external mounting program list as well; otherwise, entry like the following in /etc/fstab wouldn't work: /dev/acd0 /mnt/cdrom cd9660 ro,-C=big5 0 0 Reviewed by: rodrigc END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-24T18:56:14.000000Z K 7 svn:log V 1152 Fix the following bugs: - In ifc_name2unit(), disallow leading zeroes in a unit. Exploit: ifconfig lo01 create - In ifc_name2unit(), properly handle overflows. Otherwise, either of two local panic()'s can occur, either because no interface with such a name could be found after it was successfully created, or because the code will bogusly assume that it's a wildcard (unit < 0 due to overflow). Exploit: ifconfig lo create - Previous revision made the following sequence trigger a KASSERT() failure in queue(3): Exploit: ifconfig lo0 destroy; ifconfig lo0 destroy This is because IFC_IFLIST_REMOVE() is always called before ifc->ifc_destroy() has been run, not accounting for the fact that the latter can fail and leave the interface operating (like is the case for "lo0"). So we ended up calling LIST_REMOVE() twice. We cannot defer IFC_IFLIST_REMOVE() until after a call to ifc->ifc_destroy() because the ifnet may have been removed and its memory has been freed, so recover from this by re-inserting the ifnet in the cloned interfaces list if ifc->ifc_destroy() indicates a failure. END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-24T21:31:39.000000Z K 7 svn:log V 214 o Force the sending of an extra URB if there is less than 2 bytes left at the end of the last URB (URB = USB Request Block = 64 bytes). o Free the AMRR reserved xfer in detach. o Minor tweaks. MFC after: 1 week END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-24T21:40:24.000000Z K 7 svn:log V 89 Send the packet to BPF after setting the duration field of the frame. MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-25T03:30:45.000000Z K 7 svn:log V 44 Use the correct file name for the ldscript. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-11-25T09:00:56.000000Z K 7 svn:log V 113 When IOCATAGPARM is called, update the capabilities page that is stored in the kernel and return the new values. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-25T10:09:30.000000Z K 7 svn:log V 25 Add sysctl descriptions. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-25T10:12:58.000000Z K 7 svn:log V 138 Revert revision 1.416 and don't create a hierarchy before installing a kernel. It's slower and is generally only applicable to RELENG_4. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-25T11:22:39.000000Z K 7 svn:log V 2662 Merge uipc_usrreq.c:1.159 from HEAD to RELENG_6: Correct a number of serious and closely related bugs in the UNIX domain socket file descriptor garbage collection code, which is intended to detect and clear cycles of orphaned file descriptors that are "in-flight" in a socket when that socket is closed before they are received. The algorithm present was both run at poor times (resulting in recursion and reentrance), and also buggy in the presence of parallelism. In order to fix these problems, make the following changes: - When there are in-flight sockets and a UNIX domain socket is destroyed, asynchronously schedule the garbage collector, rather than running it synchronously in the current context. This avoids lock order issues when the garbage collection code reenters the UNIX domain socket code, avoiding lock order reversals, deadlocks, etc. Run the code asynchronously in a task queue. - In the garbage collector, when skipping file descriptors that have entered a closing state (i.e., have f_count == 0), re-test the FDEFER flag, and decrement unp_defer. As file descriptors can now transition to a closed state, while the garbage collector is running, it is no longer the case that unp_defer will remain an accurate count of deferred sockets in the mark portion of the GC algorithm. Otherwise, the garbage collector will loop waiting waiting for unp_defer to reach zero, which it will never do as it is skipping file descriptors that were marked in an earlier pass, but now closed. - Acquire the UNIX domain socket subsystem lock in unp_discard() when modifying the unp_rights counter, or a read/write race is risked with other threads also manipulating the counter. While here: - Remove #if 0'd code regarding acquiring the socket buffer sleep lock in the garbage collector, this is not required as we are able to use the socket buffer receive lock to protect scanning the receive buffer for in-flight file descriptors on the socket buffer. - Annotate that the description of the garbage collector implementation is increasingly inaccurate and needs to be updated. - Add counters of the number of deferred garbage collections and recycled file descriptors. This will be removed and is here temporarily for debugging purposes. With these changes in place, the unp_passfd regression test now appears to be passed consistently on UP and SMP systems for extended runs, whereas before it hung quickly or panicked, depending on which bug was triggered. Reported by: Philip Kizer END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-25T12:56:51.000000Z K 7 svn:log V 223 Synchronize with version of portsnap in HEAD: 1. make_index no longer coredumps if input has zero lines. 2. phttpget no longer enters an infinite loop if the TCP connection is closed while phttpget is reading HTTP headers. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-11-25T13:27:22.000000Z K 7 svn:log V 112 MFC 1.260 (by ps): Fixed a panic that can happen when nfs_lookup() hits an error. RELENG_6_0 errata candidate. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:11:59.000000Z K 7 svn:log V 3694 Sync em(4) driver with HEAD, merging the following changes: revision 1.83 date: 2005/11/09 08:43:18; author: yongari; state: Exp; lines: +41 -38 Make em(4) work on big-endian architectures. - disable jumbo frame support on strict alignment architectures due to the limitation of hardware. The driver needs a fix-up code for RX side. The fix will show up in near future. - fix endian issue for 82544 on PCI-X bus. I couldn't test this as I don't have the NIC/hardware. - prefer PCIR_BAR to hardcoded EM_MMBA. - Properly checks for for 64bit BAR [1] - replace inl/outl with bus_space(9) [1] - fix endian issue on VLAN handling. - reorder header files and remove unnecessary one. Reviewed by: cognet No response from: pdeuskar, tackerman Obtained from: OpenBSD [1] revision 1.84 date: 2005/11/09 15:23:54; author: glebius; state: Exp; lines: +7 -3 - Introduce two more stat counters, counting number of RX overruns and number of watchdog timeouts. - Do not log(9) RX overrun events, since this pessimizes things under load [1]. - Do not increase if->if_oerrors in em_watchdog(), since this leads to counter slipping back, when if->if_oerrors is recalculated in em_update_stats_counters(). Instead increase watchdog counter in em_watchdog() and take it into account in em_update_stats_counters(). revision 1.86 date: 2005/11/11 16:04:51; author: ru; state: Exp; lines: +1 -1 - Store pointer to the link-level address right in "struct ifnet" rather than in ifindex_table[]; all (except one) accesses are through ifp anyway. IF_LLADDR() works faster, and all (except one) ifaddr_byindex() users were converted to use ifp->if_addr. - Stop storing a (pointer to) Ethernet address in "struct arpcom", and drop the IFP2ENADDR() macro; all users have been converted to use IF_LLADDR() instead. revisions 1.85, 1.87 - Introduce tunables em.hw.txd and em.hw.rxd, which allow administrator to configure number of transmit and receive descriptors. - Check em.hw.txd and em.hw.rxd against hardware limits [*] and require them to be multiple of 128. revision 1.88 date: 2005/11/21 04:17:43; author: yongari; state: Exp; lines: +121 -83 busdma cleanup for em(4). - don't force busdma to pre-allocate bounce pages for parent tag. - use system supplied roundup2 macro instead of rolling its own version. - TX/RX decriptor length should be multiple of 128. There is no no need to expand the size with the multiple of 4096. - don't create/destroy DMA maps in TX/RX handlers. Use pre-allocated DMA maps. Since creating DMA maps on sparc64 is time consuming operations(resource mananger overhead), this change should boost performance on sparc64. I could get > 2x speedup on Ultra60. - TX/RX descriptors could be aligned on 128 boundary. Aligning them on PAGE_SIZE is waste of resource. - don't blindly create TX DMA tag with size of MCLBYTES * 8. The size is only valid under jumbo frame environments. Instead of using the hardcoded value, re-compute necessary size on the fly. - RX side bus_dmamap_load_mbuf_sg(9) support. - remove unused macro EM_ROUNDUP and constant EM_MMBA. Reviewed by: scottl Tested by: glebius revision 1.89 date: 2005/11/24 01:44:48; author: glebius; state: Exp; lines: +131 -77 Merge in new driver version from Intel - 3.2.18. The most important change is support for adapters based on 82571 and 82572 chips. Tested on: 82547EI on i386 Tested on: 82540EM on sparc64 revision 1.90 date: 2005/11/24 15:13:47; author: cognet; state: Exp; lines: +3 -1 Remember the bus_dmamap_t where we loaded the mbuf, and sync this map instead of tx_buffer->map, or we could end up syncing the wrong map. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:23:27.000000Z K 7 svn:log V 1271 Sync with HEAD, merging the following: revision 1.117 date: 2005/11/02 15:23:47; author: glebius; state: Exp; lines: +47 -8 Fix two races which happen when netgraph is restructuring: - Introduce ng_topo_mtx, a mutex to protect topology changes. - In ng_destroy_node() protect with ng_topo_mtx the process of checking and pointing at ng_deadnode. [1] - In ng_con_part2() check that our peer is not a ng_deadnode, and protect the check with ng_topo_mtx. - Add KASSERTs to ng_acquire_read/write, to make more understandible synopsis in case if called on ng_deadnode. Reported by: Roselyn Lee [1] ---------------------------- revision 1.116 date: 2005/11/02 14:27:24; author: glebius; state: Exp; lines: +106 -121 Rework the ng_item queueing on nodes: - Introduce a new flags NGQF_QREADER and NGQF_QWRITER, which tell how the item should be actually applied, overriding NGQF_READER/NGQF_WRITER flags. - Do not differ between pending reader or writer. Use only one flag that is raised, when there are pending items. - Schedule netgraph ISR in ng_queue_rw(), so that callers do not need to do this job. - Fix several comments. Submitted by: julian As well as some lesser changes: ng_base.c 1.114, 1.113, 1.107, 1.118. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:26:40.000000Z K 7 svn:log V 588 MFC 1.70: Fix several races between socket closure and node/hook destruction: - Backout 1.62, since it doesn't fix all possible problems. - Upon node creation, put an additional reference on node. - Add a mutex and refcounter to struct ngsock. Netgraph node, control socket and data socket all count as references. - Introduce ng_socket_free_priv() which removes one reference from ngsock, and frees it when all references has gone. - No direct pointers between pcbs and node, all pointing is done via struct ngsock and protected with mutex. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2005-11-25T14:29:24.000000Z K 7 svn:log V 233 Fix panic when we cannot find self-id of probing nodes. This shouldn't happen as far as the self-id buffer is vaild but some people have this problem. PR: kern/83999 Submitted by: Markus Wild MFC after: 3 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-11-25T14:31:34.000000Z K 7 svn:log V 99 Reorder the variable lists on this page alphabetically by make variable name. Discussed with: ru END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:32:38.000000Z K 7 svn:log V 96 MFC 1.157: Keep locks consistent before goto. Reported by: pho Reviewed by: mohans END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:34:05.000000Z K 7 svn:log V 187 MFC 1.89: - Do not raise IFF_DRV_OACTIVE flag in vlan_start, because this can lead to stalled interface - Explain this fact in a comment. Reviewed by: rwatson, thompsa, yar END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:38:19.000000Z K 7 svn:log V 750 MFC 1.145: Rework ARP retransmission algorythm so that ARP requests are retransmitted without suppression, while there is demand for such ARP entry. As before, retransmission is rate limited to one packet per second. Details: - Remove net.link.ether.inet.host_down_time - Do not set/clear RTF_REJECT flag on route, to avoid rt_check() returning error. We will generate error ourselves. - Return EWOULDBLOCK on first arp_maxtries failed requests , and return EHOSTDOWN/EHOSTUNREACH on further requests. - Retransmit ARP request always, independently from return code. Ratelimit to 1 pps. MFC 1.142: Use monotonic 'time_uptime' instead of 'time_second' as timebase for rt->rt_rmx.rmx_expire. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:40:38.000000Z K 7 svn:log V 409 MFC 1.18 - 1.21: - Document last change to ARP behavior. - Document several undocumented sysctl variables. - Fix spelling of few diagnostics. - Improve the documentation of "proxyall" knob, somewhat: we do not proxy for hosts that are reachable through the same interface the request came in from. This feature is mainly for hosts reachable through some P2P link, e.g. the gif(4) tunnel. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:41:31.000000Z K 7 svn:log V 48 MFC 1.51: Force this interface to be RUNNING. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:43:12.000000Z K 7 svn:log V 125 MFC: Recognize Broadcom BCM5752 chip, that can be found in HP DC7600. PR: kern/88940 Submitted by: Alexander Hausner END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:44:06.000000Z K 7 svn:log V 138 MFC: Recognize Broadcom BCM5752 chip, that can be found in HP DC7600. PR: kern/88940 Submitted by: Alexander Hausner END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:46:42.000000Z K 7 svn:log V 34 MFC 1.23, 1.24: BCM5752 support END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:47:32.000000Z K 7 svn:log V 33 MFC 1.23, 1.24 BCM5752 support END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:49:04.000000Z K 7 svn:log V 80 MFC 1.12: Xref ng_ether(4) and ng_iface(4) nodes, which are used in examples. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:54:59.000000Z K 7 svn:log V 214 MFC 1.38: MFOpenBSD 1.62: Prevent backup CARP hosts from replying to arp requests, fixes strangeness with some layer-3 switches. From Bill Marquette. Tested by: Kazuaki Oda END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:56:03.000000Z K 7 svn:log V 31 MFC 1.24: Document tunables. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-25T14:57:38.000000Z K 7 svn:log V 223 MFC 1.34 by yar: Since carp(4) interfaces presently are kinda fake yet possess IP addresses, mark them with LOOPBACK so that routing daemons take them easy for link-state routing protocols. Reviewed by: glebius END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-25T19:32:29.000000Z K 7 svn:log V 44 Fix AMRR initialization. MFC after: 6 days END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-11-25T19:48:53.000000Z K 7 svn:log V 531 It turns out that set_charset() invokes build_iovec() which modifies iov address internally through realloc(3). However, since the function parameter wasn't designed to allow the modified iov being passed back to the caller, we end up feeding iov with several corrupted entries(depends on how many arguments were pushed into iovec before set_charset()) to nmount(2). This commit fixes this regression introduced in rev1.31 such that mount_cd9660(8) with code page conversion option(-C) enabled works again. Reviewed by: rodrigc END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-11-25T19:55:14.000000Z K 7 svn:log V 547 It turns out that set_charset() invokes build_iovec_argf() which modifies iov address internally through realloc(3). However, since the function parameter wasn't designed to allow the modified iov being passed back to the caller, we ended up feeding iov with several corrupted entries(this depends on how many arguments were pushed into iovec before set_charset()) to nmount(2). This commit fixes this regression introduced in rev1.37 such that mount_msdosfs(8) with code page conversion option(-W,-D) enabled works again. Reviewed by: rodrigc END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-25T21:15:07.000000Z K 7 svn:log V 138 o Pass received frames to radiotap. o Remove some unsupported flags from the ic_caps field. o Various cosmetic tweaks. MFC after: 6 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-25T22:25:34.000000Z K 7 svn:log V 375 Clean some code that became obfuscated over the years: Don't keep duplicate files in the files list just to mark the device as "known" later. XXX: Since the device list isn't unique (there can be two "device foo" directives, as this the case with LINT+DEFAULTS), we have to traverse it all to mark all copies of the same device as "used", but this is not worse than it was. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-25T22:36:40.000000Z K 7 svn:log V 12 Whitespace. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-26T00:40:57.000000Z K 7 svn:log V 65 Update the list of drivers that need wlan(4). MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-26T00:47:07.000000Z K 7 svn:log V 71 Sort Xrefs in the SEE ALSO section correctly. Pointy hat to: brueffer END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-26T03:51:25.000000Z K 7 svn:log V 41 Added codec id for Avance Logic (ALC250) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-26T03:54:17.000000Z K 7 svn:log V 88 Added mono to stereo and stereo to mono feeder functions for both 24 and 32 bit format. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-11-26T07:30:09.000000Z K 7 svn:log V 177 The CAM interface is broken and seems to be causing lockups on boot. It doesn't appear to have worked in a long time, so just disable it completely for now. MFC After: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-11-26T07:36:53.000000Z K 7 svn:log V 203 Add a locking stub to call acpi_cmbat_get_bif() now that it is directly run from the taskqueue. There should probably be a better way to do this later, but this suffices for now. Submitted by: yongari END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-11-26T07:37:40.000000Z K 7 svn:log V 60 MFC 1.43: Acquire locks around call to acpi_cmbat_get_bif() END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-26T08:50:20.000000Z K 7 svn:log V 19 Remove duplicates. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-26T10:06:21.000000Z K 7 svn:log V 136 In preparation for automatic hardware notes generation, reword the hardware section text to include the driver name. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-26T10:51:23.000000Z K 7 svn:log V 148 Previous commit merged 1.145 and _a part of_ 1.142, and this part broke ARP in RELENG_6. At this time merge 1.142 entirely. Pointy hat to: glebius END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-26T11:06:11.000000Z K 7 svn:log V 190 MFC: Finally bring in what was produced during Google SoC 2005: Add functions to rename objects and to move a subdisk from one drive to another. Plus several whitespace/style fixes. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-26T11:10:37.000000Z K 7 svn:log V 269 MFC: Finally bring in what was produced during Google SoC 2005: Add functions to rename objects and to move a subdisk from one drive to another. Add manual page (finally). Bring up-to-date the online help. Plus several cleanups and whitespace fixes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-26T12:42:35.000000Z K 7 svn:log V 62 Bring in experimental kernel support for POSIX message queue. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-26T12:45:22.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-26T12:46:01.000000Z K 7 svn:log V 23 Compile mqueue module. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-26T12:48:11.000000Z K 7 svn:log V 44 Bring in mqueue.h to define struct mq_attr. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-26T12:53:18.000000Z K 7 svn:log V 49 Support mounting POSIX message queue filesystem. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-26T12:55:36.000000Z K 7 svn:log V 42 Bring in POSIX message queue header file. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-26T13:01:17.000000Z K 7 svn:log V 95 Implement following POSIX message queue interfaces: mq_close, mq_getattr, mq_receive, mq_send. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-26T13:19:09.000000Z K 7 svn:log V 38 Add code to test POSIX message queue. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-11-26T17:11:31.000000Z K 7 svn:log V 181 Revision 5.0 of the Sony DSC camera appears to require RBC commands to be padded to 12 bytes in length. Otherwise the requests just time out. Reported by: anders MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-26T19:13:41.000000Z K 7 svn:log V 181 MFC rev 1.203: Fix bug introduced in revision 1.186: Iterate over the mounted file systems to find the largest time stamp and call inittodr() exactly once with that time stamp. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2005-11-26T19:32:30.000000Z K 7 svn:log V 169 MFC 1.151: Fix a bug in the loop in sonewconn that makes room on the incomplete connection queue for a new connection. It was removing connections from the wrong list. END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-11-26T20:58:43.000000Z K 7 svn:log V 197 MFC: pkg_info.1:1.55 date: 2005/11/23 10:31:59; author: krion; state: Exp; lines: +4 -1 Document PKG_PATH enviroment variable. Prodded by: Mark Andrews END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-11-26T21:19:20.000000Z K 7 svn:log V 48 MFC 1.65: Remove an unneeded "a" from comment. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-11-26T21:20:05.000000Z K 7 svn:log V 79 MFC 1.83: Slightly reorganize to reduce duplicated code. Reviewed by: rwatson END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-11-26T21:57:27.000000Z K 7 svn:log V 57 New errata item: problems of ipfw IPv6 support on 6.0R. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2005-11-26T22:55:20.000000Z K 7 svn:log V 378 MFC: Fix a bug that caused some /dev entries to continue to exist after the underlying drive had been hot-unplugged from the system. This merges the following revisions: Revision Path 1.94 src/sys/cam/scsi/scsi_cd.c 1.181 src/sys/cam/scsi/scsi_da.c 1.98 src/sys/geom/geom_disk.c 1.5 src/sys/geom/geom_disk.h 1.88 src/sys/geom/geom_subr.c END K 10 svn:author V 3 jdp K 8 svn:date V 27 2005-11-26T23:20:00.000000Z K 7 svn:log V 378 MFC: Fix a bug that caused some /dev entries to continue to exist after the underlying drive had been hot-unplugged from the system. This merges the following revisions: Revision Path 1.94 src/sys/cam/scsi/scsi_cd.c 1.181 src/sys/cam/scsi/scsi_da.c 1.98 src/sys/geom/geom_disk.c 1.5 src/sys/geom/geom_disk.h 1.88 src/sys/geom/geom_subr.c END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-11-27T00:38:57.000000Z K 7 svn:log V 100 MFC 1.7, which fixes the failed transfer semantics for BIND 9.3.x, and cleans up the code slightly. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-11-27T00:44:58.000000Z K 7 svn:log V 100 MFC 1.7, which fixes the failed transfer semantics for BIND 9.3.x, and cleans up the code slightly. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-27T00:55:18.000000Z K 7 svn:log V 2010 Add several aliases for existing clockid_t names to indicate that the application wishes to request high precision time stamps be returned: Alias Existing CLOCK_REALTIME_PRECISE CLOCK_REALTIME CLOCK_MONOTONIC_PRECISE CLOCK_MONOTONIC CLOCK_UPTIME_PRECISE CLOCK_UPTIME Add experimental low-precision clockid_t names corresponding to these clocks, but implemented using cached timestamps in kernel rather than a full time counter query. This offers a minimum update rate of 1/HZ, but in practice will often be more frequent due to the frequency of time stamping in the kernel: New clockid_t name Approximates existing clockid_t CLOCK_REALTIME_FAST CLOCK_REALTIME CLOCK_MONOTONIC_FAST CLOCK_MONOTONIC CLOCK_UPTIME_FAST CLOCK_UPTIME Add one additional new clockid_t, CLOCK_SECOND, which returns the current second without performing a full time counter query or cache lookup overhead to make sure the cached timestamp is stable. This is intended to support very low granularity consumers, such as time(3). The names, visibility, and implementation of the above are subject to change, and will not be MFC'd any time soon. The goal is to expose lower quality time measurement to applications willing to sacrifice accuracy in performance critical paths, such as when taking time stamps for the purpose of rescheduling select() and poll() timeouts. Future changes might include retrofitting the time counter infrastructure to allow the "fast" time query mechanisms to use a different time counter, rather than a cached time counter (i.e., TSC). NOTE: With different underlying time mechanisms exposed, using different time query mechanisms in the same application may result in relative non-monoticity or the appearance of clock stalling for a single clockid_t, as a cached time stamp queried after a precision time stamp lookup may be "before" the time returned by the earlier live time counter query. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-27T01:13:00.000000Z K 7 svn:log V 116 Don't use OpenBSD syscall numbers, instead, use new syscall numbers for POSIX message queue. Suggested by: rwatson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-27T01:23:31.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-27T02:43:08.000000Z K 7 svn:log V 245 - Update the flow sequence before converting count to network byte order. - Update the flow sequence in one atomic op instead of two. Reported by: Denis Shaposhnikov Reported by: Daniil Kharoun PR: kern/89417 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-27T02:56:42.000000Z K 7 svn:log V 186 MFC 1.61: Check IFF_DRV_RUNNING in the re_intr() loop. It can disappear, since re_rxeof() drops the lock for some time. Reported & tested by: XueFeng Deng END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-11-27T03:16:46.000000Z K 7 svn:log V 286 Portability: Remove AC_CHECK_MALLOC from configure.ac.in. libarchive doesn't make malloc(0) requests, so the autoconf checks aren't needed and the autoconf workarounds for broken malloc(0) just create problems. Thanks to: Dan Nelson, who reports that this fixes libarchive on AIX 5.2 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-11-27T03:17:50.000000Z K 7 svn:log V 116 Portability: remove AC_FUNC_MALLOC from configure.ac.in. According to Dan Nelson, this fixes the build on AIX 5.2. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-27T03:29:59.000000Z K 7 svn:log V 62 Support for ATI IXP 200 / 300 / 400 series audio controllers. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-11-27T07:30:21.000000Z K 7 svn:log V 443 Clarify a comment to make it clear that it is NO_NIS that "If it is set" refers to and add extra '#' comment characters at the beginning of two lines that started with TABs, to avoid warnings like: "/etc/make.conf", line 128: Unassociated shell command "# If set, you might need to adopt your" "/etc/make.conf", line 129: Unassociated shell command "# nsswitch.conf(5) and remove `nis' entries." PR: misc/89423 Submitted by: Scot W. Hetzel END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-27T08:30:12.000000Z K 7 svn:log V 92 Change filesystem name from mqueue to mqueuefs for style consistent. Suggested by: rwatson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-27T08:32:41.000000Z K 7 svn:log V 85 Change filesystem name from mqueue to mqueuefs for style consitent, sort LINKS list. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-11-27T09:05:37.000000Z K 7 svn:log V 1540 The ohci driver's processing of completed transfer descriptors (TDs) appeared to rely on all kinds of non-guaranteed behaviours: the transfer abort code assumed that TDs with no interrupt timeout configured would end up on the done queue within 20ms, the done queue processing assumed that all TDs from a transfer would appear at the same time, and there were access-after-free bugs triggered on failed transfers. Attempt to fix these problems by the following changes: - Use a maximum (6-frame) interrupt delay instead of no interrupt delay to ensure that the 20ms wait in ohci_abort_xfer() is enough for the TDs to have been taken off the hardware done queue. - Defer cancellation of timeouts and freeing of TDs until we either hit an error or reach the final TD. - Remove TDs from the done queue before freeing them so that it is safe to continue traversing the done queue. This appears to fix a hang that was reproducable with revision 1.67 or 1.68 of ulpt.c (earlier revisions had a different transfer pattern). With certain HP printers, the command "true > /dev/ulpt0" would cause ohci_add_done() to spin because the done queue had a loop. The list corruption was caused by a 3-TD transfer where the first TD completed but remained on the internal host controller done queue because it had no interrupt timeout. When the transfer timed out, the TD got freed and reused, so it caused a loop in the done queue when it was inserted a second time from a different transfer. Reported by: Alex Pivovarov MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-27T09:46:56.000000Z K 7 svn:log V 78 Add a CAVEATS section that mentions missing RAID5 support. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-27T16:49:19.000000Z K 7 svn:log V 53 Document 82571 and 82572 support. MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-11-27T17:11:21.000000Z K 7 svn:log V 70 Bump release documentation version and trim the old relnotes entries. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-11-27T17:11:22.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-27T18:37:15.000000Z K 7 svn:log V 188 Add several missing calls to splx() in error cases associated with calling ether_ipfw_chk() from the ethernet output code. PR: 57985 Reported by: Scot Loach END