ƒ³216823 177 399 379 272 831 141 143 554 151 187 133 124 717 513 288 369 293 253 142 412 208 500 329 446 664 377 137 156 156 270 178 178 187 578 284 370 149 352 709 443 771 250 285 324 238 167 131 197 451 168 403 318 227 227 349 192 129 414 203 115 141 211 174 374 396 216 284 188 188 626 237 417 227 109 491 410 245 382 166 179 519 187 242 357 196 176 212 191 191 199 177 259 211 239 325 113 127 313 143 208 336 235 258 299 162 249 155 225 146 290 562 256 1140 394 292 245 157 145 156 229 150 184 554 175 342 337 175 185 335 330 166 156 203 291 386 201 201 224 596 378 221 167 308 201 413 253 308 620 742 140 801 262 256 222 286 760 623 145 159 296 536 192 328 352 155 212 700 621 621 776 776 338 338 444 340 372 213 213 K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-12-30T18:06:31.755287Z K 7 svn:log V 306 For compatibility with Linux and Solaris add poweroff(8). It is implemented as a hard link to shutdown(8) and it is equivalent of: # shutdown -p now While I'm here put one line of usage into one line of C code so it is easier to grep(1) and separate unrelated code with empty line. MFC after: 2 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-30T18:29:22.559115Z K 7 svn:log V 281 The RX path is missing a few bus_dmamap_*() calls, this results in modification of memory which was already free'd and eventually in: wpi0: could not map mbuf (error 12) wpi0: wpi_rx_intr: bus_dmamap_load failed, error 12 and an usuable device. PR: kern/144898 MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-12-30T21:32:35.455733Z K 7 svn:log V 176 Define and use SCTP_SSN_GE, SCTP_SSN_GT, SCTP_TSN_GE, SCTP_TSN_GT macros and use them instead of the generic compare_with_wrap. Retire compare_with_wrap. MFC after: 3 months. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-30T22:33:55.404510Z K 7 svn:log V 735 sh: Avoid side effects from builtins in optimized command substitution. Change the criterion for builtins to be safe to execute in the same process in optimized command substitution from a blacklist of only cd, . and eval to a whitelist. This avoids clobbering the main shell environment such as by $(exit 4) and $(set -x). The builtins jobid, jobs, times and trap can still show information not available in a child process; this is deliberately permitted. (Changing traps is not.) For some builtins, whether they are safe depends on the arguments passed to them. Some of these are always considered unsafe to keep things simple; this only harms efficiency a little in the rare case they are used alone in a command substitution. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-12-30T23:35:23.126833Z K 7 svn:log V 49 Sync: merge r216683 through r216826 from ^/head. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-30T23:50:25.768892Z K 7 svn:log V 47 Add RDC Semiconductor R6040 10/100 PHY driver. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-31T00:21:41.501521Z K 7 svn:log V 457 Add driver for DM&P Vortex86 RDC R6040 Fast Ethernet. The controller is commonly found on DM&P Vortex86 x86 SoC. The driver supports all hardware features except flow control. The flow control was intentionally disabled due to silicon bug. DM&P Electronics, Inc. provided all necessary information including sample board to write driver and answered many questions I had. Many thanks for their support of FreeBSD. H/W donated by: DM&P Electronics, Inc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-31T00:24:08.477560Z K 7 svn:log V 55 Add vte(4) to the list of supported network interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-31T00:46:30.680573Z K 7 svn:log V 91 Add vte(4) man page and hook up vte(4) to the build. Also add Xr to appropriate man pages. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-12-31T01:10:42.365307Z K 7 svn:log V 39 Make -S functional. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-31T01:23:04.962275Z K 7 svn:log V 28 Remove debugging leftovers. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-31T02:19:38.786947Z K 7 svn:log V 616 Add a simple installer I wrote in a few days last week. It is capable of installing a booting system on 3 of the 6 platforms currently using sysinstall (amd64, i386, and powerpc). This is intended to replace sysinstall, but not to take the place of more full-featured installers like pc-sysinstall. The installer is shell- and dialog-based, but requires the new, vastly improved version of libdialog available from Thomas Dickey. Hopefully this can be imported into base once we no longer need the existing libdialog's consumers (sysinstall, sade, and tzsetup). Many features still needed. Slippery when wet. Etc. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-31T09:50:15.333459Z K 7 svn:log V 415 The mwl's HAL manages an array of MWL_MBSS_MAX VAPs where the first 8 are supposed to be APs and the later 24 are pre-configured as STAs. A wrong condition during initialization is responsible for not configuring the last 8 array members. This is results in being able to create more than 8, possible uninitialized, AP-VAPs. PR: kern/153549 Submitted by: Erik Fonnesbeck MFC after: 2 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-12-31T11:55:39.660238Z K 7 svn:log V 193 For committers listed as alumni, add the date that their commit bit was returned where this information is missing and easy to determine. Move adrian@ back to the "Active committers" section. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-31T12:48:43.159979Z K 7 svn:log V 271 MFC r216049: Some drivers rely on the existence of certain keys. The Atheros 9xxx driver for example requests the NetCfgInstanceId but doesn't check the returned status code and will happily access random memory instead. Submitted by: Paul B Mahol END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-31T12:53:07.144092Z K 7 svn:log V 195 MFC r216050: Add a dummy for IoOpenDeviceRegistryKey(). With that change the Atheros 9xxx driver is actually usable and does not panic anymore. Submitted by: Paul B Mahol END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-31T12:59:17.503773Z K 7 svn:log V 155 MFC r216242: Implement NdisGetRoutineAddress and MmGetSystemRoutineAddress used in newer Ralink drivers. Submitted by: Paul B Mahol END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-12-31T13:07:21.957487Z K 7 svn:log V 48 Move alumni committers from the active section. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-12-31T14:03:57.445642Z K 7 svn:log V 314 MFC: r216510 Fix two vnode locking problems in nfsd_recalldelegation() in the experimental NFSv4 server. The first was a bogus use of VOP_ISLOCKED() in a KASSERT() and the second was the need to lock the vnode for the nfsrv_checkremove() call. Also, delete a "__unused" that was bogus, since the argument is used. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-31T15:16:18.917927Z K 7 svn:log V 107 Fix a spelling error pointed out by brucec, repair distfetch so it works again, and improve documentation. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-31T17:39:31.413949Z K 7 svn:log V 402 Make i386_set_ldt work on i386/XEN, step 1/5. Lock the vm page queue mutex around calls to pte_store. As with many other uses of the vm page queue mutex in i386/xen/pmap.c, this is bogus and needs to be replaced at some future date by a spin lock dedicated to protecting the queue of pending xen page mapping hypervisor calls. (But for now, bogus locking is better than a panic.) MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-31T17:39:58.443533Z K 7 svn:log V 231 Make i386_set_ldt work on i386/XEN, step 2/5. Don't map physical to machine page numbers in pte_load_store, since it uses PT_SET_VA (which takes a physical page number and converts it to a machine page number). MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-31T17:40:30.898415Z K 7 svn:log V 348 Make i386_set_ldt work on i386/XEN, step 3/5. Synchronize reality with comment: The user_ldt_alloc function is supposed to return with dt_lock held. Due to broken locking in i386/xen/pmap.c, we drop dt_lock during the call to pmap_map_readonly and then pick it up again; this can be removed once the Xen pmap locking is fixed. MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-31T17:41:14.419842Z K 7 svn:log V 566 Make i386_set_ldt work on i386/XEN, step 4/5. Use xen_update_descriptor to update the LDT rather than bcopy. Under Xen, pages used for holding LDTs must be read-only, so we can't make the change ourselves. Ths obvious alternative of "remap the page read-write, make the change, then map it read-only again" doesn't work since Xen won't allow an LDT page to be remapped as R/W. An arguably better solution is used by NetBSD: They don't modify LDTs in-place at all, but instead copy the entire LDT, modify the new version, then atomically swap. MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-31T17:42:25.664284Z K 7 svn:log V 279 Make i386_set_ldt work on i386/XEN, step 5/5. When cleaning up a thread, reset its LDT to the default LDT. Note: Casting the LDT pointer to an int and storing it in pc_currentldt is wildly bogus, but is harmless since pc_currentldt is a write-only variable. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T18:07:16.808185Z K 7 svn:log V 46 Happy New Year 2011. Approved by: core (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T18:16:15.801846Z K 7 svn:log V 65 MFC r216848: Happy New Year 2011. Approved by: core (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T18:16:44.016202Z K 7 svn:log V 65 MFC r216848: Happy New Year 2011. Approved by: core (kib) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-31T18:20:17.925744Z K 7 svn:log V 174 sh: Check if dup2 for redirection from/to a file succeeds. A failure (e.g. caused by ulimit -n being set very low) is a redirection error. Example: ulimit -n 9; exec 9<. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T18:32:13.616785Z K 7 svn:log V 87 MFC r216848: Happy New Year 2011. Approved by: core (kib) Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T18:36:07.735853Z K 7 svn:log V 87 MFC r216848: Happy New Year 2011. Approved by: core (kib) Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-31T20:39:27.357469Z K 7 svn:log V 87 Add support for MBR+bsdlabel installations, in addition to the already- supported GPT. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T21:06:52.127722Z K 7 svn:log V 486 Move the increment operation under the lock and split the condition variable into two so that we can see on which one we are waiting. This might also more properly propagate the update of the flowclean_cycles flag and avoid "hangs" people were seeing. Suggested by: rwatson [1] Sponsored by: ISPsystem [1] Reviewed by: julian [1] Updated by: Mikolaj Golub (to.my.trociny gmail.com) Tested by: Mikolaj Golub (to.my.trociny gmail.com) MFC After: 1 week [1] Early 2010, initial version. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T21:20:32.424888Z K 7 svn:log V 192 Print the vnet pointer under DDB when iterating over flowtables of each virtual network stack instance. Sponsored by: ISPsystem [1] Reviewed by: julian [1] MFC after: 1 week [1] Early 2010. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T21:47:11.560633Z K 7 svn:log V 278 Try to catch a possible divide-by-zero as early as possible if "mtu" is 0 (also test for negative MTUs if checking it anyway). An MTU of 0 is arguably a bug elsewhere, but this at least gives us some more debugging hints. Sponsored by: ISPsystem (Early 2010) MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-31T21:52:51.651533Z K 7 svn:log V 53 Remove duplicated "perfect" Pointed out by: pluknet END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T21:57:54.442897Z K 7 svn:log V 260 Use NULL rather than 0 to invalidate a pointer. Rather than duplicating the LLE_FREE_LOCKED() macro code in LLE_FREE(), call it directly (like we do for the RT_* macros). Sponsored by: ISPsystem [1] Reviewed by: julian [1] MFC After: 1 week [1] Early 2010. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-31T22:18:41.446488Z K 7 svn:log V 612 Fix endianness bug introduced in r205091. After controller updates control word in a RX LE, driver converts it to host byte order. The checksum value in the control word is stored in big endian form by controller. r205091 didn't account for the host byte order conversion such that the checksum value was incorrectly interpreted on big endian architectures which in turn made all TCP/UDP frames dropped. Make RX checksum offload work on any architectures by swapping the checksum value. Reported by: Sreekanth M. ( kanthms <> netlogicmicro dot com ) Tested by: Sreekanth M. ( kanthms <> netlogicmicro dot com ) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-31T22:49:13.288648Z K 7 svn:log V 351 Mfp4 CH177924: Add and export constants of array sizes of jail parameters as compiled into the kernel. This is the least intrusive way to allow kvm to read the (sparse) arrays independent of the options the kernel was compiled with. Reviewed by: jhb (originally) MFC after: 1 week Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-01T00:20:14.000302Z K 7 svn:log V 673 o) When trying to determine whether the pcpu pointer is a managed address, check not just that it is greater than the minimal kernel virtual address, but also that it is less than the maximal kernel virtual address. On n64 kernels, the pcpup comes out of a direct-mapped address that, with an unsigned compare, is rather greater than the minimal kernel virtual address. o) Turn the panic if interrupts are disabled in cpu_idle into a KASSERT since on other architectures it's behind INVARIANTS anyway. o) Add a check that not all interrupts are masked, too. o) Add cpu_idleclock() and cpu_activeclock() use to cpu_idle as is done on other architectures. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-01T01:05:21.014993Z K 7 svn:log V 149 Provide a little more functionality for the installed system, by allowing setting the root password, configuring user accounts, turning on ssh, etc. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-01T01:06:27.930139Z K 7 svn:log V 184 Fix build on powerpc and i386. Can now install a bootable system on powerpc that you can ssh into immediately after reboot, which sysinstall could never do. And that's it for 2010... END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-01T01:26:26.554215Z K 7 svn:log V 229 Add a test for $PM_INDEX_ONLY to pm_cd_pd itself, rather than testing for it prior to (nearly) every call. This has the side effect of solving the problem of the recently added test for WRKDIRPREFIX when not using any PORTSDIR. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-01T01:31:45.262566Z K 7 svn:log V 143 When we enter -PRERELEASE phase the package-finding code should still be looking at -stable. Reported by: Jakub Lach END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-01T06:54:21.997679Z K 7 svn:log V 73 If PM_PACKAGES is set, don't bother with build depends Reminded by: ale END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-01T07:23:06.332664Z K 7 svn:log V 37 Make handling of DI_FILES consistent END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-01T08:47:38.174502Z K 7 svn:log V 104 MFC r216524: Inform a compiler which asm statements in the x86 implementation of atomics change eflags. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-01T13:26:18.162578Z K 7 svn:log V 355 sh: Check readonly status for assignments on regular builtins. An error message is written, the builtin is not executed, nonzero exit status is returned but the shell does not abort. This was already checked for special builtins and external commands, with the same consequences except that the shell aborts for special builtins. Obtained from: NetBSD END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-01T15:25:15.494298Z K 7 svn:log V 73 sh: Test that exit $? replaces the original exit status in an EXIT trap. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-01T16:47:12.992565Z K 7 svn:log V 302 Fix two display issues. Autocomputed and existing sizes were truncated to too few digits, which sometimes led to rounding errors when adding new partitions. Also, on systems with 32-bit size_t, the main panel could truncate the medium size, producing nonsense for the displayed sizes of large devices. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-01-01T16:59:05.982967Z K 7 svn:log V 222 There can be more than 0x20000000 swap meta blocks allocated if a swap-backed md(4) device is used. Don't panic when deallocating such a device if swap has been used. PR: kern/133170 Discussed with: kib MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-01T17:39:38.153575Z K 7 svn:log V 134 Make a couple refinements to r216799 and r216810. In particular, revise a comment and move it to its proper place. Reviewed by: kib END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-01T18:50:49.106448Z K 7 svn:log V 129 Add support for shared vnode locks for the Read operation in the experimental NFSv4 server. Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-01T20:17:29.883467Z K 7 svn:log V 254 Add nodes for current and past committers that are already referenced in relationships, so they are rendered as more than just a username. Add a couple of relationships between committers who already have existing nodes to help with the rendered output. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-01T20:33:46.892922Z K 7 svn:log V 98 After checking for WRKDIRPREFIX do 'cd -' so that 'portmaster .' will work Update copyright date END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-01T22:22:57.238222Z K 7 svn:log V 34 Fix a typo. MFC after: 3 months. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-02T01:26:51.383755Z K 7 svn:log V 319 Document the various changes for the 3.6 version including the new support for -n/-y Re-sort some of the option descriptions to match usage() in the script, and explicitly show the grouping of common flags and features. Expand the descriptions of a few options, and otherwise improve the markup Update the copyright END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-02T02:36:08.957709Z K 7 svn:log V 108 Further improvements to usage() and the man page to make them more consistent, and hopefully more sensible. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-02T02:45:44.518304Z K 7 svn:log V 21 Remove -all variants END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-02T02:46:06.684410Z K 7 svn:log V 47 Re-sort to match usage() Remove -all variants END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-02T03:16:07.265768Z K 7 svn:log V 110 Titling the installation completion dialog "Welcome" has a certain zen aspect to it, but is ultimately wrong. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-02T03:16:47.536517Z K 7 svn:log V 74 Add support for installations on sparc64 [tested] and pc98 [speculative]. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-02T09:03:53.461223Z K 7 svn:log V 276 MFC r216824: The RX path is missing a few bus_dmamap_*() calls, this results in modification of memory which was already free'd and eventually in: wpi0: could not map mbuf (error 12) wpi0: wpi_rx_intr: bus_dmamap_load failed, error 12 and an usuable device. PR: kern/144898 END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-02T10:01:29.953072Z K 7 svn:log V 298 MFC r216824: The RX path is missing a few bus_dmamap_*() calls, this results in modification of memory which was already free'd and eventually in: wpi0: could not map mbuf (error 12) wpi0: wpi_rx_intr: bus_dmamap_load failed, error 12 and an usuable device. PR: kern/144898 Approved by: re (kib) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-02T10:27:27.025848Z K 7 svn:log V 120 Bugfix: Make sure that the COMM_UP notificatin is delivered first also on the passive side. MFC after: 3 days. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-01-02T12:16:57.810531Z K 7 svn:log V 189 Finishing touches to fork1() - ANSIfy missed function definition, style(9) fixes, removal of few comments that didn't really make sense and addition of fork_findpid() locking requirements. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-02T13:12:24.679761Z K 7 svn:log V 91 MFC r210144 (originally committed by imp): Put warnings out to stderr rather than stdout. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-02T13:31:10.494429Z K 7 svn:log V 91 MFC r210144 (originally committed by imp): Put warnings out to stderr rather than stdout. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-02T15:01:03.923380Z K 7 svn:log V 530 Extend the section in which interrupts are disabled in the TLB demap functions, otherwise if we get preempted after checking whether a certain pmap is active on the current CPU but before disabling interrupts we might operate on an outdated state as the pmap might have been deactivated in the meantime. As the same issue may arises when the TLB demap function is interrupted by a TLB demap IPI, just entering a critical section before the check isn't sufficient so we have to fully disable interrupts instead. MFC after: 3 days END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-02T15:06:07.589044Z K 7 svn:log V 142 MFi386 r216012 by kib: Calling fill_fpregs() for curthread is legitimate, and ELF coredump does this. Discussed with: kib MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-02T19:58:39.220825Z K 7 svn:log V 319 Add checks for VI_DOOMED and vn_lock() failures to the experimental NFS server, to handle the case where an exported file system is forced dismounted while an RPC is in progress. Further commits will fix the cases where a mount point is used when the associated vnode isn't locked. Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-02T21:34:01.421183Z K 7 svn:log V 129 Delete some cruft from the experimental NFS server that was only used by the OpenBSD port for its pseudo-fs. MFC after: 2 weeks END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-02T23:38:05.944314Z K 7 svn:log V 12 Add myself. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-03T00:11:10.595713Z K 7 svn:log V 396 Add an error check for -y and -n both supplied Add get_answer_g(), a generic version of the previous get_answer() Use this function to wrap all of the remaining cases of user input Convert get_answer() to get_answer_yn() and call get_answer_g() if we need to prompt the user, otherwise use the same logic to handle the -y and -n options. Update the callers of the former get_answer() to match. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-03T00:33:32.667845Z K 7 svn:log V 312 Modify the experimental NFSv4 server so that the lookup ops return a locked vnode. This ensures that the associated mount point will always be valid for the code that follows the operation. Also add a couple of additional checks for non-error to the other functions that create file objects. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-03T00:40:13.152537Z K 7 svn:log V 147 Fix the experimental NFS server so that it doesn't leak a reference count on the directory when creating device special files. MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-03T00:41:56.892421Z K 7 svn:log V 289 Release the page lock early in vm_pageout_clean(). There is no reason to hold this lock until the end of the function. With the aforementioned change to vm_pageout_clean(), page locks don't need to support recursive (MTX_RECURSE) or duplicate (MTX_DUPOK) acquisitions. Reviewed by: kib END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T01:44:13.547465Z K 7 svn:log V 73 - Import libsdp Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T01:54:02.603832Z K 7 svn:log V 86 - Merge in libsdp from base. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T02:40:48.824147Z K 7 svn:log V 425 Port libsdp which automatically converts tcp applications to use sdp. - Use the prebuilt copy of the scanner and parser since our yacc chokes on the provided specifications. - Hack out the epoll support. kqueue() support is only required for shadow sockets which allow a single socket to exist on both tcp and sdp. This is currently not supported on bsd. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T02:59:24.890786Z K 7 svn:log V 94 - Add SDP files to the kernel config Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T03:08:08.278289Z K 7 svn:log V 148 - Eliminate diffs which have been rendered unnecessary by changes in the wrapper layer. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T03:34:59.234336Z K 7 svn:log V 263 - Add netdevice notifiers and re-enable their appropriate handlers in the core stack and drivers. These are network events for adding and removing network devices along with link state changes, etc. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T05:14:39.619610Z K 7 svn:log V 102 - Update kernel and drivers to ofed 1.5.3-rc1 commit rev cf8b6ca317a31ccee24e0058415db36a59242eb6 END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T05:21:53.772796Z K 7 svn:log V 83 - Upgrade opensm to 3.3.0 Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T05:33:52.475514Z K 7 svn:log V 118 - Update libibverbs and libmlx4. This includes XRC support. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T05:35:15.668395Z K 7 svn:log V 98 - Add files missing from the last merge. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T05:36:16.405913Z K 7 svn:log V 98 - Add files missing from the last merge. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T05:37:14.070371Z K 7 svn:log V 105 - Add an event for network device link changes. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T05:54:49.924617Z K 7 svn:log V 84 - Merge new mlx4 includes. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T06:31:51.261483Z K 7 svn:log V 165 - Merge in ofed 1.5.3-rc1 changes from base. - Implement minor linux features required to build the merge. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T06:35:40.490915Z K 7 svn:log V 117 - Merge in updated verbs userland and management from base. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T06:40:39.703000Z K 7 svn:log V 145 - Fix a verbs compile error introduced in linux. - Add the new man pages to the build. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-03T06:56:43.813609Z K 7 svn:log V 230 Add support and documentation for the PT_NO_INSTALL_PACKAGE make variable which will cause a port to always be compiled, instead of being installed from a package. It cannot be used in combination with the --packages-only option. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T08:09:49.763998Z K 7 svn:log V 20 - Merge to current END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T09:18:12.157121Z K 7 svn:log V 34 - Merge to current via ofed/base END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-01-03T12:57:07.679414Z K 7 svn:log V 221 MFp4 r186485, r186859: Fix a race by defining two tasks in the zio structure as we can still be returning from issue task when interrupt task is used. Tested by: pjd Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-03T15:31:02.191320Z K 7 svn:log V 43 Allow partition mountpoints to be deleted. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-03T16:29:00.431265Z K 7 svn:log V 115 Small whitespace nits and add a comment explaining why kthread_exit() can call kproc_exit() that was lost earlier. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-01-03T17:17:31.663624Z K 7 svn:log V 244 Increase carried_error if we skip a file due to an error. This ensures that setfacl(1) exits with proper exit status on failure. PR: bin/149780 Submitted by: Ævar Arnfjörð Bjarmason (original version) Reviewed by: trasz MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-03T17:57:44.012740Z K 7 svn:log V 142 MFC 216679: Drop the icu_lock spinlock while pausing briefly after masking the interrupt in the I/O APIC before moving it to a different CPU. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-03T18:22:22.304861Z K 7 svn:log V 165 MFC 216679: Drop the icu_lock spinlock while pausing briefly after masking the interrupt in the I/O APIC before moving it to a different CPU. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-03T18:28:30.552115Z K 7 svn:log V 206 Add a 'locked' variant of the foo_start() routine and call it directly from interrupt handlers and watchdog routines instead of queueing a task to call foo_start(). Reviewed by: yongari MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-01-03T18:34:28.505093Z K 7 svn:log V 66 Release Martin Matuska who have done great as mentee. Good luck! END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-01-03T19:23:43.766709Z K 7 svn:log V 157 MFC r207745 (trasz): Enforce RLIMIT_FSIZE in ZFS. Note: original implementation without vn_rlimit_fsize (pre-r207662) Reviewed by: trasz Approved by: pjd END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-03T19:30:47.833015Z K 7 svn:log V 63 Put in the other half of the SRCCONF patch. Submitted by: phk END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-03T19:32:54.551591Z K 7 svn:log V 132 Bump the media size from approx 600MB to approx 750MB. The great hob-nailed tennis shoe of progress demands it! Submitted by: phk END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-03T20:32:08.411204Z K 7 svn:log V 54 Update gateworks exclusion list to match latest tree. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-03T20:37:31.693263Z K 7 svn:log V 192 Fix the nlm so that it no longer depends on the regular nfs client and, as such, can be loaded for the experimental nfs client without the regular client. Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 4 csjp K 8 svn:date V 27 2011-01-03T21:28:12.391614Z K 7 svn:log V 468 expand checkuser() to support the propagation of error codes back to the caller. Currently, checkuser() does not differentiate between the failure to open the file and the absence of a user in the file. Check to see if there was an error opening the file. If there are any errors, terminate the connection. Currently, the only exception to this rule is ENOENT, since there is nothing that says the /etc/ftpuser and /etc/ftpchroot has to exist. MFC after: 3 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-03T22:25:34.192304Z K 7 svn:log V 155 Use the synthetic symtab interface in binutils 2.17 to handle absent dotsyms on powerpc64. This is a backport of GDB elfread.c r1.51 by Daniel Jacobowitz. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-03T22:48:01.075107Z K 7 svn:log V 1046 When TARGET_ARCH_${kernel} gets set, it is using the host's config, not the one we build as part of make world. This means that make universe will fail if building on a too-old current or any stable system prior to a few days ago in weird ways (parse errors from shell). This copes with these old systems in two ways: (1) Works around the WARNING: issue by filtering all warnings that sneak onto stdout. (2) if TARGET_ARCH_${kernel} winds up being empty, then we error out immediately with a semi-useful error message. This usually comes from config not groking -m. Ideally, we'd use a buildworld's config here, but that's tricky, so I'll leave that detail to others to fix (it has to be done post make world for the arch rather than at the top level makefile). This should make 'make universe' usable from recent 8-stable systems (recent == last few months or so) for building -current. They have -m, but spewed warnings out stdout. Older systems will now at least get a firm error early rather than a confusing error late. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T22:58:22.695653Z K 7 svn:log V 300 - Move byteswap.h and endian.h from sys/ofed/include to usr/include/infiniband which is a more natural location for these compatibility headers. - Use ${.CURDIR} where appropriate. - Protect the ALIGN() define to prevent redefinition. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T22:59:15.595739Z K 7 svn:log V 198 - Add link_state_change calls to ipoib. - Fix a corrupt filp pointer that can occur now that I've switched back to kmalloc from kzalloc. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-03T23:00:52.202859Z K 7 svn:log V 151 - Add contrib/ofed to the build. This works for now but may not be the ultimate solution. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-03T23:05:20.133988Z K 7 svn:log V 65 Note compatibility issues with make universe and stable systems. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-03T23:11:52.419812Z K 7 svn:log V 45 Add support for R_PPC64_UADDR64 relocations. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-03T23:37:42.565649Z K 7 svn:log V 63 Fix parameters for wakeup(9) and tsleep(9). MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-04T00:08:39.597630Z K 7 svn:log V 136 Wait for commands to complete 10 times longer. This makes my A-DATA 32GB SDHC card being detected. Reviewed by: imp MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-04T00:10:29.371771Z K 7 svn:log V 57 Clear GPE from a query handler if the task was deferred. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-01-04T00:11:09.589708Z K 7 svn:log V 89 Handle failure from ftpd_popen in statfilecmd(). Reviewed by: attilio MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-04T00:16:38.756924Z K 7 svn:log V 456 Adjust the critical section protecting _xen_flush_queue to cover the entire range where the page mapping request queue needs to be atomically examined and modified. Oddly, while this doesn't seem to affect the overall rate of panics (running 'make index' on EC2 t1.micro instances, there are 0.6 +/- 0.1 panics per hour, both before and after this change), it eliminates vm_fault from panic backtraces, leaving only backtraces going through vmspace_fork. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-01-04T00:39:56.631496Z K 7 svn:log V 80 Make format string a string literal. (Discovered by clang.) MFC After: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-04T02:11:03.670275Z K 7 svn:log V 244 o) Unmask Central Interrupt Unit interrupts on APs, too. o) There's no good reason to make the low bits of the ebase the core number. While per-CPU exception bases would be nice, for now we just need to make ebase the same on all cores. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-04T02:33:48.855563Z K 7 svn:log V 239 o) Add MIPS_COP_0_EXC_PC accessors to . o) Make the octeon_wdog driver work on multi-CPU systems and to also print more information on NMI that may aid debugging. Simplify and clean up internal API and structure. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-01-04T02:52:22.433355Z K 7 svn:log V 80 Quiet clang warnings by using literal format strings for printf-like functions. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2011-01-04T05:35:19.628653Z K 7 svn:log V 89 Because sleepqueue may still being used, we should always check wchan with queue locked. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-04T05:35:44.038126Z K 7 svn:log V 241 - Enable write combining memory attribute support in mmap and ioremap. - Add the write-combine source file for mlx4 back to the build. - Set pages to dirty when releasing umem maps. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-04T10:25:55.191286Z K 7 svn:log V 237 Instead of incrementing freework reference counter in indir_trunc(), do it at the allocation time for journaled fs and indirect blocks, when the allocated object is not accessible outside. Requested and reviewed by: jeff Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-04T10:59:38.071172Z K 7 svn:log V 74 Finish r210923, 210926. Mark some devices as eternal. MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-01-04T13:02:52.673253Z K 7 svn:log V 61 Quiet clang warnings by using string literal format strings. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-04T13:16:28.566191Z K 7 svn:log V 110 kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn't needed for lint. Submitted by: bde END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-04T14:13:09.883639Z K 7 svn:log V 198 Make the parsing of the integer arguments for rtprio(1)/idprio(1) stricter. Style. Based on submission by: Eitan Adler , keramida Reviewed by: jhb, keramida MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-01-04T14:49:54.472383Z K 7 svn:log V 289 Make "options XENHVM" compile for i386, not just amd64 -- a largely mechanical change. This opens the door for using PV device drivers under Xen HVM on i386, as well as more general harmonisation of i386 and amd64 Xen support in FreeBSD. Reviewed by: cperciva MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-04T15:09:42.342696Z K 7 svn:log V 108 MFC 216769: Start sentences on a new line to ease life for translators. Tweak the wording in a few places. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-04T15:11:08.664982Z K 7 svn:log V 108 MFC 216769: Start sentences on a new line to ease life for translators. Tweak the wording in a few places. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-04T15:53:38.993329Z K 7 svn:log V 131 MFC 216769: Start sentences on a new line to ease life for translators. Tweak the wording in a few places. Approved by: re (kib) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-04T15:55:15.638091Z K 7 svn:log V 498 Add hamfisted locking to the Xen/PV pmap code: Only allow one thread to be in {pmap_pinit, pmap_copy, pmap_release} at a time. This reduces the rate of panics when running 'make index' from ~0.6/hour to ~0.02/hour (p < 10^-30). At a later date this locking will be removed, and for this reason, it is wrapped in #ifdef HAMFISTED_LOCKING; this temporary hack is being put in place with the intention of shipping somewhat-stable Xen bits in FreeBSD 8.2-RELEASE. PR: kern/153672 MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-04T16:11:32.644707Z K 7 svn:log V 282 Reserve INTR_MD[1-4] similarly to what BUS_DMA_BUS[1-4] are intended for and switch sparc64 to use the first one for bus error filter handlers of bridge drivers instead of (ab)using INTR_FAST for that so we eventually can get rid of the latter. Reviewed by: jhb MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-04T16:21:14.821476Z K 7 svn:log V 125 Inherit the APB and the generic OFW PCI-PCI bridge driver from the generic PCI-PCI bridge driver in order to safe some code. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-04T16:29:07.836432Z K 7 svn:log V 70 Spell CRITICAL_ASSERT correctly. Submitted by: jhb MFC with: r216944 END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-04T16:51:24.810204Z K 7 svn:log V 215 MFC: 215434, 215724 Add new, per connection, statistics for TCP, including: Retransmitted Packets Zero Window Advertisements Out of Order Receives These statistics are available via the -T argument to netstat(1). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-04T17:06:03.114934Z K 7 svn:log V 107 Clarify the previous commit. AcpiFinishGpe() will not clear GPE for us because we set it to edge-trigger. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-01-04T17:18:53.792620Z K 7 svn:log V 320 MFC r211397: Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru Reminded by the following PR: docs/153615 Submitted by: Warren Block (wblock at wonkity dot com) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-04T17:27:17.638896Z K 7 svn:log V 160 Use errx() instead of err() in parseint. There is usually no interesting information in errno. Noted by: Garrett Cooper MFC after: 1 week END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-04T18:27:00.905820Z K 7 svn:log V 215 MFC: 215434, 215724 Add new, per connection, statistics for TCP, including: Retransmitted Packets Zero Window Advertisements Out of Order Receives These statistics are available via the -T argument to netstat(1). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-04T19:09:05.523767Z K 7 svn:log V 522 Remove OCTEON1-32. Since moving to the Cavium SDK, we've lost our support for running an o32 kernel safely, and would have to add interrupt disabling and reenabling to a bunch of macros in the Simple Executive sources to support it. The only reason one would run an o32 kernel on Octeon would be to run o32 world, which is better worked towards by adding o32 binary compatibility to n64 kernels along with, eventually, supporting multilib systems so o32 binaries can run alongside n32 and n64 ones. Discussed with: imp END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-04T19:10:54.782397Z K 7 svn:log V 645 Partially revert change made in r212061. r212061 relied on bus_dma(9)'s capability which honors boundary restrictions of DMA tag for dynamic buffers. However it seems this does not work well and it triggered watchodg timeouts on controller that has the hardware bug. It's not clear whether there is still another hardware bug not mentioned in errata. This should be revisited since this change shall make use of bounce buffers which in turn reduces performance a lot on systems that have more than 4GB memory. Reported by: Michael L. Squires (mikes <> siralan dot org) Tested by: Michael L. Squires (mikes <> siralan dot org) MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-04T19:26:11.064880Z K 7 svn:log V 43 OLDCARD is long gone. Discussed with: imp END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-04T19:32:03.874238Z K 7 svn:log V 703 Correct an 8-year-old typo which reliably leads to typo after typo today: The macros here for generating coprocessor 0 accessors are named like: MIPS_RDRW32_COP0 That macro would produce mips_rd_() and mips_wr_() inlines to access the specified register by name from C. The problem is that the R and the W were swapped in the macros originally; it was meant to be named RDWR because it generated mips_rd_* and mips_wr_* functions, but was instead spelled RDRW, which nobody should be expected to get right by anything other than copy and paste. It's too many consonants in a row to keep straight anyway, so just prefer e.g.: MIPS_RW32_COP0 While here, add a missing #undef. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-04T20:06:26.049559Z K 7 svn:log V 165 Limit hardware bug workaround to controllers that have 4GB boundary bug instead of blindly applying it to all controllers. Pointed out by: marius MFC after: 3 days END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-04T20:15:16.865083Z K 7 svn:log V 161 Merge r216045 from head: Support the Falcom Twist USB GSM/GPRS modem in uftdi(4) PR: usb/151862 Submitted by: Alessandro de Manzano END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-04T20:26:41.416130Z K 7 svn:log V 129 Remove '-elf' from build flags for libexec/rtld-elf for amd64 and i386. ELF has been the default format for almost 12 years now. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-04T20:38:52.135013Z K 7 svn:log V 191 Merge r216045 from head (by hand, due to code changes): Support the Falcom Twist USB GSM/GPRS modem in uftdi(4) PR: usb/151862 Submitted by: Alessandro de Manzano END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-04T20:51:28.579377Z K 7 svn:log V 667 On amd64 and i386, tell the compiler to refrain from generating SSE, 3DNow, MMX and floating point instructions in rtld-elf. Otherwise, _rtld_bind() (and whatever it calls) could possibly clobber function arguments that are passed in SSE/3DNow/MMX/FP registers, usually floating point values. This can happen, for example, when clang generates SSE code for memset() or memcpy() calls. One symptom of this is sshd dying early on amd64 with "PRNG not seeded", which is ultimately caused by libcrypto.so.6 calling RAND_add() with a double parameter. That parameter is passed via %xmm0, which gets wiped out by an SSE memset() in _rtld_bind(). Reviewed by: kib, kan END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-04T22:44:10.877987Z K 7 svn:log V 530 Implement three types of forced errors in the ada layer for the purpose of testing uppper layers in the stack. kern.cam.ada.X.periodic_read_error specifies that every Nth read will fail. kern.cam.ada.X.force_read_error specifies that the next N reads will fail. kern.cam.ada.X.force_write_error specifies that the next N writes will fail. These are enabled with 'options ADA_TEST_FAILURE'. Otherwise, they aren't added to the kernel. Also, the sysctl stuff is only used for this feature, so move it under this option ifdef. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-04T22:44:57.826042Z K 7 svn:log V 53 File optimized for testing the work we're doing now. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-04T22:47:42.043636Z K 7 svn:log V 67 Use the last 16 bytes of the label rather than the first 16 bytes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-04T22:50:28.476638Z K 7 svn:log V 203 Use only 24 bytes to accomidate the SATA label. Intel doesn't do SAS drives for this kind of raid, so no need to waste stack in case we see a SAS drive with the intel metadata on it. Reviewed by: mav@ END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-04T22:56:18.468827Z K 7 svn:log V 441 Update committers-doc.dot, noving doc committer alumni into the alumni section and recording the date these commit bits were returned. Also, sort the remaining entries, and add a node for mheinen, who is already referenced within the mentor relationships. Other doc committers are encouraged to add themselves, and any mentor/mentee relationships. The current rendered output is available at http://people.freebsd.org/~gavin/comm-doc.png END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-04T23:00:54.523304Z K 7 svn:log V 95 Fix typo in default config file. Approved by: Warner Losh MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-05T00:19:40.758762Z K 7 svn:log V 235 First pass at error recovery: if the first disk that we get errors on has a problem, try from the second one. Note info about possible bad sector remap attempt through write, and some ideas on when to eject the subdisk from the disk. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-05T01:07:32.396876Z K 7 svn:log V 251 Add a new variable (BSDINSTALL_CONFIGCURRENT), which, if set, will cause the installer to configure the current system in addition to the new one. This is for use by the network configuration script, which now does the appropriate thing in this case. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-05T09:43:04.032724Z K 7 svn:log V 58 Add gjb to the doc committer graph, as my current mentee. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-05T09:45:20.050224Z K 7 svn:log V 114 Glen Barber is co-mentored by me and jkois, so add another relationship edge to the committer graph to show this. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-01-05T09:58:41.060270Z K 7 svn:log V 605 Fix page fault that occurred when trying to initialize preloaded kernel module, the dependency of which was preloaded, but failed to initialize. Previously, kernel dereferenced NULL pointer returned by modlist_lookup2(); now, when this happens, we unload the dependent module. Since the depended_files list is sorted in dependency order, this properly propagates, unloading modules that depend on failed ones. From the user point of view, this prevents the kernel from panicing when trying to boot kernel compiled without KDTRACE_HOOKS with dtraceall_load="YES" in /boot/loader.conf. Reviewed by: kib END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T11:29:07.105142Z K 7 svn:log V 525 MFC: r216891 Extend the section in which interrupts are disabled in the TLB demap functions, otherwise if we get preempted after checking whether a certain pmap is active on the current CPU but before disabling interrupts we might operate on an outdated state as the pmap might have been deactivated in the meantime. As the same issue may arises when the TLB demap function is interrupted by a TLB demap IPI, just entering a critical section before the check isn't sufficient so we have to fully disable interrupts instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T11:29:10.052365Z K 7 svn:log V 525 MFC: r216891 Extend the section in which interrupts are disabled in the TLB demap functions, otherwise if we get preempted after checking whether a certain pmap is active on the current CPU but before disabling interrupts we might operate on an outdated state as the pmap might have been deactivated in the meantime. As the same issue may arises when the TLB demap function is interrupted by a TLB demap IPI, just entering a critical section before the check isn't sufficient so we have to fully disable interrupts instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T11:43:17.408937Z K 7 svn:log V 680 MFC: r216085 - Remove the remaining support for older (in this case pre-7.0-RELEASE) versions of FreeBSD. In fact we are already missing a lot of conditional code necessary to support older versions of FreeBSD, including alternatives for vital functionality not yet provided by the respective subsystem back then (see for example r199663). So this change shouldn't actually break this driver on versions of FreeBSD that were supported before. Besides, this driver also isn't maintained as an multi-release version outside of the main repository, so removing the conditional code shouldn't be a problem in that regard either. - Sprinkle some more const on tables. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T11:43:17.855227Z K 7 svn:log V 680 MFC: r216085 - Remove the remaining support for older (in this case pre-7.0-RELEASE) versions of FreeBSD. In fact we are already missing a lot of conditional code necessary to support older versions of FreeBSD, including alternatives for vital functionality not yet provided by the respective subsystem back then (see for example r199663). So this change shouldn't actually break this driver on versions of FreeBSD that were supported before. Besides, this driver also isn't maintained as an multi-release version outside of the main repository, so removing the conditional code shouldn't be a problem in that regard either. - Sprinkle some more const on tables. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T11:46:17.496147Z K 7 svn:log V 242 MFC: r216623 - Add a comment regarding the fact that as documented in the datasheet manual 1000BASE-T modes of DP83865 only work together with other National Semiconductor PHYs. - Spell 10BASE-T correctly - Remove some redundant braces. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T11:46:18.040221Z K 7 svn:log V 242 MFC: r216623 - Add a comment regarding the fact that as documented in the datasheet manual 1000BASE-T modes of DP83865 only work together with other National Semiconductor PHYs. - Spell 10BASE-T correctly - Remove some redundant braces. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-05T11:49:23.113783Z K 7 svn:log V 346 Add a man page for the Object Specific Data (OSD) KPI. Although not directly related the FreeBSD Foundation funded "Five New TCP Congestion Control Algorithms for FreeBSD" project, the understanding and inspiration required to write this documentation was significantly bolstered by the Foundation's support. Reviewed by: pjd MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T12:05:27.236723Z K 7 svn:log V 244 MFC: r216628 Extend the hack of r182730 to trick GAS/GCC into compiling access to STICK/STICK_COMPARE independently of the selected instruction set by TICK_COMPARE so tick.c once again can be compiled with gcc -mcpu=v9 for reference purposes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T12:05:31.435302Z K 7 svn:log V 276 MFC: r216628 Extend the hack of r182730 (MFC'ed to stable/7 in r190033) to trick GAS/GCC into compiling access to STICK/STICK_COMPARE independently of the selected instruction set by TICK_COMPARE so tick.c once again can be compiled with gcc -mcpu=v9 for reference purposes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T12:20:53.424350Z K 7 svn:log V 117 MFC: r216801 Rename the "xor" parameter to "xorval" as the former is a reserved keyword in C++. Submitted by: gahr END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T12:20:55.227976Z K 7 svn:log V 117 MFC: r216801 Rename the "xor" parameter to "xorval" as the former is a reserved keyword in C++. Submitted by: gahr END