ĵ;263709 160 483 261 176 118 171 202 210 211 156 285 309 207 216 183 188 161 200 307 212 350 280 338 201 267 301 181 254 301 311 624 152 176 177 215 187 224 187 237 175 173 955 378 437 155 207 176 226 297 147 254 336 189 291 189 803 803 3344 436 792 220 149 170 170 151 153 462 498 206 166 1137 1042 620 248 248 737 737 262 337 167 279 242 245 4661 120 291 227 406 155 589 155 617 617 617 129 120 131 103 114 132 116 373 229 159 265 156 206 534 308 674 183 157 1304 288 417 1287 153 238 176 153 164 194 511 302 514 197 514 462 481 481 258 335 163 134 172 198 649 575 175 179 125 222 163 117 114 165 133 133 136 207 124 206 172 162 265 187 173 114 169 155 249 K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-25T04:45:55.317291Z K 7 svn:log V 387 First batch of media control: 1. Change -h to -H and change -t to -T. Use -H to specify the number of heads and -T to specify the track size (number of sectors per track). 2. Add -S and -P. Use -S to specify the logical sector size and -P to specify the physical sector size. Default to 512 for both the logical and physical sector size. Set nheads and nsecs to 1 by default. END K 10 svn:author V 2 mm K 8 svn:date V 27 2014-03-25T06:55:53.929001Z K 7 svn:log V 169 Merge from projects/pf r251993 (glebius@): De-vnet hash sizes and hash masks. Submitted by: Nikos Vassiliadis Reviewed by: trociny MFC after: 1 month END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-03-25T08:31:47.344110Z K 7 svn:log V 80 Switch to my freebsd.org emal address in copyright. Approved by: stas (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-25T11:05:34.625716Z K 7 svn:log V 26 Upgrade to OpenSSH 6.6p1. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T11:41:10.010598Z K 7 svn:log V 77 MFC r261765: Improve error reporting. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T11:43:09.763440Z K 7 svn:log V 107 MFC r261766: Make ctld error out on invalid characters in ctl.conf. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T11:45:03.020880Z K 7 svn:log V 115 MFC r261767: Show proper configuration file line numbers in error messages. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T11:46:46.433856Z K 7 svn:log V 116 MFC r261768: Make the debug messages during ctld(8) shutdown less confusing. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T11:53:47.445986Z K 7 svn:log V 62 MFC r261749: Refactor. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T11:58:24.245758Z K 7 svn:log V 190 MFC r261750: Improve check for duplicated paths. It shows the warning twice for every path (once for each duplicate found), but it should do for now. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:00:05.627207Z K 7 svn:log V 214 MFC r261753: Daemonize after applying configuration, not before, so that any problems - including "daemon already running" - are visible on the terminal and not just in logs. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:01:55.836945Z K 7 svn:log V 112 MFC r261754: Implement initiator-name and initiator-portal restrictions. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:06:42.248559Z K 7 svn:log V 121 MFC r261755: Make function ordering slightly more logical; no functional changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:08:35.914026Z K 7 svn:log V 89 MFC r261756: Yacc cleanup; no functional changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:10:30.627253Z K 7 svn:log V 94 MFC r261757: Rename a variable, no functional changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:12:37.204406Z K 7 svn:log V 67 MFC r261758: Add auth-type. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:14:48.003236Z K 7 svn:log V 105 MFC r261759: Make it possible to redefine portal-group "default". Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:16:52.945548Z K 7 svn:log V 212 MFC r261760: Add a new auth-group "default", defaulting to deny, and make it possible to redefine it. From now on, assigning auth-group to a target is no longer mandatory. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:18:37.660974Z K 7 svn:log V 117 MFC r261761: Update manual page to match recent auth-group "default" changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:20:29.356285Z K 7 svn:log V 255 MFC r261762: Use "default" as default discovery-auth-group, instead of "no-access". It doesn't change visible behaviour, as previously auth-group "default" wasn't redefinable, so by default access was always denied. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:22:30.102307Z K 7 svn:log V 185 MFC r261763: Use new auth-type "deny" instead of using "chap" with no chap entries; it's cleaner this way, and gives better feedback to the user. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:24:18.204989Z K 7 svn:log V 243 MFC r261764: So, it turns out SIGCHLD is discarded by default, so we have to set up a dummy handler to make it interrupt an ioctl(2) or select(2). This makes those short-lived ctld(8) zombies disappear. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:26:00.808799Z K 7 svn:log V 106 MFC r261962: Mention that rctl(8) was sponsored by the Foundation. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:31:08.548847Z K 7 svn:log V 172 MFC r261751: The log_whatever() routines don't accept NULL for format strings, so mark them as __printflike instead of__printf0like. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:33:16.859570Z K 7 svn:log V 206 MFC r261752: Empty data segment during Login Phase is rather unlikely, but it's not, by itself, a protocol error. This fixes interoperability with OpenBSD initiator. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T12:38:43.239863Z K 7 svn:log V 87 MFC r263356: Make the error message more clear. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T13:18:09.834906Z K 7 svn:log V 159 MFC 262782: Fix missing unlock in persistent reservations code, which resulted in panics with Hyper-V Failover Cluster. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-25T13:39:31.694730Z K 7 svn:log V 207 Add fib-related configuration variables to let some tests run. This is to allow a bunch of tests that were marked as skipped to actually run on the various configurations we support. Requested by asomers. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-25T13:41:55.193545Z K 7 svn:log V 217 Reenable the build of lib32. Remove the WITHOUT_LIB32 override hack that was originally required to let the tests build. The root cause behind the problem was fixed in r261132 for HEAD and in r261849 for stable/10. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-25T15:03:08.061897Z K 7 svn:log V 527 tests/sys/netinet/Makefile tests/sys/netinet/fibs.sh Replace fibs:udp_dontroute with fibs:src_addr_selection_by_subnet. The original test was poorly written; it was actually testing kern/167947 instead of the desired kern/187553. The root cause of the bug is that ifa_ifwithnet did not have a fib argument. The new test more directly targets that behavior. tests/sys/netinet/udp_dontroute.c Delete the auxilliary binary used by the old test PR: kern/187553 MFC after: 3 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-25T15:35:33.709508Z K 7 svn:log V 60 MFH (r256768): don't report an error for no-op add / remove END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T18:30:57.615415Z K 7 svn:log V 82 Use a less unusual syntax in debug printfs. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T19:05:05.921825Z K 7 svn:log V 83 Use newly added extended LUN support in CAM. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T19:09:52.193878Z K 7 svn:log V 120 Fix harmless warning after reconnecting a session and not doing anything with it. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T19:17:22.141218Z K 7 svn:log V 93 Move the ic_outstanding_count under #ifdef DIAGNOSTIC. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-03-25T19:20:34.019553Z K 7 svn:log V 128 Move the atpit device model from userspace into vmm.ko for better precision and lower latency. Approved by: grehan (co-mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-25T19:28:40.781111Z K 7 svn:log V 93 Target Transfer Tag is opaque; no need to htonl(3) it. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-25T20:16:28.312192Z K 7 svn:log V 144 MFC r263305: Provide a workaround by identity mapping the 32 pages after the bogus entry start, which seems to be enough for the reported BIOS. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-25T20:17:57.725979Z K 7 svn:log V 83 MFC r263306: Add some support for the PCI(e)-PCI bridges to the Intel VT-d driver. END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-03-25T21:57:50.761392Z K 7 svn:log V 79 Correct the comments as support for RFC 1644 has been removed for a long time. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-25T22:08:31.543560Z K 7 svn:log V 862 Rather than require a makeoptions DEBUG to get debug correct, add it in kern.mk, but only if we're using clang. While this option is supported by both clang and gcc, in the future there may be changes to clang which change the defaults that require a tweak to build our kernel such that other tools in our tree will work. Set a good example by forcing -gdwarf-2 only for clang builds, and only if the user hasn't specified another dwarf level already. Update UPDATING to reflect the changed state of affairs. This also keeps us from having to update all the ARM kernels to add this, and also keeps us from in the future having to update all the MIPS kernels and is one less place the user will have to know to do something special for clang and one less thing developers will need to do when moving an architecture to clang. Reviewed by: ian@ MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-25T22:32:13.103786Z K 7 svn:log V 285 Add a '*' to the M modifier string so we match any -gdwarf string (even though it works w/o it for some reason, contrary to our reading of make(1)). Also add a comment explaining things a bit better so there's one less mystery that must be answered with svn blame. Submitted by: ian@ END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-25T22:43:34.660733Z K 7 svn:log V 344 MFC r243322 (by marcel): Unbreak amd64 cross-build where amd64 is the target. While clang may be installed as cc and we don't need to build gcc as a cross-tools, we still build gcc and thus need cc_tools built as a build tool. Not doing this results in building gengenrtl with the target compiler while we need to run it on the build machine. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-25T22:49:33.064349Z K 7 svn:log V 63 Define PSL_SRR1_MASK for BOOK-E too so MPC85XX compiles again. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-03-25T23:13:46.016111Z K 7 svn:log V 114 Remove lockless check in devopen, while correct it does not make much sense. Suggested by: imp MFC after: 6 days END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-03-25T23:19:45.082460Z K 7 svn:log V 84 Remove long obsolete sysctl hw.bus.devctl_disable. Suggested by: imp Relnotes: yes END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-03-25T23:30:35.767937Z K 7 svn:log V 133 Document a known problem with handling the process intended to receive SIGIO in /dev/devctl. Suggested by: adrian MFC after: 6 days END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2014-03-25T23:37:57.937573Z K 7 svn:log V 200 Make `-R', `-T' and `-E' options mutially non-exclusive. It is often useful to see two or three types at the same time when inspecting the dump. MFC after: 1 month Sponsored by: Sippy Software, Inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-26T01:36:00.548000Z K 7 svn:log V 55 Document r263754 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-03-26T02:25:40.370845Z K 7 svn:log V 161 Update userspace users of hw.bus.devctl_disable. This fixes breakage resulting from r263754. Reported by: AN Reviewed by: imp Pointy hat to: me END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-26T03:18:27.013304Z K 7 svn:log V 243 udpate VERY old email address.. I haven't had this email address for well over 8 years... roll the clock forward 16 years since there have been other changes deserving of a bump, but never happened.. Submitted by: feld Obtained from: 1 week END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-26T05:49:09.362522Z K 7 svn:log V 97 fix up an old email address and drop clause 3 of my copyright... bump date.. MFC after: 1 week END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-26T06:22:43.136857Z K 7 svn:log V 197 Allow sys/netinet/fibs_test:arpresolve_checks_interface_fib to run. Do this by installing nmap and socat on the virtual machines (and by adding support to autotest to install arbitrary packages). END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-26T06:26:53.198409Z K 7 svn:log V 96 Add missing svn properties. Originally missed due to the lack of an extension in the filename. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-26T07:31:57.174478Z K 7 svn:log V 710 MFC r262613: Merge the projects/clang-sparc64 branch back to head. This brings in several updates from the llvm and clang trunks to make the sparc64 backend fully functional. Apart from one patch to sys/sparc64/include/pcpu.h which is still under discussion, this makes it possible to let clang fully build world and kernel for sparc64. Any assistance with testing this on actual sparc64 hardware is greatly appreciated, as there will unavoidably be bugs left. Many thanks go to Roman Divacky for his upstream work on getting the sparc64 backend into shape. MFC r262985: Repair a few minor mismerges from r262261 in the clang-sparc64 project branch. This is also to minimize differences with upstream. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-26T07:35:24.407224Z K 7 svn:log V 710 MFC r262613: Merge the projects/clang-sparc64 branch back to head. This brings in several updates from the llvm and clang trunks to make the sparc64 backend fully functional. Apart from one patch to sys/sparc64/include/pcpu.h which is still under discussion, this makes it possible to let clang fully build world and kernel for sparc64. Any assistance with testing this on actual sparc64 hardware is greatly appreciated, as there will unavoidably be bugs left. Many thanks go to Roman Divacky for his upstream work on getting the sparc64 backend into shape. MFC r262985: Repair a few minor mismerges from r262261 in the clang-sparc64 project branch. This is also to minimize differences with upstream. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-26T07:42:43.271842Z K 7 svn:log V 3250 MFC r263312: Pull in r196939 from upstream llvm trunk (by Reid Kleckner): Reland "Fix miscompile of MS inline assembly with stack realignment" This re-lands commit r196876, which was reverted in r196879. The tests have been fixed to pass on platforms with a stack alignment larger than 4. Update to clang side tests will land shortly. Pull in r196986 from upstream llvm trunk (by Reid Kleckner): Revert the backend fatal error from r196939 The combination of inline asm, stack realignment, and dynamic allocas turns out to be too common to reject out of hand. ASan inserts empy inline asm fragments and uses aligned allocas. Compiling any trivial function containing a dynamic alloca with ASan is enough to trigger the check. XFAIL the test cases that would be miscompiled and add one that uses the relevant functionality. Pull in r202930 from upstream llvm trunk (by Hans Wennborg): Check for dynamic allocas and inline asm that clobbers sp before building selection dag (PR19012) In X86SelectionDagInfo::EmitTargetCodeForMemcpy we check with MachineFrameInfo to make sure that ESI isn't used as a base pointer register before we choose to emit rep movs (which clobbers esi). The problem is that MachineFrameInfo wouldn't know about dynamic allocas or inline asm that clobbers the stack pointer until SelectionDAGBuilder has encountered them. This patch fixes the problem by checking for such things when building the FunctionLoweringInfo. Differential Revision: http://llvm-reviews.chandlerc.com/D2954 Together, these commits fix the problem encountered in the devel/emacs port on the i386 architecture, where a combination of stack realignment, alloca() and memcpy() could incidentally clobber the %esi register, leading to segfaults in the temacs build-time utility. See also: http://llvm.org/PR18171 and http://llvm.org/PR19012 Reported by: ashish PR: ports/183064 MFC r263313: Pull in r203311 from upstream llvm trunk (by Arnold Schwaighofer): ISel: Make VSELECT selection terminate in cases where the condition type has to be split and the result type widened. When the condition of a vselect has to be split it makes no sense widening the vselect and thereby widening the condition. We end up in an endless loop of widening (vselect result type) and splitting (condition mask type) doing this. Instead, split both the condition and the vselect and widen the result. I ran this over the test suite with i686 and mattr=+sse and saw no regressions. Fixes PR18036. With this fix the original problem case from the graphics/rawtherapee port (posted in http://llvm.org/PR18036 ) now compiles within ~97MB RSS. Reported by: mandree MFC r263320: Add separate patch files for all the customizations we have currently applied to our copy of llvm/clang. These can be applied in alphabetical order to a pristine llvm/clang 3.4 release source tree, to result in the same version used in FreeBSD. This is intended to clearly document all the changes until now, which mostly consist of cherry pickings from the respective upstream trunks, plus a number of hand-written FreeBSD-specific ones. Hopefully those can eventually be cleaned up and sent upstream too. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-26T08:43:05.780294Z K 7 svn:log V 342 Turn setup into an shtk-based script. This means that "pkg install shtk" must be run first on the host by hand, but that's easy enough to do. Added a check to the Makefile to ensure that shtk is present. The reason for doing this is that I want to add extra logic to this script, and that logic will be much easier to implement with shtk. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-26T10:17:17.967401Z K 7 svn:log V 698 Make setup.sh allow a controlled deployment of specific autotest versions. With this change, setup.sh will fetch a separate copy of autotest (and its dependencies!) based on a revision specification in a per-host configuration file. This separate copy is the one used on the worker node to run the tests. Additionally, setup.sh will register itself as a cron job to maintain the autotest code and all configuration files up-to-date. The goal of this change is to permit having one of the kyua[123] workers as a canary of configuration changes while the others remain stable. This is much necessary as I've been known to routinely break the nodes when I manually push to them untested changes. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-26T13:41:30.713647Z K 7 svn:log V 122 Revert r263638 (create /root dataset) for now as it breaks install and needs more work in cases such as single-user mode. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-26T14:01:41.677365Z K 7 svn:log V 57 Run "svn upgrade" before cleanup / update, just in case. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-26T16:59:28.047981Z K 7 svn:log V 78 MFC r263349: Make the array pointed to by AT_PAGESIZES auxv properly aligned. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-26T17:00:37.410523Z K 7 svn:log V 78 MFC r263349: Make the array pointed to by AT_PAGESIZES auxv properly aligned. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-03-26T17:40:13.280455Z K 7 svn:log V 59 Fix build without SMP. PR: kern/187854 MFC after: 1 week END K 10 svn:author V 5 crees K 8 svn:date V 27 2014-03-26T17:43:24.747210Z K 7 svn:log V 59 Give the line number of the first out-of-order line found. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-26T19:31:33.609690Z K 7 svn:log V 369 Revert r263694, and apply a better fix to squelch unnecessary warnings from clang about possible keywords being treated as identifiers for the remainder of the translation unit (a.k.a. -Wkeyword-compat), when using libstdc++ in combination with -Wsystem-headers. This will not only fix devd, but any C++ program using libstdc++. MFC after: 3 days X-MFC-With: r263694 END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-26T19:57:50.174756Z K 7 svn:log V 405 Avoid "cc1: warning: is shorter than expected" when using GNU cpp in combination with dtrace scripts, which have "#!/usr/sbin/dtrace -Cs" shebang lines. This is because dtrace positions the file pointer after the shebang line, before passing the file to GNU cpp. To fix the warning, adjust the size downwards by the current position, after a bit of sanity checking. Suggested by: avg MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-26T20:10:07.018458Z K 7 svn:log V 113 MFC r262657: Apply fix for lldb not linking after the sparc backend import. Reported by: se Pointy hat to: dim END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-26T20:43:40.424468Z K 7 svn:log V 71 sh: Fix possible memory leaks and double frees with unexpected SIGINT. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-26T22:30:38.989123Z K 7 svn:log V 1043 Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process all the SUBDIR entries in parallel, instead of serially. Apply this option to a selected number of Makefiles, which can greatly speed up the build on multi-core machines, when using make -j. This can be extended to more Makefiles later on, whenever they are verified to work correctly with parallel building. I tested this on a 24-core machine, with make -j48 buildworld (N = 6): before stddev after stddev ======= ====== ======= ====== real time 1741.1 16.5 959.8 2.7 user time 12468.7 16.4 14393.0 16.8 sys time 1825.0 54.8 2110.6 22.8 (user+sys)/real 8.2 17.1 E.g. the build was approximately 45% faster in real time. On machines with less cores, or with lower -j settings, the speedup will not be as impressive. But at least you can now almost max out a machine with buildworld! Submitted by: jilles MFC after: 2 weeks END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-26T22:46:03.763376Z K 7 svn:log V 945 Correct ARP update handling when the routes for network interfaces are restricted to a single FIB in a multifib system. Restricting an interface's routes to the FIB to which it is assigned (by setting net.add_addr_allfibs=0) causes ARP updates to fail with "arpresolve: can't allocate llinfo for x.x.x.x". This is due to the ARP update code hard coding it's lookup for existing routing entries to FIB 0. sys/netinet/in.c: When dealing with RTM_ADD (add route) requests for an interface, use the interface's assigned FIB instead of the default (FIB 0). sys/netinet/if_ether.c: In arpresolve(), enhance error message generated when an lla_lookup() fails so that the interface causing the error is visible in logs. tests/sys/netinet/fibs_test.sh Clear ATF expected error. PR: kern/167947 Submitted by: Nikolay Denev (previous version) Reviewed by: melifaro MFC after: 3 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-03-26T23:34:27.206203Z K 7 svn:log V 526 Add an ioctl to suspend a virtual machine (VM_SUSPEND). The ioctl can be called from any context i.e., it is not required to be called from a vcpu thread. The ioctl simply sets a state variable 'vm->suspend' to '1' and returns. The vcpus inspect 'vm->suspend' in the run loop and if it is set to '1' the vcpu breaks out of the loop with a reason of 'VM_EXITCODE_SUSPENDED'. The suspend handler waits until all 'vm->active_cpus' have transitioned to 'vm->suspended_cpus' before returning to userspace. Discussed with: grehan END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-26T23:57:09.941404Z K 7 svn:log V 151 MFC r262991: Correct a typo in nlm_find_host_by_addr(): the intention of the code is to give "" rather than comparing the buffer against it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-26T23:58:17.837975Z K 7 svn:log V 151 MFC r262991: Correct a typo in nlm_find_host_by_addr(): the intention of the code is to give "" rather than comparing the buffer against it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-27T00:23:44.908160Z K 7 svn:log V 640 MFC r262501: Refresh our implementation of OpenBSD's Blowfish password format. Notable changes: - Support of $2b$ password format to address a problem where very long passwords (more than 256 characters, when an integer overflow would happen and cause the length to wrap at 256). - Updated pseudo code in comments to reflect the reality. - Removed our local shortcut of processing magic string and rely on the centralized and tigntened validation. - Diff reduction from upstream. For now we are still generating the older $2a$ format of password but we will migrate to the new format once the format is formally finalized. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-27T00:24:48.327292Z K 7 svn:log V 640 MFC r262501: Refresh our implementation of OpenBSD's Blowfish password format. Notable changes: - Support of $2b$ password format to address a problem where very long passwords (more than 256 characters, when an integer overflow would happen and cause the length to wrap at 256). - Updated pseudo code in comments to reflect the reality. - Removed our local shortcut of processing magic string and rely on the centralized and tigntened validation. - Diff reduction from upstream. For now we are still generating the older $2a$ format of password but we will migrate to the new format once the format is formally finalized. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T01:18:58.043425Z K 7 svn:log V 168 Update documentation according to yesterday's changes. I missed committing this file because I ran "svn commit" from the wrong subdirectory. Yes, yes, git user here. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T01:27:57.732127Z K 7 svn:log V 243 Add nginx configuration. Set up nginx in the same way in all cluster machines and install the same static files. While doing this, remove a spurious comment that sneaked in in the last change that prevented autotest_node from being started. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T01:30:33.014989Z K 7 svn:log V 74 Fix shtk presence validation by actually aborting the build when missing. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T01:32:44.454719Z K 7 svn:log V 185 Add configuration files for kyua3. These files are a verbatim copy of the files for kyua1. This is because I intend to replace kyua1 with kyua3 and leave kyua1 as the canary machine. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T01:38:17.038998Z K 7 svn:log V 148 Determine whether to use svnlite or svn. Cluster machines are configured with WITH_SVN=yes, so let's not assume that the binary is called svnlite. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T01:41:18.357014Z K 7 svn:log V 151 Fix nginx setup as part of the "all" target. That's it. "./setup all" on a fresh host now works properly to create a full clone of an autotest node. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-27T03:20:47.094390Z K 7 svn:log V 4564 MFC revisions 253333,256181,256321-256323,256325,256330,256333,256335, 256391,257755-257756,257780-257785,257787-257793,258029,258263,258266, 258355,258360,258400-258401,258406-258407,258418,258430,258439,258458, 258589-258590,258592,258727-258728,258785,259054,260894,260899,262895- 262902,262904,262908-262910,262982,262984,263133-263137,263139,263141, 263144-263150, and (partially) 263249 (76 revisions; summarized below)... r253333: Re-implement $probe_only aspect of f_media_get_TYPE() r256181: Centralized [X]dialog(1) exit codes added to `dialog.subr' r256321: Add support for obtaining the capacity of disks. r256322: Fix include statements in strings.subr r256323: Add USE_DIALOG global r256325: Add keymap.subr r256330: Fix f_dialog_*_constrain() to support NULL variable arguments r256333: Fixes and additions to `device.subr' r256335: Add f_expand_number() (shadowing expand_number(3)) r256391: Fix signed integer overflow detection in f_expand_number() r257755: Update f_host_lookup() to support SRV records r257756: Fix spurious error message "f_media_shutdown_http: not found" r257780: Whitespace r257781: Make use of f_isset() r257782: Add DEBUG_INITIALIZE_FILE global boolean r257783: Add f_show_err() (like f_show_msg() but for errors) r257784: Add f_eval_catch() for debug and displaying errors automatically r257785: Fix dialog auto-sizing when running in a pipe-chain r257787: Fix a silly bug r257788: Add some helpful debugging r257789: Comments r257790: Fix a bug when using printf r257791: Add f_sprintf() and f_vsprintf() r257792: Comments r257793: Fix an off-by-one error r258029: Comments r258263: Move function name declarations/usages r258266: Always shutdown media and don't eject CDROM r258355: "Tim trailing" -> "Trim Trailing" r258360: Whitespace, style, sub-shells, and variable names r258400: Add new `includes' module for exploring the API r258401: Add `-d' flag [to includes module] for printing function descrs r258406: Make `-d' flag [of include module] implicitly enable `-f' r258407: Update function description for f_validate_hostname() r258418: Quote the interface name for good measure [in device.subr] r258430: Remove unused line [in device.subr] -- cruft from SVN r258360 r258439: Fix command-line only modules [dot, includes] to not use f_die() r258458: Improve network device scanning r258589: Add missing `$' before `pgm' in syscons_ttys module r258590: Add missing newline [in includes module] r258592: Sort messages r258727: Fix display output issue with `includes' module r258728: Fix [another] display output issue with `includes' module r258785: Sort function output [from includes module] on name of function r259054: Performance and debugging enhancements r260894: Optimize f_expand_number() (submitted by Christoph Mallon) r260899: Dummy commit r262895: Allow dispatched reswords to carry arguments r262896: Add missing local declaration [in common.subr] r262897: Fix a type in a comment [in common.subr] r262898: Fix incorrect return status [from f_getvar() in common.subr] r262899: Make f_show_err() [of common.subr] non-fatal r262900: Centralize function name [in f_script_load() of script.subr] r262901: Prevent localization of __number in f_expand_number() r262902: Add a comment above f_replaceall() [of strings.subr] r262904: Rewrite groupmgmt -- hooking it into the scripting system r262908: Change dispatch words from group* to *Group for backward compat r262909: Fix copy/paste error in a comment [in goupadd module] r262910: Take a group name on the command-line [of groupdel] if available r262982: Whitespace [in group_input.subr] r262984: Remove vestigial global [in group_input.subr] r263133: Remove extraneous debug statement r263134: Add debug statement just before attempting to exec a module r263135: Comments [in device.subr] r263136: Update copyright r263137: Fix future namespace issues [in dialog.subr] r263139: Remove useless NULL strings ('') in some compound strings r263141: Fix broken f_isinteger() [of strings.subr] r263144: Fix a code-type that prevented auto-sizing [in group_input.subr] r263145: Fix comments and whitespace [in new group.subr] r263146: Reduce dialog sleep cycle for confirmation dialogs [in group.subr] r263147: Fix bug preventing pw(8) errors from appearing [in group.subr] r263148: Check arguments when running non-interactive [in group.subr] r263149: Add i18n input protection [to group.subr and group_input.subr] r263150: Rewrite usermgmt -- hooking it into the scripting system r263249: (partial) Add old group_input and user_input to ObsoleteFiles.inc END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T04:27:42.059879Z K 7 svn:log V 27 Push new configs to kyua3. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T04:30:07.607570Z K 7 svn:log V 197 Make sure the cron job can find all the binaries that it needs. Set the PATH to include /usr/local so that we can execute svn and git properly. Oh, and also make sure to install git on the host. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2014-03-27T06:08:07.031792Z K 7 svn:log V 129 To check polarity, check ACPI_MADT_POLARITY_CONFORMS, instead of ACPI_MADT_TRIGGER_CONFORMS. PR:amd64/188010 Submitted by: syuu END K 10 svn:author V 8 takawata K 8 svn:date V 27 2014-03-27T06:36:38.748933Z K 7 svn:log V 308 Strict value checking will cause problem. Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD. This behaviour is bug-compatible with Linux-3.13.5. References: http://d.hatena.ne.jp/syuu1228/20140326 http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094 Submitted by: syuu END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-27T06:55:26.650179Z K 7 svn:log V 58 MFC r263291 and r263292: Update USB template manual page. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T06:56:11.659287Z K 7 svn:log V 495 Turn kyua1 into a canary host for autotest. kyua1 will now run bleeding-edge autotest+shtk, will only run tests for amd64 HEAD and will run release builds with NO_CLEAN=yes set for faster turnaround. All changes to autotest should go through this machine first and only be pushed to the other workers when they are confirmed to be working for at least one full release build. The previous responsibilities of kyua1 have been migrated to kyua3 and the index page has been updated accordingly. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-27T06:57:32.444301Z K 7 svn:log V 58 MFC r263291 and r263292: Update USB template manual page. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-27T06:59:56.212990Z K 7 svn:log V 519 MFC r263423: Try to resolve a possible deadlock when detaching USB devices which create character devices. The deadlock can happen if an application is issuing IOCTLs which require USB refcounting, at the same time the USB device is detaching. There is already a counter in place in the USB device structure to detect this situation, but it was not always checked ahead of invoking functions that might destroy character devices, like detach, set configuration, set alternate interface or detach active kernel driver. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-27T07:03:50.886533Z K 7 svn:log V 519 MFC r263423: Try to resolve a possible deadlock when detaching USB devices which create character devices. The deadlock can happen if an application is issuing IOCTLs which require USB refcounting, at the same time the USB device is detaching. There is already a counter in place in the USB device structure to detect this situation, but it was not always checked ahead of invoking functions that might destroy character devices, like detach, set configuration, set alternate interface or detach active kernel driver. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-27T07:06:29.798237Z K 7 svn:log V 519 MFC r263423: Try to resolve a possible deadlock when detaching USB devices which create character devices. The deadlock can happen if an application is issuing IOCTLs which require USB refcounting, at the same time the USB device is detaching. There is already a counter in place in the USB device structure to detect this situation, but it was not always checked ahead of invoking functions that might destroy character devices, like detach, set configuration, set alternate interface or detach active kernel driver. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-27T08:44:33.991018Z K 7 svn:log V 37 Plug potential session fixation hole END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-27T08:44:59.514313Z K 7 svn:log V 28 Sample Apache configuration END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-27T08:47:23.192950Z K 7 svn:log V 39 Declare our use of the DateTime plugin END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-27T08:47:50.431818Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-27T08:48:19.338746Z K 7 svn:log V 22 Clean up and document END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-27T08:52:26.318458Z K 7 svn:log V 36 Merge head r258543 through r263801. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-27T08:52:48.098484Z K 7 svn:log V 24 Tentative 2014 schedule END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-03-27T09:24:09.395613Z K 7 svn:log V 280 Fix crash on resume in vt(9). Statically allocated terminal window have not initialized callout handler, so we have to initialize it even for existing window if it is console window. Reported by: gjb and many Tested by: gjb MFC after: 7 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-27T10:15:35.730359Z K 7 svn:log V 134 Rework cfiscsi_datamove_in() to obey expected data transfer length received from the initiator. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-27T11:10:13.862744Z K 7 svn:log V 65 Remove ctl_mem_pool.{c,h}. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-27T11:12:35.441370Z K 7 svn:log V 167 Update build(7) with LOCAL_* vars PR: docs/178286 Submitted by: Garrett Cooper Sponsored by: EMC / Isilon Storage Division MFC after: 1 week END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T12:59:23.709140Z K 7 svn:log V 63 kyua1 is the one supposed to use NO_CLEAN=yes, not the others. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-27T13:15:22.262188Z K 7 svn:log V 112 Fix path to the run.pl script to let these tests run. Submitted by: Peel, Casey Obtained from: freebsd-testing END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-27T13:57:00.945867Z K 7 svn:log V 438 Move ia64 efi.h to sys in preparation for amd64 UEFI support Prototypes specific to ia64 have been left in this file for now, under __ia64__, rather than moving them to a new header under sys/ia64. I anticipate that (some of) the corresponding functions will be shared by the amd64, arm64, i386, and ia64 architectures, and we can adjust this as EFI support on other than ia64 continues to develop. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-03-27T14:07:36.794784Z K 7 svn:log V 215 Revert r263321. vt(9) crash on resume fixed, but Xorg still have damaged screen on resume (at least with i915kms), so better to switch to VT0 before suspend and back on resume. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-03-27T15:58:18.285455Z K 7 svn:log V 581 MFC 219886, 226100, 226111, 226341, 242529, 259015, 259016, 259019, 259049, 259071, 259102, 259110, 259129, 259130, 259178, 259179, 259203, 259221, 259261, 259532, 259615, 259650, 259651, 259667, 259680, 259727, 259761, 259772, 259776, 259777, 259830, 259882, 259915, 260160, 260449, 260450, 260688, 260888, 260953, 261269, 261547, 261551, 261552, 261553, 261585 o Merge vt(4) virtual terminal (a.k.a. newcons) to stable/9. o Merge teken updates. o Add few more tty methods required by vt(4). o Update syscons(4) to work with fresh teken. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-03-27T16:00:53.563747Z K 7 svn:log V 91 Bump __FreeBSD_version to reflect presence ov vt(4). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-27T16:28:46.990206Z K 7 svn:log V 65 Document r263817, r263818. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-27T16:47:35.088678Z K 7 svn:log V 1206 MFC r262867 Fix PR kern/185813 "SOCK_SEQPACKET AF_UNIX sockets with asymmetrical buffers drop packets". It was caused by a check for the space available in a sockbuf, but it was checking the wrong sockbuf. sys/sys/sockbuf.h sys/kern/uipc_sockbuf.c Add sbappendaddr_nospacecheck_locked(), which is just like sbappendaddr_locked but doesn't validate the receiving socket's space. Factor out common code into sbappendaddr_locked_internal(). We shouldn't simply make sbappendaddr_locked check the space and then call sbappendaddr_nospacecheck_locked, because that would cause the O(n) function m_length to be called twice. sys/kern/uipc_usrreq.c Use sbappendaddr_nospacecheck_locked for SOCK_SEQPACKET sockets, because the receiving sockbuf's size limit is irrelevant. tests/sys/kern/unix_seqpacket_test.c Now that 185813 is fixed, pipe_128k_8k fails intermittently due to 185812. Make it fail every time by adding a usleep after starting the writer thread and before starting the reader thread in test_pipe. That gives the writer time to fill up its send buffer. Also, clear the expected failure message due to 185813. It actually said "185812", but that was a typo. PR: kern/185813 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-27T16:55:12.823610Z K 7 svn:log V 195 Pull in the VT kernel configuration files, missed in r263817 (MFC r260888). This is a direct commit to stable/9, and the original mergeinfo already exists. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-27T18:23:02.384640Z K 7 svn:log V 321 amd64: Parse the EFI memory map if present With this change (and loader.efi from the projects/uefi branch) we can now boot under qemu using the OVMF UEFI firmware image with the limitation that a serial console is required. (This is largely r246337 from the projects/uefi branch.) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-27T19:04:15.020334Z K 7 svn:log V 1189 MFC r258311 opensolaris/uts/common/dtrace/fasttrap.c Fix several problems that can cause panics on kldload and kldunload. * kproc_create(fasttrap_pid_cleanup_cb, ...) gets called before fasttrap_provs.fth_table gets allocated. This can lead to a panic on module load, because fasttrap_pid_cleanup_cb references fasttrap_provs.fth_table. Move kproc_create down after the point that fasttrap_provs.fth_table gets allocated, and modify the error handling accordingly. * dtrace_fasttrap_{fork,exec,exit} weren't getting NULLed until after fasttrap_provs.fth_table got freed. That caused panics on module unload because fasttrap_exec_exit calls fasttrap_provider_retire, which references fasttrap_provs.fth_table. NULL those function pointers earlier. * There wasn't any code to destroy the fasttrap_{tpoints,provs,procs}.fth_table mutexes on module unload, leading to a resource leak when WITNESS is enabled. Destroy those mutexes during fasttrap_unload(). Sponsored by: Spectra Logic Corporation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-27T19:06:33.476046Z K 7 svn:log V 58 Merge ^/head@263822 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-27T19:16:28.046815Z K 7 svn:log V 142 Merge r263005 from head SVN did not automatically track the move from boot/i386/efi to boot/amd64/efi. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-27T19:43:38.821884Z K 7 svn:log V 81 Update EFI framebuffer handoff from loader Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-27T19:53:37.421401Z K 7 svn:log V 58 Merge ^/head@263826 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-27T19:59:33.074567Z K 7 svn:log V 69 Update for r263815 and r263826 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T20:10:26.948093Z K 7 svn:log V 99 Add scheme_max_secsz() for returning the maximum sector size supported by the partitioning scheme. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-27T20:13:53.322412Z K 7 svn:log V 413 MFC: r263121 Re-format the license to conform to our BSD license template as much as possible. This does not change the wording in any way. Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. While the clause itself mentions Lawrence Berkeley Laboratory, UCB is the sole copyright holder of this file. Reviewed by: imp, emaste, eadler END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T20:14:40.820335Z K 7 svn:log V 206 1. Add -v option to increase vebosity levels 2. Fix copy-paste bug -- acrually check secsz for being a power of 2 3. Check secsz and blksz parameters 4. Print the sector and block size when -v is given END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-27T20:14:50.667035Z K 7 svn:log V 416 MFC: r263121 Re-format the license to conform to our BSD license template as much as possible. This does not change the wording in any way. Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. While the clause itself mentions Lawrence Berkeley Laboratory, UCB is the sole copyright holder of this file. Reviewed by: imp, emaste, eadler END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-27T20:15:33.913063Z K 7 svn:log V 104 Enable parallel building for gnu/usr.bin and usr.bin/clang too. MFC after: 2 weeks X-MFC-With: r263778 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-27T20:15:35.913045Z K 7 svn:log V 416 MFC: r263121 Re-format the license to conform to our BSD license template as much as possible. This does not change the wording in any way. Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. While the clause itself mentions Lawrence Berkeley Laboratory, UCB is the sole copyright holder of this file. Reviewed by: imp, emaste, eadler END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-27T20:19:11.029542Z K 7 svn:log V 364 MFC: r262484 In puthdr(), start the ELF .data section on a new page, as this is what btxldr expects (.set MEM_DATA,start+0x1000 in btxldr.S). This makes resulting ELF binaries bootable with grub, gptboot and boot2. PR: 153801 Submitted by: Gleb Kurtsou Tested by: Ruben Kerkhof Glanced at by: jhb, peter END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-27T20:20:20.720537Z K 7 svn:log V 383 MFC: r262484 In puthdr(), start the ELF .data section on a new page, as this is what btxldr expects (.set MEM_DATA,start+0x1000 in btxldr.S). This makes resulting ELF binaries bootable with grub, gptboot and boot2. PR: 153801 Submitted by: Gleb Kurtsou Tested by: Ruben Kerkhof Glanced at by: jhb, peter END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-27T20:21:13.187590Z K 7 svn:log V 383 MFC: r262484 In puthdr(), start the ELF .data section on a new page, as this is what btxldr expects (.set MEM_DATA,start+0x1000 in btxldr.S). This makes resulting ELF binaries bootable with grub, gptboot and boot2. PR: 153801 Submitted by: Gleb Kurtsou Tested by: Ruben Kerkhof Glanced at by: jhb, peter END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-27T20:32:58.587483Z K 7 svn:log V 165 MFC r263692: Add a note to UPDATING about customized kernel configuration files now requiring -gdwarf-2 for debug info, when using clang 3.4. Suggested by: adrian END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-27T20:46:46.645719Z K 7 svn:log V 242 MFC r263694: Apply a temporary band-aid for building devd with clang 3.4, libstdc++ and -Wsystem-headers enabled (which is the default for any non-zero WARNS level, crazily enough!). This is primarily meant to be MFC'd as soon as possible. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-27T21:19:05.732506Z K 7 svn:log V 68 Update for EFI header changes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T21:32:02.496687Z K 7 svn:log V 39 Fix writing the start and size fields. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-27T21:43:00.128362Z K 7 svn:log V 76 Update system man pages for s/capability.h/capsicum.h/. MFC after: 3 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T22:39:22.356617Z K 7 svn:log V 102 Remove trksz, which was hardcoded to 1, and replace it by secs, which can be set on the command line. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T22:45:05.791212Z K 7 svn:log V 553 1. When calculating block addresses, round to the physical block size. 2. Replace scheme_first_block() & scheme_next_block() with scheme_metadata(). When we round to block sizes, we can't reliably fixup any miscalculations. 3. In scheme_write, calculate ncyls (number of cyclinders), based on the total size, sectors/track and number of heads. 4. Add verbosity when constructing the partitions. This includes the starting block address and size in bytes and blocks. 5. Add verbosity about the sectors/track and number of heads. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T22:48:48.259376Z K 7 svn:log V 479 Give vtoc8 a change to work: when setting the physical block size to 4K, sectors/track to 8 and number or heads to 1, partitions that are block aligned are also cyclinder aligned. With that trick, fix the vtoc8: 1. Set physcyls, ncyls, altcyls, nheads and nsecs appropriately. 2. Truncate the image size to exactly ncyls * nheads * nsecs * secsz. 3. Properly write the cylinder number as the start of the partition. 4. Oh, and actually calculate the checksum of the label... END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-27T22:52:26.893762Z K 7 svn:log V 80 sh: Fix memory leak when trying to set a read only variable. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-27T22:57:23.415079Z K 7 svn:log V 84 sh: Fix memory leak with an assignment before a regular builtin. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T23:15:07.343344Z K 7 svn:log V 30 Remember operator precedence? END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T23:16:18.414242Z K 7 svn:log V 126 Properly fill in d_nsectors, d_ntracks, d_ncylinders & d_secpercyl. Round the image size to a multiple of the cyclinder size. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-27T23:44:16.786040Z K 7 svn:log V 68 Remove the -z flag. Let's just write a sparse file whenever we can. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-03-27T23:50:54.835286Z K 7 svn:log V 24 Import ACPICA 20140325. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-03-27T23:51:39.363712Z K 7 svn:log V 21 Tag ACPICA 20140325. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-28T01:13:08.674889Z K 7 svn:log V 69 MFC r259180 (pjd) + r263123: Hide a few messages under bootverbose. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T01:50:56.487091Z K 7 svn:log V 38 Partitions start on track boundaries. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T01:51:45.485416Z K 7 svn:log V 38 Partitions start on track boundaries. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T01:52:48.668430Z K 7 svn:log V 41 Partitions start on cylinder boundaries. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T01:55:02.210107Z K 7 svn:log V 111 Write sparse files by default (when SPARSE_FILE is defined). While here, detect errors when writing to stdout. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-28T02:06:51.339096Z K 7 svn:log V 31 Push clean builds to kyua[23]. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2014-03-28T02:38:14.225826Z K 7 svn:log V 108 Change default logic to CONFORM because this routine is shared with SCI polarity setting. Reviewed by: jhb END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-28T03:15:40.004115Z K 7 svn:log V 79 Fix crontab patching by not killing everything else that is supposed to exist! END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-28T03:49:49.654437Z K 7 svn:log V 69 Push crontab patching fixes to kyua[23]. Verified working on kyua1. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T04:14:40.607473Z K 7 svn:log V 169 Write verbosity to stderr. The image may be written to stdout. While here, fix writing to stderr, by not calling errc() unconditionally, but only when there's an error. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-28T04:19:06.599130Z K 7 svn:log V 95 Dereference nonexistent md2(3) manual. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T04:42:34.814734Z K 7 svn:log V 78 Use :- and not :! for pipes. ! needs to be escaped, which adds to the hassle. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T04:43:36.476582Z K 7 svn:log V 19 Flesh-out manpage. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T04:51:18.611090Z K 7 svn:log V 74 Define SPARSE_WRITE to enable writing sparse files. Output compares ok... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-28T05:06:12.716962Z K 7 svn:log V 60 Make mkimg a general command and not a maintenance command. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-28T08:23:39.114923Z K 7 svn:log V 155 Skip host.conf when auto-detecting config files for iterate.sh. This is a hack, but is the easiest to get out of a little problem in the configuration... END