ĵ3207196 173 833 174 315 216 696 335 266 120 190 867 263 222 1747 221 384 112 120 128 232 180 195 124 279 341 297 227 149 974 171 290 258 989 989 198 166 166 205 205 129 129 285 285 471 471 159 196 198 259 243 179 182 300 351 839 1076 599 323 141 216 229 476 336 127 173 1234 169 267 776 511 869 144 218 219 197 186 243 113 394 1752 315 377 562 330 146 146 132 227 228 371 263 145 458 148 194 132 114 237 230 282 183 211 269 195 247 205 287 239 159 675 246 418 132 368 157 352 123 110 276 115 238 193 175 164 118 135 115 156 346 149 164 295 205 189 632 369 194 197 310 359 248 319 343 219 185 117 114 285 219 116 155 705 142 230 206 441 275 274 2048 855 239 158 203 147 199 620 485 194 152 337 247 244 164 178 K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-04-25T17:38:53.352881Z K 7 svn:log V 737 Make hash, type and ulimit available via execve(). These are specified by POSIX but are not special builtins, and therefore need to be available via execve() and utilities like time, nohup, xargs. (Note that hash was moved from the XSI option to the base in the 2008 standard.) Like most of the POSIX "regular builtin commands", these need to be executed in a shell environment for full functionality, although they may still be of some use outside one. Unlike the POSIX special and regular builtin commands, POSIX does not require these to be found before a PATH search, although that could be an oversight. Like some of the utilities already provided by usr.bin/alias, these may lead to confusing results when invoked from csh(1). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-04-25T19:00:37.205693Z K 7 svn:log V 79 Sending a FWDTSN chunk should not affect the retran count. MFC after: 3 days. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-25T19:13:08.521338Z K 7 svn:log V 222 MFC r206916 Make sure that we free the passed in data message if we don't actually insert it onto the queue. Also, fix a mtx leak if someone turns off devctl while we're processing a messages. MFC after: 5 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-25T19:18:26.376743Z K 7 svn:log V 123 Merge the ARM module building stuff from current (not done as a merge on the makefile becuase there's too many conflicts). END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-25T19:21:19.854940Z K 7 svn:log V 603 MFC r206915 Bump minor version of config to reflect the new option remapping feature. The kernel makefiles have specifically not been bumped because nothing uses this new feature and doing so forces everybody to recompile for no good reason. This chnage will be MFC'd where the kernel version numbers for amd64 and ia64 will be bumped, since those are the only two that have use the option remapping feature. Once merged, this will give a better error message to folks that are using buildkernel without buildworld or kernel-toolchain to update their kernels. MFC after: 3 days END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2010-04-25T19:22:06.247476Z K 7 svn:log V 238 Remove the call to usbd_reset_device() as this panics the kernel on devices with many serial ports (the device is reset for each port that reports IOERROR). Remove statements that should have been removed when rewriting the if statement. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-04-25T19:36:05.071241Z K 7 svn:log V 165 Fix booting from flash, and fix netbooting completely. The PS3 loader can now load and execute a kernel from NFS. Next, it is time to make that kernel do something. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-04-25T19:41:25.738553Z K 7 svn:log V 20 Fix some bogusness. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-25T20:01:13.231334Z K 7 svn:log V 98 /boot/loader support doesn't exist for arm in FreeBSD 6.x, so relax the post-install for arm too. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-25T20:40:45.607854Z K 7 svn:log V 774 Clearing a page table entry's accessed bit (PG_A) and setting the page's PG_REFERENCED flag in pmap_protect() can't really be justified. In contrast to pmap_remove() or pmap_remove_all(), the mapping is not being destroyed, so the notion that the page was accessed is not lost. Moreover, clearing the page table entry's accessed bit and setting the page's PG_REFERENCED flag can throw off the page daemon's activity count calculation. Finally, in my tests, I found that 15% of the atomic memory operations being performed by pmap_protect() were only to clear PG_A, and not change protection. This could, by itself, be fixed, but I don't see the point given the above argument. Remove a comment from pmap_protect_pde() that is no longer meaningful after the above change. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-04-25T20:43:19.108643Z K 7 svn:log V 167 sh: Use stalloc for arith variable names. This is simpler than the custom memory tracker I added earlier, and is also needed by the dash arith code I plan to import. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-04-25T22:01:32.304856Z K 7 svn:log V 125 Set USB_DEBUG like the other platforms, I had turned it off to test the build before committing r207077. Spotted by: marius END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-25T22:39:25.730497Z K 7 svn:log V 1651 Improve the handling of various situations where there is no ORIGIN recorded in the +CONTENTS file. This is almost always an error in the package building process, and therefore usually needs to be flagged and handled as an error. There are (at least) 2 situations where it may not be an error; bsdpan ports, and when the user has added an +IGNOREME file (usually for 3rd party packages). 1. Add code to origin_from_pdb() that tests to see that grep returned something, echos the result as before, then also returns successfully. a. If the port is a bsdpan port, return with an error code but let the caller handle the reporting as appropriate. b. If there is no ORIGIN but there is an +IGNOREME file don't report the error unless we're using -v, then also report that the +IGNOREME file is there. Either way, return with an error code. c. If there is no ORIGIN, and no +IGNOREME file, report the error and return with an error code. 2. In several places this allows several lines of code where the function is called to be collapsed into: origin=`origin_from_pdb $iport` || continue 3. In the main body where we parse the command line for what to work on convert the code that was individually testing the various conditions that are now handled in origin_from_pdb() to simply parse the return codes with a case statement. In the common case (there is an ORIGIN in +CONTENTS) this is almost certainly a minor optimization since the error handling code in origin_from_pdb() is never reached, and several places where things like "is it a bsdpan port?" and other error handling have been removed. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-25T23:08:37.685125Z K 7 svn:log V 126 reduce delta with HEAD - white space cleanups - remove comment and braces no longer present in HEAD - remove INVARIANTS check END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-25T23:18:02.032225Z K 7 svn:log V 289 Incremental reduction of delta with head_page_lock_2 branch - replace modification of pmap resident_count with pmap_resident_count_{inc,dec} - the pv list is protected by the pmap lock, but in several cases we are relying on the vm page queue mutex, move pv_va read under the pmap lock END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-25T23:42:23.262923Z K 7 svn:log V 18 IFC 207179:207210 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-25T23:49:32.033333Z K 7 svn:log V 26 white space normalization END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-25T23:51:05.637505Z K 7 svn:log V 34 missed pv access before pmap lock END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-26T01:12:13.861573Z K 7 svn:log V 137 My understanding (alc correct me if I'm wrong) is that we don't need protect wire_count if the page is unmanaged and the wire count is 1 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-26T01:13:10.738181Z K 7 svn:log V 86 - white space cleanup - use vm_page_unwire in the same places that it is used on HEAD END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-26T01:40:52.096774Z K 7 svn:log V 100 - more white space harmonization - move pmap lock out of the loop in pmap_enter_object (as on HEAD) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-26T01:54:45.511587Z K 7 svn:log V 30 consolidate pv list functions END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-26T02:35:37.538772Z K 7 svn:log V 184 - white space harmonize - collapse expressions and remove temporary in pmap_change_wiring - remove invalid XXX pmap lock drop - handle two cases of pmap lock drop with gen_count check END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-26T03:16:00.864923Z K 7 svn:log V 246 - remove ugly lock_object casts by creating LOCKOBJPTR macros - replace if (pa) PA_UNLOCK(pa) with PA_UNLOCK_COND(pa) - avoid LOR in pmap_pv_demote_pde - the initial pa is already locked and subsequent pages need to be locked with pa_tryrelock END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-26T04:32:29.287116Z K 7 svn:log V 202 For the handling of no ORIGIN all_config() needs the same logic as the main parser. For the case of bsdpan port, or +IGNOREME, add $iport to $CUR_DEPS so that the user is not reprompted at build time. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-26T11:58:15.406572Z K 7 svn:log V 134 Mark ATA channel as idle on timeout in non-ATA_CAM mode. This should fix possible duplicate request completion. Submitted by: mjacob END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-26T12:03:55.027736Z K 7 svn:log V 57 MFp4: Move PI_TAG_ABLE check from ada driver to ATA XPT. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-04-26T13:48:22.845730Z K 7 svn:log V 876 - Rework the underlying ALQ storage to be a circular buffer, which amongst other things allows variable length messages to be easily supported. - Extend KPI with alq_writen() and alq_getn() to support variable length messages, which is enabled at ALQ creation time depending on the arguments passed to alq_open(). Also add variants of alq_open() and alq_post() that accept a flags argument. The KPI is still fully backwards compatible and shouldn't require any change in ALQ consumers unless they wish to utilise the new features. - Introduce the ALQ_NOACTIVATE and ALQ_ORDERED flags to allow ALQ consumers to have more control over IO scheduling and resource acquisition respectively. - Strengthen invariants checking. - Document ALQ changes in ALQ(9) man page. Sponsored by: FreeBSD Foundation Reviewed by: gnn, jeff, rpaulo, rwatson MFC after: 1 month END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-04-26T15:01:14.758637Z K 7 svn:log V 79 MFC r200130 (partly): /usr/share/examples/etc/rc.firewall6 was also obsoleted. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-04-26T15:31:58.465164Z K 7 svn:log V 197 Better handling of ipv6_default_interface using net.inet6.ip6.use_defaultzone=1. Now, it works IPv6 link-local unicast addresses as well as IPv6 link-local multicast addresses. MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-04-26T16:20:18.840439Z K 7 svn:log V 166 MFC r206859: Fix ddb(4) "show geom addr" command when INVARIANTS is enabled. Don't assert that the topology lock is held when g_valid_obj() is called from debugger. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T17:03:56.006046Z K 7 svn:log V 892 MFC r206625: Add driver for Silicon Integrated Systems SiS190/191 Fast/Gigabit Ethernet. This driver was written by Alexander Pohoyda and greatly enhanced by Nikolay Denev. I don't have these hardwares but this driver was tested by Nikolay Denev and xclin. Because SiS didn't release data sheet for this controller, programming information came from Linux driver and OpenSolaris. Unlike other open source driver for SiS190/191, sge(4) takes full advantage of TX/RX checksum offloading and does not require additional copy operation in RX handler. The controller seems to have advanced offloading features like VLAN hardware tag insertion/stripping, TCP segmentation offload(TSO) as well as jumbo frame support but these features are not available yet. Special thanks to xclin cs dot nctu dot edu dot tw> who sent fix for receiving VLAN oversized frames. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T17:22:02.554227Z K 7 svn:log V 892 MFC r206625: Add driver for Silicon Integrated Systems SiS190/191 Fast/Gigabit Ethernet. This driver was written by Alexander Pohoyda and greatly enhanced by Nikolay Denev. I don't have these hardwares but this driver was tested by Nikolay Denev and xclin. Because SiS didn't release data sheet for this controller, programming information came from Linux driver and OpenSolaris. Unlike other open source driver for SiS190/191, sge(4) takes full advantage of TX/RX checksum offloading and does not require additional copy operation in RX handler. The controller seems to have advanced offloading features like VLAN hardware tag insertion/stripping, TCP segmentation offload(TSO) as well as jumbo frame support but these features are not available yet. Special thanks to xclin cs dot nctu dot edu dot tw> who sent fix for receiving VLAN oversized frames. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-26T17:24:10.559557Z K 7 svn:log V 101 MFC r198443 (by antoine): Add more obsolete man pages. Requested by: Alex Kozlov Ok'ed by: antoine END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T17:27:08.282918Z K 7 svn:log V 70 MFC r206628: Add sge(4) to the list of supported network interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T17:28:12.130408Z K 7 svn:log V 70 MFC r206628: Add sge(4) to the list of supported network interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T17:30:41.563999Z K 7 svn:log V 108 MFC r206631: Add sge(4) man page and hook up sge(4) to the build. Also add Xr to appropriate man pages. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T17:43:46.489885Z K 7 svn:log V 108 MFC r206631: Add sge(4) man page and hook up sge(4) to the build. Also add Xr to appropriate man pages. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T17:54:49.760773Z K 7 svn:log V 33 MFC r206672: Fix include path. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T17:57:08.683101Z K 7 svn:log V 33 MFC r206672: Fix include path. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T18:02:12.321579Z K 7 svn:log V 188 MFC r206876: With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify drivers to take into account for the change. Basically CSUM_TSO should be checked before checking CSUM_TCP. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T18:04:33.997502Z K 7 svn:log V 188 MFC r206876: With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify drivers to take into account for the change. Basically CSUM_TSO should be checked before checking CSUM_TCP. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T18:07:55.993665Z K 7 svn:log V 374 MFC r207071: Intialize interrupt moderation control register. The magic value was chosen by lots of trial and errors. The chosen value shows good interrupt moderation without additional latency. Without this change, controller can generate more than 140k interrupts per second under high network load. Submitted by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T18:09:12.983870Z K 7 svn:log V 374 MFC r207071: Intialize interrupt moderation control register. The magic value was chosen by lots of trial and errors. The chosen value shows good interrupt moderation without additional latency. Without this change, controller can generate more than 140k interrupts per second under high network load. Submitted by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-26T18:44:30.663648Z K 7 svn:log V 64 Skip the pseudo-devices found in Fujitsu Siemens PRIMEPOWER250. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-26T18:49:06.213724Z K 7 svn:log V 100 - Add a missing const. - Map the NS16550 found in Fujitsu Siemens PRIMEPOWER250 to PNP0501 as well. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-26T18:56:06.314431Z K 7 svn:log V 102 For the on-board interfaces found in Fujitsu SPARC64 machines obtain the MAC address via OFW as well. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-26T19:13:10.447159Z K 7 svn:log V 163 Add OF_getscsinitid(), a helper similar to OF_getetheraddr() but for obtaining the initiator ID to be used for SPI controllers from the Open Firmware device tree. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-26T19:19:01.260368Z K 7 svn:log V 145 Add support for the driver's polling timer. This updates link status and drains the mbuf transmit free list (and clears OACTIVE if it was set.) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-04-26T19:19:29.487465Z K 7 svn:log V 86 MFC: r206384 Allocate memory for VBE info block with malloc(9), not as static local. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-26T20:01:52.996961Z K 7 svn:log V 88 fix condition associated with decrementing resident_count on pv_list allocation failure END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-26T20:05:48.615544Z K 7 svn:log V 203 Add a signal handler for SIGINT which removes output file when necessary. While I'm there, move unlink_input() slightly down to after closing the output file, in uncompression path. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-26T20:19:49.782311Z K 7 svn:log V 255 Don't bother enabling interrupts before we're ready to handle them. This prevents the firmware of Fujitsu Siemens PRIMEPOWER250, which both causes stray interrupts and erroneously enables interrupts at least when calling SUNW,set-trap-table, in the foot. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-26T20:46:33.060507Z K 7 svn:log V 741 o) Add an OCTEON_BOARD_CAPK_0100ND config option, which builds for the CAPK-0100ND at compile time. As Cavium notes in the Simple Executive, it's one of the many boards from a vendor that didn't bother allocating a board ID for themselves and instead mangled an existing one. We have to know we're running on it at compile time. o) Add a CAPK_0100ND kernel config which just includes OCTEON1-32 (n32 kernel.) o) Fix the TX and RX clock rates for OCTEON_BOARD_CAPK_0100ND, resulting in a 10% receive performance improvement with ttcp, it seems. o) Map IPD port numbers to PHY numbers for OCTEON_BOARD_CAPK_0100ND. This was determined empirically since the vendor's patch to the Simple Executive seems to get it wrong. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-04-26T20:55:03.579254Z K 7 svn:log V 982 MFC: r204773 Merge ACPICA 20100304. MFC: r204874 Update module Makefile for ACPICA 20100304. MFC: r204877 Allow ACPI module build on amd64. Although we strongly recommend building it into kernel, there is no need to prevent it from building at all. MFC: r204916 - Allow users to enable dumping Debug objects without ACPI debugger. Setting the new sysctl MIB "debug.acpi.enable_debug_objects" to a non-zero value enables us to print Debug object when something is written to it. - Allow users to disable interpreter slack mode. Setting the new tunable "debug.acpi.interpreter_slack" to zero disables some workarounds for common BIOS mistakes and enables strict ACPI implementations by the specification. MFC: r204920 Since the interpreter slack mode is a tunable now, enable a local hack only when it is set. Note the default behaviour does not change by this change. MFC: r204965 Fix white spaces. MFC: r206117 Merge ACPICA 20100331 (and four additional upstream patches). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-26T21:08:15.018728Z K 7 svn:log V 502 It seems ale(4) controllers do not like to see TCP payload in the first descriptor in TSO case. Otherwise controller can generate bad frames during TSO. To address it, make sure to pull up ethernet + IP + TCP header with options in first buffer. Also ensure the buffer length of the first descriptor for TSO covers entire ethernet + IP + TCP with options and setup additional Tx descriptor if the first buffer includes TCP payload. Tested by: Amar Takhar darkbeer dot org > MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-26T21:10:10.030649Z K 7 svn:log V 225 o) Remove comment about clearing OACTIVE. We do that now (though through a callout, so perhaps not optimal.) o) Remove mbuf copying for BPF_MTAP. We can live without it for now and it is a monumental performance hit. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-26T23:57:07.544543Z K 7 svn:log V 47 sync whitespace and hold_count check with head END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T00:44:40.854789Z K 7 svn:log V 118 Use a gather list to transmit a fragmented packet rather than defragging it. This improves transmit performance 100%. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T00:58:19.121275Z K 7 svn:log V 131 Turn on use of cvm_oct_common_set_multicast_list to handle IFF_ALLMULTI and IFF_PROMISC. Update a comment. Fix some indentation. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-27T01:00:22.122047Z K 7 svn:log V 378 MFC: r206880 For the experimental NFS client doing an NFSv4 mount, set the NFSCLFLAGS_RECVRINPROG while doing recovery from an expired lease in a manner similar to r206818 for server reboot recovery. This will prevent the function that acquires stateids for I/O operations from acquiring out of date stateids during recovery. Also, fix up mutex locking on the nfsc_flags field. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T02:14:42.286279Z K 7 svn:log V 238 o) Remove the enabling of cvm_oct_common_set_multicast_list(). It's not quite ready and seems to basically not work. o) Avoid some gratuitous link state renegotiations since those are very, very slow. (Inspired in part by em(4).) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T02:17:48.333094Z K 7 svn:log V 30 Set the maximum sendq length. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T02:52:19.914898Z K 7 svn:log V 76 Add the Linux OCF "cryptocteon" driver, which I will be porting to FreeBSD. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-27T05:04:32.657873Z K 7 svn:log V 1140 Move checking the version up from Makefile generation to just after we've parsed the config file. Makefile generation is too late if we've introduce changes to the syntax of the metafiles to warn about version skew, since we have to try to parse them and we get an parse error that's rather baffling to the user rather than a 'your config is too old, upgrade' which we should get. We have to defer doing it until after we've read the user's config file because we define machinename there. The version required to compile the kernel is encoded in Makefile.machinename. There's no real reason for this to be the case, but changing it now would introduce some logistical issues that I'd rather avoid for the moment. I intend to revisit this if we're still using config in FreeBSD 10. This also means that we cannot introduce any config metafile changes that result in a syntax error or other error for the user until 9.0 is released. Otherwise, we break the upgrade path, or at least reduce the usefulness of the error messages we generate. # This implies that the config file option mapping will need to be redone. MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-27T05:18:02.382655Z K 7 svn:log V 75 branch for incremental global (all architectures) integration of page lock END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-27T05:35:35.518636Z K 7 svn:log V 174 MFi386 r207205 Clearing a page table entry's accessed bit (PG_A) and setting the page's PG_REFERENCED flag in pmap_protect() can't really be justified, so don't do it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-27T05:38:26.788214Z K 7 svn:log V 683 Redo how we add compat options so as to be compatible with old versions of config. Remove support for the syntax OLD = NEW form the options file, and instead have a new file $S/conf/options-compat. This file will be parsed as OLD NEW on each line. Bump version of config. Since nothing in -current ever used this, there's no hazards for current users, so I'm not bumping the version in the Makefiles.$MACHINE. No need, really, for this version bump in -current, but this was introduced into -stable before I realized the version check was ineffective there, so the verison bump doesn't hurt here and keeps the two branches in sync, versionwise, after the MFC. MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-27T05:39:13.264785Z K 7 svn:log V 416 As it stands now, with the exception of hold_count, all vm_page modification acquires both the page queue lock and the appropriate page lock. The assumption being that over time we can incrementally wean ourselves from the page queue mutex where possible. The next field to rely strictly on page_lock will be wire_count. This currently appears to work ok on normal compile workloads in addition to stress2's swap. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-27T06:14:30.665816Z K 7 svn:log V 776 Require the option that's mapped be listed in the options file. This will allow people with old config options to either have it just work (if config is new enough), or get a version error (if their config is about 7.0 or newer) rather than getting a cryptic error about duplicated options in the options file, or getting an error about an unknown option, at which point they'd update their config file only to learn they need a new config, only to learn they didn't really need to update their config file... All this because our version checking was in the wrong place for the past decade... # hopefully this is the last change, and we'll be able to config with an # 8.0 GENERIC file on stable/8 after I merge this change and add the # compat options. MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T06:42:29.316134Z K 7 svn:log V 47 Print features this board supports at startup. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-04-27T07:34:20.458007Z K 7 svn:log V 120 Relevant bits now in head except for some regression testing code which will follow later. Branches no longer required. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-27T09:47:14.774394Z K 7 svn:log V 126 Provide 32bit compat for SIOCGDEFIFACE_IN6. Based on submission by: pluknet gmail com Reviewed by: emaste MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-27T09:48:43.766605Z K 7 svn:log V 104 Style: use #define instead of #define. Noted by: bde, pluknet gmail com MFC after: 11 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-27T10:47:54.070424Z K 7 svn:log V 94 MFC r206547: Handle a case in kern_openat() when vn_open() change file type from DTYPE_VNODE. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-27T10:50:09.312001Z K 7 svn:log V 150 MFC r206992: As was done in r155238 for i386 and in r155239 for amd64, clear the carry flag for ia32 binary executed on amd64 host in get_mcontext(). END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2010-04-27T12:50:42.476664Z K 7 svn:log V 17 Typo in comment. END K 10 svn:author V 3 bms K 8 svn:date V 27 2010-04-27T13:27:51.830841Z K 7 svn:log V 301 MFC 206454: When embedding the scope ID in MLDv1 output, check if the scope of the address being embedded is in fact link-local, before attempting to embed it. Note that this operation is a side-effect of trying to avoid recursion on the IN6 scope lock. PR: 144560 Submitted by: Petr Lampa END K 10 svn:author V 3 bms K 8 svn:date V 27 2010-04-27T13:50:15.765573Z K 7 svn:log V 1658 MFC 206452: Fix a few issues related to the legacy 4.4 BSD multicast APIs. IPv4 addresses can and do change during normal operation. Testing by pfSense developers exposed an issue where OpenOSPFD was using the IPv4 address to leave the OSPF link-scope multicast groups on a dynamic OpenVPN tun interface, rather than using RFC 3678 with the interface index, which won't be raced when the interface's addresses change. In inp_join_group(): If we are already a member of an ASM group, and IP_ADD_MEMBERSHIP or MCAST_JOIN_GROUP ioctls are re-issued, return EADDRINUSE as per the legacy 4.4BSD multicast API. This bends RFC 3678 slightly, but does not violate POLA for apps using the old API. It also stops us falling through to kicking IGMP state transactions in what is otherwise a no-op case. [This has already been dealt with in HEAD, but make it explicit before we MFC the change to 8.] In inp_leave_group(): Fix a bogus conditional. Move the ifp null check to ioctls MCAST_LEAVE* in the switch..case where it actually belongs. If an interface was specified, by primary IPv4 address, for ioctl IP_DROP_MEMBERSHIP or MCAST_LEAVE_GROUP (an ASM full leave operation), then and only then should we look up the ifp from the IPv4 address in mreqs.imr_interface. If not, we fall through to imo_match_group() as before, but only in the IP_DROP_MEMBERSHIP case. With these changes, the legacy 4.4BSD multicast API idempotence should be mostly preserved in the SSM enabled IPv4 stack. [Note: this is not a straight svn merge as head and 8 differ slightly] Found by: ermal (with pfSense) END K 10 svn:author V 3 bms K 8 svn:date V 27 2010-04-27T14:14:21.329192Z K 7 svn:log V 222 Fix a regression where DVMRP diagnostic traffic, such as that used by mrinfo and mtrace, was dropped by the IGMP TTL check. IGMP control traffic must always have a TTL of 1. Submitted by: Matthew Luckie MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-04-27T15:05:03.477327Z K 7 svn:log V 285 Make sure IPv6 source address selection does not change interface addresses while walking the IPv6 address list if in the jail case something is connecting to ::1. Reported by: Pieter de Boer (pieter thedarkside.nl) Tested by: Pieter de Boer (pieter thedarkside.nl) MFC after: 4 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-04-27T15:07:08.778031Z K 7 svn:log V 470 Enhance the historic behaviour of raw sockets and jails in a way that we allow all possible jail IPs as source address rather than forcing the "primary". While IPv6 naturally has source address selection, for legacy IP we do not go through the pain in case IP_HDRINCL was not set. People should bind(2) for that. This will, for example, allow ping(|6) -S to work correctly for non-primary addresses. Reported by: (ten 211.ru) Tested by: (ten 211.ru) MFC after: 4 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-04-27T15:16:54.864140Z K 7 svn:log V 238 MFP4: @177254 Add missing CURVNET_RESTORE() calls for multiple code paths, to stop leaking the currently cached vnet into callers and to the process. Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH MFC after: 4 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-04-27T15:38:58.207587Z K 7 svn:log V 49 MFC 206662: Cleanup if_media handling in mxge(4) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-04-27T15:40:24.335773Z K 7 svn:log V 49 MFC 206662: Cleanup if_media handling in mxge(4) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-27T15:50:25.864924Z K 7 svn:log V 37 Take advantage of OF_getscsinitid(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-27T15:59:38.455482Z K 7 svn:log V 134 Update device identify data and serial number when device change detected. Reprobe immediately following this should have fresh data. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-27T17:50:43.973119Z K 7 svn:log V 131 Language improvements to make the BUGS section easier to read. Reviewed by: Alexander Best MFC after: 13 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-27T17:57:04.776296Z K 7 svn:log V 274 Use _exit(2) system call directly instead of using exit(3) in signal handler, as the latter is not guaranteed to be signal safe, and we do not really care about flushing the stream during SIGINT. Suggested by: Maxim Konovalov MFC after: 13 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-27T18:05:33.517235Z K 7 svn:log V 167 - On sparc64 obtain the initiator ID from the Open Firmware device tree in order to match what the PROM built-in driver uses. - Remove some no longer used includes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-27T18:06:54.233446Z K 7 svn:log V 50 Replace a magic value with the appropriate macro. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-04-27T18:41:16.149746Z K 7 svn:log V 362 On sparc64 obtain the initiator ID to be used for SPI HBAs from the Open Firmware device tree in order to match what the PROM built-in driver uses. This is especially important when netbooting Fujitsu Siemens PRIMEPOWER250 as in that case the built-in driver isn't used and the port facts PortSCSIID defaults to 0, conflicting with the disk at the same address. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-27T19:44:06.667659Z K 7 svn:log V 54 add separate lock class function for recursed mutexes END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T19:45:16.062278Z K 7 svn:log V 97 Instead of using a local clone of the Linux ATA parameter structure, use the one in . END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-27T19:47:39.463261Z K 7 svn:log V 38 add missed unlocks in vm_object_clean END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-27T20:18:09.957453Z K 7 svn:log V 20 white space cleanup END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-04-27T20:18:54.865481Z K 7 svn:log V 142 Merge r203692 from head: Kernel modules for these drivers are installed on all platforms, so install the man pages on all platforms too. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T20:50:32.296610Z K 7 svn:log V 132 o) Use structures from the SDK rather than local copies. o) Get the CF base address from the bootloader rather than hard-coding it. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-04-27T20:51:50.127738Z K 7 svn:log V 187 Merge r204418 from head (original commit by antoine) Add files moved in r203976 and r207292 to ObsoleteFiles.inc Requested by: Alex Kozlov Merge OK'd by: antoine END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T20:53:33.148050Z K 7 svn:log V 86 Retire the rgmi[ix] driver, octe is now lagging behind only in trivial functionality. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T20:55:56.664605Z K 7 svn:log V 113 Remove unused defines and move the last used one in pcmap_regs.h to be with its counterpart in octeon_machdep.c. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T21:06:17.063204Z K 7 svn:log V 171 o) Don't use oct_* where cvmx_*_csr will suffice. o) Fix compile of octeon_machdep.c by reordering macros. o) Constify octeon_feature_descriptions as suggested by rpaulo. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-27T21:10:43.533296Z K 7 svn:log V 100 bring page lock branch more in line with page lock incr branch by making the page lock array global END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T21:29:30.469902Z K 7 svn:log V 149 o) Get more things directly from octeon_bootinfo rather than global variables. o) Remove unknown descriptor version hacks that cannot possibly work. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T22:04:39.257219Z K 7 svn:log V 107 o) Print model string at startup. o) Fix build without octe by linking in more of the SDK that we use now. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T22:50:45.558985Z K 7 svn:log V 189 Attach obio to ciu to avoid sending lots of stray interrupts to the UART handlers. (It used to simply connect to the same interrupt as CIU's 0 line and unmask the UART interrupts in CIU.) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-27T23:22:12.796108Z K 7 svn:log V 141 Make CIU_IRQ_ENx_END the last IRQ rather than one past it since that's what rman actually wants. Add interrupt counters for CIU interrupts. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-27T23:48:50.865054Z K 7 svn:log V 65 need to initialize the lock before it is used MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-28T00:49:24.984070Z K 7 svn:log V 578 MFC r206637: When an underlying ioctl(2) handler returns an error, our ioctl(2) interface considers that it hits a fatal error, and will not copyout the request structure back for _IOW and _IOWR ioctls, keeping them untouched. The previous implementation of the SIOCGIFDESCR ioctl intends to feed the buffer length back to userland. However, if we return an error, the feedback would be defeated and ifconfig(8) would trap into an infinite loop. This commit changes SIOCGIFDESCR to set buffer field to NULL to indicate the previous ENAMETOOLONG case. Reported by: bschmidt END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-28T04:25:36.022802Z K 7 svn:log V 153 Adapt i386 r207205 to mips: Clearing PV_TABLE_REF and setting the page's PG_REFERENCED flag in pmap_protect() can't really be justified, so don't do it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-28T04:57:32.379586Z K 7 svn:log V 325 Change vm_object_madvise() so that it checks whether the page is invalid or unmanaged before acquiring the page queues lock. Neither of these tests require that lock. Moreover, a better way of testing if the page is unmanaged is to test the type of vm object. This avoids a pointless vm_page_lookup(). MFC after: 3 weeks END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-04-28T05:33:59.837948Z K 7 svn:log V 35 Update to current version of head. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-28T06:34:47.695358Z K 7 svn:log V 275 Setting PG_REFERENCED on a page at the end of vm_fault() is redundant since the page table entry's accessed bit is either preset by the immediately preceding call to pmap_enter() or by hardware (or software) upon return from vm_fault() when the faulting access is restarted. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-04-28T07:26:41.544474Z K 7 svn:log V 64 - Fix builds without SOFTUPDATES defined in the kernel config. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-04-28T07:57:37.422792Z K 7 svn:log V 258 - When canceling jaddrefs they may not yet be in the journal if this is via a revert call. In this case don't attempt to remove something that has not yet been added. Otherwise this jaddref must hang around to prevent the bitmap write as normal. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-04-28T08:37:00.958999Z K 7 svn:log V 31 Vendor import of OpenSSH 5.5p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2010-04-28T08:39:12.063246Z K 7 svn:log V 18 Tag OpenSSH 5.5p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2010-04-28T08:58:22.907988Z K 7 svn:log V 183 Add support for merging vendor / user / project branches into head: instead of setting $src_branch to head by default, leave it undefined and try to guess it from existing mergeinfo. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-04-28T09:01:22.859412Z K 7 svn:log V 23 get rid of svn_check() END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-28T09:53:54.744824Z K 7 svn:log V 145 The reserved page cannot be used by anybody other there, so clear PG_UNMANAGED slightly earlier (to avoid exposure) and without page_queue lock. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-28T09:59:28.397683Z K 7 svn:log V 100 MFC r207007: Extract the code to copy-out struct rusage32 from struct rusage into the new function. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-28T10:03:54.776880Z K 7 svn:log V 83 MFC r207008: Provide compat32 shims for kinfo_proc sysctl. MFC r207016: Fix typo. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2010-04-28T10:33:41.324995Z K 7 svn:log V 68 fx->lock is used as an index, correct test case. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2010-04-28T10:36:33.699373Z K 7 svn:log V 26 Upgrade to OpenSSH 5.5p1. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-28T10:57:27.106300Z K 7 svn:log V 40 Fix typos. Obtained from: DragonFlyBSD END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-28T10:58:03.398283Z K 7 svn:log V 20 Bump man page date. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-28T10:58:50.742288Z K 7 svn:log V 61 Fix typo. No functional change. Obtained from: DragonFlyBSD END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-28T13:25:53.862381Z K 7 svn:log V 250 When in the RUN -> AUTH -> RUN FSM transition happens, we'll call the ratectl_node_init() functions and since ni_rtctls was already malloc'ed() we will panic. Fix this by using the already malloc'ed pointer. Found by: bschmidt Reviewed by: bschmidt END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-04-28T13:26:30.438826Z K 7 svn:log V 54 MFC r175406: Eliminate warnings by adding headers. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-28T13:29:48.125729Z K 7 svn:log V 69 Couple of fixes from DragonFly (typos). Obtained from: DragonFlyBSD END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-28T13:42:13.208499Z K 7 svn:log V 199 Add ic_rxstream and ic_txstream. These variables hold the number of RX streams and the number of TX streams respectively. Obtained from: //depot/user/rpaulo/80211n/... Sponsored by: iXsystems, inc. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-28T14:59:05.381826Z K 7 svn:log V 109 Add a private field to struct ieee80211_rx_ampdu do hold driver specific data. Sponsored by: iXsystems, inc END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-28T15:15:06.194499Z K 7 svn:log V 94 MFC r206617: Make this code a little more portable by wrapping the mtx calls into macros. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-04-28T15:38:01.284982Z K 7 svn:log V 535 - Extract the IODEV_PIO interface from ia64 and make it MI. In the end, it does help fixing /dev/io usage from multithreaded processes. - On i386 and amd64 the old behaviour is kept but multithreaded processes must use the new interface in order to work well. - Support for the other architectures is greatly improved, where necessary, by the necessity to define very small things now. Manpage update will happen shortly. Sponsored by: Sandvine Incorporated PR: threads/116181 Reviewed by: emaste, marcel MFC after: 3 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-04-28T17:26:05.990239Z K 7 svn:log V 275 Remove dead code. Calculated greatest common divisor was not used at all. On top of that, LLVM+Clang mis-compiles this code because of its register allocator bug. Analyzed by: Andrew Reilly (areilly at bigpond dot net dot au) Reviewed by: ariff, rdivacky MFC after: 3 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-04-28T17:37:30.484144Z K 7 svn:log V 101 Change default WOL back to MAGIC only, having multicast enabled causes problems in man environments. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-04-28T18:28:08.965644Z K 7 svn:log V 104 Only enable MAGIC WOL by default, MCAST causes systems to just wakeup immediately in many environments. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-04-28T18:29:44.475555Z K 7 svn:log V 212 Improve the detection whether CC/CXX is clang thus allowing buildworld with CC=cc etc. While at it allow it so that CC/CXX can be set to different compilers. Submitted by: Dominic Fandrey END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-28T18:29:48.755279Z K 7 svn:log V 266 Backport fix for 'zfs_znode_dmu_init: existing znode for dbuf' panic from OpenSolaris. PR: kern/144402 Reported by: Alex Bakhtin Tested by: Alex Bakhtin Obtained from: OpenSolaris, Bug ID 6895088 MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-28T18:49:45.940696Z K 7 svn:log V 155 Initialize the callout structure earlier in attach before calling any routines that can fail since ciss_free() always tries to stop and drain the callout. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-28T18:55:46.316642Z K 7 svn:log V 224 Add error-checking to parse_index() so that if we don't find a line for the port we return an error code. Check for the error in the callers. Inspiration and some code from the PR. PR: ports/145984 Submitted by: mandree END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-04-28T19:22:52.776383Z K 7 svn:log V 250 Address the LOD that some are seeing, put the RX lock back in rxeof (I could see little point in taking it out), and now release it before the stack entry. Also, make it so the 82574 does not configure for multiqueue when its not used in the stack. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-28T19:36:25.410111Z K 7 svn:log V 124 Add error checking to pm_mktemp, and the stray mktemp call. According to a private report from a user it can actually fail. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-04-28T19:42:20.352093Z K 7 svn:log V 88 Handle -S/-N when specified to a linker. Those are needed by btxldr. Diagnosed by: jhb END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-04-28T21:50:57.783514Z K 7 svn:log V 24 Import ACPICA 20100428. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-04-28T21:51:53.615066Z K 7 svn:log V 21 Tag ACPICA 20100428. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-28T22:06:22.236466Z K 7 svn:log V 190 - change cases where pmap_demote_pde can't fail and pv_list has to be passed to pmap_demote_pde_pv_list - make pmap_demote_pde a wrapper around pmap_demote_pde_pv_list suggested by: kib@ END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-28T22:23:29.626246Z K 7 svn:log V 126 Don't assume that "resource" property is in metadata. Reported by: Mikolaj Golub MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-04-28T22:25:27.862613Z K 7 svn:log V 23 Merge ACPICA 20100428. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-28T22:26:30.427522Z K 7 svn:log V 63 Use WEXITSTATUS() to obtain real exit code. MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-28T22:29:17.710521Z K 7 svn:log V 610 In the case where named_chroot_autoupdate is NOT set, but named_chrootdir IS set, named-checkconf fails because it cannot find the conf file. Fix this by making checkconf a variable that includes "-t $named_chrootdir" as needed. Notice of the bug and suggested direction for the fix from [1]. Using required_files for named.conf is overkill ever since I added the named-checkconf call, so rather than update the logic to handle the case described above, remove it. This also handles the case where named_chroot_autoupdate IS set but the symlink doesn't exist yet. PR: conf/145904 Submitted by: J R Matthews END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-28T22:39:47.938322Z K 7 svn:log V 50 Mark temporary issues as such. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-28T22:41:06.440746Z K 7 svn:log V 137 Restart worker thread only if the problem was temporary. In case of persistent problem we don't want to loop forever. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-28T23:05:42.319633Z K 7 svn:log V 108 Delete a diagnostic statement that is no longer useful from the experimental NFS client. MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-28T23:16:21.172331Z K 7 svn:log V 343 For the experimental NFS client, it should always flush dirty buffers before closing the NFSv4 opens, as the comment states. This patch deletes the call to nfscl_mustflush() which would return 0 for the case where a delegation still exists, which was incorrect and could cause crashes during recovery from an expired lease. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-29T00:28:34.366049Z K 7 svn:log V 178 MFC r205938: Sync with OpenBSD: - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc. Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-29T00:38:15.630583Z K 7 svn:log V 177 MFC r205938: Sync with OpenBSD: - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc. Obtained from: OpenBSD END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-29T05:55:38.392818Z K 7 svn:log V 1952 For -o mode: Going back a long ways upg_port was (ab)used to indicate the currently installed version of the old port for -o. Originally this was safe since it's very rare to have the new port installed already, and it saved a little bit of code complexity. However, as more and more features were added that utilized the value of upg_port it became increasingly unsafe. Particularly, at this time there are 2 related bugs manifest. First the wrong information appears in the confirm list (upgrade of the old port vs. install of the new) and parsing the old port directory. The latter was (mostly) harmless, although in the case of an old port directory being DEPRECATED resulted in a fatal error when trying to upgrade. So, make the following changes: 1. Make upg_port an installed version of the new port, if it exists. 2. Introduce ro_upg_port for the existing version of the old port. 3. Factor out some code that was related to how to handle lack of an installed version of the old port (since we're already checking that). 4. In the stage after the build of the new port and before the pkg_delete of the old port test for upg_port OR ro_upg_port and run the various features (library backup for -w, pkg_delete, etc.) as needed for both. 5. In install_failed() notify the user about the backup port for the old version. 6. I discoverd in regression testing that the code to invoke -o for MOVED ports that we get to as dependencies was still working, but the code to automatically invoke -o for a parent port was broken. The problem is that we can't just exec a new version if we're the parent, we have to cleanly shut down background fetches and other processes, delete temp files, etc. So split the parts of safe_exit() that relate to these elements into their own function, parent_exit(), and call it both from safe_exit() and before exec'ing a new version for -o in this case. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2010-04-29T06:16:00.207792Z K 7 svn:log V 758 On certain chipsets AT keyboard controller isn't present and is emulated by BIOS using SMI interrupt. On those chipsets reading from the status port may be thousand times slower than usually. Sometimes this emilation is not working properly resulting in commands timing out and since we assume that inb() operation takes very little time to complete we need to adjust number of retries to keep waiting time within a designed limits (100ms). Measure time it takes to make read_status() call and adjust number of retries accordingly. To keep it simple, use TSC to measure inb() performance and keep it to amd64-only, since TSC may not available on older CPUs. Also enable detection of the AT controller absence on amd64. Reviewed by: jhb MFC after: 1 month END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-04-29T06:22:07.146171Z K 7 svn:log V 145 MFi386: revision 206553 - Change printf() calls to uprintf() for sigreturn(). - Normalize the messages to include both pid and thread name. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-29T06:46:03.232878Z K 7 svn:log V 61 Add an option to include vendor-specific changes for Lanner. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-29T07:07:43.664414Z K 7 svn:log V 105 Add sections for Lanner boards and add basic support for detecting the PHYs and link state on the MR320. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-29T07:23:13.610317Z K 7 svn:log V 50 Set vendor-specified rx and tx timings for MR320. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-29T09:02:21.288508Z K 7 svn:log V 106 kern_ntptime: abstract time error check into a function ... to avoid code duplication MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-29T09:02:46.309257Z K 7 svn:log V 527 periodically save system time to hardware time-of-day clock This is done in kern_ntptime, perhaps not the best place. This is done using resettodr(). Some features: - make save period configurable via tunable and sysctl - period of zero disables saving, setting a non-zero period re-enables it or reschedules it - do saving only if system clock is ntp-synchronized - save on shutdown Discussed with: des, Peter Jeremy X-Maybe: save time near seconds boundary for better precision MFC after: 2 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-29T09:16:04.992337Z K 7 svn:log V 387 o) Fix style bugs. o) Don't try to be clever about what's simulator and what isn't. Treat things that identify themselves as the simulator like the simulator. o) Remove obsolete core mask global. o) Print board information including blowing up if we have a CAPK-0100ND build but a board with something other than the (wrong) board type. o) Add some notes to myself in the future. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-29T09:18:36.786291Z K 7 svn:log V 101 kern_ntptime: drop a comment that became stale after r207359 MFC after: 1 week X-MFC after: r207359 END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-29T09:55:51.408087Z K 7 svn:log V 60 Remove caddr_t casts. Requested by: bde MFC after: 10 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-29T09:57:25.393440Z K 7 svn:log V 244 In swap pager, do not free the non-requested pages from the run if they are wired. Kstack pages are wired, this change prepares swap pager for handling of long runs of kstack pages. Noted and reviewed by: alc Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-29T09:59:16.950269Z K 7 svn:log V 154 When doing kstack swapin, read as much pages in one run as possible. Suggested and reviewed by: alc (previous version) Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-29T10:04:00.265367Z K 7 svn:log V 151 ffs_vfsops: restore alphabetic order of options in ffs_opts The order was not correct only for nfsv4acls. ("no" prefix is ignored) MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-29T10:26:53.800852Z K 7 svn:log V 67 Start work on PCI. Enough to enumerate the devices in my systems. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-29T10:34:54.207246Z K 7 svn:log V 81 Add some devices that I can watch fail and start working on support for for PCI. END