ƒ²m257707 170 228 197 202 260 197 450 131 140 516 691 691 765 739 199 144 197 166 180 177 215 173 175 494 241 118 184 147 290 311 385 258 190 158 195 106 365 183 166 361 234 237 301 306 195 168 152 123 260 311 232 879 121 636 636 135 163 475 475 157 161 235 153 282 687 372 260 216 155 155 426 487 193 419 107 155 343 294 659 299 136 197 159 105 187 223 105 157 262 125 128 196 144 171 196 168 169 262 231 684 279 264 234 127 183 195 545 156 289 300 254 199 168 305 279 531 233 214 347 590 201 502 120 272 153 190 318 143 483 410 404 273 345 441 279 245 4131 297 230 235 205 401 602 461 428 440 818 185 1520 179 369 119 531 158 200 536 238 255 219 117 299 539 145 245 246 135 115 1664 138 307 544 K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-11-05T15:54:52.926010Z K 7 svn:log V 129 MFC r257534: Create a unique unit number for each controller and namespace cdev. Sponsored by: Intel Approved by: re (glebius) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-11-05T15:56:15.671445Z K 7 svn:log V 99 MFC r257531: Do not exit with error status after printing data for perftest. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-11-05T15:57:24.393439Z K 7 svn:log V 103 MFC r257534: Create a unique unit number for each controller and namespace cdev. Sponsored by: Intel END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-05T16:54:25.856695Z K 7 svn:log V 163 Fix fallout from r257223. Since pf_test_state_icmp() can call pf_icmp_state_lookup() twice, we need to unlock previously found state. Reported & tested by: gavin END K 10 svn:author V 3 pgj K 8 svn:date V 27 2013-11-05T17:19:51.058893Z K 7 svn:log V 104 Michael Reifenberger (mr) has requested his commit bit be reactivated. Welcome back! Approved by: core END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-11-05T18:27:25.785682Z K 7 svn:log V 352 Protect the "ratectl_ch" callout in the "run" driver by the "run" softc's "sc->sc_mtx" mutex. Currently the callout was marked multi-processor safe, which is fine, but it is better to start/stop/reset callouts while holding the "run" drivers own mutex. While at it add a missing "ULL" at end of the 64-bit unsigned integer constant. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-05T19:17:19.711698Z K 7 svn:log V 35 Fix build. Pointy hat to: glebius END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-11-05T19:40:34.869398Z K 7 svn:log V 45 Move dwc_otg_fdt.c to the global files file. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-11-05T19:49:53.098081Z K 7 svn:log V 423 Don't explicitly invoke ifn_start on new child interfaces (vaps and subinterfaces) after they are created. Interfaces are already started by devd invoking /etc/pccard_ether when they are created, so the explicit calls in childif_create() resulted in interfaces being started twice. Note that interfaces created via cloned_interfaces are not explicitly started but depend on the devd mechanism already. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-11-05T19:54:13.586474Z K 7 svn:log V 598 MFC 253656: Enhance the description of NOTE_TRACK: - NOTE_TRACK has never triggered a NOTE_TRACK event from the parent pid. If NOTE_FORK is set, the listener will get a NOTE_FORK event from the parent pid, but not a separate NOTE_TRACK event. - Explicitly note that the event added to monitor the child process preserves the fflags from the original event. - Move the description of NOTE_TRACKERR under NOTE_TRACK as it is not a bit for the user to set (which is what this list pupports to be). Also, explicitly note that if an error occurs, the NOTE_CHILD event will not be generated. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-11-05T19:54:35.830526Z K 7 svn:log V 598 MFC 253656: Enhance the description of NOTE_TRACK: - NOTE_TRACK has never triggered a NOTE_TRACK event from the parent pid. If NOTE_FORK is set, the listener will get a NOTE_FORK event from the parent pid, but not a separate NOTE_TRACK event. - Explicitly note that the event added to monitor the child process preserves the fflags from the original event. - Move the description of NOTE_TRACKERR under NOTE_TRACK as it is not a bit for the user to set (which is what this list pupports to be). Also, explicitly note that if an error occurs, the NOTE_CHILD event will not be generated. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-05T19:58:40.359348Z K 7 svn:log V 668 MFC r257539: When zero'ing out a buffer, make sure we are using right size. Without this change, in the worst but unlikely case scenario, certain administrative operations, including change of configuration, set or delete key from a GEOM ELI provider, may leave potentially sensitive information in buffer allocated from kernel memory. We believe that it is not possible to actively exploit these issues, nor does it impact the security of normal usage of GEOM ELI providers when these operations are not performed after system boot. Security: possible sensitive information disclosure Submitted by: Clement Lecigne Approved by: re (glebius) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-05T20:00:17.528878Z K 7 svn:log V 642 MFC r257539: When zero'ing out a buffer, make sure we are using right size. Without this change, in the worst but unlikely case scenario, certain administrative operations, including change of configuration, set or delete key from a GEOM ELI provider, may leave potentially sensitive information in buffer allocated from kernel memory. We believe that it is not possible to actively exploit these issues, nor does it impact the security of normal usage of GEOM ELI providers when these operations are not performed after system boot. Security: possible sensitive information disclosure Submitted by: Clement Lecigne END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-05T21:47:00.960034Z K 7 svn:log V 106 Fix .Dd after r257646. DST affects the day by one hour, but the number of days in the week stay the same. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-11-05T22:33:45.703451Z K 7 svn:log V 48 MFC r256169 (by jimharris): Fix the LINT build. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-05T22:57:05.071120Z K 7 svn:log V 104 Enable splash on Mute flag. TODO: use tunable for control splash. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-05T22:59:11.793036Z K 7 svn:log V 74 Increase history size to 500 lines. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-05T23:00:26.740057Z K 7 svn:log V 88 Define default size for early console to 640x480. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-05T23:01:57.527841Z K 7 svn:log V 85 Export vt_fb VT driver methods to allow reuse. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-05T23:09:36.195690Z K 7 svn:log V 122 Early console with FDT/OFW support. TODO - done PPC, SPARC64 and FDT-less variants. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-05T23:12:53.272047Z K 7 svn:log V 81 Allow to use fb_probe() outside of driver. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-05T23:16:52.468612Z K 7 svn:log V 83 Enable vt_early_fb driver for i.MX515 build. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-11-06T00:25:17.503405Z K 7 svn:log V 398 Add the VM name to the process name with setproctitle(). Remove the VM name from some of the thread-naming calls since it is now in the proc title. Slightly modify the thread-naming for the net and block threads. This improves readability when using top/ps with the -a and -H options on a system with a large number of bhyve VMs. Requested by: Michael Dexter Reviewed by: neel MFC after: 4 weeks END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-06T00:32:40.730857Z K 7 svn:log V 148 Do not build aicasm with the cross-tools/kernel-toolchain, instead add a proper kernel-tools step/target modeled after the world build-tools stuff. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-06T01:14:00.399063Z K 7 svn:log V 18 Fix build on GCC. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-11-06T02:49:16.068623Z K 7 svn:log V 90 Reading the RT2860_ASIC_VER_ID register is not needed and returns completely bogus value. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-06T03:36:43.687988Z K 7 svn:log V 55 Revert r257691, r257645: Let amd64/amd64 build again. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-06T04:38:49.173332Z K 7 svn:log V 197 Revert r257730: Make head/ buildable again, instead of spewing garbage like: /src/gnu/lib/csu/../../../contrib/gcc/config/rs6000/crtsavres.asm:280: Error: no such instruction: `lwz 28,-16(11)' END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-11-06T05:26:15.995965Z K 7 svn:log V 218 Remove the gross hack for the Octeon Simple Executive to the least intrusive place for it to be: the octeon std file. Fix a comment while I'm here. Allow for future architectural specific flags. Reviewed by: jmallet@ END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-11-06T07:46:10.154661Z K 7 svn:log V 292 - Remove mac_get_fd/mac_set_fd - those are not syscalls. The __mac_get_fd() and __mac_set_fd() syscalls are listed earlier. - Correct typo in syscall name. It should be sched_rr_get_interval, not sched_rr_getinterval. Submitted by: David Drysdale MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-06T08:36:08.098435Z K 7 svn:log V 161 Fix my braino in r257692. For SIOCG*ADDR we don't need exact match on specified address, actually in most cases the address isn't specified. Reported by: peter END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-06T09:41:19.536431Z K 7 svn:log V 98 Add common bus_space tag definition shared for most supported ARMv6/v7 SoCs. Tested by: ian, ray END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-06T09:44:32.898311Z K 7 svn:log V 66 Switch to use common ARMv6/v7 bus_space tag. Tested by: ian, ray END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-06T10:31:52.895441Z K 7 svn:log V 102 Switch allwinner A10/A20 and rockchip ports to use common ARMv6/v7 bus_space tag. Tested by: ganbold END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-06T11:16:05.714075Z K 7 svn:log V 14 MFC @r257740. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-11-06T11:42:45.955138Z K 7 svn:log V 267 Regenerate src.conf(5) after r257573 Direct commit to stable/10 with no mergeinfo as the head change to regenerate src.conf(5) for this was missed after r257440 until r257444 which brought in unrelated changes. Discussed with: gjb Approved by: re (gjb, implicit) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-11-06T12:57:01.264004Z K 7 svn:log V 86 Check for "ieee80211_vap_setup()" failure in all USB WLAN drivers. MFC after: 1 week END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-06T14:24:24.442113Z K 7 svn:log V 74 DRM2 have to know how to use fb_if. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-06T14:33:37.622960Z K 7 svn:log V 260 Make OF_nextprop() work correctly for FDT by using the libfdt fdt_next_property_offset() API. The old code would sometimes (e.g. on the device tree supplied by the RB800 boot loader) get confused and stop partway through listing properties. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-06T14:36:38.451976Z K 7 svn:log V 133 Do not panic if pmap_mincore() is called. This prevents crashing userland binaries from bringing down the kernel. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-06T14:38:53.904958Z K 7 svn:log V 136 An addendum: it is possible, though of questionable utility, for a node to have no properties at all. Do the right thing in such cases. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-11-06T15:32:37.177078Z K 7 svn:log V 203 Implement a working write region function to speed up loading of the firmware. You can test this change by switching the "#if 1" statement right above in the patched code to "#if 0" ! MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-06T15:49:31.315501Z K 7 svn:log V 213 Switch to using pkg(8) for the doc install in bsdinstall(8). This also bootstraps the system with pkg(8) for future use. PR: 183488 Submitted by: Joe Ennis MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-11-06T15:56:03.986638Z K 7 svn:log V 98 Make the powerpc dumpsys() more consistent with the other architectures. MFC after: 10.0-RELEASE END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-06T16:28:26.956157Z K 7 svn:log V 68 Add definition for the Atheros 8021 gigabit PHY. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-11-06T16:48:53.976482Z K 7 svn:log V 57 Import lldb as of SVN r194122 Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-11-06T16:53:10.802606Z K 7 svn:log V 28 Tag (stripped) lldb r194122 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-11-06T17:20:49.279500Z K 7 svn:log V 164 Don't return ENOBUFS if the transmit path handles the frame but queues it (eg in power save.) This is definitely an MFC candidate for 10.0-REL. MFC after: 1 week END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-06T18:26:38.285837Z K 7 svn:log V 215 Add support for dereferencing SRV records via f_host_lookup(). Takes the media choice into consideration for determining the appropriate SRV records to query (e.g., _http._tcp, _ftp._tcp, _nfs.tcp, _nfs.udp, etc.). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-06T18:43:16.277935Z K 7 svn:log V 136 Fix a bug that resulted in spurious error message "f_media_shutdown_http: not found" from /usr/libexec/bsdconfig/030.packages/packages. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-11-06T19:14:49.694789Z K 7 svn:log V 786 make it so that from/to can be missaligned as it can happen (the geli regression manages to do it)... We use a packed struct to coerce gcc/clang into producing unaligned loads (there is not packed pointer attribute, otherwise this would be easier)... use _storeu_ and _loadu_ when using the structure is overkill... be better at using types properly... Since we allocate our own key schedule and make sure it's aligned, use the __m128i type in various arguments to functions... clang ignores __aligned on prototypes and gcc errors on them, leave them in comments to document that these function arguments are require to be aligned... about all that changes is movdqa -> movdqu from reading the diff of the disassembly output... Noticed by: symbolics at gmx.com MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-11-06T19:18:39.007285Z K 7 svn:log V 27 remove a debugging message END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-11-06T19:33:25.711663Z K 7 svn:log V 543 MFC 254072: Don't emit a spurious EVFILT_PROC event with no fflags set on process exit if NOTE_EXIT is not being monitored. The rationale is that a listener should only get an event for exit() if they registered interest via NOTE_EXIT. This matches the behavior on OS X. - Don't save the exit status on process exit unless NOTE_EXIT is being monitored. - Add an internal EV_DROP flag that requests kqueue_scan() to free the knote without signalling it to userland and use this when a process exits but the fflags in the knote is zero. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-11-06T19:35:06.861603Z K 7 svn:log V 543 MFC 254072: Don't emit a spurious EVFILT_PROC event with no fflags set on process exit if NOTE_EXIT is not being monitored. The rationale is that a listener should only get an event for exit() if they registered interest via NOTE_EXIT. This matches the behavior on OS X. - Don't save the exit status on process exit unless NOTE_EXIT is being monitored. - Add an internal EV_DROP flag that requests kqueue_scan() to free the knote without signalling it to userland and use this when a process exits but the fflags in the knote is zero. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-06T19:46:20.636473Z K 7 svn:log V 39 Provide compat layer for OSIOCAIFADDR. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-06T19:47:23.198220Z K 7 svn:log V 67 Merge r227738, r228574: Fill in sin_family in ioctl() arguments. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-11-06T20:58:04.347157Z K 7 svn:log V 382 MFC 254287: Some small cleanups to the fixes in r180340: - Set NOTE_TRACKERR before running filt_proc(). If the knote did not have NOTE_FORK set in fflags when registered, then the TRACKERR event could miss being posted. - Don't pass the pid in to filt_proc() for NOTE_FORK events. The special handling for pids is done knote_fork() directly and no longer in filt_proc(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-11-06T21:00:18.641149Z K 7 svn:log V 382 MFC 254287: Some small cleanups to the fixes in r180340: - Set NOTE_TRACKERR before running filt_proc(). If the knote did not have NOTE_FORK set in fflags when registered, then the TRACKERR event could miss being posted. - Don't pass the pid in to filt_proc() for NOTE_FORK events. The special handling for pids is done knote_fork() directly and no longer in filt_proc(). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-11-06T21:42:58.119014Z K 7 svn:log V 63 the number of slots used by a packet is NS_RFRAGS() not ns_cnt END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-11-06T22:35:23.111280Z K 7 svn:log V 67 Merge from head (better handling of non-clang building of picobsd) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-11-06T22:35:52.258946Z K 7 svn:log V 141 Fix an off-by-one error when iterating over the emulated PCI BARs. Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-11-06T22:36:36.487488Z K 7 svn:log V 59 Merge from head: sync the netmap code with the one in HEAD END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-11-06T23:29:25.275912Z K 7 svn:log V 186 Fix powerd/states on AMD cpus. Resolves issues with system reporting: hwpstate0: set freq failed, err 6 Tested on FX-8150 and others. PR: 167018 Submitted by: avg MFC after: 2 weeks END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-11-06T23:44:52.481652Z K 7 svn:log V 592 * Use "math.h" instead of . * Use bit twiddling. This requires inclusion of math_private.h and inclusion of float.h in s_roundl.c. Raise invalid exception. * Use literal integer constants where possible. Let the compiler do the appropriate conversion. * In s_roundf.c, use an F suffix on float constants instead of promoting float to double and then converting the result back to float. In s_roundl.c, use an L suffix. * In s_roundl.c, use the ENTERI and RETURNI macros. This requires the inclusion of fpmath.h and on __i386__ class hardware ieeefp.h. Reviewed by: bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-11-06T23:59:19.333475Z K 7 svn:log V 279 Merge r257633: - Add manual pages for capability rights (rights(4)), cap_rights_init(3) family of functions and cap_rights_get(3) function. - Update remaining Capsicum-related manual pages. Sponsored by: The FreeBSD Foundation Reviewed by: bdrewery Approved by: re (glebius) END K 10 svn:author V 2 np K 8 svn:date V 27 2013-11-07T00:25:49.713771Z K 7 svn:log V 168 cxgbe(4): Tidy up the display for payload memory statistics (pm_stats). # sysctl -n dev.t4nex.0.misc.pm_stats # sysctl -n dev.t5nex.0.misc.pm_stats MFC after: 1 week END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-11-07T00:36:39.676920Z K 7 svn:log V 123 Propagate ancient fix from Junos. Use of -h is not supposed to depend on AUTHENTICATION being defined. Reviewed by: markm END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-07T04:02:08.680550Z K 7 svn:log V 63 Switch to the new common bus_space-v6.c, remove the local one. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-07T04:09:19.204622Z K 7 svn:log V 63 Switch to the new common bus_space-v6.c, remove the local one. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-07T04:13:27.343239Z K 7 svn:log V 333 MFC r257641: When building the textproc/docproj port, the ports-mgmt/pkg port needs /var/run/ld-elf*.so.hints, which is not automatically created. Fix reldoc build by running the ldconfig(8) startup script in the chroot directory before starting the port build phase. Approved by: re (kib) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-07T04:31:21.600021Z K 7 svn:log V 394 Do not build aicasm with the cross-tools/kernel-toolchain, instead add a proper kernel-tools step/target modeled after the world build-tools stuff. This is a re-do of r257730 which was backed out in r257734, but this time it's one byte smaller... a leftover trailing backslash resulted in a .for loop with no rules, so no compiler stuff got built and later steps built with the wrong toolset. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-11-07T04:52:25.589283Z K 7 svn:log V 99 MFH: sync the picobsd build file with what is in head, except for the MALLOC_PRODUCTION definition END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-11-07T07:22:51.860534Z K 7 svn:log V 321 - Use libusb20_strerror() function instead of custom usb_error() one. - Rename "aux.[ch]" to "util.[ch]" which is a more common name for utility functions and allows checkout on some non-FreeBSD systems where the "aux.*" namespace is reserved. - Fix some compile warnings while at it. PR: usb/183728 MFC after: 2 weeks END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:09:01.029343Z K 7 svn:log V 12 Whitespace. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:14:40.915980Z K 7 svn:log V 60 Comments. Replace a funny syntax with f_isset() while here. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:20:19.786390Z K 7 svn:log V 247 Add global DEBUG_INITIALIZE_FILE environment variable for controlling whether the debugFile is truncated upon initialization (useful for when children implicitly re-initialize debugging and you want children to append to your existing debugFile). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:23:37.831172Z K 7 svn:log V 198 Add an f_show_err() function -- acts pretty much the same as f_show_msg() except it stylizes the msgbox widget to indicate an Error has occurred by setting an appropriate title and default message. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:28:12.187651Z K 7 svn:log V 563 Add an f_eval_catch() function for debugging individual commands in a series of commands. Accepts the `-d' flag as a first argument to skip displaying messages in a dialog box. The command is logged as it appears to the shell prior to the first pass of parameter expansion to allow copy/pasting into a real shell (opposed to simply echo'ing the command which would produce debug output that has undergone at least one pass of parameter expansion, thus no-longer copacetic for copy/paste). Takes printf(1) style syntax and a utility identifier for error messages. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:30:20.153209Z K 7 svn:log V 203 Use dialog(1) to obtain maximum-size; stty fails when running in a pipe- chain. This allows dialogs to reach full size even when executed as an rvalue operand to a pipe (e.g., cat file | bsdconfig -f-). END K 10 svn:author V 3 des K 8 svn:date V 27 2013-11-07T10:32:37.263346Z K 7 svn:log V 44 Add WITHOUT_CLANG_IS_CC. Submitted by: dim END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:36:24.659140Z K 7 svn:log V 101 Fix a silly bug that would result in attempting to fetch (literally) the URI "httpDirectory" (oops). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:40:19.386129Z K 7 svn:log V 64 Add some helpful debugging (showing the resolved host address). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:44:24.170469Z K 7 svn:log V 10 Comments. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:45:25.332416Z K 7 svn:log V 92 Fix a bug where a format with leading `-' could be mistaken for printf getopts argument(s). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:47:12.422397Z K 7 svn:log V 127 Add f_sprintf() and f_vsprintf() to go along with previously added f_snprintf() and f_vsnprintf() (size-constraint) functions. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T10:48:00.068120Z K 7 svn:log V 10 Comments. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T11:20:50.817515Z K 7 svn:log V 62 Fix an off-by-one error that was causing menus to look funny. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-11-07T11:21:08.943672Z K 7 svn:log V 164 MFC r257667: Enable fingerprint checking as the currently known fingerprint has an uploaded signature on all mirrors. Approved by: bapt Approved by: re (gjb) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T12:40:42.652019Z K 7 svn:log V 30 Replace pkg-tools with pkgng. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-07T14:05:49.929841Z K 7 svn:log V 32 Finish r257779. PR: usb/183728 END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-11-07T15:43:41.382594Z K 7 svn:log V 99 MFC r257668: Use proper capitalization for FreeBSD.org Approved by: bapt Approved by: re (gjb) END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-07T16:22:04.682454Z K 7 svn:log V 52 devd: fix a typo in a comment Reviewed by: asomers END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-07T16:24:31.852227Z K 7 svn:log V 79 devd: lower priority of action execution logging to info Reviewed by: asomers END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-11-07T16:37:12.217798Z K 7 svn:log V 100 Use htons()/ntohs() appropriately. These issues were reported by Andrew Galante. MFC after: 3 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-11-07T16:42:28.896747Z K 7 svn:log V 74 - Update release noted to DocBook 5.0 so that they work with the new tree END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-11-07T16:58:09.574692Z K 7 svn:log V 77 Save some space by noting we don't have any alternative instruction formats. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-11-07T17:08:09.135449Z K 7 svn:log V 166 Make sure that we don't try to build an ASCONF-ACK chunk larger than what fits in the the mbuf cluster. This issue was reported by Andrew Galante. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-11-07T18:50:11.773731Z K 7 svn:log V 135 Get rid of the artification limitation enforced by SCTP_AUTH_RANDOM_SIZE_MAX. This was suggested by Andrew Galante. MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-07T18:53:55.966942Z K 7 svn:log V 591 Add a 'mini-memstick.img' release target, which will use the 'bootonly.iso' components to create a smaller memory stick image. This is useful for system recovery, where a full memstick.img image is not necessarily needed (or wanted). In addition, it is possible to do bootonly-style installation, where the base.txz, kernel.txz, etc. are fetched from a remote source. Provide backwards-compatible target (mini-memstick), to keep in sync with the targets documented in release/Makefile. Prompted by: wblock MFC after: 1 week X-MFC-after: 10.0-RELEASE Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-07T18:59:06.028820Z K 7 svn:log V 186 Remove extra target from 'memstick' that I forgot to remove before previous commit. MFC after: 1 week X-MFC-After: 10.0-RELEASE X-MFC-With: r257805 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-07T19:17:17.745792Z K 7 svn:log V 171 Update release(7) to include 'mini-memstick' after r257805. MFC after: 1 week X-MFC-After: 10.0-RELEASE X-MFC-With: r257805, r257806 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-11-07T19:38:19.441972Z K 7 svn:log V 138 Add new AMT serial port PCI ID on Intel Lynx Point chipset Submitted by: Dmitry Luhtionov MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-11-07T19:40:52.665076Z K 7 svn:log V 32 Build the iwn2000 firmware too. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-11-07T19:51:19.916387Z K 7 svn:log V 89 MFH r257801: - Update release noted to DocBook 5.0 so that they work with the new tree END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-11-07T20:45:50.967955Z K 7 svn:log V 100 Include rtld itself when iterating over loaded ELF objects in dl_iterate_phdr(3). Reviewed by: kib END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-11-07T20:54:52.137276Z K 7 svn:log V 452 MFC r257658: For C++ programs, don't emit any explicit dependency to libstdc++.a or libc++.a during the early build stages (bootstrap-tools, build-tools, cross-tools), since it is not possible to know in advance which C++ library is available on the host system. Instead, just use the bootstrap compiler's built-in default. This should eventually make it possible to build stable/9 on head, or on stable/10, which ship without libstdc++ by default. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-11-07T21:02:57.421515Z K 7 svn:log V 59 Clamp the dump block size to the dump device max I/O size. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-07T21:08:12.203542Z K 7 svn:log V 196 MFC r257801 (gabor): - Syncronize stable/10/release/doc with head/ in followup to the docbook5.0 update to the doc/ repository. Approved by: re (delphij) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-07T21:08:52.897813Z K 7 svn:log V 207 Handle suspend/resume. Switch to console window before suspend, switch back on resume. That fix issue with broken Xorg image after resume. Fix some style whilst here. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-07T21:12:20.073850Z K 7 svn:log V 161 Define VT_FB_DEFAULT_WIDTH and VT_FB_DEFAULT_HEIGHT options, to allow to make static console buffer bigger than default. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T21:16:32.291422Z K 7 svn:log V 103 Fix cosmetic typos (since the typo's in the variable names were copied and pasted, it wasn't noticed). END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-11-07T21:20:34.571741Z K 7 svn:log V 74 Fix bulding libm on platforms with LDBL_MANT_DIG == 53. Reported by: ian END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T21:38:46.467331Z K 7 svn:log V 209 Use `pkg -vv' to obtain ABI for validating a chosen media server (done prior to diving head-long into a pkg-update(8), et. al). This should also be more future-proof than what was being done just before this. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-11-07T21:47:59.139201Z K 7 svn:log V 183 Add support for controlling mfi(4) controller properties: allow user control of rebuild rate allow user control of silence/enable alarm MFC after: 2 weeks Sponsored by: Yahoo! Inc. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T21:52:04.785283Z K 7 svn:log V 435 Extend loader_delay as-documented in beastie.4th(8) and delay.4th(8), making it available to architectures that do not use or load the beastie menu. This is reported to save headaches on some PPC systems where unload followed by load does not produce the desired results wherein if-given the opportunicy to abort the initial loading sequence, you can customize the first load. Reviewed by: nwhitehorn, kan Discussed on: -current END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-07T22:08:04.470527Z K 7 svn:log V 136 Convert stable/8 to use docbook 5.0. We may still issue security advisories and do this conversion now so there wouldn't be surprises. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-11-07T22:46:13.093122Z K 7 svn:log V 119 Yet, another attempt to fix the libm breakage due to the changes in s_roundl.c to use bit twiddling. Reported by: ian END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T22:47:52.075027Z K 7 svn:log V 251 Fix a bug that prevented `-d' from working as-documented in sysrc(8). Rather, prevent a bunch of debugging information from spewing onto the screen when using the `describe' flag (misinterpreted as `debug' by the automatatic initialization routines). END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-07T22:50:42.704861Z K 7 svn:log V 497 Instead of modeling the kernel-tools build after the bootstrap tools, build kernel tools the way cross-tools get built. This seems to result in the tool getting installed in the right place. It also seems more correct in retrospect, because if a tool emitted code or binary data as part of building the kernel, it should do so in target-specific ways (endianess, architecture, whatever). That issue is moot for aicasm, our only current tool, but it still seems to be more correct in principle. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T22:52:10.590258Z K 7 svn:log V 105 Add new `--version' long option for getting the version (good for comparing against the ports revision). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T23:00:11.997664Z K 7 svn:log V 406 Add a `-c' option for `check only' to determine if a value is set (get command) or if the current value is the same as what is desired (set command). In those cases, the return status is success. Otherwise, if the variable is unset (get command) or set to a different value that what is desired (set command), returns with error status. This is useful for puppet integration as well as everyday scripting. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T23:01:41.287397Z K 7 svn:log V 25 Comments and whitespace. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T23:04:40.375094Z K 7 svn:log V 176 Fix a bug with `-e' that broke sometime around when I added `-F'. Also, revamp the `-e' output to truly be sh(1) compatible syntax (even if passed in `-v' for verbose output). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-07T23:05:17.393004Z K 7 svn:log V 58 Document SYSRC_VERBOSE enviroment variable in the manual. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-11-07T23:21:52.157940Z K 7 svn:log V 98 Corrected definition for old_rate to match d_rotation_rate MFC after: 2 Days X-MFC-With: r256956 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-08T02:24:54.647419Z K 7 svn:log V 225 Update comments in release/Makefile.inc.docports to reflect the cvs->svn conversion over a year ago. This is a direct commit to stable/9, as this file does not exist in higher branches. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-08T02:27:10.839870Z K 7 svn:log V 51 Fix comment. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-08T02:31:37.636461Z K 7 svn:log V 390 Remove evaluation of OSVERSION < 500000. I hope to never have to build a release from a stable/5 machine. While here, remove hard-coded lang/perl5.10, which is better evaluated during compile-time (especially since lang/perl5.10 does not exist in the ports/ tree). This is a direct commit to stable/9, as this file does not exist in higher branches. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-08T02:46:46.850711Z K 7 svn:log V 317 Regenerate MINIMALDOCPORTS after the doc/ toolchain update to docbook 5.0. This is a direct commit to stable/9, as this file does not exist in higher branches. (Although, I do not think that this variable is actually used now, since we check out the full doc/ tree from svn.) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-08T03:00:40.703665Z K 7 svn:log V 311 MFC r257641: When building the textproc/docproj port, the ports-mgmt/pkg port needs /var/run/ld-elf*.so.hints, which is not automatically created. Fix reldoc build by running the ldconfig(8) startup script in the chroot directory before starting the port build phase. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-08T03:02:42.765545Z K 7 svn:log V 180 MFC r256430: Reduce disc1.iso image size by installing the userland with the WITHOUT_PROFILE=1 option set, trimming 56MB from the image. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-08T05:11:32.329814Z K 7 svn:log V 252 Build kernel tools along with other tools during world build, as well as during kernel build (if they didn't get done with world). This will make -DMODULES_WITH_WORLD work, and it ensures the kernel tools are built as part of 'make kernel-toolchain'. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-11-08T05:20:51.345712Z K 7 svn:log V 345 o Implement busdma_md_load_mbuf() o The behaviour provided by bus_dmamap_load_mbuf_sg() is achieved by passing a NULL pointer for the callback function. Change existing load functions to do the same. o Allow per-device busdma flags to be set using hints. A typical use would be for debugging and tracing on a per device basis. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-11-08T05:26:30.593598Z K 7 svn:log V 183 Port bge(4) to busdma/mi. We now have networking. After some time we do get: pcib0: IOMMU: cannot find 1 free entries for DMA _busdma_iommu_map: error=28 This'll have to be fixed. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-08T08:44:09.991560Z K 7 svn:log V 148 Catch up with sb_timeo type change in r255138. This fixes smbfs operation. PR: kern/182963 Submitted by: Tomoaki AOKI END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-08T09:57:03.571419Z K 7 svn:log V 4034 A series of changes tested together as a whole: + Add a `-D FILE" command-line option for overriding the path to the bsdinstall log file (BSDINSTALL_LOG env var). + Document new `-D FILE' in the man page for bsdinstall. + If FILE in `-D FILE' begins with a +, debug output goes to stdout (interleaved between dialog(1) invocations/output) as well as to FILE (minus the leading + of course). + If BSDINSTALL_LOG cannot be written, then debugging is disabled (except in the case of a leading + in the pathname, wherein debug will still be printed to stdout). + Update source code formatting style. + Fix a dangling participle ("Begun ..." -> "Began ...") + Rewrite the docsinstall script (was necessary to abate direct dependency on BSDINSTALL_LOG (instead, use fault-tolerant bsdconfig framework which displays appropriate errors for package management). NB: docsinstall is still using pkg(8) after this change. + Add additional debug output for dhclient/rtsol/wpa_cliscan + Display script errors in a textbox rather than just on stdout + Update many coments. + Add new f_show_err() API call (like f_show_msg but changes the dialog title to "Error")(see bsdconfig's `common.subr'). + Add new f_eval_catch() API call for executing a command via eval but not before logging the command to debug. Several example cases documented in API header for function in bsdconfig's `common.subr'. + Fix dialog auto-sizing when launched as an rvalue to a pipe for indirected scripts (previously would default to 24x80 sizing in this case, now it can autosize to full size even when in a pipe chain). + Fix bug in f_snprintf if $format argument began with "-"; printf would misinterpret as a flag. (this is in bsdcofig's `strings.subr'). + Add accompanying f_sprintf() and f_vsprintf() to go along with already existing f_snprintf() and f_vsnprintf() (see bsdconfig's `strings.subr'). + Remove some unnecessary default ZFS datasets from the automatic "zfsboot" script. Such as: /usr/ports/distfiles /usr/ports/packages /usr/obj /var/db /var/empty /var/mail and /var/run (these can all be created as-needed once the system is installed). + Remove setuid=off for /usr/home (as discussed from last round of CFT). + Fix some i18n string violations in "zfsboot". + Bolster debugging output in "zfsboot". + Fix some string quoting issues in "zfsboot". + Fix some variable scope issues in "zfsboot". + Change "Create" to "Install" in "zfsboot" main menu. + Increase error checking in "zfsboot" (type-check arguments and such). + Add call to "graid destroy" killing automatic metadata (part of the series of pedantic destructions we do when bootstrapping a new/naked disk). + Make judicious use of new f_eval_catch() in "zfsboot". + Fixup some variable names for consistency (zfsboot). + Fix an underride syntax parameter expansion folly (zfsboot). + Confirm layout if not explicitly chosen when blindly proceeding (no longer have to touch anything on the ZFS menu if it scares you, just choose the omnibus "Install" option at the top and you'll be prompted to select vdev type and disks in the layout confirmation dialog). + Change numbered menu items to alphabetic for more efficient navigation. + Consolidate vdev selection and disk selection into a single stateful menu which performs validation and allows backing out to each previous menu as you go deeper. + Redesign the ``Last Chance'' dialog (still using the same colors, but make it conform to a tolerable width and make disks appear in a block- quote style indented region). + Fix a bug wherein we used the a lowercase variable name by accident (actual variable name declared as all-uppercase) at the time of initializing fstab(5) (not believed to cause any issues though). + Update the geli setup infobox for each provider being initialized (not just at the onset -- since each ``geli init'' causes kernel messages to push our infobox off-screen). Reviewed by: Allan Jude Discussed on: -current MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-08T10:09:34.864936Z K 7 svn:log V 201 Semi-revert this one file out of r257842. The ttys(5) stuff, as we discussed on -current, was not supposed to go in but get solved in a different way -- e.g., init(8) logic). Discussed on: -current END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-08T10:14:32.429079Z K 7 svn:log V 134 Copy the install log to the deployed /var/log directory so that we have post-mortem data on how the machine was configured/installed. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-08T10:19:48.585199Z K 7 svn:log V 139 I often forget that debugFile can begin with a + for deciding that debug should be sent to both the file (minus the leading +) and stdout. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-08T13:04:14.867412Z K 7 svn:log V 108 Make TCP_KEEP* socket options readable. At least PostgreSQL wants to read the values. Reported by: sobomax END K 10 svn:author V 5 achim K 8 svn:date V 27 2013-11-08T13:23:26.376729Z K 7 svn:log V 306 Update aacraid to version 3.2.5. Full MSI-X interrupt support added. Timeout and reset handling reworked, firmware flash update test added. Support for drives with 4KB block size added. Changes made to avoid exposure of phys. array components by default. Approved by: scottl (mentor), emaste (co-mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-08T14:20:22.307742Z K 7 svn:log V 508 Fix buildworld when WITH_TESTS is enabled. The addition of the TESTS knob and its enabling of the build of tests in lib/libcrypt/tests/ broke the build. The reason is that we cannot descend into tests/ subdirectories until all prerequisites have been built, which in the case of tests may be "a lot of things" (libatf-c in this case). Ensure that we do not walk tests/ directories during the bootstrapping of the libraries as part of buildworld. Reviewed by: freebsd-testing Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-08T14:22:16.431349Z K 7 svn:log V 367 Add libatf-c++ to the prebuild libs. Some tests may require C++ so we must ensure this library exists as part of the bootstrap process or else they will fail to build. Do this by just depending on lib/atf as part of the bootstrap libraries instead of using lib/atf/libatf-c. Submitted by: Garrett Cooper Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-08T14:24:47.302543Z K 7 svn:log V 334 Subsume the functionality of MK_ATF into MK_TESTS. There is no reason to keep the two knobs separate: if tests are enabled, the ATF libraries are required; and if tests are disabled, the ATF libraries are not necessary. Keeping the two just serves to complicate the build. Reviewed by: freebsd-testing Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-08T14:26:52.704983Z K 7 svn:log V 346 Handle the removal of the test suite when WITHOUT_TESTS=yes. Add all files from /usr/tests to the obsoleted files list when the build of the tests is disabled via the WITHOUT_TESTS knob. Do this automatically so that we do not have to suffer the pain of maintaining such list by hand. Reviewed by: freebsd-testing Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-08T14:29:06.487183Z K 7 svn:log V 724 Install category Kyuafiles from their category directories. Move the installation of /usr/tests/lib/Kyuafile from src/tests/lib/ to src/lib/. This is to keep the src/tests/ hierarchy unaware of the rest of the tree, which makes things clearer in general. In particular: 1) Everything related to the construction of /usr/tests/lib/ is kept in src/lib/. There is no need to think about different directories and how they relate to each other. (The same applies for libexec, usr.bin, etc. but these are not yet handled.) 2) src/tests becomes the place to keep cross-functional test programs and nothing else, which also helps in simplifying things. Reviewed by: freebsd-testing Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-08T14:33:41.365962Z K 7 svn:log V 92 Build and install the atf tests. Reviewed by: freebsd-testing Approved by: rpaulo (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-11-08T16:25:00.304633Z K 7 svn:log V 1426 As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other words, every architecture is now auto-sizing the kmem arena. This revision changes kmeminit() so that the definition of VM_KMEM_SIZE_SCALE becomes mandatory and the definition of VM_KMEM_SIZE becomes optional. Replace or eliminate all existing definitions of VM_KMEM_SIZE. With auto-sizing enabled, VM_KMEM_SIZE effectively became an alternate spelling for VM_KMEM_SIZE_MIN on most architectures. Use VM_KMEM_SIZE_MIN for clarity. Change kmeminit() so that the effect of defining VM_KMEM_SIZE is similar to that of setting the tunable vm.kmem_size. Whereas the macros VM_KMEM_SIZE_{MAX,MIN,SCALE} have had the same effect as the tunables vm.kmem_size_{max,min,scale}, the effects of VM_KMEM_SIZE and vm.kmem_size have been distinct. In particular, whereas VM_KMEM_SIZE was overridden by VM_KMEM_SIZE_{MAX,MIN,SCALE} and vm.kmem_size_{max,min,scale}, vm.kmem_size was not. Remedy this inconsistency. Now, VM_KMEM_SIZE can be used to set the size of the kmem arena at compile-time without that value being overridden by auto-sizing. Update the nearby comments to reflect the kmem submap being replaced by the kmem arena. Stop duplicating the auto-sizing formula in every machine- dependent vmparam.h and place it in kmeminit() where auto-sizing takes place. Reviewed by: kib (an earlier version) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-08T16:28:00.938629Z K 7 svn:log V 87 Remove 'inline' from ar9300_init_pll(), it's too big to inline. Submitted by: adrian@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-11-08T16:32:30.080442Z K 7 svn:log V 276 Add bits for the AMD features from CPUID function 0x80000001 ECX, described in the rev. 3.0 of the Kabini BKDG, document 48751.pdf. Partially based on the patch submitted by: Dmitry Luhtionov Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-11-08T16:56:13.488856Z K 7 svn:log V 27 Eliminate an unused macro. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-11-08T16:57:55.848025Z K 7 svn:log V 438 Fix signal delivery for the iBCS2 binaries. The iBCS2 sysvec uses current FreeBSD signal trampoline, but does not specifies sv_sigcode_base, since shared page is not mapped. This results in the zero %eip for the signal frame. Fall back to calculating %eip as offset from the psstrings when sv_sigcode_base is not initialized. Reported by: Rich Naill Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-11-08T17:23:37.595232Z K 7 svn:log V 66 Fix typo in include guard, found by clang 3.4. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-11-08T17:27:22.905634Z K 7 svn:log V 107 Initialize variable in sys/x86/iommu/busdma_dmar.c, to avoid possible uninitialized use. Reviewed by: kib END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-08T17:27:38.516512Z K 7 svn:log V 443 Remove generate-release.sh from head/. The release.sh (based heavily on generate-release.sh) has been used for the 9.2-RELEASE and 10.0-RELEASE cycles, so make sure there is no confusion on what is currently being used by having two similar scripts. A big "thank you" to Nathan Whitehorn, the author of the generate-release.sh script, for writing this utility. No objection: nwhitehorn MFC after: never Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-11-08T18:20:19.424274Z K 7 svn:log V 142 Use explicit long cast to avoid overflow in bitopts. This was causing problems with the buddy allocator inside of ofed. Submitted by: odeds END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-11-08T18:26:28.341781Z K 7 svn:log V 159 Fix for bad performance when mtu is increased. Update the auto moderation behavior in the mlxen driver to match the new LINUX OFED code. Submitted by: odeds END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-11-08T18:28:48.920753Z K 7 svn:log V 123 Do not use a sleep lock when protecting the driver flags. This was causing a locking issue with lagg Submitted by: odeds END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-11-08T20:11:15.786146Z K 7 svn:log V 23 Fix typo in a comment. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-11-08T21:03:47.391046Z K 7 svn:log V 204 Bring TCP-AO closer to functional completion. Remaining rough edges will be fixed in upcoming commits. Not yet implemented are SNE, tcp options option, and key rollover. Sponsored by: Juniper Networks END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-11-08T22:29:07.309487Z K 7 svn:log V 443 MFC: r257862, r257863, r257864 r257862: Use explicit long cast to avoid overflow in bitopts. This was causing problems with the buddy allocator inside of ofed. r257863: Fix for bad performance when mtu is increased. Update the auto moderation behavior in the mlxen driver to match the new LINUX OFED code. r257864: Do not use a sleep lock when protecting the driver flags. This was causing a locking issue with lagg. Approved by: re END K 10 svn:author V 3 zec K 8 svn:date V 27 2013-11-08T22:40:33.337672Z K 7 svn:log V 53 Eliminate duplicated & dead code. MFC after: 3 days END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-11-08T22:44:46.313662Z K 7 svn:log V 147 drm: Initialize "handle" to 0 before calling drm_gem_handle_create() This is variable is being checked in drm_gem_name_create() before being set. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-11-08T22:47:43.020066Z K 7 svn:log V 148 drm/radeon: Wake up userland after page flip For instance, this caused issues in KDE, such as stuttered animations (with desktop effects enabled). END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-11-08T23:08:01.201409Z K 7 svn:log V 42 mdoc: remove superfluous paragraph macro. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-11-08T23:11:04.911260Z K 7 svn:log V 22 mdoc: add missing El. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-09T00:15:36.894509Z K 7 svn:log V 1570 This change builds kernel tools based on the same assumption as building the kernel itself: If building for the same architecture as the build host, the kernel build assumes that the host toolchain is capable of building the kernel. If it's not, "make kernel-toolchain" will bootstrap a new set of tools that will work. With this change the same assumptions are made for building kernel tools, and the existing host toolchain is used to do the build (notably, the build doesn't link the tools with the legacy libraries, which may not even exist). If ever for some reason the host toolchain isn't capable of building the kernel tools, then doing a "make kernel-toolchain" will bootstrap newer tools to get the job done. So when built as part of buildworld or kernel-toolchain, the kernel tools are built using the XMAKE (via BMAKE) commands and environment. When built as part of building just the kernel on a same-target host, the tools are built using the new KTMAKE commands and environment. What doesn't jump out at you in the diffs is that the difference between BMAKE and KTMAKE is that BMAKE contains this magic line which changes how the build is done because it changes what files get included for .include and other standard includes: MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" and KTMAKE doesn't, and contains this instead: TOOLS_PREFIX=${WORLDTMP} Hopefully this brings the "how to build aicasm with the right toolchain" saga to a conclusion that works in all usage scenarios that have historically been supported. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-11-09T00:36:09.383830Z K 7 svn:log V 42 Fix extattr(2) MLINKS. MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-09T00:59:31.270579Z K 7 svn:log V 214 MFC r257749: Switch to using pkg(8) for the doc install in bsdinstall(8). This also bootstraps the system with pkg(8) for future use. Approved by: re (delphij) PR: 183488 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-11-09T03:07:48.993361Z K 7 svn:log V 449 On XenServer the "halt" message is used instead of "poweroff", which makes FreeBSD halt but not poweroff (as expected when issuing a shutdown from the VM manager). Fix this by using the same handler for both "halt" and "poweroff". NB: The "halt" signal seems to be used on XenServer only. The OSS Xen toolstack (xl) uses "poweroff" instead. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs MFC after: 2 days END