ıU255501 191 743 203 336 105 253 105 156 156 571 397 146 159 169 324 143 143 150 150 179 179 405 391 195 244 142 149 325 598 402 105 183 1220 175 191 126 258 665 877 292 802 411 311 248 499 207 253 403 297 252 199 322 301 468 273 325 280 176 154 163 157 236 306 328 154 255 557 179 425 168 225 294 373 421 267 138 488 376 148 626 157 161 148 181 145 177 187 305 141 140 159 134 303 131 159 175 587 178 130 216 158 171 205 247 275 105 226 436 496 364 364 518 436 272 411 366 235 235 122 152 233 106 253 155 215 315 291 156 301 323 457 223 457 223 191 323 209 171 415 283 167 248 236 637 126 251 242 239 255 176 176 498 254 205 301 195 330 1027 156 397 599 707 141 140 140 245 142 136 126 212 123 110 651 134 125 196 131 359 607 594 171 1135 184 251 221 147 256 262 264 302 368 252 K 10 svn:author V 3 ken K 8 svn:date V 27 2013-09-12T22:06:12.599578Z K 7 svn:log V 650 Fix an issue that caused Integrated RAID volumes on LSI mps(4) controllers to not get scanned on boot. The problem originated in change 253549. With the change to the mps(4) driver to scan only targets that it knows it has (as opposed to scanning the entire bus), scanning RAID volumes on boot was omitted. So, for versions of FreeBSD that have the scanning changes (__FreeBSD_version 1000039 and higher), scan RAID volumes that are added whether or not we're booting. PR: kern/181784 Reported by: Xiguang Wang Tested by: Dennis Glatting Sponsored by: Spectra Logic Approved by: re (delphij) MFC After: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-09-13T00:51:37.329775Z K 7 svn:log V 105 MFC r255459: Remove documentation describing functionality which geom(4) does not, in fact, provide. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-13T01:12:45.925616Z K 7 svn:log V 235 Change VM object lock assertion to match locking higher in the call chain. This repairs a panic observed during pageout on some 64-bit PowerPC systems. Submitted by: grehan Approved by: re (kib) MFC after: 2 weeks Revisit after: 10.0 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-13T02:28:44.248122Z K 7 svn:log V 12 IFC @255311 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-13T03:39:19.398343Z K 7 svn:log V 160 Do not install freebsd-update.conf.5 manual if WITHOUT_FREEBSD_UPDATE is set. MFC after: 3 days Approved by: re (delphij) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-13T04:04:21.273445Z K 7 svn:log V 12 IFC @255312 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-13T06:07:25.591059Z K 7 svn:log V 64 MFC r255439: Call free() on the pointer returned from malloc(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-13T06:18:33.412282Z K 7 svn:log V 64 MFC r255439: Call free() on the pointer returned from malloc(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-13T06:39:10.658384Z K 7 svn:log V 478 Reduce the scope of the proctree_lock. If several processes cause continuous calls to the uprintf(9), the proctree_lock could be shared-locked for indefinite amount of time, starving exclusive requests. Since proctree_lock is needed for fork() and exit(), this effectively stops the machine. While there, do the similar reduction for tprintf(9). Reported and tested by: pho Reviewed by: ed Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (glebius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-13T06:52:23.563697Z K 7 svn:log V 304 When opening or closing fifo, ensure that the vnode is locked exclusively. Filesystems are assumed to disable shared locking for the fifo vnode locks, but some do not. Reported and tested by: olgeni Discussed with: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (glebius) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-13T10:37:24.458043Z K 7 svn:log V 54 Note about the OpenSSH change. Approved by: re (gjb) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-13T11:01:26.503295Z K 7 svn:log V 67 Fix compiler warning. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-13T11:25:42.826882Z K 7 svn:log V 77 Added more SU+J test scenarios. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-09-13T11:57:52.263692Z K 7 svn:log V 226 MFC r255048: - Fix LOCAL_MTREE so it properly handles multiple files and quotes its value into submakes PR: conf/179466 Submitted by: Garrett Cooper Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-09-13T13:53:21.372232Z K 7 svn:log V 51 MFC r254713: fbt: drop a local write-only variable END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-09-13T13:53:47.641860Z K 7 svn:log V 51 MFC r254713: fbt: drop a local write-only variable END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-09-13T14:03:39.083613Z K 7 svn:log V 58 MFC r254445,254711: zfs: inline and remove zfs_vnode_lock END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-09-13T14:07:32.269803Z K 7 svn:log V 58 MFC r254445,254711: zfs: inline and remove zfs_vnode_lock END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-09-13T14:15:38.105622Z K 7 svn:log V 87 MFC r254714: zfs: do not reject any operations on a pool just because it's a boot pool END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-09-13T14:15:52.360180Z K 7 svn:log V 87 MFC r254714: zfs: do not reject any operations on a pool just because it's a boot pool END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-09-13T16:57:28.078605Z K 7 svn:log V 312 add support for writing the pid of the daemon program to a pid file so that daemon can be used w/ rc.subr and ports can use the additional functionality, such as keeping the ldap daemon up and running, and have the proper program to signal to exit.. PR: bin/181341 Submitted by: feld Approved by: re (glebius) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-09-13T18:21:31.138525Z K 7 svn:log V 295 Improve readelf notes output for Linux ELF files Add four ELF note constants: - NT_FILE and NT_SIGINFO (core file notes output by recent Linux kernels) - NT_GNU_ABI_TAG (was incorrectly reported as NT_VERSION) - NT_GNU_BUILD_ID (used for locating standalone debug files) Approved by: re (kib) END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-09-13T18:45:10.255413Z K 7 svn:log V 99 Unregister inet/inet6 pfil hooks on vnet destroy. Discussed with: andre Approved by: re (rodrigc) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-13T18:47:58.511087Z K 7 svn:log V 148 Import Hyper-V paravirtualized drivers from projects/hyperv branch into head. Approved by: re@ (hrs) Obtained from: Microsoft, NetApp, and Citrix. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-09-13T19:08:10.158325Z K 7 svn:log V 49 mdoc: fix list width. Approved by: re (blanket) END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-09-13T19:19:21.108632Z K 7 svn:log V 56 mdoc: remove EOL whitespace. Approved by: re (blanket) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-13T19:50:50.458182Z K 7 svn:log V 232 Use TAILQ instead of STAILQ for kqeueue filedescriptors to ensure constant time removal on kqueue close. Reported and tested by: pho Reviewed by: jmg Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (delphij) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-09-13T19:55:40.720218Z K 7 svn:log V 502 Add gpio(4) man page to attempt to document the current hints based setup of pin outputs, functions and setup. Add cross reference in gpioctl(8) for people to find. This is by no means complete and really only covers gpioled(4) and the Atheros based systems who expose a few extra hints at boot time. This should be updated by developers who know more about this system than I and viewed as the beginning of documentation, not the end. Reviewed by: adrian Approved by: re (joel) MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-09-13T20:56:42.244905Z K 7 svn:log V 306 MFC r255261: watch: Do not mess up the tty modes on early error. Record the initial state earlier, so it is always safe to restore it. One way this happens is if watch(8) is started by a user that does not have access to /dev/snp. The result is "staircase effect" during later commands. PR: bin/153052 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-13T21:16:52.198474Z K 7 svn:log V 12 IFC @255331 END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-09-13T21:23:04.707947Z K 7 svn:log V 88 Correct my inability to do math and provide a GOOD example. Approved by: re (implicit) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-09-13T23:10:53.535266Z K 7 svn:log V 1121 MFC: r254337 Fix several performance related issues in the new NFS server's DRC for NFS over TCP. - Increase the size of the hash tables. - Create a separate mutex for each hash list of the TCP hash table. - Single thread the code that deletes stale cache entries. - Add a tunable called vfs.nfsd.tcphighwater, which can be increased to allow the cache to grow larger, avoiding the overhead of frequent scans to delete stale cache entries. (The default value will result in frequent scans to delete stale cache entries, analagous to what the pre-patched code does.) - Add a tunable called vfs.nfsd.cachetcp that can be used to disable DRC caching for NFS over TCP, since the old NFS server didn't DRC cache TCP. It also adjusts the size of nfsrc_floodlevel dynamically, so that it is always greater than vfs.nfsd.tcphighwater. For UDP the algorithm remains the same as the pre-patched code, but the tunable vfs.nfsd.udphighwater can be used to allow the cache to grow larger and reduce the overhead caused by frequent scans for stale entries. UDP also uses a larger hash table size than the pre-patched code. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-14T06:43:09.984086Z K 7 svn:log V 83 Fixed typo. Submitted by: yaneurabeya Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:22:57.827297Z K 7 svn:log V 99 MFC r255119: Fix SES_ENABLE_PASSTHROUGH kernel option, unexpectedly broken during driver overhaul. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:24:34.157600Z K 7 svn:log V 34 MFC r255534: Add more references. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:29:11.021496Z K 7 svn:log V 165 MFC r253643: Following r222950, revert unintentional change cls -> class in argument name in r245264. Aside from non-uniformity, that again confused C++ compilers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:32:17.227418Z K 7 svn:log V 572 MFC r253806: Allow three IOCTLs to be used on suspended pool, restoring state that existed before IOCTL code refactoring merged change 4445fffb from illumos at r248571. This change allows `zpool clear` to be used again to recover suspended pool. It seems the only was supposed by the code to restore pool operation after reconnecting lost disks that were required for data completeness. There are still cases where `zpool clear` command can just safely stuck due to deadlocks inside ZFS kernel part, but probably that is better then having no chances to recover at all. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:33:58.653041Z K 7 svn:log V 784 MFC r253990: Make ZFS to use separate thread to handle SPA_ASYNC_REMOVE async events. Existing async thread is running only on successfull spa_sync() completion, that is impossible in case of pool loosing required (last) disk(s). That indefinite delay of SPA_ASYNC_REMOVE processing made ZFS to not close the lost disks, preventing GEOM/CAM from destroying devices and reusing names on later disk reattach. In earlier version of the patch I've tried to just run existing thread immediately, unrelated to spa_sync() completion, but that exposed number of situations where it could stuck due to locks held by stuck spa_sync(), that are required for other kinds of async events. Experiments with OpenIndiana snapshot confirmed that they also have this issue with lost disks reattach. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:35:20.577683Z K 7 svn:log V 199 MFC r253991: Make `zpool clear` to reopen also reconnected cache and spare devices. Since `zpool status` reports about such kinds of errors, it is strange that they are not cleared by `zpool clear`. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:37:49.388857Z K 7 svn:log V 709 MFC r253993: Block reporting of ZFS features for suspended pools. Before executing any subcommand, zpool tool fetches pools configuration from the kernel. Before features support was added, kernel was regenerating that configuration based on data always present in memory. Unfortunately, pool features list and activity counters are not such. They are stored in ZAP, that normally resides in ARC, but under heavy memory pressure may be swapped out. If pool is suspended at this point, there is no way to recover it back since any zpool command will stuck. This change has one predictable flaw: `zpool upgrade` always wish to upgrade suspended pools, but fortunately it can't do it due to the suspension. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:45:15.599086Z K 7 svn:log V 318 MFC r255363: Micro-optimize cpu_search(), allowing compiler to use more efficient inline ffsl() implementation, when it is available, instead of homegrown iteration. On dual-E5645 amd64 system (2x6x2 cores) under heavy I/O load that reduces time spent inside cpu_search() from 19% to 13%, while IOPS increased by 5%. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:55:48.462015Z K 7 svn:log V 218 MFC r252382 (by scottl), r252684 (by jkim): Introduce accessors for the ccb status word. Convert one (of many more) modules to use it, will convert the others once the appropriate shed color is selected by consensus. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T08:58:28.710325Z K 7 svn:log V 155 MFC r253228, r253307 (by scottl): Refactor the various delete methods out of dastart(). Cleans up a bunch of style and adds more modularity and clarity. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:01:42.265327Z K 7 svn:log V 406 MFC r253322, r253370: Improve handling of 0x3F/0x0E "Reported LUNs data has changed" and 0x25/0x00 "Logical unit not supported" errors. First initiates specific target rescan, second -- destroys specific LUN. That allows to automatically detect changes in list of device LUNs. This mechanism doesn't work when target is completely idle, but probably that is all what can be done without active polling. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:03:21.179698Z K 7 svn:log V 114 MFC r253323: When printing opcode description, map T_NODEVICE to Direct Access Device to handle REPORT LUNS, etc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:05:03.516233Z K 7 svn:log V 160 MFC r253721, r253722: Detect unsupported PREVENT ALLOW MEDIUM REMOVAL and SYNCHRONIZE CACHE(10) to not spam devices with useless commands and logs with errors. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:06:32.133185Z K 7 svn:log V 310 MFC r253724: Synchronize device cache on close only if there were some write operations. While these operations are not really needed otherwise, at least for SCSI they may cause extra errors if some other initiator holds write exclusive reservation on the LUN (SYNCHRONIZE CACHE handled as "write" operation). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:10:01.062110Z K 7 svn:log V 204 MFC r253803: Add NO_RC16 quirk to make da driver avoid using READ CAPACITY(16) command if possible. Use it for Kingston JetFlash USB sticks, that are known to return garbage in response to that command. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:11:31.209654Z K 7 svn:log V 159 MFC r254052: Improve r253721 by reporting detected lack of BIO_FLUSH support to GEOM. That prevents more of such requests from coming and errors from logging. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:19:27.982153Z K 7 svn:log V 106 MFC r249008 (by trasz): Fix panic in the error path caused by recursive acquisition of XPT topology lock. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:24:40.806275Z K 7 svn:log V 229 MFC r249194 (by trasz): Make SYNCHRONIZE CACHE work with LUNs backed by device files (as opposed to regular files, which already worked fine). With this change, it's no longer neccessary to use "ctladm realsync off" workaround. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:34:25.878338Z K 7 svn:log V 208 MFC r249981: Remove ADA_FLAG_PACK_INVALID flag. Since ATA disks have no concept of media change it only duplicates CAM_PERIPH_INVALID flag, so we can use last one. Slightly cleanup DA_FLAG_PACK_INVALID use. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:37:21.357508Z K 7 svn:log V 375 MFC r250208: Tune support for removable media in da driver: - remove DA_FLAG_SAW_MEDIA flag, almost opposite to DA_FLAG_PACK_INVALID, using the last instead. - allow opening device with no media present, reporting zero media size and non-zero sector size, as geom/notes suggests. That allow to read device attributes and potentially do other things, not related to media. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:40:24.328927Z K 7 svn:log V 180 MFC r250557: Suppress error printing for "PREVENT ALLOW MEDIUM REMOVAL" on da open. Change at r250208 exposed more errors here, hidden before. The same flag is used in cd driver. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:42:01.835558Z K 7 svn:log V 232 MFC r253752: Fix returning incorrect bio_resid value with failed BIO_DELETE requests. Neither residual length reported for ATA/SCSI command nor one from another BIO_DELETE request are in any way related to the value to be returned. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:49:18.978835Z K 7 svn:log V 187 MFC r254766: Add new attribute lunname to report only textual LUN-specific device IDs. While lunid attribute prefers to report numeric ones, having both may be useful in some situations. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:50:44.671136Z K 7 svn:log V 84 MFC r255117: Fix the build with CTLFEDEBUG, broken by unmapped I/O support changes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-14T09:50:45.436899Z K 7 svn:log V 62 Add svn:keywords property to Makefile. Approved by: re (gjb) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T09:52:30.824463Z K 7 svn:log V 71 MFC r255118: Fix targbh crash on XPT_IMMED_NOTIFY error during attach. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-14T09:53:36.336692Z K 7 svn:log V 65 Correct the svn:keywords value. Approved by: re (gjb, implicit) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-14T09:53:57.092445Z K 7 svn:log V 143 Fix module build when device ata is not in kernel config. Sponsored by: The FreeBSD Foundation Build-tested by: gjb Approved by: re (delphij) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T10:00:20.273004Z K 7 svn:log V 213 MFC r255120: Bring legacy CAM target implementation back into API/KPI-coherent and even functional state. While CTL is much more superior target from all points, there is no reason why this code should not work. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T10:08:09.360035Z K 7 svn:log V 235 MFC r253706: Introduce 3 seconds timeout on `graid stop` command (mostly with -f flag). Since completion waiting goes in g_event thread, it may cause GEOM deadlock if consumer on top (for example, ZFS) uses g_event thread for closing. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T10:10:01.612758Z K 7 svn:log V 62 MFC r254269, r254271: Fix reasonable but safe Clang warnings. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T10:11:09.376544Z K 7 svn:log V 162 MFC r254275: Return error when opening read-only volumes (like RAID4/5/...) for writing. Previously opens succeeded, but actual write operations returned errors. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-14T10:11:38.918846Z K 7 svn:log V 464 If the last page of the file is partially full and whole valid portion is invalidated, invalidate the whole page. Otherwise, partially valid page appears on a page queue, which is wrong. This could only happen for the last page, because only then buffer which triggered invalidation could not cover the whole page. Reported and tested by: pho (previous version) Reviewed by: alc Sponsored by: The FreeBSD Foundation Approved by: re (delphij) MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T10:12:28.851227Z K 7 svn:log V 87 MFC r254936: Add unmapped BIO support to GEOM ZERO if kern.geom.zero.clear is cleared. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T10:14:09.717300Z K 7 svn:log V 332 MFC r255144: Make ELI destruction (including orphanization) less aggressive, making it always wait for provider close. Old algorithm was reported to cause NULL dereference panic on attempt to close provider after softc destruction. If not global workaroung in GEOM, that could even cause destruction with requests still in flight. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-14T13:12:13.269777Z K 7 svn:log V 76 Temporary revert r255541 since there is no CPU_FFS in stable/9 yet. Sorry. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-14T15:29:06.010409Z K 7 svn:log V 130 Bring in the new iSCSI target and initiator. Reviewed by: ken (parts) Approved by: re (delphij) Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-09-14T17:17:32.423483Z K 7 svn:log V 196 vgapci: Use vga_pci_alloc_resource() to map PCI Expansion ROM This is cleaner and fixes Video BIOS mapping when the given device isn't the boot display. Submitted by: jhb@ Approved by: re (kib) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-09-14T17:22:34.147678Z K 7 svn:log V 275 drm/radeon: Fix usage of vga_pci_map_bios() vga_pci_(un)map_bios() takes a vgapci device as argument, not a drmn one. This fixes a bug where the BIOS couldn't be mapped if the device wasn't the boot display. Approved by: re (kib; blanket for following drm2/radeon commits) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-09-14T17:24:41.798338Z K 7 svn:log V 323 drm/radeon: Fix usage of pci_save_state() and pci_restore_state() Calling those functions with the drmn device as argument causes a panic, because it's not a direct child of pci$N. They must be called with the vgapci device instead. This fix is not enough to make suspend/resume work reliably. Approved by: re (blanket) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-14T20:38:22.736593Z K 7 svn:log V 171 Pull the hyperv drivers from GENERIC until the fix to the disengage driver to make it only probe when running on hyperv is reviewed and tested. Approved by: re (rodrigc) END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-09-14T21:43:18.271828Z K 7 svn:log V 45 Minor mdoc fixes. Approved by: re (blanket) END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-09-14T22:09:10.172626Z K 7 svn:log V 396 Properly remove c++filt. The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} == yes. This means that it should be removed if ${MK_GCC} == no || ${MK_CXX} == no. In its current form, it actually uses a conjunction instead of a disjunction. As there is already a separate block for ${MK_CXX} == no listing c++filt, simply remove the conditional entirely. Approved by: re (gjb) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T00:05:16.331322Z K 7 svn:log V 283 Two helper scripts for porting Unbound: - freebsd-configure.sh runs ./configure with the correct parameters and regenerates the lex and yacc code. - freebsd-sources.pl untangles the upstream Makefile and generates source lists for our Makefiles. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T00:07:51.854646Z K 7 svn:log V 56 Move prototypes into header. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T00:36:18.343944Z K 7 svn:log V 533 Numerous fixes to make Unbound compile cleanly: - cast through void * to silence alignment warnings (presumably false positives resulting from poor API design) - constify a few function arguments - move prototypes for callbacks into a common header - now that the prototypes are in scope, fix instances of function definitions that don't match the prototype or what the caller actually passes - hide a conditionally unused global variable behind the same #ifdef that controls its use Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T00:37:30.612339Z K 7 svn:log V 65 Forgotten in r255579: #include fixes. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T00:40:21.905886Z K 7 svn:log V 69 Generated configuration and documentation Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T00:40:46.081765Z K 7 svn:log V 56 Regenerated lexer and parser Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T01:29:00.038782Z K 7 svn:log V 89 Move more prototypes around, and remove one that wasn't used. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T01:31:55.400446Z K 7 svn:log V 53 Wholesale constification. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T01:32:32.583302Z K 7 svn:log V 85 Add missing #includes and fix some incorrect definitions. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T01:44:07.658178Z K 7 svn:log V 95 Massive constification + solve an alignment issue by using a union. Approved by: re (blanket) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-09-15T07:48:42.592788Z K 7 svn:log V 207 drm/radeon: Add missing "return false" after unmapping invalid BIOS Without that, we would try to copy the unmapped BIOS. Submitted by: Christoph Mallon Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T11:58:07.221474Z K 7 svn:log V 49 Final #include tweak. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T12:41:05.544460Z K 7 svn:log V 48 Add unbound-control. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T13:07:30.515601Z K 7 svn:log V 67 Complete the OPENSSH and LDNS sections. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T13:11:13.686444Z K 7 svn:log V 42 Tweak wording. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T13:48:08.992590Z K 7 svn:log V 210 The unbound-control-setup script needs to be generated so it knows where to place the keys. Also, the correct umask is 027, not 026, although it's not likely to make any difference. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T13:49:23.996965Z K 7 svn:log V 39 Regenerate. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T13:49:43.686915Z K 7 svn:log V 67 Set the correct prefix and exec-prefix. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T13:50:56.548240Z K 7 svn:log V 83 Previous commit accidentally left out the umask change. Approved by: re (blanket) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-15T14:19:17.341102Z K 7 svn:log V 486 Add a kernel interface (OF_xref_phandle()) for systems where phandles used as cross-references in the device tree and phandles as used by the Open Firmware client interface are in different namespaces. This include IBM pSeries hardware as well as FDT systems. FDT certainly abuses ihandles for this purpose and should be modified to use this API eventually. This changes no behavior on systems where FreeBSD already worked. Reviewed by: marius Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T14:51:23.541958Z K 7 svn:log V 86 Build and install the Unbound caching DNS resolver daemon. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T15:23:50.562920Z K 7 svn:log V 38 Regnerate. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T15:49:17.451523Z K 7 svn:log V 123 The Unbound developers have never met a pointer game they didn't like. Fix needless deconsting. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T15:52:07.923442Z K 7 svn:log V 66 Remove duplicate function declaration. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T15:55:21.513093Z K 7 svn:log V 79 Move libldns to the correct (ordered) library list. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-15T16:27:25.173174Z K 7 svn:log V 112 Set NO_WERROR for unbound until I can figure out how to unbreak the non-clang build. Approved by: re (blanket) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-15T21:18:50.875011Z K 7 svn:log V 146 Add support for the PAPR IOMMU. This makes DMA work at least on the QEMU pSeries emulator. Thanks to kib for working through some details on IRC. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-15T21:38:46.799881Z K 7 svn:log V 180 Use the address of the inpcb rather than the tcpcb to identify TCP connections. This keeps the tcp provider consistent with the other network providers. Approved by: re (delphij) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-16T00:06:54.455232Z K 7 svn:log V 12 IFC @255409 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-16T02:01:36.847642Z K 7 svn:log V 133 MFC r255505: Do not install freebsd-update.conf.5 manual if WITHOUT_FREEBSD_UPDATE is set. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-16T06:15:15.434286Z K 7 svn:log V 343 In pmap_copy(), when the copied region is mapped with superpage but does not cover entire superpage, avoid copying. Doing partial copy would require demotion, which is incompatible with the already held locks. Reported by: cperciva Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (delphij) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-16T06:25:54.636958Z K 7 svn:log V 403 Remove zero-copy sockets code. It only worked for anonymous memory, and the equivalent functionality is now provided by sendfile(2) over posix shared memory filedescriptor. Remove the cow member of struct vm_page, and rearrange the remaining members. While there, make hold_count unsigned. Requested and reviewed by: alc Tested by: pho Sponsored by: The FreeBSD Foundation Approved by: re (delphij) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-16T10:04:19.955799Z K 7 svn:log V 266 MFC r255356: Revert parts of r245132 and r245175. We don't need to write to the IMAN register to clear the pending interrupt status bits. This patch tries to solve problems seen on the MacBook Air, as reported by Johannes Lundberg END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-16T10:06:40.568420Z K 7 svn:log V 266 MFC r255356: Revert parts of r245132 and r245175. We don't need to write to the IMAN register to clear the pending interrupt status bits. This patch tries to solve problems seen on the MacBook Air, as reported by Johannes Lundberg END K 10 svn:author V 3 zbb K 8 svn:date V 27 2013-09-16T10:34:44.215142Z K 7 svn:log V 425 Write protect base page after superpage demotion so that it may repromote When clearing the modification status of the superpage, one of the base pages produced during demotion should be marked as write disabled. The intention is that subsequent write access may repromote. In the current implementation this was done wrong as write permission was granted instead of forbidden. Approved by: cognet (mentor) Approved by: re END K 10 svn:author V 3 zbb K 8 svn:date V 27 2013-09-16T10:39:35.405811Z K 7 svn:log V 343 Implement pmap_advise() for ARMv6/v7 pmap module Apply the given advice to the specified range of addresses within the given pmap. Depending on the advice, clear the referenced and/or modified flags in each mapping. Superpage within the given range will be demoted or destroyed. Reviewed by: alc Approved by: cognet (mentor) Approved by: re END K 10 svn:author V 3 zbb K 8 svn:date V 27 2013-09-16T10:46:58.792329Z K 7 svn:log V 179 Fix GCC build error when building for ARMv6 Apply theravens's idea to move __strong_reference macros into the proper ifdef section. Approved by: cognet (mentor) Approved by: re END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-16T14:32:56.579455Z K 7 svn:log V 310 Fix bug in busdma: if segs is a preexisting buffer, we memcpy it into the DMA map. The length of the buffer had not yet been initialized, however, so this would copy gibberish unless it happened to be right by chance. This bug mostly only affected systems with IOMMUs. Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-16T15:10:11.627124Z K 7 svn:log V 265 Add a loader tunable to use only device tree-provided PCI devices. This is needed on some more fragile systems to avoid machine checks when blindly probing the PCI bus. Also reduce ofw_pcibus's priority slightly so that it can be overridden. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-16T16:43:57.570869Z K 7 svn:log V 138 MFC r255483: Do not emit size for non-regular files. There is nothing that mtree(1) can do in this situation and would cause confusion. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-16T16:44:18.624246Z K 7 svn:log V 138 MFC r255483: Do not emit size for non-regular files. There is nothing that mtree(1) can do in this situation and would cause confusion. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-09-16T17:32:02.199234Z K 7 svn:log V 28 Merge from head to r255608. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-16T19:29:18.909000Z K 7 svn:log V 60 Update head/ to -ALPHA2 status. Approved by: re (implicit) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-16T19:58:37.121087Z K 7 svn:log V 140 Merge the change r255607 from amd64 to i386. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (gjb) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-16T23:09:20.104087Z K 7 svn:log V 13 IFC @r255620 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-17T00:13:42.119384Z K 7 svn:log V 160 Document that the 'unbound' user is required for installworld since the import of ldns/unbound. Approved by: re (delphij) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-09-17T01:54:13.254779Z K 7 svn:log V 60 Add vmx(4) to i386 and amd64 GENERIC Approved by: re (gjb) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-17T04:24:34.571348Z K 7 svn:log V 122 - Reword the 20121201 entry. - Clean up minor whitespace nit. Approved by: re (hrs) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-09-17T06:37:21.725139Z K 7 svn:log V 218 Fix assertion in sendfile_readpage() to assert only the validity of requested amount of data in a page. Move assertion down below object unlock. Approved by: re (kib) Sponsored by: Nginx, Inc. Sponsored by: Netflix END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-17T07:35:26.862271Z K 7 svn:log V 198 PG_SLAB no longer serves a useful purpose, since m->object is no longer abused to store pointer to slab. Remove it. Reviewed by: alc Sponsored by: The FreeBSD Foundation Approved by: re (hrs) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-17T07:41:08.711186Z K 7 svn:log V 64 Set the correct path for LIBUNBOUND. Approved by: re (blanket) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-17T08:43:12.556516Z K 7 svn:log V 206 Explicitly require Security Officer's approval for kernel PRNG bits. Note that there is ongoing discussion about approval requirement for userland PRNG bits. Reviewed by: so (des) Approved by: core (jhb) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-09-17T11:48:47.317226Z K 7 svn:log V 227 Assume that the -f argument is /dev/gpioc0 if it is not passed. hrs@ provided this verison of the patch and showed me where all the needed changes were to be made outside of gpioctl.c Approved by: re (hrs) MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-17T12:50:57.526392Z K 7 svn:log V 359 MFC r248246: - Make quirk for reading device descriptor from broken USB devices. Else they won't enumerate at all: hw.usb.full_ddesc=1 - Reduce the USB descriptor read timeout from 1000ms to 500ms. Typical value for LOW speed devices is 50-100ms. - Enumerate USB device a maximum of 3 times when a port connection change event is detected, before giving up. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-17T12:53:09.333449Z K 7 svn:log V 125 MFC r254572: Force keyboards which don't have the required HID fields to use the USB BOOT protocol for now. PR: usb/181425 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-17T12:56:37.050379Z K 7 svn:log V 359 MFC r248246: - Make quirk for reading device descriptor from broken USB devices. Else they won't enumerate at all: hw.usb.full_ddesc=1 - Reduce the USB descriptor read timeout from 1000ms to 500ms. Typical value for LOW speed devices is 50-100ms. - Enumerate USB device a maximum of 3 times when a port connection change event is detected, before giving up. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-17T12:58:17.352282Z K 7 svn:log V 125 MFC r254572: Force keyboards which don't have the required HID fields to use the USB BOOT protocol for now. PR: usb/181425 END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-17T12:59:37.260817Z K 7 svn:log V 99 Add unbound to the list of UIDs / GIDs to check fore before installing. Approved by: re (blanket) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-17T14:19:05.128347Z K 7 svn:log V 228 Explicitly require Security Officer's approval for kernel PRNG bits. Note that there is ongoing discussion about approval requirement for userland PRNG bits. Reviewed by: so (des) Approved by: core (jhb) Approved by: re (gjb) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-17T14:23:15.649801Z K 7 svn:log V 114 Improve iSCSI address resolution, fixing "InitiatorAddress" handling, and error reporting. Approved by: re (kib) END K 10 svn:author V 3 phk K 8 svn:date V 27 2013-09-17T15:19:26.900476Z K 7 svn:log V 79 Don't attempt to build ports with missing dependencies. Approved by: re (gjb) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-17T16:06:07.029384Z K 7 svn:log V 321 Fix a bug in decoding an instruction that has an SIB byte as well as an immediate operand. The presence of an SIB byte in decoding the ModR/M field would cause 'imm_bytes' to not be set to the correct value. Fix this by initializing 'imm_bytes' independent of the ModR/M decoding. Reported by: grehan@ Approved by: re@ END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-17T17:29:07.351305Z K 7 svn:log V 182 Make sure to copy segments back to the segs array if non-NULL. This is relied upon by bus_dmamap_load_mbuf_sg() (i.e. all network drivers). Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-17T17:29:56.198873Z K 7 svn:log V 67 Add POWER7+ and POWER8 to the CPU ID table. Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-17T17:30:49.206791Z K 7 svn:log V 147 CDs are not partitioned, so this is not correct syntax for loading from ISO 9660. Omit the partition ID. Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-17T17:31:53.029429Z K 7 svn:log V 135 Only attach if properties we need (address, in particular) are present. This is the correct version of r255420. Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-17T17:37:04.004383Z K 7 svn:log V 536 Merge in support for PAPR-compliant (Power Architecture Platform Requirements) systems from the projects/pseries branch. This in principle includes all IBM POWER hardware released in the last 15 years with the exception of POWER3-based systems when run in 64-bit mode. The main development target, however, has been the PAPR logical partition support that is the default target in KVM on POWER and QEMU -- mileage may vary on actual hardware at present. Much of the heavy lifting here was done by Andreas Tobler. Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-17T17:39:40.034035Z K 7 svn:log V 26 Branch merged in r255643. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-17T17:56:53.593857Z K 7 svn:log V 155 Hide TSC-deadline APIC timer support from guests. This mode isn't yet implemented in bhyve's APIC emulation. Reviewed by: neel Approved by: re@ (blanket) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-09-17T18:41:32.099615Z K 7 svn:log V 144 psm: Update "struct synapticshw" in psm(4) man page This structure was updated in r255153 and r255154. PR: kern/170834 Approved by: re (hrs) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-17T18:42:13.364326Z K 7 svn:log V 143 Pass the number of supported vectors to pci_emul_add_msicap() and not the actual PCI BAR number. Reviewed by: neel Approved by: re@ (blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-17T18:46:10.137573Z K 7 svn:log V 158 Fix a typo when accounting for tx_broadcast statistics. Submitted by: Paul A. Patience MFC after: 2 weeks Approved by: re (hrs) END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-09-17T18:47:31.109825Z K 7 svn:log V 85 MFC r255235: Remove unused code and sort variables declarations. PR: kern/181822 END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-09-17T18:51:35.927632Z K 7 svn:log V 85 MFC r255235: Remove unused code and sort variables declarations. PR: kern/181822 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-09-17T20:09:25.854287Z K 7 svn:log V 402 share/i18n: Fix installworld with read-only obj. Since iconv was enabled (r254273, August 13), it has been impossible to installworld using a read-only obj tree. This is common with NFS. Parts of share/i18n unconditionally rebuild files like mapper.dir during installation. This patch ensures the files like mapper.dir are not rewritten with the same contents. Tested by: joel Approved by: re (hrs) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-09-17T20:20:04.467289Z K 7 svn:log V 161 Remove description "ifconfig_IF_aliasN is deprecated". While this sentence was added in 2005, many users still need it. Approved by: re (gjb) PR: docs/162354 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-09-17T20:22:24.895163Z K 7 svn:log V 112 Fix parsing lines of ifconfig output which include \t in the case of inet and inet6. Approved by: re (delphij) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-09-17T20:24:03.255756Z K 7 svn:log V 208 - Fix pidfile handling in sendmail_msp_queue. The pidfile was ignored and multiple instances were invoked by start/stop cycles. - Remove redundant start_cmd rewrite. Approved by: re (gjb) Tested by: jmg END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-09-17T20:25:29.820498Z K 7 svn:log V 102 Add EXAMPLES section to explain the format of fstab(5). Approved by: re (marius) Reviewed by: wblock END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-09-17T20:33:42.831318Z K 7 svn:log V 235 We have grown a bit too big lately. Shrinking the kernel for TP-Link TL-WR1043ND. Submitted by: loos (initial version) Reviewed by: adrian Approved by: sbruno (mentor, implicit) Approved by: re (delphij) Tested by: hiren END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-09-17T20:48:19.768256Z K 7 svn:log V 931 Disallow cap_enter() in freebsd32 compatibility mode. The freebsd32 compatibility mode (for running 32-bit binaries on 64-bit kernels) does not currently allow any system calls in capability mode, but still permits cap_enter(). As a result, 32-bit binaries on 64-bit kernels that use capability mode do not work (they crash after being disallowed to call sys_exit()). Affected binaries include dhclient and uniq. The latter's crashes cause obscure build failures. This commit makes freebsd32 cap_enter() fail with [ENOSYS], as if capability mode was not compiled in. Applications deal with this by doing their work without capability mode. This commit does not fix the uncommon situation where a 64-bit process enters capability mode and then executes a 32-bit binary using fexecve(). This commit should be reverted when allowing the necessary freebsd32 system calls in capability mode. Reviewed by: pjd Approved by: re (hrs) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-09-17T20:49:05.231635Z K 7 svn:log V 61 Regenerate for freebsd32_cap_enter(). Approved by: re (hrs) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-09-17T22:26:07.128602Z K 7 svn:log V 301 Bring in configuration for Buffalo Airstation WZR-300HP, Atheros based wireless home router. Notable things: 2x 16 MB flash devices Atheros Wireless Atheros Switching Many thanks to adrian@ for his guidance on this and keeping the drivers in the base system up to date Approved by: re (delphij) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-09-18T00:33:24.924268Z K 7 svn:log V 501 Fix 'make installcheck' to check for missing UID/GID as well, broken since r249893, by adding a separate _installcheck_world and _installcheck_kernel so the destination targets can be more explicit on which they are needed for. installcheck will call both, while installworld only calls _installcheck_world and installkernel only calls _installcheck_kernel While here, mark the internal targets as starting with _. Reported by: des Reviewed by: des Pointyhat to: bdrewery Approved by: re (delphij) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-18T03:51:49.539627Z K 7 svn:log V 613 Destroy the iommu domain in vm_destroy() in preference to doing it when the last passthru device is detached from the virtual machine. There are code paths in vm_assign_pptdev() where we can return after creating the iommu domain but before the first passthru device is successfully attached. In this case there aren't any passthru devices attached to the virtual machine and therefore vm_unassign_pptdev() will not be called and the iommu domain is not destroyed. This is very easy to reproduce by trying to attach a non-existent passthru device to the virtual machine and then destroying the virtual machine. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-09-18T04:44:54.273513Z K 7 svn:log V 48 mdoc: sort SEE ALSO. Approved by: re (blanket) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-18T06:38:40.953797Z K 7 svn:log V 43 MFC r255472: Clear correct data structure. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-18T06:40:47.656936Z K 7 svn:log V 43 MFC r255472: Clear correct data structure. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-18T08:37:14.581029Z K 7 svn:log V 150 Make iscsictl(8) automatically try to load the iscsi module. While here, improve module loading in iscsid(8) and ctld(8). Approved by: re (delphij) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-09-18T11:07:32.641561Z K 7 svn:log V 46 MFC r248114 (by melifaro): Add forgotten .El END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-09-18T16:32:43.098253Z K 7 svn:log V 41 Import lldb.1 man page as of SVN r188801 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-09-18T16:39:01.463724Z K 7 svn:log V 31 Tag lldb man page from r188801 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-18T17:18:19.639080Z K 7 svn:log V 118 Make multi-line KASSERTs style(9) compliant by using 4 spaces to indent the continuation lines. Pointed out by: alc@ END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-18T17:27:38.264408Z K 7 svn:log V 31 Vendor import of OpenSSH 6.3p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-18T17:28:19.324162Z K 7 svn:log V 18 Tag OpenSSH 6.3p1 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2013-09-18T17:56:04.155758Z K 7 svn:log V 553 Implement epoll support in Linuxulator. This is a tiny wrapper around kqueue to implement epoll subset of functionality. The kqueue user data are 32bit on i386 which is not enough for epoll user data so this patch overrides kqueue fileops to maintain enough space in struct file. Initial patch developed by me in 2007 and then extended and finished by Yuri Victorovich. Approved by: re (delphij) Sponsored by: Google Summer of Code Submitted by: Yuri Victorovich Tested by: Yuri Victorovich END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2013-09-18T17:58:03.045992Z K 7 svn:log V 37 Regen. Approved by: re (delphij) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-09-18T18:02:01.583002Z K 7 svn:log V 30 Nuke license from rc scripts. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2013-09-18T18:48:33.110095Z K 7 svn:log V 99 Revert r255672, it has some serious flaws, leaking file references etc. Approved by: re (delphij) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2013-09-18T18:49:26.643233Z K 7 svn:log V 34 Regen. Approved by: re (delphij) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-09-18T19:26:08.850932Z K 7 svn:log V 266 Fix panic in ktrcapfail() when no capability rights are passed. While here, correct all consumers to pass NULL instead of 0 as we pass capability rights as pointers now, not uint64_t. Reported by: Daniel Peyrolon Tested by: Daniel Peyrolon Approved by: re (marius) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-18T21:15:21.841427Z K 7 svn:log V 512 Fix several problems in the new iSCSI stack; this includes interoperability fix for LIO (Linux target), removing possibility for the target to avoid mutual CHAP by choosing to skip authentication altogether, and fixing truncated error messages in iscsictl(8) output. This also fixes several of the problems found with Coverity. Note that this change requires world rebuild. Coverity CID: 1088038, 1087998, 1087990, 1088004, 1088044, 1088041, 1088040 Approved by: re (blanket) Sponsored by: FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-18T22:26:41.939928Z K 7 svn:log V 500 Move the nested PTE bit definitions to pmap.h. Redefine the PG_xx macros that implicitly refer to bits in the x86 PTEs to now refer to them explicitly. Allow code that deals with both regular and nested page table entries to be compiled with a select set of PG_xx macros undefined. This happens because the PG_xx macros define bits that are located at different positions in x86 and nested PTEs. The appropriate bitmask will be determined at runtime depending on the pmap type. Requested by: kib@ END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-18T23:02:38.266166Z K 7 svn:log V 78 Replace explicit calls to panic() with KASSERT() instead. Requested by: kib@ END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-09-19T00:18:25.648493Z K 7 svn:log V 1036 MFC of 253998: This bug fix is in a code path in rename taken when there is a collision between a rename and an open system call for the same target file. Here, rename releases its vnode references, waits for the open to finish, and then restarts by reacquiring its needed vnode locks. In this case, rename was unlocking but failing to release its reference to one of its held vnodes. The effect was that even after all the actual references to the vnode had gone, the vnode still showed active references. For files that had been removed, their space was not reclaimed until the filesystem was forcibly unmounted. This bug manifested itself in the Postgres server which would leak/lose hundreds of files per day amounting to many gigabytes of disk space. This bug required shutting down Postgres, forcibly unmounting its filesystem, remounting its filesystem and restarting Postgres every few days to recover the lost space. Reported by: Dan Thomas and Palle Girgensohn Bug-fix by: kib Tested by: Dan Thomas and Palle Girgensohn END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-09-19T00:32:07.541823Z K 7 svn:log V 89 Merge lldb man page from r188801 to contrib/llvm/tools/lldb/docs/ Approved by: re (gjb) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-19T01:12:59.118554Z K 7 svn:log V 157 For a nested pmap make sure that its 'pm_cr3' is invalid and thus is guaranteed to trigger an exception if loaded into the host's %cr3. Requested by: kib@ END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-19T01:55:58.066634Z K 7 svn:log V 127 If the page fault was triggered by reserved bits being set in the page table entry then panic immediately. Requested by: kib@ END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-19T02:02:15.602399Z K 7 svn:log V 52 Fix missing SVN properties. Approved by: re@ (hrs) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-19T02:34:52.021029Z K 7 svn:log V 160 Reorder the hypervisor presence test to avoid claiming ATA disks on non hyperv systems. Reviewed by: neel, abgupta at microsoft dot com Approved by: re@ (hrs) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-19T02:41:00.643474Z K 7 svn:log V 168 The 'kernel_pmap' is known to be of type PT_X86 and thus we can directly use the X86_PG_G, X86_PG_A and X86_PG_M macros when working with its PTEs. Requested by: alc@ END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-19T04:20:18.699347Z K 7 svn:log V 168 Use correct offset for the high byte of high memory written to RTC NVRAM. Submitted by: Bela Lubkin bela dot lubkin at tidalscale dot com Approved by: re@ (blanket) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-19T04:29:03.657564Z K 7 svn:log V 206 Allow the alarm hours/mins/seconds registers to be read/written, though without any action. This avoids a hypervisor exit when o/s's access these regs (Linux). Reviewed by: neel Approved by: re@ (blanket) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-19T04:48:26.382757Z K 7 svn:log V 272 Add simplistic periodic timer support to mevent using kqueue's timer support. This should be enough for the emulation of h/w periodic timers (and no more) e.g. some of the 8254's more esoteric modes that happen to be used by non-FreeBSD o/s's. Approved by: re@ (blanket) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-19T04:59:44.181148Z K 7 svn:log V 156 Implement support for the interrupt-on-terminal-count and s/w-strobe timer modes. These are commonly used by non-FreeBSD o/s's. Approved by: re@ (blanket) END