218900 100 846 163 163 1127 1127 733 742 282 247 219 315 212 931 278 235 317 562 171 231 255 255 926 2165 491 159 148 300 489 152 133 132 204 631 255 282 181 255 234 209 345 309 509 155 137 316 358 334 310 171 888 112 138 333 307 218 219 543 219 252 207 311 805 523 523 341 219 301 194 325 176 525 168 356 243 233 212 206 346 157 139 129 129 110 204 454 363 181 154 409 666 122 126 215 215 313 313 219 219 233 193 K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T01:01:26.163106Z K 7 svn:log V 749 MFC r217247,217381-217382,217384-217385: r217247: When driver is not running, do not send DUMP command to controller and just show old (cached) values. Controller will not respond to the command unless MAC is enabled so DUMP request for down interface caused request timeout. r217381: Allow TX/RX checksum offloading to be configured independently. r217382: re_reset() should be called only after setting device specific features. r217384: Make sure to check validity of dma maps before destroying. r217385: If driver is not able to allocate RX buffer, do not start driver. While I'm here move RX buffer allocation and descriptor initialization up to not touch hardware registers in case of RX buffer allocation failure. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T01:04:16.153201Z K 7 svn:log V 67 MFC r217498: Add initial support for RTL8168E/8111E-VL PCIe GbE. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T01:05:23.769214Z K 7 svn:log V 67 MFC r217498: Add initial support for RTL8168E/8111E-VL PCIe GbE. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T01:08:13.095501Z K 7 svn:log V 1029 MFC r217499: Implement initial jumbo frame support for RTL8168/8111 C/D/E PCIe GbE controllers. It seems these controllers no longer support multi-fragmented RX buffers such that driver have to allocate physically contiguous buffers. o Retire RL_FLAG_NOJUMBO flag and introduce RL_FLAG_JUMBOV2 to mark controllers that use new jumbo frame scheme. o Configure PCIe max read request size to 4096 for standard frames and reduce it to 512 for jumbo frames. o TSO/checksum offloading is not supported for jumbo frames on these controllers. Reflect it to ioctl handler and driver initialization. o Remove unused rl_stats_no_timeout in softc. o Embed a pointer to structure rl_hwrev into softc to keep track of controller MTU limitation and remove rl_hwrev in softc since that information is available through a pointer to structure rl_hwrev. Special thanks to Realtek for donating sample hardwares which made this possible. H/W donated by: Realtek Semiconductor Corp. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T01:15:11.165421Z K 7 svn:log V 1029 MFC r217499: Implement initial jumbo frame support for RTL8168/8111 C/D/E PCIe GbE controllers. It seems these controllers no longer support multi-fragmented RX buffers such that driver have to allocate physically contiguous buffers. o Retire RL_FLAG_NOJUMBO flag and introduce RL_FLAG_JUMBOV2 to mark controllers that use new jumbo frame scheme. o Configure PCIe max read request size to 4096 for standard frames and reduce it to 512 for jumbo frames. o TSO/checksum offloading is not supported for jumbo frames on these controllers. Reflect it to ioctl handler and driver initialization. o Remove unused rl_stats_no_timeout in softc. o Embed a pointer to structure rl_hwrev into softc to keep track of controller MTU limitation and remove rl_hwrev in softc since that information is available through a pointer to structure rl_hwrev. Special thanks to Realtek for donating sample hardwares which made this possible. H/W donated by: Realtek Semiconductor Corp. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T01:19:09.482674Z K 7 svn:log V 636 MFC r217524,217766: Change model names of controller RTL_HWREV_8168_SPIN[123] to real ones. s/RL_HWREV_8168_SPIN1/RL_HWREV_8168B_SPIN1/g s/RL_HWREV_8168_SPIN2/RL_HWREV_8168B_SPIN2/g s/RL_HWREV_8168_SPIN3/RL_HWREV_8168B_SPIN3/g No functional changes. r217766: Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernet controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX completion interrupts under high TX load(e.g. from 147k interrupts/second to 10k interrupts/second) With this change, TX interrupt moderation is applied to all controllers except RTL8139C+. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T01:20:56.632330Z K 7 svn:log V 645 MFC r217524,217766: r217524: Change model names of controller RTL_HWREV_8168_SPIN[123] to real ones. s/RL_HWREV_8168_SPIN1/RL_HWREV_8168B_SPIN1/g s/RL_HWREV_8168_SPIN2/RL_HWREV_8168B_SPIN2/g s/RL_HWREV_8168_SPIN3/RL_HWREV_8168B_SPIN3/g No functional changes. r217766: Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernet controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX completion interrupts under high TX load(e.g. from 147k interrupts/second to 10k interrupts/second) With this change, TX interrupt moderation is applied to all controllers except RTL8139C+. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-21T03:52:51.945629Z K 7 svn:log V 186 Implement setting the short preamble bit if it's needed for the current node. Short preamble rates are only for legacy rates; MCS rate codes don't have a short preamble code like this. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-21T05:10:34.441406Z K 7 svn:log V 151 Modify the AR5416 11na rate table to use 24mb OFDM 11a for control traffic, rather than MCS 0. Using MCS0 for protecting 11a rates seems a bit silly. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-21T09:01:34.629591Z K 7 svn:log V 123 Fix typos - remove duplicate "the". PR: bin/154928 Submitted by: Eitan Adler MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-21T09:56:08.587443Z K 7 svn:log V 219 The FD_FORM ioctl used to ignore errors from the floppy controller; now when it encounters an error it returns an error from the ioctl. Ignore any errors when using the FD_FORM ioctl. PR: kern/103862 MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-21T10:08:47.695207Z K 7 svn:log V 120 MFC r218127, r218128: Add xz(1) support to newsyslog. Rewrite and simplify logfile compression code. Approved by: gad END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-02-21T11:56:11.629389Z K 7 svn:log V 833 Final commit to round out the "Five New TCP Congestion Control Algorithms for FreeBSD" FreeBSD Foundation funded project. - Add new man pages for the modular congestion control, Khelp and Hhook frameworks (cc.4, cc.9, khelp.9 and hhook.9). - Add new man pages for each available congestion control algorithm (cc_chd.4, cc_cubic.4, cc_hd.4, cc_htcp.4, cc_newreno.4 and cc_vegas.4). - Add a new man page for the Enhanced Round Trip Time (ERTT) Khelp module (h_ertt.4). - Update the TCP (tcp.4) man page to mention the TCP_CONGESTION socket option, cross reference to cc.4 and remove references to the retired "net.inet.tcp.newreno" sysctl MIB variable. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation MFC after: 3 months END K 10 svn:author V 6 cognet K 8 svn:date V 27 2011-02-21T13:11:05.315473Z K 7 svn:log V 182 Get myself a brain, move the call to init_param1() before the first use in at91_machdep.c, and do it for the files I forgot the first time Reported by: andrew Submitted by: pluknet END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-02-21T13:22:29.182262Z K 7 svn:log V 137 Actually install the example Khelp module committed in r218545. Sponsored by: FreeBSD Foundation MFC after: 4 weeks X-MFC with: r218545 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-21T14:28:31.902936Z K 7 svn:log V 216 Add some error checking on the return values of chdir() and calloc(). The first might actually happen, so it displays the error message in a prettier way. Found by: Coverity Prevent(tm) CID: 9121, 9122, 9123, 9124 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-21T15:49:59.383092Z K 7 svn:log V 466 Default to the lowest negotiated rate for mgmt/multicast traffic in 11n mode The current code transmits management and multicast frames at MCS 0. What it should do is check whether the negotiated basic set is zero (and the MCS set is not) before making this decision. For now, simply default to the lowest negotiated rate, rather than MCS 0. This fixes the behaviour with at least the DLINK DIR-825, which ACKs but silently ignores block-ack (BA) response frames. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-21T16:03:39.928887Z K 7 svn:log V 75 mdoc(7) markup. Approved by: avg (mentor), kib (mentor) MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-21T16:21:43.371270Z K 7 svn:log V 135 Make private functions static. PR: kern/43611 Submitted by: Matt Emmerton Reviewed by: kib MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-21T16:30:27.362490Z K 7 svn:log V 163 MFC r216098: - Report an error when a label with invalid name is attempted to be created with glabel(8). - Fix a typo in an error message. - Fix comment typos. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-21T16:33:01.062714Z K 7 svn:log V 163 MFC r216098: - Report an error when a label with invalid name is attempted to be created with glabel(8). - Fix a typo in an error message. - Fix comment typos. END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-02-21T16:55:53.959675Z K 7 svn:log V 833 MFC: r218811: In the MPS driver, during device removal processing, don't assume that the controller firmware will return all of our commands. Instead, keep track of outstanding I/Os and return them to CAM once device removal processing completes. mpsvar.h: Declare the new "io_list" in the mps_softc. mps.c: Initialize the new "io_list" in the mps softc. mps_sas.c: o Track SCSI I/O requests on the io_list from the time of mpssas_action() through mpssas_scsiio_complete(). o Zero out the request structures used for device removal commands prior to filling them out. o Once the target reset task management function completes during device removal processing, assume any SCSI I/O commands that are still oustanding will never return from the controller, and process them manually. Submitted by: gibbs END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-02-21T18:11:56.410698Z K 7 svn:log V 2071 MFC: r218812 Fix several issues with the mps(4) driver. When the driver ran out of DMA chaining buffers, it kept the timeout for the I/O, and I/O would stall. The driver was not freezing the device queue on errors. mps.c: Pull command completion logic into a separate function, and call the callback/wakeup for commands that are never sent due to lack of chain buffers. Add a number of extra diagnostic sysctl variables. Handle pre-hardware errors for configuration I/O. This doesn't panic the system, but it will fail the configuration I/O and there is no retry mechanism. So the device probe will not succeed. This should be a very uncommon situation, however. mps_sas.c: Freeze the SIM queue when we run out of chain buffers, and unfreeze it when more commands complete. Freeze the device queue when errors occur, so that CAM can insure proper command ordering. Report pre-hardware errors for task management commands. In general, that shouldn't be possible because task management commands don't have S/G lists, and that is currently the only error path before we get to the hardware. Handle pre-hardware errors (like out of chain elements) for SMP requests. That shouldn't happen either, since we should have enough space for two S/G elements in the standard request. For commands that end with MPI2_IOCSTATUS_SCSI_IOC_TERMINATED and MPI2_IOCSTATUS_SCSI_EXT_TERMINATED, return them with CAM_REQUEUE_REQ to retry them unconditionally. These seem to be related to back end, transport related problems that are hopefully transient. We don't want to go through the retry count for something that is not a permanent error. Keep track of the number of outstanding I/Os. mpsvar.h: Track the number of free chain elements. Add variables for the number of outstanding I/Os, and I/O high water mark. Add variables to track the number of free chain buffers and the chain low water mark, as well as the number of chain allocation failures. Add I/O state flags and an attach done flag. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-21T18:58:58.186427Z K 7 svn:log V 395 Add a vocal warning to ath_hal_computetxtime() function is used for non-11n rates. It's used to calculate: * the initial per-rate entries for short/long preamble ACK durations; * packet durations for TDMA slot decisions; * RTS/CTS protection durations; * updating the duration field in the 802.11 frame header This way invalid durations will generate a warning, prompting for it to be fixed. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-21T19:19:05.185585Z K 7 svn:log V 64 Add a new counter which tracks frames TX'ed with HT protection. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-21T19:22:45.867510Z K 7 svn:log V 53 Fix formatting of new stat sysctls; add descriptions END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-21T19:46:02.410686Z K 7 svn:log V 207 In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable from uint16_t back to uint32_t. The actual option bitmasks (RB_* and RBX_*) assume at least a 32 bit variable. Submitted by: rdivacky END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-02-21T19:59:43.709669Z K 7 svn:log V 391 Add a new mgmt subtype "ACTION NO ACK" defined in 802.11n-2009, while here clean up parts of the *_recv_mgmt() functions. - make sure appropriate counters are bumped and debug messages are printed - order the unhandled subtypes by value and add a few missing ones - fix some whitespace nits - remove duplicate code in adhoc_recv_mgmt() - remove a useless comment, probably left in while c&p END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-02-21T20:02:02.892251Z K 7 svn:log V 55 It is IEEE80211_SUPPORT_XXX not IEEE80211_XXX_SUPPORT. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-02-21T21:00:29.857689Z K 7 svn:log V 36 MFC r218368: Fix cut&paste mistake. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-02-21T21:13:18.059038Z K 7 svn:log V 37 Resurrect ofw_pci_if.m from r178578. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-22T00:01:19.173503Z K 7 svn:log V 108 * Don't setup the scenario if the try count is 0 * Comment what else is going on during rate scenario setup END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-22T00:37:53.083440Z K 7 svn:log V 535 Shuffle around the RTS/CTS rate/duration logic. * Turn ath_tx_calc_ctsduration() into a function that returns the ctsduration, or -1 for HT rates; * add a printf() to ath_tx_calc_ctsduration() which will be very loud if somehow that function is called with an MCS rate; * Add ath_tx_get_rtscts_rate() which returns the RTS/CTS rate to use for the given data rate, incl. the short preamble flag; * Only call ath_tx_calc_ctsduration() for non-11n chipsets; 11n chipsets don't require the rtscts duration to be calculated. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-22T04:03:33.409682Z K 7 svn:log V 162 Testing based on MACHINE_ARCH is problematic. Default to yes to build clang. A separate change will fix buildworld to default to yes or no based on the target. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-22T04:07:15.086963Z K 7 svn:log V 189 Select building CLANG based on ${TARGET_ARCH} and existence of WITH{,OUT}_CLANG. We default to yes on some archs, no on others, unless WITHOUT_CLANG or WITH_CLANG is defined respectively. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-22T04:41:04.986484Z K 7 svn:log V 86 Don't set the RTS/CTS enable bit per-scenario if the global RTS/CTS flags aren't set. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-22T04:49:57.081741Z K 7 svn:log V 162 Back out 218933 and 281934. The easy cases still worked, but some hard cases broke in worse ways than the status quo. Back them out until that can be resolved. END K 10 svn:author V 4 miwi K 8 svn:date V 27 2011-02-22T05:10:13.227399Z K 7 svn:log V 140 - Remove no longer in use PR: kern/152354 Submitted by: vehemens Discussion with:kib Approved by: rwatson (mentor) END K 10 svn:author V 4 miwi K 8 svn:date V 27 2011-02-22T05:13:26.942937Z K 7 svn:log V 115 - Fix QA issues PR: misc/146687 Submitted by: Garrett Cooper Approved by: rwatson (mentor) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-02-22T07:49:51.160778Z K 7 svn:log V 247 Fix bzero() for 64-bit. The existing implementation of bzero incorrectly clears bytes when the start address is not word aligned. Fix it by using REG_SHI macro which works on both 32 and 64 bit. Submitted by: Artem Belevich (fbsdlist at src cx) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-22T08:07:17.150282Z K 7 svn:log V 216 Teach tools/install.sh the -d directory mode. Sync up with flags understood by install(1) [1], and make install(1)'s usage output not hide the clearly documented -M flag. PR: misc/154739 [1] Submitted by: arundel END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-22T08:13:49.822790Z K 7 svn:log V 416 Flesh out WITHOUT_GROFF support to DTRT. A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-22T08:20:12.654326Z K 7 svn:log V 63 The default for FDT has changed, rename the flag/options file. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-22T08:21:22.881623Z K 7 svn:log V 45 Regen src.conf(5) after r218941 and r218942. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-02-22T09:11:47.315976Z K 7 svn:log V 219 Make code more friendly to the non-C99 compilers - don't allocate local variables in the `for' loop declaration. This allows trunk newsyslog.c to be compiled on 7.x. This change should be no-op from the functional POV. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-02-22T10:09:34.293468Z K 7 svn:log V 260 Use a single list to simplify future maintenance and ensure all list items are aligned the same (no functional change at the moment as both list items are the same number of characters). Sponsored by: FreeBSD Foundation MFC after: 3 months X-MFC with: 218912 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-22T13:52:03.738731Z K 7 svn:log V 240 MFi386: revision 218926 In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable from uint16_t back to uint32_t. The actual option bitmasks (RB_* and RBX_*) assume at least a 32 bit variable. Submitted by: rdivacky END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-22T13:56:59.311791Z K 7 svn:log V 209 Add support for optional distributions, installation of the ports tree and src. Fitting all of this on a single CD along with a full system requires changing the default compression algorithm from gzip to xz. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-22T14:02:00.143666Z K 7 svn:log V 71 New-style release scripts designed for integration into the main tree. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-22T14:47:10.871817Z K 7 svn:log V 795 Eliminate two dubious attempts at optimizing the implementation of a file's last accessed, modified, and changed times: TMPFS_NODE_ACCESSED and TMPFS_NODE_CHANGED should be set unconditionally in tmpfs_remove() without regard to the number of hard links to the file. Otherwise, after the last directory entry for a file has been removed, a process that still has the file open could read stale values for the last accessed and changed times with fstat(2). Similarly, tmpfs_close() should update the time-related fields even if all directory entries for a file have been removed. In this case, the effect is that the time-related fields will have values that are later than expected. They will correspond to the time at which fstat(2) is called. In collaboration with: kib MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-22T14:58:14.292128Z K 7 svn:log V 20 Fix whitespace nit. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-22T15:31:40.348379Z K 7 svn:log V 47 Xref makefs(8). PR: 154708 Submitted by: jhs END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-22T17:37:13.366901Z K 7 svn:log V 237 MFC r218839: In the distribution list, 'A' is listed as the key to press to select both 'All' and 'Minimal'. Update the keys for Minimal and Custom to avoid the conflict. PR: bin/153809 Submitted by: Janne Snabb END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-22T17:38:43.605605Z K 7 svn:log V 211 MFC r218840: Remove the quotas option from the Startup Services menu. GENERIC has no support for quotas so this option has no effect. PR: bin/123237 Submitted by: Lawrence Mayer END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-22T17:40:18.601403Z K 7 svn:log V 122 MFC r218841: Allow users to create ufs1 filesystems via the noninteractive install.cfg system. PR: bin/113979 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-22T17:43:09.723219Z K 7 svn:log V 123 MFC r218854: Update the icmp example to show allowing only the safe types. Suggested by: Tom Judge END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-22T17:50:33.210131Z K 7 svn:log V 447 MFC r218839, r218840, r218841: In the distribution list, 'A' is listed as the key to press to select both 'All' and 'Minimal'. Update the keys for Minimal and Custom to avoid the conflict. Remove the quotas option from the Startup Services menu. GENERIC has no support for quotas so this option has no effect. Allow users to create ufs1 filesystems via the noninteractive install.cfg system. PR: bin/153809 PR: bin/123237 PR: bin/113979 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-22T17:51:45.387657Z K 7 svn:log V 123 MFC r218854: Update the icmp example to show allowing only the safe types. Suggested by: Tom Judge END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-02-22T19:05:42.088269Z K 7 svn:log V 154 Make sure to only accept and handle action frames which are for us. In promiscuous mode we might receive stuff which otherwise gets filtered by hardware. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-02-22T19:18:56.286382Z K 7 svn:log V 109 Better method for grabbing disk name, dmesg may produce mangled output. Approved by: kib (mentor, implicit) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-02-22T19:37:12.185733Z K 7 svn:log V 213 Added patch-functions-upgrade which should fix some kernel panics doing upgrades and uninstalling linux compat ports. Submitted by: Joerg-Christian Boehme Approved by: kib (mentor, implicit) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-22T21:13:40.125228Z K 7 svn:log V 710 Update how accounting log files are rotated. The old version had a race between the time that the old file was cp'ed to acct.0 and the time that 'sa -s' was run that prevented the commands that occurred in the meantime from being backed up. It's also arguable that the old version was inefficient in using cp which can be a problem on a space-constrained system. This version avoids both problems, albeit it's considerably more complicated. The advantage of putting the log rotation in the rc.d script is that it can handle the _enable and _file questions without having to do gymnastics to discover either value in the periodic script. As a side effect of reviewing the rc.d script I cleaned it up a bit. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-22T21:24:36.923993Z K 7 svn:log V 426 MFC r218710: Fix a regression introduced in r215906. The change made in r215906 caused link re-negotiation whenever application joins or leaves a multicast group. If driver is running, it would have established a link so there is no need to start re-negotiation. The re-negotiation broke established link which in turn stopped multicast application working while re-negotiation is in progress. PR: kern/154667 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-22T21:27:46.357890Z K 7 svn:log V 426 MFC r218710: Fix a regression introduced in r215906. The change made in r215906 caused link re-negotiation whenever application joins or leaves a multicast group. If driver is running, it would have established a link so there is no need to start re-negotiation. The re-negotiation broke established link which in turn stopped multicast application working while re-negotiation is in progress. PR: kern/154667 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-23T02:40:31.367756Z K 7 svn:log V 244 Remove unnecessary controller reinitialization which resulted in link flips during alias address insertion or dhclient operation. While I'm here remove dc_reset() in DC_ISR_BUS_ERR case. Device is fully reinitialized again in dc_init_locked(). END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-23T09:22:33.123359Z K 7 svn:log V 123 Fix typos - remove duplicate "is". PR: docs/154934 Submitted by: Eitan Adler MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-23T10:28:37.368732Z K 7 svn:log V 205 Calculate and return the count in vmspace_swap_count as a vm_offset_t instead of an int to avoid overflow. While here, clean up some style(9) issues. PR: kern/152200 Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-23T12:56:25.555486Z K 7 svn:log V 101 Fix off-by-one error in check against max_threads_per_proc. Submitted by: arundel MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-23T12:58:50.721876Z K 7 svn:log V 232 Properly handle BARs bigger than 4G. The '1' was treated as an int causing the size calculation to be truncated to the size of an int (32-bits on all current architectures). Submitted by: Anish akgupt3 of gmail MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-23T13:19:14.081600Z K 7 svn:log V 84 Expose the umtx_key structure and API to the rest of the kernel. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-23T13:23:28.178961Z K 7 svn:log V 432 Use umtx_key objects to uniquely identify futexes. Private futexes in different processes that happen to use the same user address in the separate processes will now be treated as distinct futexes rather than the same futex. We can now honor shared futexes properly by mapping them to a PROCESS_SHARED umtx_key. Private futexes use THREAD_SHARED umtx_key objects. In conjunction with: dchagin Reviewed by: kib MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-23T13:25:42.385726Z K 7 svn:log V 76 Revert previous change, the existing check was correct. Pointy hat to: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-23T13:50:24.879028Z K 7 svn:log V 263 Move the max_threads_per_proc and max_threads_hits variables to the file where they are used. Declare the kern.threads sysctl node at the same location. Since no external use for the variables exists, make them static. Discussed with: dchagin MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-23T13:51:41.805615Z K 7 svn:log V 142 Add a catch-all for miscellaneous RAID volumes while seeking a better solution here. It would really help if CAM devices were part of newbus. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-23T17:17:05.498770Z K 7 svn:log V 137 Handle memory allocation failures in include(). PR: i386/85652 Submitted by: Ben Thomas MFC after: 3 days END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-02-23T17:52:26.090089Z K 7 svn:log V 114 Alter comment to reflect change in code. Try atacontrol if camcontrol fails. Approved by: kib (mentor, implicit) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-23T18:22:40.232801Z K 7 svn:log V 109 Clean up the now unused #include statement. Approved by: kib (mentor) MFC after: 1 week X-MFC with: r218972 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-23T19:07:50.791263Z K 7 svn:log V 253 Import and update relnotes items for 8.2R: fix SA table's cell width[1], alq(4) improvement in details, TCP reassembly improved[2], xz rewording[3], and various grammer fixes[4]. Suggested by: dougb[1], keramida[1], lstewart[2], mm[3], mandree[4]. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-23T19:33:42.675027Z K 7 svn:log V 65 Update Errata document for 8.2R. CVE-2011-0014 fix for OpenSSL. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-23T20:13:07.722243Z K 7 svn:log V 47 Various wording fixes. Suggested by: keramida END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-23T20:24:10.284007Z K 7 svn:log V 37 MFH r218477: Fix termcap entry typo. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-23T20:24:20.673842Z K 7 svn:log V 37 MFH r218477: Fix termcap entry typo. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-23T20:26:43.196785Z K 7 svn:log V 18 More wording nit. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-23T20:50:42.176455Z K 7 svn:log V 111 Update release documents for 7.4R. Document OpenSSL vuln was fixed and shlib version was decreased in Errata. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-23T21:17:38.634490Z K 7 svn:log V 361 Fix the 32-bit build stage on amd64 when WITH_CTF is enabled. It seems ctfconvert will corrupt object files that are compiled with -g, if it is not run with -g itself. To fix it, remove -g from CFLAGS in lib/librt/Makefile. If you need to compile this library with debug info, use DEBUG_FLAGS=-g instead, which will work correctly, even when using WITH_CTF. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-23T21:45:28.844589Z K 7 svn:log V 267 Use the cprd_mem field when setting the start and length for a memory resource - the layout of cprd_port is identical but using cprd_mem makes the code easier to understand. PR: kern/118493 Submitted by: Weongyo Jeong MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-24T06:28:48.630466Z K 7 svn:log V 87 The new accounting file needs to be 644 so that unprivileged users can use lastcomm(1) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-24T09:12:45.735108Z K 7 svn:log V 58 MFC r218917: mdoc(7) markup. Approved by: avg (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-24T09:13:47.290595Z K 7 svn:log V 311 - Add support for some non-standard USB MIDI devices from Roland, by means of allowing vendor specific interface class for audio and MIDI devices. - Add new quirks for this. The vendor and product list in OpenBSD's dev/usb/umidi_quirks.c was used as reference. MFC after: 14 days Approved by: thompsa (mentor) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-24T09:22:56.821035Z K 7 svn:log V 569 Remove sysctl vm.max_proc_mmap used to protect from KVA space exhaustion. As it was pointed out by Alan Cox, that no longer serves its purpose with the modern UMA allocator compared to the old one used in 4.x days. The removal of sysctl eliminates max_proc_mmap type overflow leading to the broken mmap(2) seen with large amount of physical memory on arches with factually unbound KVA space (such as amd64). It was found that slightly less than 256GB of physmem was enough to trigger the overflow. Reviewed by: alc, kib Approved by: avg (mentor) MFC after: 2 months END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-24T10:11:29.806165Z K 7 svn:log V 30 MFC r218772: Install iodev.h. END K 10 svn:author V 4 gahr K 8 svn:date V 27 2011-02-24T10:21:26.089589Z K 7 svn:log V 33 - Fix typo Approved by: davidxu END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-24T10:23:22.671117Z K 7 svn:log V 119 MFC r218909: Fix typos - remove duplicate "the". PR: bin/154928 Submitted by: Eitan Adler END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-24T10:45:41.624854Z K 7 svn:log V 119 MFC r218909: Fix typos - remove duplicate "the". PR: bin/154928 Submitted by: Eitan Adler END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-24T11:03:16.090054Z K 7 svn:log V 217 MFC r218910: The FD_FORM ioctl used to ignore errors from the floppy controller; now when it encounters an error it returns an error from the ioctl. Ignore any errors when using the FD_FORM ioctl. PR: kern/103862 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-24T11:04:47.214564Z K 7 svn:log V 217 MFC r218910: The FD_FORM ioctl used to ignore errors from the floppy controller; now when it encounters an error it returns an error from the ioctl. Ignore any errors when using the FD_FORM ioctl. PR: kern/103862 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-24T11:08:23.443315Z K 7 svn:log V 123 MFC r218918: Make private functions static. PR: kern/43611 Submitted by: Matt Emmerton END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-24T11:09:41.046836Z K 7 svn:log V 123 MFC r218918: Make private functions static. PR: kern/43611 Submitted by: Matt Emmerton END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-02-24T13:03:47.690568Z K 7 svn:log V 138 Move the sticky manual from section 8 to section 7 like NetBSD has, since this is not a command on itself. PR: 124468 MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-24T13:18:49.049875Z K 7 svn:log V 101 Vendor import of xz (stripped) Git revision: 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004 Release: 5.0.1 END