ƒ²F155595 172 2822 751 329 213 205 204 205 232 239 216 135 219 145 153 119 182 173 181 161 1154 169 265 335 133 139 393 500 200 561 433 281 232 211 214 479 295 318 385 226 213 218 205 166 186 391 177 702 345 191 308 268 406 453 706 284 201 228 191 299 200 120 674 416 164 476 1607 394 154 191 160 368 1532 263 754 297 656 151 126 213 149 199 139 1228 210 151 475 105 359 217 194 419 155 151 351 420 475 451 399 357 349 454 379 311 266 168 346 187 166 326 685 247 199 155 107 219 594 288 547 145 158 208 230 147 176 212 282 131 137 182 172 141 197 205 209 183 107 203 276 119 148 135 150 1408 365 202 178 1209 135 135 135 182 245 247 245 163 256 276 316 236 468 164 259 160 271 285 148 213 388 160 220 323 212 K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-02-13T08:45:51.000000Z K 7 svn:log V 2726 Overhaul the named boot script: 1. Remove a now-spurious NetBSD CVS Id, as we are no longer synching work 2. Remove a now-spurious BEFORE, since ntpdate now REQUIRE's named 3. Replace the call to set rcvar with what that function would output, and generally reduce indirection ($name -> named) since it's highly unlikely the name of the named process or service will change any time soon. 4. Resort the order the variables at the top of the file to a more traditional format, and remove a spurious required_dirs from the top, as it works better after load_rc_config. 5. We do not want the default reload method with named, so define a simple but appropriate substitute using rndc. If I were writing this script for the first time I would not include this at all, since it's preferable to control a running daemon with rndc to start with, but given that this is already here, let's do it right. I hope that future generations will however resist the tempation to add reconfig to extra_commands. 6. By the same token, we want to use rndc to shut down named, but given that by defining a stop function we lose the "find the process by its pid file in an emergency" goodness of rc.subr, try to do something useful in the event that rndc is not available, and keep the user informed. 7. Replace some "test -f" with "test -r" to handle the unlikely event that the relevant file exists, but is unreadable. 8. Twiddle whitespace in a few areas, remove a spurious blank line, a bogus double space, and try to do better indenting. 9. Improve generation of the rndc.key file significantly a. If for some reason a user has an rndc.conf file, assume that they did that on purpose, and hence know what they are doing, so leave them alone. b. Introduce a named_uid configuration variable so that the user which owns the rndc.key file and the user named runs as always match, and is more easily configurable. This should dramatically reduce problems with rndc. c. Also test that the rndc.key file size is greater than zero, rather than simply that the file exists. I have seen at least one user report this exact problem, and although neither of us is sure where the empty file came from, the fix is simple, so include it. d. Rather than try to create an rndc.key file in both /etc/namedb and the chroot'ed /etc/namedb, assume that they are be the same (which they should be), and only create the file in the chroot'ed version of the directory. This partially addresses the problem described in conf/73929, but I have not yet finished thinking about the PREFIX issue that PR also raises. As a result of introducing the named_uid knob, the default named_flags are now empty. Update defaults/rc.conf and rc.conf(5) to reflect these changes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-13T11:30:40.000000Z K 7 svn:log V 655 MFC: sys/dev/le/am7990.c 1.1, sys/dev/le/am79900.c 1.1, sys/dev/le/am79900reg.h 1.1, sys/dev/le/am79900var.h 1.1, sys/dev/le/am7990reg.h 1.1, sys/dev/le/am7990var.h 1.1, sys/dev/le/if_le_ledma.c 1.1, sys/dev/le/if_le_pci.c 1.1, sys/dev/le/lance.c 1.1, sys/dev/le/lancereg.h 1.1, sys/dev/le/lancevar.h 1.1 Add le(4), a driver for AMD Am7900 LANCE and Am79C9xx PCnet NICs, ported from NetBSD. This version differs from HEAD in that if_le_ledma.c inlines lsi64854_enet_intr() from rev. 1.8 of sys/sparc64/sbus/lsi64854.c in le_dma_hwintr() in order to not break the API of the LSI64854 driver in RELENG_6. Approved by: re (scottl) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-13T11:39:02.000000Z K 7 svn:log V 233 MFC: sys/conf/NOTES 1.1349, sys/conf/files 1.1090, sys/conf/files.sparc64 1.78, sys/modules/Makefile 1.471, sys/modules/le/Makefile 1.1, sys/sparc64/conf/GENERIC 1.105 Hook up le(4) to the build. Approved by: re (scottl) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-13T11:45:21.000000Z K 7 svn:log V 117 MFC: share/man/man4/Makefile 1.337, src/share/man/man4/le.4 1.2 Add a man page for le(4). Approved by: re (scottl) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-13T11:46:51.000000Z K 7 svn:log V 109 MFC: 1.29 Add le(4) to the list of devices supporting VLAN-sized frames natively. Approved by: re (scottl) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-13T11:47:47.000000Z K 7 svn:log V 108 MFC: 1.2 Add a reference to le(4) as the SBus-based Ultra 1 have on-board LANCE. Approved by: re (scottl) END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-02-13T13:47:58.000000Z K 7 svn:log V 112 Add a reset of the AHCI machinery to the ICH6/ICH7 support. This should fix the missed devices on some systems. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-02-13T14:11:18.000000Z K 7 svn:log V 137 Vendor fix: make mibII HC counters really 64-bit on 32-bit platforms by polling the kernel periodically. Submitted by: glebius (partly) END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-02-13T14:11:18.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r155602, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-02-13T14:12:15.000000Z K 7 svn:log V 121 Link the new file from the vendor fix to the build and install the new MIB files. Add a target to smilint the MIB files. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-02-13T16:50:45.000000Z K 7 svn:log V 38 Don't conflict with the DEBUG define. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-02-13T17:53:39.000000Z K 7 svn:log V 126 Use a wildcard unit (-1) to device_find_child() in our identify routine to match the wildcard unit passed to BUS_ADD_CHILD(). END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-02-13T17:56:24.000000Z K 7 svn:log V 48 Tie the ipmi driver into the i386/amd64 builds. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-13T18:23:32.000000Z K 7 svn:log V 61 fix merge botch (duplicate processing of cabq for old cards) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-13T18:40:53.000000Z K 7 svn:log V 27 fix comment and whitespace END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-02-13T20:08:31.000000Z K 7 svn:log V 90 Since OLDCARD is gone from the kernel, catchup here and remove support from here as well. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-02-13T20:10:34.000000Z K 7 svn:log V 81 Remove pccard variables which are no longer supported after the move to NEWCARD. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-02-13T20:47:43.000000Z K 7 svn:log V 88 The interface for PLIP has been plip0 rather than lp0 for a long time. Update to match. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-02-13T20:49:32.000000Z K 7 svn:log V 68 s/lp/plip/ for PLIP interfaces. Approved by: jhb MFC after: 1 week END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-02-13T21:01:23.000000Z K 7 svn:log V 1059 MFC the following revisions of the help files: Bring these files somewhat into the present. Perform some rewording while here. Remove register.hlp, since the code that deals with it was removed nearly 7 years ago. Revision Changes Path 1.2 +2 -0 src/usr.sbin/sysinstall/help/anonftp.hlp 1.15 +9 -10 src/usr.sbin/sysinstall/help/distributions.hlp 1.5 +1 -5 src/usr.sbin/sysinstall/help/fixit.hlp 1.3 +1 -1 src/usr.sbin/sysinstall/help/html.hlp 1.9 +75 -18 src/usr.sbin/sysinstall/help/options.hlp 1.14 +2 -2 src/usr.sbin/sysinstall/help/partition.hlp 1.6 +0 -76 src/usr.sbin/sysinstall/help/register.hlp (dead) 1.3 +2 -2 src/usr.sbin/sysinstall/help/securelevel.hlp 1.12 +15 -12 src/usr.sbin/sysinstall/help/shortcuts.hlp 1.9 +1 -7 src/usr.sbin/sysinstall/help/slice.hlp 1.10 +10 -2 src/usr.sbin/sysinstall/help/tcp.hlp 1.7 +5 -5 src/usr.sbin/sysinstall/help/usermgmt.hlp Approved by: re (scottl) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-02-13T21:02:35.000000Z K 7 svn:log V 76 MFC revision 1.414: Correct a user-visible typo. Approved by: re (scottl) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-02-13T21:03:55.000000Z K 7 svn:log V 171 MFC revision 1.10: Another update for reality: "dangerously dedicated" mode is now achieved by hitting 'F', which is no longer undocumented. Approved by: re (scottl) END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-02-13T21:10:03.000000Z K 7 svn:log V 239 Add a default ldconfig32_paths entry in default/rc.conf for 32-bit compatability shared libraries. It is used by the ldconfig rc.d scripts. Document this variable in the man page PR: amd64/91571 Approved by: philip (mentor) MFC after: 3 END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-02-13T21:25:01.000000Z K 7 svn:log V 41 Fix leakage of uncommitted build changes END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-02-13T21:34:19.000000Z K 7 svn:log V 46 .Pp before .Sh is redundant. Reviewed by: ru END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-02-13T21:41:32.000000Z K 7 svn:log V 297 On ia64, the unaligned_print sysctl is a debugging knob under debug and not under machdep as the behaviour is controlled by the process. When PSR.ac is set the process expects to receive a SIGBUS. Otherwise the processor or the kernel will emulate the misaligned memory access. MFC after: 3 days END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2006-02-13T22:09:26.000000Z K 7 svn:log V 402 The change to make column use roundup(x, TAB) rounded things to the current tab, however the code it replaced wanted to round to the next TAB. Consequently things like this: ( echo 1 ; echo 2 ) | column cause column to loop indefinitely. This patch is slightly different from the one Gary submitted, but is closer to the original code. Submitted by: Gary Cody MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-13T23:44:20.000000Z K 7 svn:log V 103 MFC ip_input.c:1.310: Staticize ipqlock, since it is local to ip_input.c. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-13T23:46:31.000000Z K 7 svn:log V 464 Merge ip_input.c:1.311 from HEAD to RELENG_6: Modify the IP fragment reassembly code so that it uses a new UMA zone, ipq_zone, to allocate fragment headers from, rather than using cast mbuf storage. This was one of the few remaining uses of mbuf storage for local data structures that relied on dtom(). Implement the resource limit on ipq's using UMA zone limits, but preserve current sysctl semantics using a sysctl proc. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-13T23:47:48.000000Z K 7 svn:log V 336 Merge mergemaster.8:1.34, mergemaster.sh:1.53 from HEAD to RELENG_6: Add a -A argument to mergemaster to allow explicitly specifying an architecture to pass through to the underlying makefiles. This is quite useful when building on an i386 box to populate an amd64 NFS root. Head nod: dougb Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-13T23:48:26.000000Z K 7 svn:log V 184 Merge Makefile:1.4 from HEAD to RELENG_6: Correct help line: list targets, not names of files generated by targets when no argument is provided to make. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-13T23:51:19.000000Z K 7 svn:log V 135 Merge uipc_sem.c:1.22 from HEAD to RELENG_6: Convert remaining functions to ANSI C function declarations. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-13T23:52:29.000000Z K 7 svn:log V 114 Merge fnmatch.c:1.20 from HEAD to RELENG_6: Convert function declarations to ANSI C. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-13T23:54:48.000000Z K 7 svn:log V 117 Merge atm_signal.c:1.14 from HEAD to RELENG_6: Convert function declarations to ANSI C. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T00:02:01.000000Z K 7 svn:log V 382 Merge kern_ktrace.c:1.103, ktrace.h:1.31 from HEAD to RELENG_6: Reuse ktr_unused field in ktr_header structure as ktr_tid; populate ktr_tid as part of gathering of ktr header data for new ktrace records. The continued use of intptr_t is required for file layout reasons, and cannot be changed to lwpid_t at this point. Reviewed by: davidxu Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T00:03:00.000000Z K 7 svn:log V 198 Merge vnode.h:1.312 from HEAD to RELENG_6: Rename uid and gid arguments to vaccess() prototype to match vaccess() implementation in vfs_subr.c. No functional change. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T00:06:32.000000Z K 7 svn:log V 221 Merge nfs_lock.c:1.43 from HEAD to RELENG_6: In nfs_dolock(), GC now under-used ioflg, rendered obsolete when we moved from using a fifo to talk to rpc.lockd to using a special device node. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T00:07:17.000000Z K 7 svn:log V 288 Merge memstat_uma.c:1.12 from HEAD to RELENG_6: Remove unnecessary and undesirable 'static' from function-local keg list, which could cause problems for multi-threaded applications using libmemstat to monitor UMA in more than one thread simultaneously. Approved by: re (scottl) END K 10 svn:author V 8 wsalamon K 8 svn:date V 27 2006-02-14T01:17:03.000000Z K 7 svn:log V 128 Audit the arguments to the kill(2) and killpg(2) system calls. Obtained from: TrustedBSD Project Approved by: rwatson (mentor) END K 10 svn:author V 8 wsalamon K 8 svn:date V 27 2006-02-14T01:18:31.000000Z K 7 svn:log V 115 Audit the arguments to the ptrace(2) system call. Obtained from: TrustedBSD Project Approved by: rwatson (mentor) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-02-14T02:00:24.000000Z K 7 svn:log V 125 MFC: Fix a bug which puts an incorrect checksum of CHECKSUM.MD5 into the CHECKSUM.MD5 file itself. Approved by: re (scottl) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-02-14T02:32:25.000000Z K 7 svn:log V 112 standard-supfile on RELENG_6 is for 6.x-STABLE now, not -current. Spotted by: yar Approved by: re (implicitly) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-02-14T02:32:26.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_2'. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-02-14T02:39:23.000000Z K 7 svn:log V 94 Use more specific expression which means the 5.x stable branch. Approved by: re (implicitly) END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-02-14T03:10:29.000000Z K 7 svn:log V 295 Stop ipfw from aborting when asked to delete a table entry that doesn't exist or add one that is already present, if the -q flag is set. Useful for "ipfw -q /dev/stdin" when the command above is invoked from something like python or TCL to feed commands down the throat of ipfw. MFC in: 1 week END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-02-14T03:13:12.000000Z K 7 svn:log V 82 oops, mismerge from working sources.. not only add new code, but remove old code! END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:28:31.000000Z K 7 svn:log V 605 Merge kdump.1:1.13, kdump.c:1.27, as well as some of the mdoc cleanups present in kdump.1:1.15: Add a "-H" argument to kdump, which causes kdump to print an additional field holding the threadid. This is more useful for libthr than libpthread, but still quite useful in libpthread as it can be used to process interlaced records from multiple threads over the course of a system call. Detect old ktr_buffer values using the heuristic "if it's negative, then it must not be a valid threadid". This may leave something to be desired. Reviewed by: davidxu Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:29:31.000000Z K 7 svn:log V 248 Merge subr_disk.c:1.86 from HEAD to RELENG_6: When calling bioq_first() to see if a queue is empty in bioq_disksort(), don't save the return value as we won't use it. Noticed by: Coverity Prevent analysis tool Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:32:15.000000Z K 7 svn:log V 95 Merge login_ok.c:1.12 from HEAD to RELENG_6: Fix typo in comment. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:33:06.000000Z K 7 svn:log V 211 Merge memstat_uma.c:1.13 from HEAD to RELENG_6: Correct a typo in the extraction of zone information from UMA using kmem: bytes = allocated - freed, not bytes = allocated = freed. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:33:49.000000Z K 7 svn:log V 171 Merge mbuf.c:1.47 from HEAD to RELENG_6: Un-#if 0 the printing of allocation failure counts for mbufs, clusters, and packets in netstat -m. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:35:26.000000Z K 7 svn:log V 309 Merge memstat_uma.c:1.14 from HEAD to RELENG_6: Read all_cpus variable out of kmem, and validate CPUs against the all_cpus cpu mask before looking at the cache entries for the CPU. For systems with sparse CPU id arrays, this skips otherwise uninitialized cache structures. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:36:21.000000Z K 7 svn:log V 356 Merge memstat_uma.c:1.15 from HEAD to RELENG_6: When reporting an error reading from UMA per-cpu cache pointers using KVM, return a KVM error rather than an out of memory error, so that the caller reports the KVM error state. This replaces a misleading error message with a more accurate although equally confusing one. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:37:12.000000Z K 7 svn:log V 609 Merge memstat_uma.c:1.16 from HEAD to RELENG_6: The uma_zone data structure defines the size of its uz_cpu[] array as 1, but then sizes the containing data structure at run-time to make room for per-cpu cache data. Modify libmemstat to separately allocate a buffer to hold per-cpu cache data, sized based on the run-time mp_maxid variable when using libkvm to access UMA data. This avoids reading invalid cache data from beyond the end of the uma_zone data structure on the stack, which can result in invalid statistics and/or reads from invalid kernel addresses. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:37:58.000000Z K 7 svn:log V 187 Merge uma_core.c:1.136 from HEAD to RELENG_6: Skip per-cpu caches associated with absent CPUs when generating a memory statistics record stream via sysctl. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:38:31.000000Z K 7 svn:log V 104 Merge memstat_uma.c:1.17 from HEAD to RELENG_6: Update copyright for 2006. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T03:39:04.000000Z K 7 svn:log V 131 Merge mbuf.c:1.48 from HEAD to RELENG_6: Sort sfbuf allocation counters with other sfbuf information. Approved by: re (scottl) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-02-14T03:40:49.000000Z K 7 svn:log V 96 MFC fixes for MCA MPSAFEness: mca.c:1.11 mp_machdep.c:1.60 Approved by: re (scottl, thanks!) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-02-14T04:00:14.000000Z K 7 svn:log V 201 Extract device number information from SVR4 CPIO archives. Without this, you cannot properly restore device node entries from such archives. Thanks to: Steve 'dillo Okay for reporting this oversight. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-02-14T04:05:03.000000Z K 7 svn:log V 102 Minor fixes to the code that generates an internal ustar filename for Pax extended attribute entries. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-02-14T04:16:56.000000Z K 7 svn:log V 28 Remove vestiges of OLDCARD. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-02-14T05:37:25.000000Z K 7 svn:log V 581 Fixed style bugs in rev.1.12. Rev.1.12 arranged to display the interrupt number in more cases by stealing 2 characters from the count field to give more space in the descriptor field, but it did the column adjustments for this strangely using an off-by-2 error in the base column and compensating off-by-2 errors in 6 offsets from the base column (4 new errors and 2 from not changing the offsets that actually changed). Print the "Interrupts" header directly at its offset from the base column instead of spacing it half using the offset and half by printing a space character. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-02-14T06:20:16.000000Z K 7 svn:log V 324 MFC: - Add loader(8) variables for RB_DFLTROOT, RB_MUTE, and RB_PAUSE: "boot_dfltroot", "boot_mute", and "boot_pause" respectively. - Cause all flags passed by boot2 to set the respective loader(8) boot_* variable. The end effect is that all flags from boot2 are now passed to the kernel. Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-02-14T06:21:47.000000Z K 7 svn:log V 73 MFC: 1.36: Fix output byte and error counting. Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-02-14T06:36:39.000000Z K 7 svn:log V 384 When sending a packet from dummynet, indicate that we're forwarding it so that ip_id etc. don't get overwritten. This fixes forwarding of fragmented IP packets through a dummynet pipe -- fragments came out with modified and different(!) ip_id's, making it impossible to reassemble a datagram at the receiver side. Submitted by: Alexander Karptsov (reworked by me) MFC after: 3 days END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-02-14T07:44:21.000000Z K 7 svn:log V 1513 Fix all (?) cases where the field width of a numeric field was far too large. In most cases it is still 1 too large, so fields tend to run together, but in the following cases it was more than 1 too large, and the starting column was too small too, so the field started inside the previous field or descriptor and clobbered that: - "wire": the number for this overwrote 2 characters of the number for "Flt". Reduce the field width by 3 (2 to avoid the overwrite and 1 so that the fields don't run together). This was already done for the preceding number for "cow". - "inact": the number for this overwrote 1 character of the descriptor "Idle". Reducing the field width by 2 is enough. - "cache:" the number for this overwrote 3 characters of the scale "...| |". The field width should be reduced by 4 to keep things from running together, but that is a lot and not so necessary here since the final "|" in the scale serves as a delimiter. Only reduce it by 3. - "free": the number for this overwrote 2 characters of the bar graph. The character position under the final "|" in the scale is apparently not used, so reducing the field width by 3 is enough. When "zfod" is in the main vmstat display: - use the normal field width of 9 (not 5) for it since there is no shortage of space. Fix style bugs (excessive {}) in the statement that conditionally writes it. Write all reduced field widths for vmstat fields as "9 - " as a hint that we don't want to reduce them. END K 10 svn:author V 2 ps K 8 svn:date V 27 2006-02-14T08:04:39.000000Z K 7 svn:log V 302 MFC: amr.c 1.75, amrvar.h 1.30 - Move the command setup from amr_start1 into the card specific submit routines. - Add or replace cpu_spinwait() with DELAY(1) to a few of the busy loops when reading from the controller to work around firmware bugs which can crash the controller. Approved by: re END K 10 svn:author V 2 ps K 8 svn:date V 27 2006-02-14T08:05:29.000000Z K 7 svn:log V 63 MFC: rev 1.33 Enable 64bit SGL's on PERC 4/DC Approved by: re END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-02-14T08:33:02.000000Z K 7 svn:log V 99 Fixed all (?) bitrot in the comments about the number of columns used by various groups of fields. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-02-14T08:34:26.000000Z K 7 svn:log V 66 Disconnect bsnmp from the build until the breakage is sorted out. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-02-14T09:33:51.000000Z K 7 svn:log V 275 Oops, the "excessive" {} removed in the previous commit was needed around PUTRATE() because PUTRATE() only looked like a function -- it was multiple statements. Use "do {...} while(0)" as usual in PUTRATE() so that it is a single statement that can be used like a function. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-02-14T10:47:36.000000Z K 7 svn:log V 1438 Reduce the field width by 1 for many numeric fields so that most fields cannot run into other fields or field descriptors. If the value is too large to fit in the field width, then the output format is adjusted so that the value (usually) fits, but with fields running together externally this adjustment usually didn't help. Mostly it doesn't matter to lose 1 digit of precision, but switching the output format is bad if it happens often or gives bogus units. The loss of width is most serious for fields near "Csw" (which are also the ones which must often ran together) since these have a high variance and large values relative to the possible field widths so the switch occurs more often now, and for the memory size fields where the switch gives the bogus units kKB or MKB. Now only the fields for r, p, d, s and w can run into each other. These fields have width 3, and 3 cannot be reduced to 2 without losing all precision when the value is between 100 and 999. Trim "pdwake" to "pdwak" at think time now that it doesn't get clobbered at runtime. The manpage doesn't need to be changed for this because it documents the clobbered descriptor, unlike for 4 other too-long descriptors which only get clobbered if there are lots of interrupt sources. Trim "% busy" to "%busy" since most other descriptors for percentages are spelled without the space and this change makes changing the widths of the %busy fields unnecessary. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-14T11:08:05.000000Z K 7 svn:log V 166 Add '-F' option which allows to delete existing empty directories, when creating symbolic links. PR: bin/92149 Submitted by: Eugene Grosbein END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-02-14T11:57:02.000000Z K 7 svn:log V 661 Fix some minor bugs: Always use snprintf()'s return value, since discarding it is a style bug at best and using it here gives slightly simpler code and better error checking. Use snprintf() in putlongdouble() the same as in putfloat(). (1.25 changed most sprintf()'s to snprintf()'s to fix non-bugs without changing the logic to use the result of snprintf(); 1.27 restored one of the sprintf()s by cloning a stale version of putfloat().) Don't print a too-long field in the unlikely case that the fallback to M units in putint() leaves the field still too long. (The fallback to printing stars was lost in rev.1.58 when the fallback to M units was added.) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-14T12:10:03.000000Z K 7 svn:log V 200 - Introduce ifmedia_baudrate(), which returns correct baudrate of the given media status. [1] - Utilize ifmedia_baudrate() in miibus_statchg() to update ifp->if_baudrate. Obtained from: NetBSD [1] END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-02-14T12:26:51.000000Z K 7 svn:log V 563 Removed the frobbing of CPU percentages from > 99.9 to 99.9. Rev.1.35 made it unnecessary. (Rev.1.6 had to reduce the field width to 4, and changed 100.0 and preposterous larger values down to 99.9 since 100.0 wouldn't have fitted. Rev.1.35 handles precentages > 99.9 well enough by changing the format to %.0f when the string given by the initial format is too wide.) Even with this change, during short testing I've never seen a percentage of 100 being displayed by systat -v, although top(1) displays percentages of 100 user or 100 idle for similar loads. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-14T12:44:56.000000Z K 7 svn:log V 55 Do not touch ifp->if_baudrate in miibus aware drivers. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-02-14T12:55:07.000000Z K 7 svn:log V 33 Disable the ipmi driver on pc98. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-02-14T13:02:00.000000Z K 7 svn:log V 120 Clean up some descriptions and remove ambiguities in the language. Add explanations to the examples. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-14T13:11:36.000000Z K 7 svn:log V 53 Move includes from if_em.h to if_em.c and sort them. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2006-02-14T13:16:13.000000Z K 7 svn:log V 104 MFC: fixed picobsd script. upcoming, tweaks for other config files and sys/dev/md/md.c Approved by: re END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-02-14T13:20:09.000000Z K 7 svn:log V 47 A little extra cleaning up. MFC after: 1 week END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-02-14T13:27:25.000000Z K 7 svn:log V 1134 Move the "r p d s w" fields to the left to create space for expansion. 3 columns were wasted at the left, except these columns were used to make the header line up. Now there is no space on the same line for the "Proc:" part of the header. Try putting this on the line above although it clutters that line (there is already similar clutter for the "Interrupts" header). Leave 1 column between these fields. With the above and a previous change there is enough of space for this. Use 5 columns instead of 3 for the number of users since 3 is not quite enough and there was space to spare. This also fixes an off-by-2 error in a previous fix forthe column count in the comment on STATROW. Move all the pager fields 1 to the right so that the "count" and "pages" descriptors more clearly apply to the pager fields and not the memory fields. There was space to space. Waste some of the spare space at the right of the pager fields to expand all the pager field widths to their old values (but now with a column between the fields). There are fields more in need of expansion but most of them are not in places near spare space. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2006-02-14T14:46:22.000000Z K 7 svn:log V 115 MFC: make sure the start and end markers are contiguous and not suppressed by the optimizer. Approved by: re END K 10 svn:author V 5 luigi K 8 svn:date V 27 2006-02-14T14:47:12.000000Z K 7 svn:log V 57 MFC: produce a buildable 'bridge' image Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-02-14T14:50:11.000000Z K 7 svn:log V 382 Fix the hw.realmem sysctl. The global realmem variable is a count of pages, not a count of bytes. The sysctl handler for hw.realmem already uses ctob() to convert realmem from pages to bytes. Thus, on archs that were storing a byte count in the realmem variable, hw.realmem was inflated. Reported by: Valerio daelli valerio dot daelli at gmail dot com (alpha) MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-02-14T15:22:24.000000Z K 7 svn:log V 14 Unbreak this. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-02-14T16:15:48.000000Z K 7 svn:log V 261 MFC gbde.8 rev. 1.14, gbde.c rev. 1.31: Teach gbde(8) to use a key file in addition to a passphrase. This makes it practical to use GBDE for "something you have plus something you know" security together with a USB flash drive. Approved by: re (scottl) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-02-14T16:29:22.000000Z K 7 svn:log V 124 MFC 1.63: avoided the use of purged address structure when an address became invalid in nd6_timer(). Approved by: re (hrs) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-02-14T16:35:13.000000Z K 7 svn:log V 101 MFC 1.63: avoided the use of purged address structure when an address became invalid in nd6_timer(). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-02-14T16:41:27.000000Z K 7 svn:log V 323 MFC syscons.c rev 1.441 and documentation: When SC_DISABLE_KDBKEY or SC_DISABLE_REBOOT are not defined allow the same behavior to be controlled by the sysctls, hw.syscons.kbd_kbdkey and hw.syscons.kbd_reboot respectively. PR: kern/72728 Submitted by: Luca Morettoni Approved by: re (scottl) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2006-02-14T16:59:17.000000Z K 7 svn:log V 61 MFC: manpage for the updated picobsd script Approved by: re END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-02-14T17:18:20.000000Z K 7 svn:log V 54 Only install ipmi.4 for i386/amd64. Requested by: ru END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-14T17:48:56.000000Z K 7 svn:log V 258 o make driver override of net80211 parameter state consistent with methods: instead of honoring non-zero values expect drivers to write their own values on return from ieee80211_ifattach o add a define for the default h/w bmiss count MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:09:46.000000Z K 7 svn:log V 323 Merge if_ef.c:1.37 from HEAD to RELENG_6: When freeing the chain of if_ef devices on an aborted load, use SLIST_FOREACH_SAFE() rather than SLIST_FOREACH(), as elements are freed on each iteration of the loop. This prevents use-after-free. Noticed by: Coverity Prevent analysis tool Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:11:19.000000Z K 7 svn:log V 378 Merge if_ef.c:1.38 from HEAD to RELENG_6: Check the right ifnet pointer to see if if_alloc() failed or not in ef_clone(); we were testing the original ifnet, not the one allocated. When aborting ef_clone() due to if_alloc() failing, free the allocated efnet structure rather than leaking it. Noticed by: Coverity Prevent analysis tool Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:35:07.000000Z K 7 svn:log V 354 Merge ipx_input.c:1.52 from HEAD to RELENG_6: Remove dead code associated with 'mcopy' in ipx_forward(): at no point are the contents of the forwarded mbuf ever copied into mcopy, so there's no need to have mcopy, conditionally look at mcopy, or conditionally free it. Noticed by: Coverity Prevent analysis tool Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:36:23.000000Z K 7 svn:log V 302 Merge ipcomp_input.c:1.9 from HEAD to RELENG_6: In ipcomp6_input(), check 'md' not 'm' after a call to m_pulldown(): 'm' may be a stale pointer at this point, and we're interested in whether or not m_pulldown() failed. Noticed by: Coverity Prevent analysis tool Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:38:46.000000Z K 7 svn:log V 260 Merge ip6_output.c:1.101 from HEAD to RELENG_6: When storing the results of malloc() in a pointer to a pointer, check the pointer to a pointer for NULL, not the pointer for NULL. Noticed by: Coverity Prevent analysis tool Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:40:21.000000Z K 7 svn:log V 252 Merge udp_usrreq.c:1.181 from HEAD to RELENG_6: Remove dead code: 'opts' is not used in udp_append(), only in udp_input(), so no need to assign it to NULL or conditionally free it. Found with: Coverity Prevent(tm) Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:55:15.000000Z K 7 svn:log V 357 Merge ncp_conn.c:1.28 from HEAD to RELENG_6: In ncp_sysctl_connstat(), the SLIST_FOREACH() logic to check 'error' resulted in deadcode, as 'error' could never be 0. What this logic was originally meant to handle is not clear -- it's been this way (broken) since at least RELENG_4. Found with: Coverity Prevent(tm) Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:57:09.000000Z K 7 svn:log V 282 Merge vfs_mount.c:1.213 from HEAD to RELENG_6: Cast VFS_STATFS() in vfs_domount() to (void) to indicate that ignoring the return value is intentional: this is simply an attempt to pre-cache the statfs state. Found with: Coverity Prevent (tm) Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T21:59:07.000000Z K 7 svn:log V 214 Merge coda_vnops.c:1.67 from HEAD to RELENG_6: Convert last four functions in coda_vnops.c to ANSI C function declarations. I knew I would get to fix something in Coda eventually. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-02-14T22:09:27.000000Z K 7 svn:log V 169 Merge in_pcb.c:1.167 from HEAD to RELENG_6: Convert remaining functions to ANSI C function declarations; remove 'register' where present. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-02-14T23:09:10.000000Z K 7 svn:log V 76 MFC: Use the correct BAR for the UPCI 32 adapter. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-02-14T23:13:17.000000Z K 7 svn:log V 253 MFC: Sync up to rev 1.80 from HEAD: - Use a dedicated kthread to call acctwatch() periodically rather than a callout from softclock(). - Validate new values for the kern.acct_chkfreq sysctl. - Whitespace and include sorting. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-02-14T23:15:16.000000Z K 7 svn:log V 95 MFC: Correctly set the MPSAFE flag based on the lower vnode's mount. Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-14T23:19:40.000000Z K 7 svn:log V 74 fix off by one malloc sizes Submitted by: Michal Mertl MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-14T23:51:21.000000Z K 7 svn:log V 233 Change default build of wpa_supplicant to include EAPOL support; ENABLE_WPA_SUPPLICANT_EAPOL is no more, now use NO_WPA_SUPPLICANT_EAPOL to build with only WPA-PSK support. Reviewed by: ru, bsdimp (basic approach) MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-02-15T00:31:48.000000Z K 7 svn:log V 589 a) clean up some declaration stuff (i.e., make more modern with respect to getting rid u_int for uint and so on). b) Turn back on 64 bit DAC support. Cheeze it a bit in that we have two DMA callback functions- one when we have bus_addr_t > 4 bits in width and the other which should be normal. Even Cheezier in that we turn off setting up DMA maps to be BUS_SPACE_MAXADDR if we're in ISP_TARGET_MODE. More work on this in a week or so. c) Tested under amd64 and 1MB DFLTPHYS, sparc64, i386 (PAE, but insufficient memory to really test > 4GB). LINT check under amd64. MFC after: 1 month END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-02-15T00:56:06.000000Z K 7 svn:log V 154 MFC: Don't include geli devices in list when noauto is specified in the options field. src/etc/rc.subr: rev 1.47 -> 1.48 Approved by: re (hrs) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T03:21:15.000000Z K 7 svn:log V 106 MFC 1.38: set the mgt frame tx timer before dispatching the frame to the driver Approved by: re (scottl) END K 10 svn:author V 2 ps K 8 svn:date V 27 2006-02-15T03:37:15.000000Z K 7 svn:log V 64 MFC: Implement SIOCGIFCONF for 32bit binaries. Approved by: re END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-15T08:25:40.000000Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-15T08:39:50.000000Z K 7 svn:log V 122 - Second style(9) megacleanup. - Rename "adapter" to "sc"/"softc", to be like other drivers. (-13 Kb less source code) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-15T09:16:01.000000Z K 7 svn:log V 498 MFC: src/sys/dev/puc/puc_ebus.c 1.6, sys/dev/uart/uart_bus_ebus.c 1.9, sys/dev/uart/uart_cpu_sparc64.c 1.20, 1.22 - Add support for using LOM (Lights Out Management) and RSC (Remote System Control) devices as console. - Add my copyright to uart_cpu_sparc64.c. - Recognize the SAB82532 in USIII machines. This is MFC'ed for consistency as one part of the original commit, sys/dev/uart/uart_bus_ebus.c rev. 1.7, was already MFC'ed to RELENG_6 (in rev. 1.6.2.2). Approved by: re (scottl) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-15T09:17:03.000000Z K 7 svn:log V 192 MFC: 1.12 Enable getty(8) on ttyu2 by default in order to get machines that use a RSC (Remote System Control) connected via uart2 as console working out of the box. Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-15T10:51:11.000000Z K 7 svn:log V 450 - Rename em_print_link_status() to em_update_link_status(). - In em_attach() remove em_check_for_link(). Not needed here, since already done in em_hardware_init(). - In em_attach() replace the printing block with call to em_update_link_status(). - Remove modification of sc->link_state from em_hardware_init() and from em_media_status(). This makes em_update_link_status() a single point of change. Call em_update_link_status() where needed. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-15T11:38:33.000000Z K 7 svn:log V 49 Set ifp->if_baudrate according to current speed. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-02-15T13:41:02.000000Z K 7 svn:log V 62 After fork(), reinitialize internal locks for pthread_once(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-15T13:45:02.000000Z K 7 svn:log V 111 em_hardware_init() in em_init() is not needed, and leads to annoying link flap. Submitted by: ru, Mike Tancsa END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-02-15T13:54:06.000000Z K 7 svn:log V 136 MFC: revision 1.371 > Clear carry flag in get_mcontext so that setcontext does not > return a bogus error. Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-02-15T13:55:13.000000Z K 7 svn:log V 54 MFi386: revision 1.31.2.1 Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-15T14:27:38.000000Z K 7 svn:log V 80 Fix fallout from last commit - we need to program the MAC address in em_init(). END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-02-15T14:37:35.000000Z K 7 svn:log V 118 Update a comment to match functionality changed in r1.39 (allow square brackets in process names). MFC after: 2 days END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2006-02-15T14:48:59.000000Z K 7 svn:log V 184 It seems bit 5 of cpu_feature2 is the VMX (Virtual Machine Extensions) bit. While I'm here, delete a comment that was cut and past from the cpu_features code that doesn't belong here. END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2006-02-15T14:58:59.000000Z K 7 svn:log V 36 MFC: rev.1.3 Approved by: re (hrs) END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2006-02-15T15:03:04.000000Z K 7 svn:log V 42 MFC: rev.1.113. Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-02-15T15:08:51.000000Z K 7 svn:log V 91 MFC: -S option for boot2, already documented to work in boot(8). Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-02-15T15:10:07.000000Z K 7 svn:log V 81 MFC: 1.15: Only install boot_i386.8 on i386 and amd64. Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-02-15T15:10:55.000000Z K 7 svn:log V 50 MFC: 1.58: -mdoc sweep. Approved by: re (scottl) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-15T16:56:38.000000Z K 7 svn:log V 101 For E250 and E450 enable the watchdog part of the MK48Txx as it just works there. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-02-15T16:57:30.000000Z K 7 svn:log V 109 - Add info regarding the watchdog part of the MK48Txx. - Add a missing .Tn before Mostek. MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T17:44:18.000000Z K 7 svn:log V 116 sync with HEAD: o mcast rate addition o malloc size off-by-one fixes o long ssid handling Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T18:12:24.000000Z K 7 svn:log V 91 close race between ath_tx_start and ath_tx_processq Reviewed by: apatti MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T18:15:49.000000Z K 7 svn:log V 15 fixup comments END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T18:17:53.000000Z K 7 svn:log V 110 use ath_hal_gettxintrtxqs so we only process h/w tx queues that have an interrupt pending MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T18:23:03.000000Z K 7 svn:log V 183 o handle fatal errors directly instead of via the task queue o temporarily dump some h/w state for diagnosis; this will be removed once some issues are resolved MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T18:24:22.000000Z K 7 svn:log V 27 add missing bit from 1.130 END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T18:31:04.000000Z K 7 svn:log V 56 improve tx/rx buf printing routines MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T18:35:09.000000Z K 7 svn:log V 43 fix build w/o AR_DEBUG MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T18:36:52.000000Z K 7 svn:log V 58 drop softc lock around copyin/copyout MFC after: 2 weeks END K 10 svn:author V 3 ups K 8 svn:date V 27 2006-02-15T22:29:53.000000Z K 7 svn:log V 1314 When the VM needs to allocated physical memory pages (for non interrupt use) and it has not plenty of free pages it tries to free pages in the cache queue. Unfortunately freeing a cached page requires the locking of the object that owns the page. However in the context of allocating pages we may not be able to lock the object and thus can only TRY to lock the object. If the locking try fails the cache page can not be freed and is activated to move it out of the way so that we may try to free other cache pages. If all pages in the cache belong to objects that are currently locked the cache queue can be emptied without freeing a single page. This scenario caused two problems: 1) vm_page_alloc always failed allocation when it tried freeing pages from the cache queue and failed to do so. However if there are more than cnt.v_interrupt_free_min pages on the free list it should return pages when requested with priority VM_ALLOC_SYSTEM. Failure to do so can cause resource exhaustion deadlocks. 2) Threads than need to allocate pages spend a lot of time cleaning up the page queue without really getting anything done while the pagedaemon needs to work overtime to refill the cache. This change fixes the first problem. (1) Reviewed by: tegge@ END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2006-02-15T22:51:08.000000Z K 7 svn:log V 268 MFC: don't perform an endpoint stall clear every time a pipe is opened. This should not be necessary, and it is known to confuse certain devices. Remove the UQ_NO_OPEN_CLEARSTALL quirk, as this is now the default behaviour for all devices. Approved by: re (scottl) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-02-15T23:05:03.000000Z K 7 svn:log V 105 Rework last change of pthread_once, create a function _thr_once_init to reinitialize its internal locks. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-15T23:16:03.000000Z K 7 svn:log V 86 add miss args to mac:del and mac:kick Submitted by: Anders Hanssen MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-02-15T23:52:01.000000Z K 7 svn:log V 1111 Fix a long standing race between sleep queue and thread suspension code. When a thread A is going to sleep, it calls sleepq_catch_signals() to detect any pending signals or thread suspension request, if nothing happens, it returns without holding process lock or scheduler lock, this opens a race window which allows thread B to come in and do process suspension work, however since A is still at running state, thread B can do nothing to A, thread A continues, and puts itself into actually sleeping state, but B has never seen it, and it sits there forever until B is woken up by other threads sometimes later(this can be very long delay or never happen). Fix this bug by forcing sleepq_catch_signals to return with scheduler lock held. Fix sleepq_abort() by passing it an interrupted code, previously, it worked as wakeup_one(), and the interruption can not be identified correctly by sleep queue code when the sleeping thread is resumed. Let thread_suspend_check() returns EINTR or ERESTART, so sleep queue no longer has to use SIGSTOP as a hack to build a return value. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 6 qingli K 8 svn:date V 27 2006-02-16T01:06:22.000000Z K 7 svn:log V 40 MFC: rev 1.84 Approved by: re (scottl) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2006-02-16T01:08:40.000000Z K 7 svn:log V 40 MFC: rev 1.40 Approved by: re (scottl) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2006-02-16T01:10:44.000000Z K 7 svn:log V 40 MFC: rev 1.38 Approved by: re (scottl) END K 10 svn:author V 8 deischen K 8 svn:date V 27 2006-02-16T01:33:36.000000Z K 7 svn:log V 85 Don't forget to initialize a tailq before using it. MFC candidate Noticed by: luoqi END K 10 svn:author V 4 rees K 8 svn:date V 27 2006-02-16T02:39:52.000000Z K 7 svn:log V 151 MFC rev 1.135: Don't log an error on tcp connection reset, even if we don't get ECONNRESET. Submitted by: cel@citi.umich.edu Approved by: re (scottl) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-02-16T02:40:56.000000Z K 7 svn:log V 150 Partially MFC revision 1.14: > Eliminate compile warnings. This allows me to debug threaded program on Pentium-D machine. Approved by: re (scottl) END K 10 svn:author V 6 avatar K 8 svn:date V 27 2006-02-16T07:25:23.000000Z K 7 svn:log V 149 MFC: (1.27) s/bin/sbin/ for mount_nwfs, mount_portalfs and mount_smbfs. Also document the removal time of these utilities. Approved by: re (scottl) END K 10 svn:author V 4 grog K 8 svn:date V 27 2006-02-16T09:30:12.000000Z K 7 svn:log V 70 Wisdom about the Open Source ecosystem. Submitted by: MÃ¥rten Mickos END K 10 svn:author V 3 brd K 8 svn:date V 27 2006-02-16T09:56:31.000000Z K 7 svn:log V 163 - Massage wording to make it easier to understand and fix some grammar. Submitted by: sbahra at gwu dot edu Reviewed by: ru@ Approved by: ceri@ MFC after: 3 days END K 10 svn:author V 5 guido K 8 svn:date V 27 2006-02-16T11:26:23.000000Z K 7 svn:log V 181 Reassign the correct value to m after calling fr_makefrip(). The problem is that in fr_makefrip(), pullups can happen. This fixes a panic later on in m_copydata(). Approved by: re END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-16T12:37:14.000000Z K 7 svn:log V 219 MFC 1.9: - Increase maximum number of interfaces to 2048. - Regroup softc so that frequently used elements are grouped in the beginning, while the interfaces array is at the end. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-16T12:41:18.000000Z K 7 svn:log V 139 MFC 1.62: Refuse to install invalid ARP entries. Submitted by: Vitaliy Ovsyannikov Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-02-16T12:45:12.000000Z K 7 svn:log V 371 MFC 1.107: Fix two important typos in watchdog handling: - Restart watchdog if we *did* processed any descriptors. [1] - Log the watchdog event if the link is *up*. [2] PR: kern/92948 [1] Submitted by: Mihail Balikov [1] PR: kern/92895 [2] Submitted by: Vladimir Ivanov [2] Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2006-02-16T13:56:18.000000Z K 7 svn:log V 72 MFC: (1.77) fix mirror mode. PR: bin/86940 Approved by: re (kensmith) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-02-16T14:46:03.000000Z K 7 svn:log V 166 The libwrap built with NO_INET6=yes cannot parse an IPv6 address. So, mention it in comment. Submitted by: Dmitry Morozovsky MFC after: 2 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-02-16T14:49:38.000000Z K 7 svn:log V 63 Update copyright date years to 2006. Approved by: re (scottl) END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-02-16T15:40:36.000000Z K 7 svn:log V 176 Make sysctl_msec_to_ticks(SYSCTL_HANDLER_ARGS) generally available instead of being private to tcp_timer.c. Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-02-16T15:45:28.000000Z K 7 svn:log V 190 In in_pcbconnect_setup() reduce code duplication and use ip_rtaddr() to find the outgoing interface for this connection. Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-02-16T16:57:24.000000Z K 7 svn:log V 56 MFC: s/w beacon miss facility Approved by: re (scottl) END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-02-16T17:09:24.000000Z K 7 svn:log V 120 Add support for the JMicron JMB363 dual SATA + single PATA controller. Documentation and HW kindly provided by JMicron. END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-02-16T17:50:57.000000Z K 7 svn:log V 293 MFC ip_icmp.c rev. 1.103-1.106+1.108: Rework icmp_error() and always quote the entire TCP header, fixes issues in draft-gont-icmp-payload-00.txt. New net.inet.icmp.reply_from_interface and net.inet.icmp.quotelen. Sponsored by: TCP/IP Optimization Fundraise 2005 Approved by: re (scottl) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2006-02-16T17:51:53.000000Z K 7 svn:log V 65 Patch for PR kern/38752 MFC: rev 1.38 Approved by: re (scottl) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2006-02-16T17:59:18.000000Z K 7 svn:log V 124 Require gateways for routes to be of the same address family as the route itself. MFC: rev 1.109 Approved by: re (scottl) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2006-02-16T18:05:03.000000Z K 7 svn:log V 227 Fixes a crash due to the memory of the newly allocated syncache entry in syncache_lookup() is not cleared and may lead to an arbitrary and bogus rtentry pointer which later gets free'd. MFC: rev 1.84 Approved by: re (scottl) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2006-02-16T18:10:14.000000Z K 7 svn:log V 116 Remove two unnecessary type casts, of which both had a typo in it anyways. MFC: rev 1.40 Approved by: re (scottl) END