ı[214138 196 285 340 137 267 473 202 448 362 382 225 309 329 144 320 119 116 179 139 129 150 781 723 394 128 210 170 150 258 176 128 128 201 260 129 201 145 140 120 201 339 120 149 189 360 201 124 172 332 479 319 129 141 277 149 141 199 1269 239 121 188 156 190 157 196 463 324 162 316 220 220 398 158 240 159 212 182 209 230 255 255 253 652 141 236 189 194 313 253 220 264 172 469 284 489 489 123 273 117 760 173 284 348 155 424 162 296 348 220 148 124 115 244 352 485 380 149 209 527 254 212 251 263 200 202 469 153 718 409 1108 1108 203 203 163 144 297 161 151 129 132 143 110 662 139 491 229 199 570 220 163 150 284 249 280 708 229 244 244 544 544 736 222 189 346 782 412 246 722 312 252 277 161 168 204 203 197 145 227 159 228 149 204 179 184 184 186 187 161 145 990 179 184 186 209 209 141 448 K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-21T17:14:44.701071Z K 7 svn:log V 192 This small patch updates the "geli setkey" flags pc-sysinstall uses when saving a users passphrase, to make it work in HEAD with recent geli improvements. Submitted by: Kris Moore PR: 151002 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-21T17:20:37.634225Z K 7 svn:log V 247 This is an updated patch to the last patch to do this which fixes a local variable issue. This patch decompresses compressed images to the stdout when writing to a device to avoid running out of space issues. Submitted by: John Hixson Pr: 151049 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-10-21T17:23:09.246167Z K 7 svn:log V 41 Document possibility to read from stdin. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-21T17:23:48.061303Z K 7 svn:log V 174 This patch will only list components if the directory exists. The directory exist on PC-BSD but not FreeBSD, so an extra check is made. Submitted by: John Hixson PR: 151461 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-10-21T17:27:39.708199Z K 7 svn:log V 376 Further enhancements to syscall_timing: - Use getopt rather than hand-parsed arguments - Allow iterations to be specified and/or a new number of seconds bound on the number of iterations - Fix printout of timer resolution - Add new tests, such as TCP and UDP socket creation, and open/read/close of /dev/zero and /dev/null. Sponsored by: Google, Inc. MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-21T17:29:18.104051Z K 7 svn:log V 109 Left over from prior patch removed. Submitted by: John Hixon PR: 151442 (but the patch was backwards there) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-10-21T17:29:32.895353Z K 7 svn:log V 355 - Make 'vm_refcnt' volatile so that compilers won't be tempted to treat its value as a loop invariant. Currently this is a no-op because 'atomic_cmpset_int()' clobbers all memory on current architectures. - Use atomic_fetchadd_int() instead of an atomic_cmpset_int() loop to drop a reference in vmspace_free(). Reviewed by: alc MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-10-21T17:35:08.941509Z K 7 svn:log V 265 Fix bug in recent syscall_timing change: measure the number of iterations each loop, rather than once up front. The distinction is unimportant when doing a fix iteration count, but when using a timer, it should vary. Sponsored by: Google, Inc. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-10-21T17:46:23.754363Z K 7 svn:log V 289 Clarify a misleading comment. The test in pci_reserve_map() was meant to ignore BARs that are invalid due to having a size of zero, not to ignore BARs with an existing base of zero. While here, reorganize the code slightly to make the intent clearer. Reported by: avg MFC after: 1 week END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-10-21T18:21:19.232332Z K 7 svn:log V 132 Sync with OpenBSD rev. 1.13: strtonum does not require limits.h Obtained from: OpenBSD Discussed with: ru@ MFC after: 5 days END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-10-21T18:30:48.910559Z K 7 svn:log V 216 Document strtonum()s behavior of setting errno to 0 when no error is found. PR: docs/143330 Submitted by: Efstratios Karatzas (gpf dot kira at gmail dot com) Discussed with: ru@ MFC after: 7 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-10-21T18:49:12.157337Z K 7 svn:log V 231 Modify the experimental NFS server in a manner analagous to r214049 for the regular NFS server, so that it will not do a VOP_LOOKUP() of ".." when at the root of a file system when performing a ReaddirPlus RPC. MFC after: 10 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-21T18:59:05.961451Z K 7 svn:log V 53 Add a directory for compiler-rt to the vendor space. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-10-21T19:01:59.799527Z K 7 svn:log V 223 Further syscall_timing improvements: allow an arbitrary "path" string argument to be passed on the command line, allowing file-related tests to be pointed at wherever desired. Sponsored by: Google, Inc. MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-21T19:02:02.152386Z K 7 svn:log V 28 Import compiler-rt r117047. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-21T19:03:13.680934Z K 7 svn:log V 25 Tag compiler-rt r117047. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-10-21T19:03:24.057898Z K 7 svn:log V 83 Add Cambridge/Google tag since the copyright has been updated. MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-21T19:04:03.695877Z K 7 svn:log V 48 Create a branch to toy around with compiler-rt. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-21T19:04:51.114811Z K 7 svn:log V 38 Add compiler-rt to the contrib space. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T19:11:14.985501Z K 7 svn:log V 58 Merge ^vendor/binutils/dist@214082 into contrib/binutils. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-10-21T19:17:40.244498Z K 7 svn:log V 688 - When disabling ktracing on a process, free any pending requests that may be left. This fixes a memory leak that can occur when tracing is disabled on a process via disabling tracing of a specific file (or if an I/O error occurs with the tracefile) if the process's next system call is exit(). The trace disabling code clears p_traceflag, so exit1() doesn't do any KTRACE-related cleanup leading to the leak. I chose to make the free'ing of pending records synchronous rather than patching exit1(). - Move KTRACE-specific logic out of kern_(exec|exit|fork).c and into kern_ktrace.c instead. Make ktrace_mtx private to kern_ktrace.c as a result. MFC after: 1 month END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T19:27:27.592431Z K 7 svn:log V 630 Reapply change from r210245. In binutils 2.17, the code in question has moved from ld/emultempl/elf32.em to ld/ldlang.c, so apply approximately the same change as upstream, which has description: * ldlang.c (lang_insert_orphan): Add __start_
symbol assignment inside output section statement. Ensure only one set of symbols per output section. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-dollar sections before dollar sections. Correct add_child list insertion. Taken from upstream git commit 7e01d69a19a8fd079887f26853c8565da15ff340, with permission to use it under GPLv2 from the author. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-10-21T19:28:52.804406Z K 7 svn:log V 296 Instead of calling return when reaching the end of the assoc notification break the loop instead. We want to run the code after the while loop to set an associd and capinfo. If we don't do this net80211 will drop frames because it assumes the node has not yet been associated. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-21T19:29:20.355891Z K 7 svn:log V 37 Hook up libcompiler_rt to the build. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-10-21T19:30:55.524097Z K 7 svn:log V 112 The firmware always sets bit 14 and 15, to get the real associd we need to clear those bits. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-21T19:44:28.068150Z K 7 svn:log V 78 Free opencrypto sessions on suspend, as they also might keep encryption keys. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-21T19:56:26.166669Z K 7 svn:log V 59 Let both GCC and Clang use -lcompiler_rt instead of -lgcc. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T19:58:20.343791Z K 7 svn:log V 165 Update binutils VERSION define for 2.17, and create separate TARGET_VENDOR and TARGET_OS defines. Set TARGET_TUPLE from BINUTILS_ARCH, TARGET_VENDOR and TARGET_OS. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:01:21.668482Z K 7 svn:log V 84 Use one file per line in SRCS= definition, to make insertions and deletions easier. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:02:47.874441Z K 7 svn:log V 36 Add new upstream file to libiberty. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:04:28.562370Z K 7 svn:log V 36 Regenerate bfd.h and config.h.fbsd. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:08:16.803101Z K 7 svn:log V 108 Use one file per line in SRCS= definition, to make insertions and deletions easier, and sort the file list. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:17:13.338770Z K 7 svn:log V 167 Update BFD version and date, and add new upstream files. Also remove the elf32-arm-fbsd.c kludge; it is now integrated cleanly into contrib/binutils/bfd/elf32-arm.c. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:18:34.058670Z K 7 svn:log V 37 Regenerate config.h for libbinutils. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:20:33.974499Z K 7 svn:log V 108 Use one file per line in SRCS= definition, to make insertions and deletions easier, and sort the file list. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:21:36.543682Z K 7 svn:log V 53 Add new upstream file, and update TARGET definition. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-10-21T20:22:00.489674Z K 7 svn:log V 44 Fix typo in last commit. Submitted by: bcr END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:22:32.073519Z K 7 svn:log V 28 Regenerate config.h for as. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:23:53.857971Z K 7 svn:log V 108 Use one file per line in SRCS= definition, to make insertions and deletions easier, and sort the file list. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:27:40.215980Z K 7 svn:log V 246 Remove bignum-copy.c from SRCS=, as it no longer exists. Remove tc-sparc-fixed.c entirely, since the fix has been integrated into contrib/binutils/gas/config/tc-sparc.c by upstream. Define TARGET_OS in addition to the other TARGET_XXX defines. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:28:23.770187Z K 7 svn:log V 28 Regenerate config.h for ld. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:29:16.836718Z K 7 svn:log V 57 Remove weird double-pasted sections in armelfb?_fbsd.sh. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:30:35.560417Z K 7 svn:log V 97 Apply upstream changes to genscripts.sh, while attempting to keep the diff as small as possible. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-10-21T20:31:50.983077Z K 7 svn:log V 263 Call chainevh callback when we are invoked with neither MOD_LOAD nor MOD_UNLOAD. This makes it possible to add custom hooks for other module events. Return EOPNOTSUPP when there is no callback available. Pointed out by: jhb Reviewed by: jhb MFC after: 1 month END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:31:59.149193Z K 7 svn:log V 108 Use one file per line in SRCS= definition, to make insertions and deletions easier, and sort the file list. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:33:09.277908Z K 7 svn:log V 32 Update ldscript extension list. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-21T20:34:29.558145Z K 7 svn:log V 80 Update makeinfo include paths, and configuration settings for the as info page. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-10-21T21:08:12.572927Z K 7 svn:log V 235 Universally use uintmax_t in syscall_timing; rearrange arithmetic to suffer fewer rounding errors with smaller numbers; fix argc validation so multiple tests run on a single command line. Sponsored by: Google, Inc. MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-21T22:18:12.983962Z K 7 svn:log V 387 Just remove libgcc.a and symlink libcompiler_rt.a. I've noticed GCC tries to be smart when libgcc isn't called libgcc. It never tries to link in libgcc_s in that case, causing the unwinder to be omitted. - Revert the changes to Clang and GCC to user -lcompiler_rt. - Change libgcc's Makefile to not install libgcc.a and libgcc_p.a. - Let libcompiler_rt's Makefile symlink the library. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-21T22:33:50.146945Z K 7 svn:log V 226 Minor tweaks in compression support: o We need an eval here to get the right expansion of the command o bs=128k doesn't work in some cases, so eliminate it and cope with the minor performance hit. Submitted by: john hixson END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-21T22:46:10.692910Z K 7 svn:log V 37 More support for IMAGE installations END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-21T23:08:42.194999Z K 7 svn:log V 49 Fix two typos Submitted by: Benedict Reuschling END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-10-21T23:45:57.872070Z K 7 svn:log V 181 MFC r213814: Do not assume in growstackstr() that a "precious" character will be immediately written into the stack after the call. Instead let the caller manage the "space left". END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-22T00:10:48.681429Z K 7 svn:log V 57 Remove unnecessary variable. Submitted by: Alex Kozlov END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-10-22T00:11:55.463087Z K 7 svn:log V 49 More simplifications Submitted by: Alex Kozlov END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-10-22T03:05:34.747289Z K 7 svn:log V 105 - Add IBINCS to the list of includes to install Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-10-22T04:43:04.773517Z K 7 svn:log V 1172 Unbreak ia64. With r169630 I disabled symbol versioning because it broke rtld. With r211706 rtld got broken for ia64 & powerpc64. It was fixed for powerpc64 with r212497. In between, r211749 removed the exports table because the version script handled the exports. But wait, symbol versioning was disabled on ia64. With exports controlled by the version script and symbol versioning disabled, all symbols are exported and too many symbols bind to the definition in rtld. Let's just say that waird things happen. So, enable symbol versioning on ia64 and apply a work-around for the SIGSEGV that triggered r169630 to begin with: when rtld relocates itself, it comes across r_debug_state and for some reason can't find the definition. This causes a failure, relocation aborts and null pointers galore. The work-around is to ignore the missing definition when rtld is relocating itself and keep going. Maybe with the next binutils this will all go away. Maybe not, in which case I still need to figure out why r_debug_state cannot be found. BTW: r_debug_state is in the symbol map -- I don't think any other rtld symbols that rtld references are in the symbol map... END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-22T06:39:14.751260Z K 7 svn:log V 147 Add infrastructure to build per-arch files. When assembly-files are present in the per-arch directory, they will be preferred over the C-version. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-10-22T06:56:11.541831Z K 7 svn:log V 26 Reduce diff to 9-CURRENT. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-22T08:36:26.190629Z K 7 svn:log V 96 MFC r204955,205885: Various and sundry style, whitespace, and comment fixes. On behalf of: jhb END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-22T08:42:44.509592Z K 7 svn:log V 64 MFC r212647: sys/pcpu.h: remove a workaround for a fixed ld bug END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-22T08:46:22.829221Z K 7 svn:log V 98 add UPDATING entry for r214198: removed ld bug workaround This is a direct commit to the branch. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-10-22T08:51:49.962807Z K 7 svn:log V 65 Revert to r214147, errno is not clobbered as originally thought. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-22T08:57:25.927347Z K 7 svn:log V 103 MFC r213528: opensolaris_kmem kmem_size(): report lesser of vm_kmem_size and available physical memory END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-10-22T11:22:19.535460Z K 7 svn:log V 366 Validate syscall_timing test names before starting to provide earlier feedback regarding user error. Provide default loop and timing settings. Add a new test that just times pread() without the open()/close(). Mark tests requiring a path argument so we can provide better feedback to the user than EFAULT on (null). Sponsored by: Google, Inc. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-10-22T11:42:02.862825Z K 7 svn:log V 231 - Add a new PCI quirk to whitelist an old chipset that doesn't support PCI-express or PCI-X capabilities if we are running in a virtual machine. - Whitelist the Intel 82440 chipset used by QEMU. Tested by: jfv MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-22T14:01:11.851210Z K 7 svn:log V 71 Add missing #include to clear_cache.c, to make it build on non-Darwin. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-22T14:07:12.974845Z K 7 svn:log V 224 Make libcompiler_rt build properly on mips and arm. The optimized assembly files for arm use a different syntax as the one supported by GNU as. Also, some of the routines provided by libcompiler_rt are also part of libc's. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-10-22T16:00:00.671402Z K 7 svn:log V 127 MFC r214062: uma_zfree(zone, NULL) should do nothing, to match free(9). Noticed by: Ron Steinke END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-10-22T16:00:45.627001Z K 7 svn:log V 127 MFC r214062: uma_zfree(zone, NULL) should do nothing, to match free(9). Noticed by: Ron Steinke END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-10-22T17:49:11.388788Z K 7 svn:log V 302 MFC r212243: improve comments in expand.c r214100: MFC r213815: only need to look as far as '..' to find 'test/' r214104: r213774: DEBUG_FLAGS should be used to enable extra debugging rather than frobbing CFLAGS directly. r213798: do not inline static functions if debugging END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T18:06:58.721294Z K 7 svn:log V 66 Make contrib/binutils/bfd/coff-x86_64.c compile without warnings. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-10-22T18:07:21.166459Z K 7 svn:log V 142 Avoid using memcpy() for copying 32bit chunks. This shrinks the resulting code a little. Approved by: rpaulo (mentor) Reviewed by: jhb END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T18:07:29.600095Z K 7 svn:log V 67 Make contrib/binutils/opcodes/mips-dic.c compile without warnings. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T18:08:37.794706Z K 7 svn:log V 119 Fix gdb compilation with new binutils: bfd_get_section_size_before_reloc() has been renamed to bfd_get_section_size(). END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T18:11:17.052290Z K 7 svn:log V 90 Garbage collect gnu/lib/libiberty and gnu/lib/libg2c, these have not been used for years. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T18:12:40.184053Z K 7 svn:log V 116 Update gcc's auto-host.h header for binutils 2.17: turn on HAVE_COMDAT_GROUP, HAVE_GAS_WEAKREF and HAVE_LD_SYSROOT. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T18:14:25.291331Z K 7 svn:log V 137 Remove some spaces from __sym_compat() macro, since gas 2.17 is more fussy about spaces surrounding '@' signs in versioned symbol names. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-22T18:31:44.951451Z K 7 svn:log V 158 Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-10-22T18:33:39.151765Z K 7 svn:log V 163 In r212554 argument name was changed from "geom" to "arg0". Sync libgeom related code with head/ and replace "geom" with "arg0" too. Add sys/types.h to fix build. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-10-22T19:18:48.989626Z K 7 svn:log V 161 Update yet another argument that should be replaced to arg0. Since G_TYPE_ASCNUM was removed in r212614 some of arguments in gctl request should be updated too. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-22T19:30:56.706673Z K 7 svn:log V 555 Add workaround for BCM5906 A1 controller silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. The workaround is to choose de-pipeline method as a flow control decision for SDI. De-pipeline method allows only 1 data in TxMbuf at a time such that a request to RDMA from SDI is made only when TxMbuf is empty. Thanks for david for providing detailed errata information. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T20:02:18.513453Z K 7 svn:log V 49 Sync: merge r214077 through r214219 from ^/head. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2010-10-22T20:13:45.620707Z K 7 svn:log V 138 Add possibility to generate devctl notifications regardless of UGEN presence. Submitted by: Nick Hibma Approved by: thompsa (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T20:43:37.665395Z K 7 svn:log V 97 In case of powerpc64, enable HAVE_LD_NO_DOT_SYMS in gcc's auto-host.h. Requested by: nwhitehorn END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-10-22T20:46:08.315750Z K 7 svn:log V 101 Most of binutils now compiles at WARNS=3, except for libiberty and libbfd, which still need WARNS=2. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-10-22T21:38:56.419023Z K 7 svn:log V 215 Modify the file handle hash function in the experimental NFS server so that it will work better for non-UFS file systems. The new function simply sums the bytes of the fh_fid field of fhandle_t. MFC after: 10 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-22T22:13:11.584465Z K 7 svn:log V 160 Move sc_akeyctx and sc_ivctx initialization to the g_eli_mkey_propagate() function which eliminates code duplication and will ensure proper order of operation. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-22T22:44:09.240084Z K 7 svn:log V 127 Encryption keys array might be NULL if device is suspended. Check for this, so we don't panic when we detach suspended device. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-22T22:45:26.971424Z K 7 svn:log V 171 Add State tag, so 'geli status' will report active/suspended status, eg: # geli status Name Status Components da0.eli SUSPENDED da0 da1.eli ACTIVE da1 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-22T22:54:26.339633Z K 7 svn:log V 80 Close a race between checking if device is already suspended and suspending it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-22T22:58:00.411102Z K 7 svn:log V 376 - Improve error messages, so instead of 'Not fully done', the user will get information that device is already suspended or that device is using one-time key and suspend is not supported. - 'geli suspend -a' silently skips devices that use one-time key, this is fine, but because we log which device were suspended on the console, log also which devices were skipped. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-10-22T23:12:45.841193Z K 7 svn:log V 188 MFC r213738: allow one to regression test 'sh' changes without having to install a potentially bad /bin/sh first. r213903: default to 'sh' from PATH if 'SH' env is not set. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-23T00:41:26.306864Z K 7 svn:log V 392 MFC r214089: Correct handling of shared interrupt in sis_intr(). r212116 incorrectly released a drver lock for shared interrupt case such that it caused panic. While I'm here check whether driver is still running before serving TX/RX handler. Reported by: Jerahmy Pocott < QUAKENET1 <> optusnet dot com dot au > Tested by: Jerahmy Pocott < QUAKENET1 <> optusnet dot com dot au > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-23T00:44:16.901158Z K 7 svn:log V 392 MFC r214089: Correct handling of shared interrupt in sis_intr(). r212116 incorrectly released a drver lock for shared interrupt case such that it caused panic. While I'm here check whether driver is still running before serving TX/RX handler. Reported by: Jerahmy Pocott < QUAKENET1 <> optusnet dot com dot au > Tested by: Jerahmy Pocott < QUAKENET1 <> optusnet dot com dot au > END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-23T08:07:05.324350Z K 7 svn:log V 32 Compile compiler-rt with -fPIC. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-23T08:12:44.986433Z K 7 svn:log V 181 While we're at it, add libblocksruntime as well. libblocksruntime is part of compiler-rt and is one of the essential libraries needed to make Blocks work. Discussed with: rwatson END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-23T10:46:11.062698Z K 7 svn:log V 26 Use correct include path. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-10-23T11:26:22.707708Z K 7 svn:log V 662 The firmware does pad notifications to an even number of bytes (at least the association notification), the included information though always contains an elem block with an odd number of bytes. We handle the last byte as if it might contain a whole elem block, this of course is not true as one byte is not enough to hold a block, we therefore discard the complete frame. The solution here is to subtract one from the actual notification length, this is also what the Linux driver does. With this change the frames ends exactly where the last elem block ends. This commit also reverts r214160 which is no longer required and now even wrong. MFC after: 1 week END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-10-23T12:27:39.235658Z K 7 svn:log V 81 Remove mention of non-existant -o flag for debugging options. MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-10-23T13:16:39.561952Z K 7 svn:log V 187 In thr_exit() and kthread_exit(), only remove thread from hash if it can directly exit, otherwise let exit1() do it. The change should be in r213950, but for unknown reason, it was lost. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-23T13:36:09.497645Z K 7 svn:log V 252 MFC r213926: sh(1): Clarify subshells/processes for pipelines. For multi-command pipelines, 1. all commands are direct children of the shell (unlike the original Bourne shell) 2. all commands are executed in a subshell (unlike the real Korn shell) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-23T13:57:26.002379Z K 7 svn:log V 60 MFC r197848: Clarify quoting of word in ${v=word} in sh(1). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-23T14:00:31.325783Z K 7 svn:log V 328 MFC r212417: sh(1): Remove xrefs for expr(1) and getopt(1). expr(1) should usually not be used as various forms of parameter expansion and arithmetic expansion replicate most of its functionality in an easier way. getopt(1) should not be used at all in new code. Instead, getopts(1) or entirely manual parsing should be used. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-23T14:04:04.049197Z K 7 svn:log V 67 MFC r211621: sh(1): Add a brief summary of arithmetic expressions. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-23T14:15:10.614557Z K 7 svn:log V 200 MFC r207831: sh(1): Fix "reserved word" vs "keyword" inconsistency. Use "keyword" everywhere, like the output of the 'type' builtin, and only mention "reserved word" once to say it is the same thing. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-23T14:16:33.327951Z K 7 svn:log V 252 MFC r213926: sh(1): Clarify subshells/processes for pipelines. For multi-command pipelines, 1. all commands are direct children of the shell (unlike the original Bourne shell) 2. all commands are executed in a subshell (unlike the real Korn shell) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-10-23T14:22:50.829436Z K 7 svn:log V 125 Remove workaround for ZFS bug; fix was committed to the //depot/user/pjd/zfs/... branch some time ago. MFC after: two weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-23T14:27:48.455933Z K 7 svn:log V 57 Remove unneeded files/directories from compiler-rt root. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-23T14:29:17.962408Z K 7 svn:log V 33 Remove even more unneeded files. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-23T14:30:27.245048Z K 7 svn:log V 24 Remove empty directory. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-10-23T16:59:39.256280Z K 7 svn:log V 147 Add missing DTrace probe invocation to mac_vnode_check_open; the probe was declared, but never used. MFC after: 3 days Sponsored by: Google, Inc. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-10-23T20:35:40.877964Z K 7 svn:log V 260 Make the IPsec SADB embedded route cache a union to be able to hold both the legacy and IPv6 route destination address. Previously in case of IPv6, there was a memory overwrite due to not enough space for the IPv6 address. PR: kern/122565 MFC After: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-23T21:25:50.216499Z K 7 svn:log V 388 Apply the same workaround for SDI flow control used on BCM5906 A1 to BCM6906 A0/A2. This should fix a long standing BCM5906 A2 lockup issues. Data sheet explicitly mentions BCM5906 A0, A1 and A2 use de-pipelined mode on these revisions. Special thanks to Buganini who tried all combinations of experimental patches for more than 10 days. Tested by: Buganini gmail dot com > END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-23T21:56:50.411266Z K 7 svn:log V 287 Implement G_TYPE_MULTI and G_VAL_OPTIONAL for stable/8. This should have been MFC, but I've no green light from marcel to remove G_TYPE_ASCNUM and gc_argname and to modify geom_part in stable/8, so this is reimplementation that doesn't touch gpart and hopefully doesn't break anything. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-23T22:04:37.717060Z K 7 svn:log V 57 Constify go_val field. (Should've been MFC of r212547.) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-23T22:11:30.362146Z K 7 svn:log V 116 MFC r213065,r213068: r213065: Remove redundant space. r213068: Add support for AES-XTS. Obtained from: OpenBSD END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-10-23T22:28:29.053427Z K 7 svn:log V 429 Modify the experimental NFSv4 server's file handle hash function to use the generic hash32_buf() function. Although adding the bytes seemed sufficient for UFS and ZFS, since most of the bytes are the same for file handles on the same volume, this might not be sufficient for other file systems. Use of a generic function also seems preferable to one specific to NFSv4. Suggested by: gleb.kurtsou at gmail.com MFC after: 10 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-10-24T01:05:10.125815Z K 7 svn:log V 158 Move variable declarations into the conditional block where they are used, to fix warning if WITH_SSL is not set. Submitted by: Sean Bruno MFC after: 1 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-10-24T02:59:02.823168Z K 7 svn:log V 118 MFi386: revision 214210 Avoid using memcpy() for copying 32bit chunks. This shrinks the resulting code a little. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-10-24T03:20:54.820848Z K 7 svn:log V 157 MFi386: the part of revision 213226. Rewrite the i386 memory probe: - Move the base memory setup into a new basemem_setup() routine. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-10-24T04:38:56.290521Z K 7 svn:log V 162 Checkpoint USB support on the PS3. It can see the EHCI registers and reset the controller, etc., but will not actually work until busdma has IOMMU support in it. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-10-24T05:22:07.661620Z K 7 svn:log V 102 Fix PIC_RETURN when abicalls are not defined. Submitted by: Artem Belevich (artemb at gmail dot com) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-10-24T09:14:21.660898Z K 7 svn:log V 105 Add microbenchmark for create/unlink of a zero-byte file. Sponsored by: Google, Inc. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T11:37:01.288363Z K 7 svn:log V 373 - Take advantage of mii_phy_dev_probe(). - Use mii_phy_add_media() instead of mii_add_media(). I'm not sure how this driver actually managed to work before as mii_add_media() is intended to be used to gether with mii_anar() while mii_phy_add_media() is intended to be used with mii_phy_setmedia(), however this driver mii_add_media() along with mii_phy_setmedia(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T11:38:25.712612Z K 7 svn:log V 58 Take advantage of mii_phy_add_media()/mii_phy_setmedia(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T12:51:02.926092Z K 7 svn:log V 622 - Add IFM_10_2 and IFM_10_5 media via tlphy(4) only in case the respective interface also has such connectors. - In tl_attach() unify three different ways of obtaining the device and vendor IDs and remove the now obsolete tl_dinfo from tl_softc. - Given that tlphy(4) only handles the integrated PHYs of NICs driven by tl(4) make it only probe on the latter. - Switch mlphy(4) and tlphy(4) to use mii_phy_add_media()/mii_phy_setmedia(). - Simplify looking for the respective companion PHY in mlphy(4) and tlphy(4) by ignoring the native one by just comparing the device_t's directly rather than the device name. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T12:59:43.798032Z K 7 svn:log V 313 - Given that as of r214264 all PHY drivers using mii(4) finally have been converted to use the mii_phy_add_media()/mii_phy_setmedia() pair instead of mii_add_media()/mii_anar() remove the latter. - Declare mii_media mii_media_table static as it shouldn't be used outside of mii_physubr.c. MFC after: never END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T13:39:19.202732Z K 7 svn:log V 1011 MFC: r213364 - In the spirit of previous simplifications factor out the checks for a different PHY instance being selected and isolation out into the wrappers around the service methods rather than duplicating them over and over again (besides, a PHY driver shouldn't need to care about which instance it actually is). - Centralize the check for the need to isolate a non-zero PHY instance not supporting isolation in mii_mediachg() and just ignore it rather than panicing, which should sufficient given that a) things are likely to just work anyway if one doesn't plug in more than one port at a time and b) refusing to attach in this case just leaves us in a unknown but most likely also not exactly correct configuration (besides several drivers setting MIIF_NOISOLATE didn't care about these anyway, probably due to setting this flag for no real reason). - Minor fixes like removing unnecessary setting of sc->mii_anegticks, using sc->mii_anegticks instead of hardcoded values etc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T13:39:26.644122Z K 7 svn:log V 1011 MFC: r213364 - In the spirit of previous simplifications factor out the checks for a different PHY instance being selected and isolation out into the wrappers around the service methods rather than duplicating them over and over again (besides, a PHY driver shouldn't need to care about which instance it actually is). - Centralize the check for the need to isolate a non-zero PHY instance not supporting isolation in mii_mediachg() and just ignore it rather than panicing, which should sufficient given that a) things are likely to just work anyway if one doesn't plug in more than one port at a time and b) refusing to attach in this case just leaves us in a unknown but most likely also not exactly correct configuration (besides several drivers setting MIIF_NOISOLATE didn't care about these anyway, probably due to setting this flag for no real reason). - Minor fixes like removing unnecessary setting of sc->mii_anegticks, using sc->mii_anegticks instead of hardcoded values etc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T13:41:38.158603Z K 7 svn:log V 107 MFC: r213384 Consistently always explicitly set IFM_HDX for half-duplex. Obtained from: OpenBSD (mostly) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T13:42:03.683718Z K 7 svn:log V 107 MFC: r213384 Consistently always explicitly set IFM_HDX for half-duplex. Obtained from: OpenBSD (mostly) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-10-24T13:43:45.931296Z K 7 svn:log V 68 MFC: r213385 Remove a header that apart from the license is empty. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2010-10-24T13:48:11.074903Z K 7 svn:log V 47 Remove stray semicolon. Submitted by: arundel END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-10-24T15:31:41.394664Z K 7 svn:log V 204 flex: add missing ifdef magic to create/hide prototypes This unbreaks build for some software with higher WARNS flags. Reviewed by: rpaulo PR: bin/139319 (parts already committed in previous revision) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-24T15:38:58.133811Z K 7 svn:log V 69 Load geom_gate.ko module after parsing arguments. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-24T15:41:23.670377Z K 7 svn:log V 59 Plug memory leaks. Found with: valgrind MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-24T15:42:16.466358Z K 7 svn:log V 37 Plug memory leak. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-24T15:44:23.002232Z K 7 svn:log V 40 Simplify code a bit. MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-10-24T15:56:21.282640Z K 7 svn:log V 52 Document make_dev_p(9). Reviewed by: brueffer, kib END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-10-24T16:10:32.890543Z K 7 svn:log V 19 Use .Dv with NULL. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-10-24T16:31:57.848725Z K 7 svn:log V 566 Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with some SCSI controllers. A new sysctl kern.cam.ada.spindown_shutdown has been added that controls whether or not to spin-down disks when shutting down. Spinning down the disks unloads/parks the heads - this is much better than removing power when the disk is still spinning because otherwise an Emergency Unload occurs which may cause damage to the actuator. PR: kern/140752 Submitted by: olli Reviewed by: arundel Discussed with: mav MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-24T16:55:17.485692Z K 7 svn:log V 44 sh: Add some testcases for alias expansion. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-24T17:06:49.877757Z K 7 svn:log V 395 sh: Change ! within a pipeline to start a new pipeline instead. This is how ksh93 treats ! within a pipeline and makes the ! in a | ! b | c negate the exit status of the pipeline, as if it were a | { ! b | c; } Side effect: something like f() ! a is now a syntax error, because a function definition takes a command, not a pipeline. Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-24T17:22:34.532884Z K 7 svn:log V 136 Move all NV defines into nv.c, they are not used externally thus there is no need to make then visible from outside. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-24T17:24:08.366705Z K 7 svn:log V 106 Implement nv_exists() function that returns true if argument of the given name exists. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-10-24T17:28:25.436359Z K 7 svn:log V 477 Before this change on first connect between primary and secondary we initialize all the data. This is huge waste of time and resources if there were no writes yet, as there is no real data to synchronize. Optimize this by sending "virgin" argument to secondary, which gives it a hint that synchronization is not needed. In the common case (where noth nodes are configured at the same time) instead of synchronizing everything, we don't synchronize at all. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-10-24T17:40:19.023633Z K 7 svn:log V 127 MFC r212991: Decrease poll interval from 1000 to 100us. This significantly reduces kernel dump time, especially with minidump. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-10-24T17:42:41.084375Z K 7 svn:log V 71 MFC r213509: Add ID for Vodafone (ZTE) Mobile Broadband K3565-Z modem. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-10-24T18:12:11.071370Z K 7 svn:log V 59 MFC r213567: Import ee 1.5.2 into HEAD. PR: bin/145921 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-10-24T18:53:16.431646Z K 7 svn:log V 191 Make da driver to handle some probably broken Android devices, returning zero media and sector size instead of "Medium not present" error, until some confirmation button is tapped on device. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-24T19:56:34.126904Z K 7 svn:log V 153 sh: Add a test trying to close a descriptor that is not open. In stable/8 and older, this fails. Some of the redirection changes in head have fixed it. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-24T20:09:49.291479Z K 7 svn:log V 184 sh: Check whether dup2 was successful for >&FD and <&FD. A failure (usually caused by FD not being open) is a redirection error. Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-24T20:45:13.006666Z K 7 svn:log V 612 sh: Make sure defined functions can actually be called. Add some conservative checks on function names: - Disallow expansions or quoting characters; these can only be called via strange control characters - Disallow '/'; these functions cannot be called anyway, as exec.c assumes they are pathnames - Make the CTL* bytes work properly in function names. These are syntax errors. POSIX does not require us to support more than names (letters, digits and underscores, not starting with a digit), but I do not want to restrict it that much at this time. Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T20:54:46.637167Z K 7 svn:log V 132 Use bge_chipid to compare controller ids. r214251 incorrectly used bge_chiprev. Reported by: Buganini gmail dot com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:07:13.131675Z K 7 svn:log V 147 MFC r213842: Backout r204230. TX mbuf parser for VLAN is still required to enable TX checksum offloading if VLAN hardware tagging is disabled. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:09:31.851820Z K 7 svn:log V 147 MFC r213842: Backout r204230. TX mbuf parser for VLAN is still required to enable TX checksum offloading if VLAN hardware tagging is disabled. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:14:01.449203Z K 7 svn:log V 447 MFC r213844: Make sure to not use stale ip/tcp header pointers. The ip/tcp header parser uses m_pullup(9) to get access to mbuf chain. m_pullup(9) can allocate new mbuf chain and free old one if the space left in the mbuf chain is not enough to hold requested contiguous bytes. Previously drivers can use stale ip/tcp header pointer if m_pullup(9) returned new mbuf chain. Reported by: Andrew Boyer (aboyer <> averesystems dot com) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:17:23.571707Z K 7 svn:log V 447 MFC r213844: Make sure to not use stale ip/tcp header pointers. The ip/tcp header parser uses m_pullup(9) to get access to mbuf chain. m_pullup(9) can allocate new mbuf chain and free old one if the space left in the mbuf chain is not enough to hold requested contiguous bytes. Previously drivers can use stale ip/tcp header pointer if m_pullup(9) returned new mbuf chain. Reported by: Andrew Boyer (aboyer <> averesystems dot com) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:22:00.065081Z K 7 svn:log V 639 MFC r213423: Move updating TX packet counter to the inside of send loop. axe(4) controllers combine multiple TX requests into single one if there is room in TX buffer of controller. Updating TX packet counter at the end of TX completion resulted in incorrect TX packet counter as axe(4) thought it sent 1 packet. There is no easy way to know how many combined TX were completed in the callback. Because this change updates TX packet counter before actual transmission, it may not be ideal one. But I believe it's better than showing fake 8kpps under high TX load. With this change, TX shows 221kpps on Linksus USB200M. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:23:27.212260Z K 7 svn:log V 125 MFC r213424: Make upper stack know driver's output status. This change increased TX performance from 221kpps to 231kpps. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:25:15.099892Z K 7 svn:log V 93 MFC r213436: Don't count input error twice. uether_rxbuf() already updated that counter. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:26:41.532968Z K 7 svn:log V 249 MFC r213438: RX buffer allocation failure is not an input error. Controller successfully received a frame but we failed to pass it to upper stack due to lack of resources. So update if_iqdrops counter instead of updating if_ierrors counter. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:28:58.059989Z K 7 svn:log V 685 MFC r213696: Do not setup interrupt endpoint for axe(4). It seems axe(4) controllers support interrupt endpoint such that enabling interrupt endpoint generates about 1000 interrupts/sec. Controllers transfer 8 bytes data through interrupt endpoint and the data include link UP/DOWN state as well as some PHY related information. Previously axe(4) didn't use the transferred data and didn't even try to read the data. Because axe(4) counts on mii(4) to detect link state changes there is no need to use interrupt endpoint here. This change fixes generation of unnecessary interrupts which was seen when interface is brought to UP. No objections from: hselasky END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-10-24T21:59:51.944813Z K 7 svn:log V 315 Add TSO support over VLAN for i82550/i82551. Controller requires VLAN hardware tagging to make TSO work over VLAN. So if VLAN hardware tagging is disabled explicitly clear TSO over VLAN. While I'm here allow disabling VLAN TX checksum offloading. Tested by: Liudas < liudasb <> centras dot lt > MFC after: 10 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-10-24T22:02:36.773314Z K 7 svn:log V 154 Add initial inet DDB support for show in_ifaddr and show sin commands which proved to be useful while debugging address list problems. MFC after: 6 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-24T22:03:21.234033Z K 7 svn:log V 626 sh: Do not allow overriding a special builtin with a function. This is a syntax error. POSIX does not say explicitly whether defining a function with the same name as a special builtin is allowed, but it does say that it is impossible to call such a function. A special builtin can still be overridden with an alias. This commit is part of a set of changes that will ensure that when something looks like a special builtin to the parser, it is one. (Not the other way around, as it remains possible to call a special builtin named by a variable or other substitution.) Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-10-24T22:25:38.924553Z K 7 svn:log V 216 sh: Ignore double-quotes in arithmetic rather than treating them as quotes. This provides similar behaviour, but allows a simpler parser. This changes r206473. Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-10-24T22:59:38.571632Z K 7 svn:log V 156 Add two scripts that demonstrate how to make and hook together jails using teh vortual networking feature. Submitted by: Yavuz Gokirmak MFC after: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-10-24T23:09:00.227956Z K 7 svn:log V 181 MFC r213814: Do not assume in growstackstr() that a "precious" character will be immediately written into the stack after the call. Instead let the caller manage the "space left". END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-10-24T23:19:11.348653Z K 7 svn:log V 66 Add a jails directory in the examples section MFC after: 2 weeks END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-10-24T23:25:14.865102Z K 7 svn:log V 73 Add Makefile entry to install two new example files. MFC after: 2 weeks END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-10-25T01:02:34.185124Z K 7 svn:log V 108 MFC of svn change 206639. replace a couple of instances of the same definitions with one in an include file END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-10-25T01:22:36.691788Z K 7 svn:log V 107 MFC of 206632 If both ALQ and KTR are defined, allow KTR buffer to be used when ALQ is disabled by sysctl. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-10-25T02:16:35.014213Z K 7 svn:log V 97 Initial IOMMU support for the PS3 and generic bus dma hooks to allow it. USB still doesn't work. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-10-25T03:21:40.163591Z K 7 svn:log V 45 Remove some debugging printfs that snuck in. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-10-25T03:45:27.219974Z K 7 svn:log V 126 Set the correct DMA region flags for USB devices. This makes USB work (and so local consoles as well). Obtained from: NetBSD END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-10-25T05:37:12.268865Z K 7 svn:log V 64 MFC of 200614 make man page match the output of lock profiling. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-10-25T06:16:27.473191Z K 7 svn:log V 133 MFC r214001: Fix a possible, but very unlikely race where the directory dirent is moved to the location that was used by ".." entry. END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-10-25T06:28:19.428348Z K 7 svn:log V 54 MFC of 199812 allow tinybsd to abort of a step fails. END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-10-25T06:33:19.752962Z K 7 svn:log V 108 MFC of 196811 Slight cleanup to pcpu macros to better match amd64 and to improve readability of the output. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T07:06:24.895467Z K 7 svn:log V 87 MFC r214095: PG_BUSY -> VPO_BUSY, PG_WANTED -> VPO_WANTED in manual pages and comments END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T07:11:37.977434Z K 7 svn:log V 92 MFC r214096: VOP_GETPAGES.9: clarify and correct description of parameters and requirements END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-10-25T07:17:07.508530Z K 7 svn:log V 92 Do some whitespace and `identify` output cleanup. Submitted by: arundel MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T07:30:14.055977Z K 7 svn:log V 94 MFC r214097: catch up manual pages with rename of vm_page_sleep_busy to vm_page_sleep_if_busy END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T07:36:39.400656Z K 7 svn:log V 95 add dates along with revision numbers in UPDATING entry for 20101022 This is a direct commit. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T07:39:05.560346Z K 7 svn:log V 69 add dates along with revision numbers in UPDATING entry for 20100915 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-10-25T07:41:21.442325Z K 7 svn:log V 53 Add missing mtx_destroy() on channel attach failure. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T07:58:37.977805Z K 7 svn:log V 897 stable/8: add options KDB and KDB_TRACE to GENERIC kernels Now that we have code for printing a stack trace on panic using stack(9) facility without any debugger backend configured, use this ability in GENERIC kernels to slightly increase amount of debugging information available in default installations. This change should not break anything for those who include GENERIC into a custom kernel config file and have the above options already enabled. They should only get a warning about duplicate options. This commit should not change behavior of GENERIC kernels for panics and traps with respect to core dumping and automatic reset. As no debugger backend is configured, enter-to-debugger key combination should still be ignored. With this commit the sizes of GENERIC kernels increase by one to two KB. This is a direct commit to the branch. Approved by: re No objections: core, secteam END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T08:07:57.143773Z K 7 svn:log V 87 MFC r214095: PG_BUSY -> VPO_BUSY, PG_WANTED -> VPO_WANTED in manual pages and comments END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T08:09:19.690334Z K 7 svn:log V 92 MFC r214096: VOP_GETPAGES.9: clarify and correct description of parameters and requirements END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-10-25T08:11:51.804180Z K 7 svn:log V 94 MFC r214097: catch up manual pages with rename of vm_page_sleep_busy to vm_page_sleep_if_busy END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-10-25T08:18:29.080522Z K 7 svn:log V 116 MFC r212754: Add support for dumping kernel to gconcat. Dumping goes to the component, where dump partition begins. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-10-25T08:23:38.178278Z K 7 svn:log V 116 MFC r212754: Add support for dumping kernel to gconcat. Dumping goes to the component, where dump partition begins. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-10-25T08:25:44.066316Z K 7 svn:log V 49 Make hw.snd.vpc_0db to be also a loader tunable. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-10-25T08:30:19.873338Z K 7 svn:log V 356 Factor out DDB commands from r204145, r204279 into if_debug.c for further enhancements (1). Switch to a standard 2-clause BSD license for this (2). Unfortunately we have to un-static the ifindex_table for this but do not publicly export it. Suggested by: rwatson (1) a while back. Approved by: thompsa (2) for the change from r204279. MFC after: 6 days END