Ħ]273158 154 895 745 191 221 211 261 316 201 277 206 309 286 159 192 182 411 355 588 164 187 482 320 1540 169 189 185 187 332 234 230 4951 139 179 359 356 280 178 480 290 215 1740 1786 134 398 309 378 262 427 367 355 189 201 230 305 327 154 727 203 184 208 268 402 201 324 248 294 209 218 239 241 232 180 214 199 551 585 185 237 444 206 337 433 361 168 282 150 582 168 533 188 157 117 325 292 184 162 202 153 202 659 162 184 190 138 376 233 544 195 415 188 269 149 220 311 312 149 159 303 286 200 276 187 186 153 398 511 507 172 186 220 366 2700 329 565 106 284 331 143 302 370 288 106 341 129 576 360 355 270 270 250 137 151 833 315 K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-16T02:23:27.911011Z K 7 svn:log V 802 Prevent ZFS leaking pool free space When processing async destroys ZFS would leak space every txg timeout (5 seconds by default), if no writes occurred, until the pool is totally full. At this point it would be unfixable without a pool recreation. In addition if the machine was rebooted with the pool in this situation would fail to import on boot, hanging indefinitely, as the import process requires the ability to write data to the pool. Any attempts to query the pool status during the hung import would not return as the import holds the pool lock. The only way to import such a pool would be to specify -o readonly=on to the zpool import. zdb -bb can be used to check for "deferred free" size which is where this lost space will be counted. MFC after: 3 days Sponsored by: Multiplay END K 10 svn:author V 6 araujo K 8 svn:date V 27 2014-10-16T02:24:19.696476Z K 7 svn:log V 649 Add two sysctl(8) to enable/disable NFSv4 server to check when setting user nobody and/or setting group nogroup as owner of a file or directory. Usually at the client side, if there is an username that is not in the client's passwd database, some clients will send 'nobody@' in the wire and the NFSv4 server will treat it as an ERROR. However, if you have a valid user nobody in your passwd database, the NFSv4 server will treat it as a NFSERR_BADOWNER as its believes the client doesn't has the username mapped. Submitted by: Loic Blot Reviewed by: rmacklem Approved by: rmacklem MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-16T08:33:04.113178Z K 7 svn:log V 97 Fix automountd(8) not to leave zombies. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-16T08:33:11.893042Z K 7 svn:log V 128 MFC r273158: Prevent ZFS leaking pool free space Early MFC approved by re@ Approved by: re@ (glebius) Sponsored by: Multiplay END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-16T08:39:44.094014Z K 7 svn:log V 118 MFS10 r272883 MFC r272474 Fix ZFS ZVOL deadlock and rename issues Approved by: re@ (delphij) Sponsored by: Multiplay END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-16T08:42:17.761998Z K 7 svn:log V 168 Implement more functional CTL debug logging. Setting bits in kern.cam.ctl.debug allows to log errors, commands and some commands data respectively. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-16T09:09:43.309853Z K 7 svn:log V 221 When removing an iSCSI session, check whether all conditions match, not if any of them matches. This fixes "iscsictl -Rn" removing unrelated sessions. PR: 194034 MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-16T12:41:14.388472Z K 7 svn:log V 108 Use lockless quota checks in qsync and qsyncvp. No strong objections from: kib, mckusick MFC after: 1 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-16T13:49:54.331586Z K 7 svn:log V 181 Fix the type of pte_pa as when it is passed into _kvm_pa2off it is either a uint64_t or a pointer to an off_t. With it being a u_long can result in incorrect values being returned. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-16T14:08:59.540325Z K 7 svn:log V 113 Add an "empty" Makefile.pc98 because it doesn't need/want HYPERV. It is not relevant to the hardware it runs on. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-16T15:36:04.131362Z K 7 svn:log V 213 Fix the reported streams in a SCTP_STREAM_RESET_EVENT, if a sent incoming stream reset request was responded with failed or denied. Thanks to Peter Bostroem from Google for reporting the issue. MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-16T15:44:47.536845Z K 7 svn:log V 193 Revert r270120 (partial), r270122: Restore ABI compatibility with 10.0-RELEASE. Requested by: many Reviewed by: delphij, ache Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-16T15:52:36.005325Z K 7 svn:log V 64 MK_ARB_EABI was removed in r272350 so remove the documentation. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-16T15:54:23.516240Z K 7 svn:log V 97 Per r273155, HYPERV is built by default on platforms where it makes sense and ignored on others. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-16T15:55:13.643219Z K 7 svn:log V 87 Document that WITHOUT_TOOLCHAIN causes headers to not be installed, not just programs. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-16T15:59:00.698847Z K 7 svn:log V 315 Regenerate src.conf.5 after: r273170: MK_ARB_EABI was removed in r272350 so remove the documentation. r273171: Per r273155, HYPERV is built by default on platforms where it makes sense and ignored on others. r273172: Document that WITHOUT_TOOLCHAIN causes headers to not be installed, not just programs. END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-10-16T18:04:43.249826Z K 7 svn:log V 259 Follow up to r225617. In order to maximize the re-usability of kernel code in userland rename in-kernel getenv()/setenv() to kern_setenv()/kern_getenv(). This fixes a namespace collision with libc symbols. Submitted by: kmacy Tested by: make universe END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-16T18:13:10.493920Z K 7 svn:log V 494 Fix topology enumeration issues exposed by AMD Bulldozer Family 15h processor. Initialize CPUID.80000008H:ECX[7:0] with the number of logical processors in the package. This fixes a panic during early boot in NetBSD 7.0 BETA. Clear the Topology Extension feature bit from CPUID.80000001H:ECX since we don't emulate leaves 0x8000001D and 0x8000001E. This fixes a divide by zero panic in early boot in Centos 6.4. Tested on an "AMD Opteron 6320" courtesy of Ben Perrault. Reviewed by: grehan END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-16T18:16:31.478891Z K 7 svn:log V 71 Use the correct fault type (VM_PROT_EXECUTE) for an instruction fetch. END K 10 svn:author V 8 skreuzer K 8 svn:date V 27 2014-10-16T18:28:11.428753Z K 7 svn:log V 90 Correct two typos PR: 194350 Submitted by: jiashiun@gmail.com Approved by: hrs (mentor) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-16T18:49:50.354371Z K 7 svn:log V 386 Update vt(4) for UEFI defaults and special keys vt(4) is the default console for UEFI boot [1], and the bitmapped kern.vt.spclkeys sysctl has been replaced with individual kern.vt.kbd_* enable sysctls. PR: 193710 Submitted by: wblock [1] Reviewed by: wblock MFC after: 3 days Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D953 END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-16T19:27:26.804164Z K 7 svn:log V 226 Emulate the "Hardware Configuration" MSR when running on an AMD host. This gets rid of the "TSC doesn't count with P0 frequency!" message when booting a Linux guest. Tested on an "AMD Opteron 6320" courtesy of Ben Perrault. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-16T19:52:12.353370Z K 7 svn:log V 1446 fwsectors and fwheads used to be somehwat arbitrary. However, they are used to align partitions in gpart. We also try to align partitions by stripe size when creating new media. Align these two concepts by making fwsectors the same as the stripe size. Select a sensible number of heads so we wind up with about 20 cylinders. This number was selected to keep the rounding effects to a few percent while keeping the number of cylinder groups low. Sadly, it is not possible to make these numbers match the numbers used by SD card readers. There apperas to be much variation between brands so there's no one universal number. These numbers are also not aligned to the stripe size, so some performance problems may still be present when SD cards are created this way. Also, these numbers will differ from the far less common SD to ATA adapters, which present a different, but more uniform, set of numbers that also happened to match the old defaults. Nothing should change for current users. Any suboptimal performance caused by misalignment will still be there. gpart will honor the partitions that aren't on proper boudnaries, but editing the partition tables may result in different alignments being used than before when editing things natively. Ideally, there'd be some way to override these values in the disk subsystem by the user for the USB adapter use case where all "native" notions of geometry disappear. This does not implement that. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2014-10-16T19:53:32.141669Z K 7 svn:log V 75 Add the Dresden Elektronik deRFnode device to uftdi(4). MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-16T20:13:16.739624Z K 7 svn:log V 97 There's no need to override the clean target. The clean target works correctly without doing so. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-10-16T20:33:04.928242Z K 7 svn:log V 90 Add 4k quirks for PM853T Samsung SSD MFC after: 2 weeks Sponsored by: Limelight Networks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-16T20:43:12.083640Z K 7 svn:log V 91 Merge r272358 from head: Use rn_detachhead() instead of direct free(9) for radix tables. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-16T20:46:02.247811Z K 7 svn:log V 235 Merge r272385 by melifaro from head: Free radix mask entries on main radix destroy. This is temporary commit to be merged to 10. Other approach (like hash table) should be used to store different masks. PR: 194078 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-16T21:13:46.946723Z K 7 svn:log V 139 Don't define rules based on PROGS if PROGS is empty. Reviewed by: sjg, ngie MFC after: 1 week Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-16T21:39:04.693692Z K 7 svn:log V 137 MFH (r272830): change the hardcoded default back to DES MFH (r272833): remove last vestige of MD5 password hashes Approved by: re (gjb) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-16T22:00:24.930746Z K 7 svn:log V 4857 MFS r272855, 266846: - Do not override sin6_scope_id in LLA when it is already set to non-zero. This fixes destination list in output of netstat -r. - Plug a memory leak. - Add RTM_VERSION check. - Fix a bug which can make sysctl() fail when -F is specified. - Increase WID_IF_DEFAULT() from 6 to 8 (the default for AF_INET6) because we have interfaces with longer names than 6 chars like epairN{a,b}. - Style fixes. MFS r272847: - Add rwlock to struct dadq. A panic could occur when a large number of addresses performed DAD at the same time. MFS r272850: - Replace Sun RPC license in TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009. - Replace Sun Industry Standards Source License for Sun RPC code with a 3-clause BSD license as specified by Oracle America, Inc. in 2010. This license change was approved by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation. - Replace Sun RPC license with a 3-clause BSD license. This license change was approved in 2010 by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation. - Replace Sun RPC license for TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009. The code in question in this file was copied from lib/libc/rpc/pmap_getport.c. MFS r272852,r272853: - Add relative specification in expiration time. - Add proto3 option for RTF_PROTO3. - Use %lu for members of struct rt_metrics. - Use long explicitly for the time difference. MFS r272854: - Return 0 if: 1. "-u N" specified, no -f, and mdN found, 2. no -u, "-f /pathname" specified, and mdN associated with /pathname found, 3. "-u N" specified, "-f /pathname" specified, and both of them found, 4. "-l" specified and no -f, 5. "-l" specified, "-f /pathname" specified, and /pathname found. otherwise return -1. MFS r272856: - Move configuration of IPv6 NDP flags to a point before handling ifconfig_IF. This fixes a race that a non-IPv4 interface can get an EUI64 LLA even if it has IFDISABLED nd6 flag at boot time. MFS r272857: - Cancel DAD for an ifa when the ifp has ND6_IFF_IFDISABLED as early as possible and do not clear IN6_IFF_TENTATIVE. If IFDISABLED was accidentally set after a DAD started, TENTATIVE could be cleared because no NA was received due to IFDISABLED, and as a result it could prevent DAD when manually clearing IFDISABLED after that. MFS r272858: - Fix an issue in range specification handling when a "-foo" is specified in ifconfig_IF_aliasN. MFS r272859: - Fix EtherIP. TOS field must be initialized when the inner protocol is PF_LINK, and multicast/broadcast flag should always be dropped because the outer protocol uses unicast even when the inner address is not for unicast. It had been broken since r236951 when gif_output() started to use IFQ_HANDOFF(). MFS r272860: - Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index where a RIP packet was received. This fixes a bug which prevented gateway addresses in fe80::/64 from being added. MFS r272861: - Fix rc.d/gssd script to define the default values in a standard way. - Use a parameter argument in jls(8) instead of doing grep. MFS r272862, r272870: - Restructure rc.d scripts for kerberos5 daemons. MFS r272863: - Return false status only when adding a route is failed. It could erroneously return false due to an afexists() check loop in routing_start(). MFS r272864: - Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured. MFS r272865: - Fix a bug which prevented mount.fstab parameter from being converted when jail_JID_devfs_enable=NO. MFS r272866: - Fix header output when -P is specified and (ncpus - 1) != maxid. MFS r272867: - Fix a bug which could break extended attributes in a dump output. This occurred when a file was >892kB long and had a large data (>1kB) in the extended attributes. MFS r272868, r272869: - Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, and net.inet.ip.process_options vnet-aware. MFS r272871: - Revert changes in r269180. It could cause -c N option to enter an infinite loop if no reply packet is received. MFS r272874: - Resurrect set_rcvar() as a function to define a rc.conf variable. It defines a variable and its default value in load_rc_config() just after rc.conf is loaded. "rcvar" command shows the current and the default values. MFS r272960: - Do not add late flag when file= is specified because it has a bad side-effect. The specified file should exist before the fstab line. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-16T22:04:07.727932Z K 7 svn:log V 43 Remove duplicated code. Suggested by: jmg END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-16T22:07:43.983856Z K 7 svn:log V 87 MFH (r272173): offer to enable local_unbound after installation Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-16T22:12:23.068163Z K 7 svn:log V 262 MFV r273060: Use write_psize instead of write_asize when doing vdev_space_update. Without this change the accounting of L2ARC usage would be wrong and give 16EB free space because the number became negative and overflows. Obtained from: FreeNAS (issue #6239) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-16T22:20:38.988039Z K 7 svn:log V 259 MFS r273191: MFC r273060: Use write_psize instead of write_asize when doing vdev_space_update. Without this change the accounting of L2ARC usage would be wrong and give 16EB free space because the number became negative and overflows. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-16T22:33:09.718408Z K 7 svn:log V 183 MFC r272506: MFV r272495: In arc_kmem_reap_now(), reap range_seg_cache too to reclaim memory in response of memory pressure. Illumos issue: 5163 arc should reap range_seg_cache END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-16T22:40:22.042189Z K 7 svn:log V 82 MFC r272527: Don't make nested definition for range_seg_cache. Reported by: ian END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-16T22:44:30.477163Z K 7 svn:log V 383 MFC r272583: MFV r272500: Don't inherit flags other than DS_FLAG_CI_DATASET and DS_FLAG_INCONSISTENT when cloning. This prevents DS_FLAG_DEFER_DESTROY being inherited from a clone that is marked for deferred destroy, which causes snapshots of the clone being destroyed when getting a hold or clone. Illumos issue: 5150 zfs clone of a defer_destroy snapshot causes strangeness END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-16T23:03:04.648768Z K 7 svn:log V 193 Merge r273184, r273185 from stable/10: - Use rn_detachhead() instead of direct free(9) for radix tables. - Free radix mask entries on main radix destroy. PR: 194078 Approved by: re (gjb) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-10-16T23:07:09.099828Z K 7 svn:log V 120 The igb(4) driver supports 82580, i350, i354, i210 and i211 chipsets too, document them. PR: 192301 MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-16T23:16:26.807239Z K 7 svn:log V 1646 MFC r273093, r273096: r273093: Merge the following from ^/projects/release-vmimage: r272436, r272437, r272792: r272436: Remove the first argument to panic(), which was initially intended to be the exit code, however when a non-zero exit code was returned to release/Makefile, this would prevent any remaining (and possibly successful) stages from being attempted. r272437: If the vm-base target fails, prevent the vm-image target from being run since it cannot possibly succeed. r272792: Add /usr/local/bin and /usr/local/sbin to PATH, needed if third-party software needs to use utilities outside of the base system during post-install stages (indexinfo is one culprit). r273096: Merge the following from ^/projects/release-vmimage: r273076, r273077, r273079, r273095: r273076: Add a separate make(1) target to release/Makefile to build FreeBSD virtual machine disk images for use on the Microsoft Azure service. For now, this target is not directly connected to the build, however can be manually invoked. The 'vm-azure' target invokes {amd64,i386}/mk-azure.sh, which does the heavy lifting to produce proper VHDs. mk-azure.sh uses a configuration file, defaulting to tools/azure.conf if otherwise unset. r273077: Clear VM_RC_LIST. r273079: Fix signal list to trigger umount(8). r273095: Output an informational message when mkimg(1) runs, so it does not appear that the process has stopped while waiting for a 'y/n' response when waagent is deprovisioned. Relnotes: yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-16T23:25:38.206752Z K 7 svn:log V 1692 MFstable10 r273198: MFC r273093, r273096: r273093: Merge the following from ^/projects/release-vmimage: r272436, r272437, r272792: r272436: Remove the first argument to panic(), which was initially intended to be the exit code, however when a non-zero exit code was returned to release/Makefile, this would prevent any remaining (and possibly successful) stages from being attempted. r272437: If the vm-base target fails, prevent the vm-image target from being run since it cannot possibly succeed. r272792: Add /usr/local/bin and /usr/local/sbin to PATH, needed if third-party software needs to use utilities outside of the base system during post-install stages (indexinfo is one culprit). r273096: Merge the following from ^/projects/release-vmimage: r273076, r273077, r273079, r273095: r273076: Add a separate make(1) target to release/Makefile to build FreeBSD virtual machine disk images for use on the Microsoft Azure service. For now, this target is not directly connected to the build, however can be manually invoked. The 'vm-azure' target invokes {amd64,i386}/mk-azure.sh, which does the heavy lifting to produce proper VHDs. mk-azure.sh uses a configuration file, defaulting to tools/azure.conf if otherwise unset. r273077: Clear VM_RC_LIST. r273079: Fix signal list to trigger umount(8). r273095: Output an informational message when mkimg(1) runs, so it does not appear that the process has stopped while waiting for a 'y/n' response when waagent is deprovisioned. Relnotes: yes Approved by: re (delphij) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-17T00:05:31.558206Z K 7 svn:log V 38 Commit patches from 2014-09-16 batch. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-17T00:31:51.634132Z K 7 svn:log V 305 Add support of "/{udp,tcp,proto}" suffix into $firewall_myservices, which interpreted the listed items as port numbers of TCP services. A service with no suffix still works and recognized as a TCP service for backward compatibility. It should be updated with /tcp suffix. PR: 194292 MFC after: 1 week END K 10 svn:author V 6 araujo K 8 svn:date V 27 2014-10-17T02:11:09.062369Z K 7 svn:log V 213 Make the sysctl(8) for checkutf8 positively defined and improve the description of it. Submitted by: Ronald Klop Reviewed by: rmacklem Approved by: rmacklem Sponsored by: QNAP Systems Inc. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-17T03:04:38.764354Z K 7 svn:log V 284 Hide extended PerfCtr MSRs on AMD processors by clearing bits 23, 24 and 28 in CPUID.80000001H:ECX. Handle accesses to PerfCtrX and PerfEvtSelX MSRs by ignoring writes and returning 0 on reads. This further reduces the number of unimplemented MSRs hit by a Linux guest during boot. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T03:55:33.604649Z K 7 svn:log V 169 Add more descriptive metadata to the ISO images. PR: 146079 Submitted by: Roman Bogorodskiy MFC after: 3 days X-MFC-10.1: yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-17T04:36:48.092827Z K 7 svn:log V 334 Don't depend on @ or machine for assym.s or genassym.o. That's a vestige of a time when we needed to do that, but it is all handled by beforedepend now. When we depend on the symlink, bmake will cause the file to be rebuilt always. With this change, dtrace.ko doesn't rebuild every time through a KERNFAST run. Sponsored by: Netfix END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-17T04:36:53.358448Z K 7 svn:log V 274 move linux*_locore.s and linux*_support.s to SRCS, remove the OBJS entry and remove now-redunant dependencies. Add assym.s to linux*_locore.s build, as it depends on it. With this change, linux*.ko no longer builds every time through a KERNFAST run. Sponsored by: Netflix END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-17T06:23:04.717003Z K 7 svn:log V 261 Don't advertise the Instruction Based Sampling feature because it requires emulating a large number of MSRs. Ignore writes to a couple more AMD-specific MSRs and return 0 on read. This further reduces the unimplemented MSRs accessed by a Linux guest on boot. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-17T06:58:04.269984Z K 7 svn:log V 98 Add provider's sectorsize and stripesize to confdot output. Submitted by: rpokala at panasas.com END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-10-17T07:58:51.065229Z K 7 svn:log V 109 After r273087,r273090,r273091,r273121 changes to gif(4) try to fix NOIP builds for real. MFC after: 27 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-17T09:08:44.931859Z K 7 svn:log V 137 - Fix lladdr configuration which could prevent LACP mode from working. - Fix LORs when a laggport interface has an IPv6 LLA. PR: 194321 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-17T09:33:09.841160Z K 7 svn:log V 212 Add -x waittime and -X timeout options for feature parity. These are equivalent to -W and -t options of ping(8). Different letters are used because both have already been used for another purposes in ping6(8). END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-10-17T11:37:50.627475Z K 7 svn:log V 231 Support stopping and restarting the AHCI command list via toggling PxCMD.ST from '1' to '0' and back. This allows the driver a chance to recover if for instance a timeout occurred due to activity on the host. Reviewed by: grehan END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-17T12:06:48.926570Z K 7 svn:log V 60 Remove useless debug. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-17T13:20:49.514197Z K 7 svn:log V 634 Fix build to not bogusly always rebuild vmm.ko. Rename vmx_assym.s to vmx_assym.h to reflect that file's actual use and update vmx_support.S's include to match. Add vmx_assym.h to the SRCS to that it gets properly added to the dependency list. Add vmx_support.S to SRCS as well, so it gets built and needs fewer special-case goo. Remove now-redundant special-case goo. Finally, vmx_genassym.o doesn't need to depend on a hand expanded ${_ILINKS} explicitly, that's all taken care of by beforedepend. With these items fixed, we no longer build vmm.ko every single time through the modules on a KERNFAST build. Sponsored by: Netflix END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-17T13:35:56.547307Z K 7 svn:log V 110 MFS10 r273161 MFC r273158 Prevent ZFS leaking pool free space Approved by: re@ (gjb) Sponsored by: Multiplay END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-17T13:40:17.382764Z K 7 svn:log V 87 Add support for new USB 3G device. Submitted by: gabor@zahemszky.hu MFC after: 1 week END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-17T13:46:16.099471Z K 7 svn:log V 115 MFS10 r273057 MFC r272324 Fix a missed merge introduced in r272883 Approved by: re@ (gjb) Sponsored by: Multiplay END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-17T13:50:37.078286Z K 7 svn:log V 172 Add basic UEFI boot procedure manpage Reviewed by: brueffer MFC after: 4 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D959 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-17T13:55:45.905434Z K 7 svn:log V 306 Do nothing in vt_upgrade if there is no vt driver Previously, if no drivers attached at boot we would panic with "vtbuf_fill_locked begin.tp_row 0 must be < screen height 0". PR: 192248 Reviewed by: ray MFC after: 3 days Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D954 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-17T15:07:04.042008Z K 7 svn:log V 103 * Remove route caching in if_stf. * Copy necessary in6_ifa on stack instead of playing with refcounts. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-17T15:29:47.741850Z K 7 svn:log V 231 MFC 272182: Don't panic if a resource is allocated twice. Instead, print a warning and fail the allocation request. Allocations of "reserved" resources such as PCI BARs already fail the request instead of panic'ing in this case. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:30:51.496873Z K 7 svn:log V 155 Document r272078, addition of /usr/lib32/compat to the default ld-elf32.so.1 search path. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:30:53.822158Z K 7 svn:log V 201 Add a section for periodic(8) scripts. Document r272430, 110.clean-tmps: avoid crossing filesystem mount boundaries when cleaning /tmp. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:30:55.866564Z K 7 svn:log V 116 Document r272819, mkimg(1) QCOW and QCOW2 support. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:30:58.054714Z K 7 svn:log V 125 Document r273098, options for displaying mkimg(1) internals Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:31:00.243297Z K 7 svn:log V 146 Document r273101, support for building VM images as part of the release process. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:31:02.271098Z K 7 svn:log V 148 Document r273199, support for building VM images for the Microsoft Azure platform. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:31:04.324811Z K 7 svn:log V 139 Rewrap a paragraph to conform to FDP style. Fix a wording nit while here. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:34:27.855748Z K 7 svn:log V 88 Remove empty sections. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T15:37:48.594466Z K 7 svn:log V 121 Document the current version of pkg(8) for the release. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-17T16:02:34.369600Z K 7 svn:log V 106 Fill in the security advisories section. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-17T16:23:36.622206Z K 7 svn:log V 455 MFC r257302 by rea: binutils/bfd: fix printf-like format strings for "bfd *" arguments There is a special format argument '%B' that directly handles values of type 'bfd *', they must be used instead of '%s'. Manifestations of this bug can be seen in ld(1) error messages, for example, http://lists.freebsd.org/pipermail/freebsd-current/2013-August/043580.html http://lists.freebsd.org/pipermail/freebsd-current/2013-October/045404.html END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-17T16:32:27.790914Z K 7 svn:log V 489 MFS10 r273232 (HEAD r257302 by rea): binutils/bfd: fix printf-like format strings for "bfd *" arguments There is a special format argument '%B' that directly handles values of type 'bfd *', they must be used instead of '%s'. Manifestations of this bug can be seen in ld(1) error messages, for example, http://lists.freebsd.org/pipermail/freebsd-current/2013-August/043580.html http://lists.freebsd.org/pipermail/freebsd-current/2013-October/045404.html Approved by: re END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-10-17T17:34:05.049641Z K 7 svn:log V 90 Convert remaining {g,s}etenv->kern_{g,s}etenv left over from r273174. Reported by: bz END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-17T18:16:40.551521Z K 7 svn:log V 141 Fix UEFI manpage whitespace and minor issues Submitted by: wblock MFC after: 4 days Differential Revision: https://reviews.freebsd.org/D959 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-17T19:04:24.841711Z K 7 svn:log V 349 Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy PMCs if a process exits or execs without explicitly releasing them. Reviewed by: bz, gnn MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D958 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-17T19:28:21.571054Z K 7 svn:log V 113 MFC 272449: Require p_cansched() for changing a process' protection status via procctl() rather than p_cansee(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-17T19:55:12.124486Z K 7 svn:log V 244 MFC 272668: Properly set the timeout in a query_state. The global query_timeout configuration value is an integer count of seconds, it is not a timeval. Using memcpy() to copy a timeval from it put garbage into the tv_usec field. PR: 194025 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-17T20:03:01.273312Z K 7 svn:log V 340 MFC 268369,268817,272771,272772: Rewrite timeout(9) to be callout(9)-centric instead. Move the description of timeout(9) to the end and mark it prominently as deprecated. Document somewhat how times are specified for the 'sbt' variants. Better explain how using callout_init_*() to associate a lock with a callout resolves common races. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-17T20:39:39.297209Z K 7 svn:log V 268 MFS10 273238; Properly set the timeout in a query_state. The global query_timeout configuration value is an integer count of seconds, it is not a timeval. Using memcpy() to copy a timeval from it put garbage into the tv_usec field. PR: 194025 Approved by: re (gjb) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-17T20:47:55.431561Z K 7 svn:log V 71 * Fix table sets handling. * Simplify formatting. Suggested by: luigi END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-17T21:09:03.587178Z K 7 svn:log V 189 Fix to col when printing half-line feeds w/ -f option... Message-Id on openbsd-tech: 20141017195810.GJ132@iris.usta.de Submitted by: Ingo Schwarze Obtained from: OpenBSD MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-10-17T21:52:57.229597Z K 7 svn:log V 55 sh: Add some tests for backslash-newline continuation. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-10-18T01:02:30.672398Z K 7 svn:log V 486 MFC r273112: Set the DROP_EN bit before the RX queue is brought up and active. He noticed issues setting this bit in SRRCTL after the queue was up, so doing it from the sysctl handler isn't enough and may not actually work correctly. This commit doesn't remove the sysctl path or try to change its behaviour. I'll talk with others about how to finish fixing that before I tackle that. PR: kern/194311 Submitted by: luigi MFC after: 3 days Sponsored by: Norse Corp, Inc END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-18T05:39:32.303616Z K 7 svn:log V 75 Don't advertise support for the NodeID MSR since bhyve doesn't emulate it. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-18T07:07:34.545351Z K 7 svn:log V 435 MFC r273135: Update the OFED Linux compatibility layer and Mellanox hardware driver(s): - Properly name an inclusion guard - Fix compile warnings regarding unsigned enums - Add two new sysctl nodes - Remove all empty linux header files - Make an error printout more verbose - Use "mod_delayed_work()" instead of cancelling and starting a timeout. - Implement more Linux scatterlist functions. Sponsored by: Mellanox Technologies END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-18T07:38:46.097936Z K 7 svn:log V 93 Fix the watchdog/watchdog man pages. The default timeout is 128 seconds. MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-18T07:40:38.222719Z K 7 svn:log V 62 AM335x FDT: add an entry for the watchdog. MFC after: 1 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2014-10-18T08:07:17.707376Z K 7 svn:log V 24 Disable hyperv on pc98. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-18T12:28:51.096304Z K 7 svn:log V 232 Retire the unimplemented MAP_RENAME and MAP_NORESERVE flags to mmap(2). Older binaries are still permitted to use these flags. PR: 193961 (exp-run in ports) Differential Revision: https://reviews.freebsd.org/D848 Reviewed by: kib END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-18T13:38:04.749936Z K 7 svn:log V 196 Add an elf not so kgdb detects the kernel as a FreeBSD elf file. The ELFNOTE macro is based on one from the FreeBSD/ARM Xen tree [1]. Obtained from: Julien Grall [1] END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-18T15:11:13.344861Z K 7 svn:log V 87 Add support for new USB 3G device. Submitted by: gabor@zahemszky.hu MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-18T15:18:31.024840Z K 7 svn:log V 65 * Zero rule buffer. * Rename 'read' variable. Pointed by: luigi END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-18T15:28:01.824997Z K 7 svn:log V 109 MFC r272534: Add IO_RANGELOCKED flag for vn_rdwr(9), which specifies that vnode is not locked, but range is. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-18T15:31:53.887127Z K 7 svn:log V 61 MFC r272952: Do not set IN_ACCESS flag for read-only mounts. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-18T16:34:52.550123Z K 7 svn:log V 106 AM335X FDT: use the oma3-wdt string for compatibility with Linux. Submitted by: andrew MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-18T16:59:21.997239Z K 7 svn:log V 563 Add a driver for the TI watchdog. The TI watchdog timer is present on BeagleBone's. Since 2014, U-Boot has been booting the BeagleBone with the watchdog enabled. We need to disable it on boot to avoid a spurious reset. The timer isn't exactly precise, but it will do as a watchdog. This is also a reflection of the watchdog(9) API. In the future, we could handle interrupts, but the watchdog(9) API needs to be a bit smarter before that can happen. Differential Revision: https://reviews.freebsd.org/D965 Reviewed by: andrew MFC after: 1 week Relnotes: yes END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-18T17:00:55.208119Z K 7 svn:log V 67 Make the ti_mbox and ti_pruss drivers optional. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-18T17:11:02.091675Z K 7 svn:log V 92 Make VPD 80h (Serial Number) transfer length match serial number length. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-18T17:23:41.895989Z K 7 svn:log V 93 Use IPFW_RULE_CNTR_SIZE macro instead of non-relevant ip_fw_cntr structure. Found by: luigi END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-18T17:36:57.303995Z K 7 svn:log V 43 Remove an unused mutex. MFC after: 1 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-18T17:51:34.558177Z K 7 svn:log V 280 Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments to be present. Thsi creates a new per-SoC driver that handles probe and setting/getting the gpio flags. Differential Revision: https://reviews.freebsd.org/D943 Reviewed by: loos, rpaulo MFC after: 1 week END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-18T18:27:24.467578Z K 7 svn:log V 139 Fix the chan address for mtx_sleep() on bus wait. Without this fix the threads waiting for the bus would never wake. X-MFC-With: r270230 END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-18T19:01:07.128902Z K 7 svn:log V 450 Add a workaround needed to fix a bug of Arasan Host Controller where it may lose the contents of consecutive writes (that happens within two SD card clock cycles). This fixes the causes of instability during the SD card detection and identification on Raspberry Pi (which happens at 400 kHz and so was much more vulnerable to this issue). Remove the previous workaround which clearly can't provide the same effect. MFC after: 1 week Relnotes: yes END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-10-18T19:22:59.138122Z K 7 svn:log V 102 MFC r272958, r273006: ddb: space/tab fixes and ANSI-fy function declarations. No functional change. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-10-18T19:36:11.856501Z K 7 svn:log V 319 Update the ULE scheduler + thread and kinfo structs to use int for cpuid rather than u_char. To try and play nice with the ABI, the u_char CPU ID values are clamped at 254. The new fields now contain the full CPU ID, or -1 for no cpu. Differential Revision: D955 Reviewed by: jhb, kib Sponsored by: Norse Corp, Inc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-18T22:11:10.712700Z K 7 svn:log V 92 Add tunable vfs.zfs.space_map_blksz for space map's maximum block size. MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-18T22:15:11.790557Z K 7 svn:log V 176 Add a complete implementation of MurmurHash3. Tweak both implementations so they match the established idiom. Document them in hash(9). MFC after: 1 month MFC with: r272906 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-18T22:49:18.518086Z K 7 svn:log V 57 Merge upstream r825: fix line continuation in whitespace END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-10-19T04:38:02.998527Z K 7 svn:log V 124 Convert a missed u_char cpu -> int cpu. This was caught by a gcc build. Reported by: luigi Sponsored by: Norse Corp, Inc. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-19T06:59:33.268012Z K 7 svn:log V 218 Provide vfs suspension support only for filesystems which need it. Need is expressed by providing vfs_susp_clean function in vfsops. Differential Revision: D952 Reviewed by: kib (previous version) MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-19T08:47:27.913381Z K 7 svn:log V 219 MFC r273143: Remove setting BIO_DONE flag for BIOs that have done() method. This fixes use-after-free, caused by geom_disk, completing same BIO twice to save extra allocation, and getting BIO_DONE set after the first. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-19T11:06:54.890028Z K 7 svn:log V 57 Merge upstream r825: fix line continuation in whitespace END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-19T11:15:19.210654Z K 7 svn:log V 62 Perform more checks on the number of tables supplied by user. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-19T11:31:23.376670Z K 7 svn:log V 207 MFC 273168: Fix the reported streams in a SCTP_STREAM_RESET_EVENT, if a sent incoming stream reset request was responded with failed or denied. Thanks to Peter Bostroem from Google for reporting the issue. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-10-19T11:59:15.157219Z K 7 svn:log V 190 sh: Allow backslash-newline continuation in more places: * directly after a $ * directly after ${ * between the characters of a multi-character operator token * within a parameter name END K 10 svn:author V 7 antoine K 8 svn:date V 27 2014-10-19T12:11:25.520121Z K 7 svn:log V 103 Restore ABI compatibility with 10.0-RELEASE, so that stable/10 users can use official freebsd packages END K 10 svn:author V 2 br K 8 svn:date V 27 2014-10-19T16:26:49.438201Z K 7 svn:log V 184 Add driver for BERI soft processor 'ring buffer' device. Ring device provides a way for communicate to BERI peripherals such as BERI debug unit and console. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-10-19T16:46:36.253722Z K 7 svn:log V 95 Add new quirks for the latest Samsung SSD, model 850. Submitted by: sbruno MFC after: 2 weeks END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-19T17:29:44.912501Z K 7 svn:log V 95 cxgb(4): reset the PHY if it generates an interrupt for no apparent reason. MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-19T17:55:04.018923Z K 7 svn:log V 58 Style changes as pointed out by stas@. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-19T18:31:11.620233Z K 7 svn:log V 305 Fail to probe on simplebus nodes that lack a "ranges" property. Increasingly, FDT data has the "simple-bus" compatible string on nodes that have children, but we wouldn't consider them to be busses. If the node lacks a ranges property then we will fail to attach successfully, so fail to probe as well. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-19T18:41:22.444744Z K 7 svn:log V 418 Attach this driver during BUS_PASS_BUS and move the cpu init code to a bus_new_pass() handler so it doesn't happen until BUS_PASS_CPU. This allows the anatop driver to outbid the generic simplebus driver (which the FDT data describes as compatible). Some day when we handle power regulators, this driver may actually become a functional simplebus and attach the regulators as children, as described in the FDT data. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-19T20:23:31.611104Z K 7 svn:log V 411 Allow libkvm to get the kernel va to pa delta without the need for physaddr. This should allow for a kernel where PHYSADDR and KERNPHYSADDR are both undefined. For now libkvm will use the old method of reading physaddr and kernaddr to allow it to work with old kernels. This could be removed in the future when enough time has passed. Differential Revision: https://reviews.freebsd.org/D939 MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-19T20:46:59.673771Z K 7 svn:log V 80 - Honer MK_KERBEROS for Heimdal rc.d scripts. - Add rc.c/kerberos to OLD_FILES. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-19T20:54:04.189409Z K 7 svn:log V 94 MFC r273285: - Honer MK_KERBEROS for Heimdal rc.d scripts. - Add rc.c/kerberos to OLD_FILES. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-19T20:56:05.545812Z K 7 svn:log V 124 Only build the ARM tranpoline when KERNPHYSADDR is defined as it is otherwise unneeded in armv6 kernels. MFC after: 1 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-19T21:03:42.831838Z K 7 svn:log V 270 Allow the armv6 kernel to be build with PHYSADDR undefined. The kernel will now find the virtual to physical mapping for libkvm to use at runtime. This makes PHYSADDR redundant, however keep it around to give everyone a chance to update their libkvm. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-19T21:07:35.619104Z K 7 svn:log V 2601 Switch IPv4 output path to use new routing api. The goals of the new API is to provide consumers with minimal needed information, but as fast as possible. So we provide full nexthop info copied into alighed on-cache structure instead of rte/ia pointers, their refcounts and locks. This does not provide solution for protecting from egress ifp destruction, but does not make it any worse. Current changes: nhops: Add fib4_lookup_prepend() function which stores either full L2+L3 prepend info (e.g. MAC header in case of plain IPv4) or L3 info with NH_FLAGS_L2_INCOMPLETE flag indicating that no valid L2 info exists and we have to take "slow" path. ip_output: Currently ip[ 46]_output consumers use 'struct route' for the following purposes: 1) double lookup avoidance(route caching) 2) plain route caching 3) get path MTU to be able to notify source. The former pattern is mostly used by various tunnels (gif, gre, stf). (Actually, gre is the only remaining, others were already converted. Their locking model did not scale good enogh to benefit from such caching, so we have (temporarily) removed it without any performance loss). Plain route caching used by SCTP is simply wrong and should be removed. Temporary break it for now just to be able to compile. Optimize path mtu reporting by providing it in new 'route_info' stucture. Minimize games with @ia locking/refcounting for route lookup: add special nhop[46]_extended structure to store more route attributes. Pointer to given structure can be passed to fib4_lookup_prepend() to indicate we want this info (we actually needs it for UDP and raw IP). ether_output: Provide light-weight ether_output2() call to deal with transmitting L2 frame (e.g. properly handle broadcast/simloop/bridge/ other L2 hooks before actually transmitting frame by if_transmit()). Add a hack based on new RT_NHOP ro_flag to distinguish which version should we call. Better way is probably to add a new "if_output_frame" driver callbacks. Next steps: * Convert ip_fastfwd part * Implement auto-growing array for per-radix nexthops * Implement LLE tracking for nexthop calculations to be able to immediately provide all necessary info in single route lookup for gateway routes * Switch radix locking scheme to runtime/cfg lock * Implement multipath support for rtsock * Implement "tracked nexthops" for tunnels (e.g. _proper_ nexthop caching) * Add IPv6 support for remaining parts (postponed not to interfere with user/ae/inet6 branch) * Consider adding "if_output_frame" driver call to ease logical frame pushing. END K 10 svn:author V 4 ache K 8 svn:date V 27 2014-10-19T21:16:24.522558Z K 7 svn:log V 235 MFC r272562,r272678,r272679 1) Fix the case we have less arguments for format string than we expected. 2) Return error on unsupported format specs. (both according to POSIX) 3) For %Z format, understand "UTC" name too. PR: 93197 END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-19T21:38:58.974416Z K 7 svn:log V 471 Don't advertise the "OS visible workarounds" feature in cpuid.80000001H:ECX. bhyve doesn't emulate the MSRs needed to support this feature at this time. Don't expose any model-specific RAS and performance monitoring features in cpuid leaf 80000007H. Emulate a few more MSRs for AMD: TSEG base address, TSEG address mask and BIOS signature and P-state related MSRs. This eliminates all the unimplemented MSRs accessed by Linux/x86_64 kernels 2.6.32, 3.10.0 and 3.17.0. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-19T23:05:18.562423Z K 7 svn:log V 13 IFC @r273206 END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-10-19T23:13:16.562348Z K 7 svn:log V 191 Update the TCP structure used by DTrace to show the smoothed RTT. This will allow similar functionality to SIFTR to be built with DTrace. Submitted by: Grenville Armitage MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-20T00:22:08.619315Z K 7 svn:log V 235 MFC r273178: Update vt(4) for UEFI defaults and special keys vt(4) is the default console for UEFI boot [1], and the bitmapped kern.vt.spclkeys sysctl has been replaced with individual kern.vt.kbd_* enable sysctls. PR: 193710 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-20T00:27:40.356752Z K 7 svn:log V 51 WARNS=3 and style fixes. No functionality change. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-20T01:01:55.193728Z K 7 svn:log V 206 MFC r273219: Do nothing in vt_upgrade if there is no vt driver Previously, if no drivers attached at boot we would panic with "vtbuf_fill_locked begin.tp_row 0 must be < screen height 0". PR: 192248 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-20T01:45:40.395121Z K 7 svn:log V 274 MFS10 r273294 (r273178 in HEAD): Update vt(4) for UEFI defaults and special keys vt(4) is the default console for UEFI boot [1], and the bitmapped kern.vt.spclkeys sysctl has been replaced with individual kern.vt.kbd_* enable sysctls. PR: 193710 Approved by: re END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-20T01:52:17.390118Z K 7 svn:log V 195 The U-Boot README says fdt_addr_r is the right env var for fdt data loaded into ram, but vendors also use fdtaddr and fdt_addr. Check the recommended variable first and fall back to the others. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-20T02:57:30.332980Z K 7 svn:log V 13 IFC @r273214 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-20T03:17:48.768737Z K 7 svn:log V 245 MFS10 r273296 (r273219 in HEAD): Do nothing in vt_upgrade if there is no vt driver Previously, if no drivers attached at boot we would panic with "vtbuf_fill_locked begin.tp_row 0 must be < screen height 0". PR: 192248 Approved by: re END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-20T04:14:35.417468Z K 7 svn:log V 37 Fix a typo. Spotted by: O. Hartmann END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-20T04:42:28.077049Z K 7 svn:log V 480 MFC r271975: Improvements to asmc(4): 1. changed the code so that 2**16 keys are supported 2. changed the number of possible fans in a system from 2 to 6 3. added write support for some fan sysctls 4. added a new sysctl which shows the ID of the fan 5. added four more apple models with their temperature keys 6. changed the maxnumber of temperature keys from 36 to 80 7. replaced several fixed buf sizes to sizeof buf Obtained from: Denis Ahrens denis at h3q.com END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-20T05:17:16.075979Z K 7 svn:log V 264 MFC10 r273275 (r273168 in head): Fix the reported streams in a SCTP_STREAM_RESET_EVENT, if a sent incoming stream reset request was responded with failed or denied. Thanks to Peter Bostroem from Google for reporting the issue. Approved by: re (hrs) Sponsored 2y: END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-20T07:15:04.795709Z K 7 svn:log V 262 MFS10 r273272 (r273143 in head): Remove setting BIO_DONE flag for BIOs that have done() method. This fixes use-after-free, caused by geom_disk, completing same BIO twice to save extra allocation, and getting BIO_DONE set after the first. Approved by: re (hrs) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-20T07:25:57.148103Z K 7 svn:log V 173 MFC r271073: Do not blindly announce 1000baseT half-duplex capability in autonegotiation. Some controllers like cgem(4) do not support half-duplex at gigabit speeds. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-20T07:27:34.007044Z K 7 svn:log V 173 MFC r271073: Do not blindly announce 1000baseT half-duplex capability in autonegotiation. Some controllers like cgem(4) do not support half-duplex at gigabit speeds. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-20T07:28:18.890693Z K 7 svn:log V 157 MFC r271395 (by trasz): Make sure we handle less than zero timeouts in iSCSI initiator and target in a reasonable way. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-20T07:29:43.858019Z K 7 svn:log V 45 MFC r271718 (by bdrewery): Correct a comment END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-20T07:31:23.501989Z K 7 svn:log V 59 MFC r272597: Fix length of Extended INQUIRY Data VPD page. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-20T07:32:33.035157Z K 7 svn:log V 740 MFC r272613: Add support for MaxBurstLength and Expected Data transfer Length parameters. Before this change target could send R2T request for write transfer of any size, that could violate iSCSI RFC, which allows initiator to limit maximum R2T size by negotiating MaxBurstLength connection parameter. Also report an error in case of write underflow, when initiator provides less data than initiator expects. Previously in such case our target sent R2T request for non-existing data, violating the RFC, and confusing some initiators. SCSI specs don't explicitly define how write underflows should be handled and there are different oppinions, but reporting error is hopefully better then violating iSCSI RFC with unpredictable results. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-20T07:33:41.027052Z K 7 svn:log V 222 MFC r272734: Add support for WRITE ATOMIC (16) command and report SBC-4 compliance. Atomic writes are only supported for ZVOLs in "dev" mode. In other cases atomicity can not be guarantied and so the command is blocked. END