ĵI230504 166 194 143 211 254 120 289 250 354 378 145 877 336 767 172 386 459 527 386 176 114 175 149 117 115 115 143 168 310 236 179 265 265 107 208 173 387 187 330 152 151 397 705 144 565 233 229 217 1311 330 404 144 262 176 436 194 154 291 359 274 201 223 252 328 879 244 554 419 124 1445 174 134 589 158 164 316 253 146 146 109 409 247 435 143 1298 253 185 1792 118 1081 183 194 222 222 1493 492 186 186 309 317 1493 550 757 215 153 153 124 192 177 337 286 174 238 209 303 230 146 385 153 670 324 327 338 360 234 146 157 514 211 332 814 126 323 230 370 370 224 245 158 119 745 204 117 171 232 197 464 194 194 194 197 369 158 159 456 146 212 212 212 360 284 976 607 607 308 308 258 K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-24T11:48:06.210629Z K 7 svn:log V 101 MFC r230270: Add definitions for the FPU extended state header, legacy extended state and AVX state. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-01-24T13:23:52.296023Z K 7 svn:log V 49 Add some basic regression tests for mdconfig(8). END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-01-24T13:57:30.435473Z K 7 svn:log V 119 Plug a possible ifa_ref leak in case of premature return from in6_purgeaddr(). Reviewed by: rwatson MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-24T14:17:13.680801Z K 7 svn:log V 161 HDMI and DisplayPort support can coexist in HDA CODEC. Report "HDMI/DP" in PCM device name if both supported. MFC after: 2 months Sponsored by: iXsystems, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-24T14:27:14.297382Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-01-24T15:13:55.642065Z K 7 svn:log V 191 Just define __FreeBSD__ to 1 instead of doing what the compiler does. The kernel is supposed to DTRT based upon the __FreeBSD_version value, not the value of __FreeBSD__. Discussed with: bz END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-01-24T15:20:31.913611Z K 7 svn:log V 158 Replace random ARIN direct assignment legacy IPs with proper RFC 5735 TEST-NET1 block for use in documentation and example code addresses. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-24T17:31:27.657086Z K 7 svn:log V 261 Enable High Bit Rate (HBR) Encoded Packet Type (EPT), if supported (HDMI and HBR bits set) and needed (AC3 format used with 8 channels). This should allow DTS-HD/TrueHD pass-through with rates above 6.144Mbps. MFC after: 2 months Sponsored by: iXsystems, Inc. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-24T21:33:34.063765Z K 7 svn:log V 282 sockstat: Also show sockets not associated with a file descriptor. Sockets not associated with a file descriptor include TCP TIME_WAIT states and sockets created via the socket(9) API such as from rpc.lockd and the NFS client. PR: bin/164081 MFC after: 2 weeks No objection: des END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-24T22:40:24.670249Z K 7 svn:log V 53 In addition to r230511, allow 8 channel AC3 formats. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-01-24T23:09:54.461332Z K 7 svn:log V 785 Merge illumos revisions 13572, 13573, 13574: Rev. 13572: disk sync write perf regression when slog is used post oi_148 [1] Rev. 13573: crash during reguid causes stale config [2] allow and unallow missing from zpool history since removal of pyzfs [5] Rev. 13574: leaking a vdev when removing an l2cache device [3] memory leak when adding a file-based l2arc device [4] leak in ZFS from metaslab_group_create and zfs_ereport_checksum [6] References: https://www.illumos.org/issues/1909 [1] https://www.illumos.org/issues/1949 [2] https://www.illumos.org/issues/1951 [3] https://www.illumos.org/issues/1952 [4] https://www.illumos.org/issues/1953 [5] https://www.illumos.org/issues/1954 [6] Obtained from: illumos (issues #1909, #1949, #1951, #1952, #1953, #1954) MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-01-24T23:43:13.161247Z K 7 svn:log V 243 - Fix documentation to note that /etc/hast.conf is the default configuration file for hastd(8) and hastctl(8) and not hast.conf. - In copyright statement correct that this file is documentation, not software. - Bump date. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-25T00:22:53.720443Z K 7 svn:log V 669 If a mount -u is done to either NFS client that switches it from TCP to UDP and the rsize/wsize/readdirsize is greater than NFS_MAXDGRAMDATA, it is possible for a thread doing an I/O RPC to get stuck repeatedly doing retries. This happens because the RPC will use a resize/wsize/readdirsize that won't work for UDP and, as such, it will keep failing indefinitely. This patch returns an error for this case, to avoid the problem. A discussion on freebsd-fs@ seemed to indicate that returning an error was preferable to silently ignoring the "udp"/"mntudp" option. This problem was discovered while investigating a problem reported by pjd@ via email. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-25T01:38:25.944057Z K 7 svn:log V 72 Revert all the changes to uart(4) on this branch. They were a bad idea. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-25T01:45:19.696428Z K 7 svn:log V 288 MFC: r229956 jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s" would go negative after using the "-z" option to zero out the stats. This patch fixes that by not zeroing out the srvcache_size field for "-z", since it is the size of the cache and not a counter END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-25T01:54:28.232967Z K 7 svn:log V 358 Undo the uart integration, as the PAPR VTY protocol doesn't mesh with it at all naturally. With some exceptions (below), this all works nicely now and I can boot FreeBSD multiuser on QEMU's emulated POWER7 with hypervisor. Exceptions: 1. Interrupt-driven mode doesn't seem to work for obscure reasons. 2. Input for hvterm-prot terminals is not implemented. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-01-25T02:15:40.624873Z K 7 svn:log V 431 Clean up reinstall option and remove duplicate code - Move the reinstall logic to be before menus are initialised (menus are not needed when reinstalling a zonefile). - Remove unnecessary re-initialization of path_db. - Update variable name and error message because we now use the zone name relative to /usr/share/zoneinfo, not the full path. pr: bin/164041 Submitted by: Devin Teske MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-25T02:22:16.492781Z K 7 svn:log V 288 MFC: r229956 jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s" would go negative after using the "-z" option to zero out the stats. This patch fixes that by not zeroing out the srvcache_size field for "-z", since it is the size of the cache and not a counter END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-25T03:37:39.280185Z K 7 svn:log V 76 Experimental support for booting CHRP-type PowerPC systems from hard disks. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-25T03:51:14.340230Z K 7 svn:log V 14 IFC @ r230522 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-25T03:57:43.290453Z K 7 svn:log V 75 Add Intel network controllers commonly found on IBM hardware to GENERIC64. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-01-25T04:45:29.741649Z K 7 svn:log V 57 Some minor additions to the list of supported devices... END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-01-25T04:48:27.325268Z K 7 svn:log V 25 Minor indenting divot... END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-25T07:12:45.216652Z K 7 svn:log V 23 MFC r230459: Fix typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-25T07:14:23.842613Z K 7 svn:log V 23 MFC r230459: Fix typo. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-25T07:45:15.208126Z K 7 svn:log V 51 Fix a SIGSEGV problem in directory entry renaming. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2012-01-25T08:42:19.350583Z K 7 svn:log V 71 Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-01-25T08:53:42.265137Z K 7 svn:log V 213 Remove unused variable. The actual ia6->ia6_lifetime access is hidden in IFA6_IS_INVALID/IFA6_IS_DEPRECATED macros since a long time ago (see netinet6/nd6.c, r1.104 of KAME for the reference). MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-25T09:57:34.263429Z K 7 svn:log V 143 Fix word order in hdaa_subvendor_id() to match PCI (where it comes from), broken at r230130. This should fix applying system-specific patches. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-01-25T10:11:54.094814Z K 7 svn:log V 85 Move mdconfig(8) tests under regression/sbin/, where they belong. Submitted by: jh@ END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-01-25T11:15:52.064239Z K 7 svn:log V 170 MFC r226113 and r228016: Prevent TCP sessions from stalling indefinitely in reassembly when reaching the zone limit of reassembly queue entries. Reviewed by: lstewart END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-01-25T11:16:31.776958Z K 7 svn:log V 170 MFC r226113 and r228016: Prevent TCP sessions from stalling indefinitely in reassembly when reaching the zone limit of reassembly queue entries. Reviewed by: lstewart END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-01-25T11:28:18.096189Z K 7 svn:log V 13 Fix comment. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-25T11:45:50.150240Z K 7 svn:log V 115 Allow PASSTHROUGH (AC3) to have more then 2 channels. 8 channels can be used to get more then 6.144Mbps bandwidth. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-25T12:43:27.572018Z K 7 svn:log V 81 Order newly added functions alphabetically. Requested by: bde MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-25T13:47:55.453565Z K 7 svn:log V 290 Merge r230127 from head/: Restore functionality to pack several kernels into release. All kernels specified by KERNCONF are built and packed into release. The first one is packed into kernel.txz, all others to kernel.CONFIG.txz. The first one is installed on bootables in /boot. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-01-25T14:38:00.624262Z K 7 svn:log V 93 compute correct value for interrupt rate, and revert to the use of the low-latency parameter END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-25T14:50:12.608250Z K 7 svn:log V 233 Revert 229667: After some discussion of this change, it seems it is better to leave the pidfile open where it was. Add a note to the man page describing pidfile strategies to use if the daemon is to be run as a user other than root. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-01-25T15:58:11.825733Z K 7 svn:log V 58 explain how interrupt mitigation is implemented in netmap END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-01-25T16:00:00.350450Z K 7 svn:log V 57 align the struct netmap_kring to avoide cache contention END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-01-25T17:58:47.709837Z K 7 svn:log V 304 Fix a bug introduced in r230000. We were eliminating all LUNs on a target in response to CAM_DEV_NOT_THERE, instead of just the LUN in question. This will now just eliminate the specified LUN in response to CAM_DEV_NOT_THERE. Reported by: Richard Todd MFC after: 3 days END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-01-25T18:36:01.188491Z K 7 svn:log V 608 Clarify and improve the boot menu with some small changes: - Enter instead of ENTER - Remove colons - Line up option values - Use dots to provide a line to visually connect the menu selections with their values - Replace Enabled/Disabled with off/On (bigger inital cap for "On" is a visual indicator) - Remove confusing "Boot" from selections that don't boot. - With loader_color=1 in /boot/loader.conf, use reverse video to highlight enabled options PR: misc/160818 Submitted by: Warren Block Reviewed by: Devin Teske , current@ MFC after: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2012-01-25T18:49:11.733500Z K 7 svn:log V 48 Remove extra sentence, a leftover from r202845. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-25T20:05:58.682507Z K 7 svn:log V 472 Add a timeout on positive name cache entries in the NFS client. That is, we will only trust a positive name cache entry for a specified amount of time before falling back to a LOOKUP RPC, even if the ctime for the file handle matches the cached copy in the name cache entry. The timeout is configured via a new 'nametimeo' mount option and defaults to 60 seconds. It may be set to zero to disable positive name caching entirely. Reviewed by: rmacklem MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-01-25T20:13:37.802102Z K 7 svn:log V 136 After the recent changes there is no need in rlimit array any more. Submitted by: Andrey Zonov MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-01-25T20:14:41.709599Z K 7 svn:log V 132 Add -P option to allow get and set limits for other processes. Submitted by: Andrey Zonov MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-01-25T20:15:58.840369Z K 7 svn:log V 120 Fix CTL flags in the declarations of KERN_PROC_ENV, AUXV and PS_STRINGS sysctls: they are read only. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-25T20:46:10.442046Z K 7 svn:log V 1217 Rewrite jack presence detection and implement automatic recording source selection in snd_hda(4) driver. Now driver tracks jack presence detection status for every CODEC pin. For playback associations, when configured, that information, same as before, can be used to automatically redirect audio to headphones. Also same as before, these events are used to track digital display connection status and fetch ELD. Now in addition to that driver uses that information to automatically switch recording source of the mixer to the connected input. When there are devices with no jack detection and with one both connected, last ones will have the precedence. As result, on most laptops after boot internal microphone should be automatically selected. But if external one (for example, headset) connected, it will be selected automatically. When external mic disconnected, internal one will be selected again. Automatic recording source selection is enabled by default now to make recording work out of the box without touching mixer. But it can be disabled or limited only to attach time using hint.pcm.X.rec.autosrc loader tunables or dev.pcm.X.rec.autosrc sysctls. MFC after: 2 months Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-25T20:48:20.008718Z K 7 svn:log V 237 Fix remaining calls to cache_enter() in both NFS clients to provide appropriate timestamps. Restore the assertions which verify that NCF_TS is set when timestamp is asked for. Reviewed by: jhb (previous version) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-25T20:54:09.316929Z K 7 svn:log V 311 When doing vflush(WRITECLOSE), clean vnode pages. Unmounts do vfs_msync() before calling VFS_UNMOUNT(), but there is still a race allowing a process to dirty pages after msync finished. Remounts rw->ro just left dirty pages in system. Reviewed by: alc, tegge (long time ago) Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-25T20:54:16.174445Z K 7 svn:log V 52 Oops, fix the loader tunable name added in r230551. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-01-25T21:49:48.853306Z K 7 svn:log V 166 Don't print a warning when using netstat to print SCTP statistics when there is not SCTP in the kernel. This problem was reported by Sean Mahood. MFC after: 1 week. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-01-25T22:31:35.704380Z K 7 svn:log V 78 Move isci and ISCI_LOGGING to amd64/i386 specific NOTES. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-01-25T22:39:22.436038Z K 7 svn:log V 337 Add all isci driver source code to sys/dev/isci for the Intel C600 (Patsburg) integrated SAS controller. sys/dev/isci contains all files specific to FreeBSD. sys/dev/isci/scil contains OS-agnostic library maintained by Intel and modified to best integrate into FreeBSD kernel build environment. Sponsored by: Intel Reviewed by: scottl END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-01-25T23:33:50.510353Z K 7 svn:log V 99 Update sbp_targ such that it can actually handle multiple CTIO's during operation PR: kern/119575 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-26T00:07:34.304531Z K 7 svn:log V 57 Revert r230516, since it doesn't really fix the problem. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-01-26T00:49:05.437373Z K 7 svn:log V 195 Handle "ranges;" Make fdt_reg_to_rl() responsible for mapping the device memory, instead on just hoping that there's only one simplebus, and using fdt_immr_va as the base VA. Tested by: dmarion END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-26T03:40:32.728169Z K 7 svn:log V 261 To avoid crashes during forced dismounts, the NFSv4.1 session structure needed to be moved from the clientid (nfsclclient) structure to the nfsmount structure. The crashes happened because the clientid structure was being free'd too early in the forced umount. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-26T05:11:37.929486Z K 7 svn:log V 178 Include opt_wlan.h before net80211 includes; so IEEE80211_* configuration flags are correctly handled. This is required for this to load when IEEE80211_DEBUG_REFCNT is defined. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T06:57:47.303865Z K 7 svn:log V 109 MFC r229916 (by eadler): Fix warning when compiling with gcc46: error: variable 'secsz' set but not used END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-26T07:03:30.455877Z K 7 svn:log V 127 Add some node debugging which has helped me track down which particular concurrent vap->iv_bss free issues have been occuring. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T07:42:54.029741Z K 7 svn:log V 160 MFC r215118: Move code for search of existing geom into g_part_find_geom function and use this function instead of g_part_parm_geom in g_part_ctl_create. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T07:51:51.868387Z K 7 svn:log V 236 MFC r226880 (modified version): Our geom withering function could take some time before geom with its providers and consumers will be destroyed. Before take some actions with a geom, check that it is not destroyed at the moment. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T08:47:29.965355Z K 7 svn:log V 787 MFC r221788: Add basic metadata integrity check. In case when partition table was probed and read successfull, but it contains invalid values (e.g. overlapped partitions, offset or size is out of bounds), then table will be rejected. MFC r221972: Add a sysctl kern.geom.part.check_integrity for those who has corrupt partition tables and lost an ability to boot after r221788. Also unhide an error message from bootverbose, this would help to easier determine the problem. MFC r221984: Add diagnostic messages for integrity checks. MFC r221992: Make diagnostic messages more specific. With bootverbose print out all inconsistencies of integrity in the partition table, not first found only. MFC r222642: Add diagnostic message about not aligned partitions. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T08:51:23.975848Z K 7 svn:log V 152 Disable integrity checks by default. It will warn users about found problems, but will not reject partition tables. This is direct commit to stable/8. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T09:14:51.740173Z K 7 svn:log V 462 MFC r216132 (by ivoras): Add a note about the magic number 20. Actually, 22.75 entries fit in a 512 byte sector but when choosing magic numbers, 20 looks nicer. MFC r223332: Change the way how we update bootcode for BSD scheme. Since the only parameter that we check is size of bootcode, then allow only two sizes: size of boot1 and size of /boot/boot. This partially protects users from losing ability to boot if incorrect bootcode is specified. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T09:28:09.846708Z K 7 svn:log V 327 MFC r222279: Do not truncate available disk space to the closest track boundary. MFC r222341: Some partitioning tools may have a different opinion about disk geometry and partitions may start from withing the first track. If we found such partitions, then do not reserve space of the first track, only first sector. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-26T09:45:14.016406Z K 7 svn:log V 32 Add another bunch of CODEC IDs. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-01-26T09:55:16.242587Z K 7 svn:log V 1349 ixgbe changes: - remove experimental code for disabling CRC - use the correct constant for conversion between interrupt rate and EITR values (the previous values were off by a factor of 2) - make dev.ix.N.queueM.interrupt_rate a RW sysctl variable. Changing individual values affects the queue immediately, and propagates to all interfaces at the next reinit. - add dev.ix.N.queueM.irqs rdonly sysctl, to export the actual interrupt counts Netmap-related changes for ixgbe: - use the "new" format for TX descriptors in netmap mode. - pass interrupt mitigation delays to the user process doing poll() on a netmap file descriptor. On the RX side this means we will not check the ring more than once per interrupt. This gives the process a chance to sleep and process packets in larger batches, thus reducing CPU usage. On the TX side we take this even further: completed transmissions are reclaimed every half ring even if the NIC interrupts more often. This saves even more CPU without any additional tx delays. Generic Netmap-related changes: - align the netmap_kring to cache lines so that there is no false sharing (possibly useful for multiqueue NICs and MSIX interrupts, which are handled by different cores). It's a minor improvement but it does not cost anything. Reviewed by: Jack Vogel Approved by: Jack Vogel END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T09:56:29.779128Z K 7 svn:log V 83 MFC r222281: Do not truncate available disk space to the closest track boundary. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-26T10:30:50.512457Z K 7 svn:log V 42 Fix typo in r230571. Submitted by: trasz END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-01-26T10:33:19.584117Z K 7 svn:log V 497 MFC r223666: Add new rule actions "call" and "return" to ipfw. They make possible to organize subroutines with rules. The "call" action saves the current rule number in the internal stack and rules processing continues from the first rule with specified number (similar to skipto action). If later a rule with "return" action is encountered, the processing returns to the first rule with number of "call" rule saved in the stack plus one or higher. Submitted by: Vadim Goncharov END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T10:42:25.777580Z K 7 svn:log V 62 Update information on setting and retreiving inet4 addresses. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T10:43:40.184228Z K 7 svn:log V 68 - Remove no longer supported ioctl cmds. - Fix name of SIOCSIFADDR. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T10:48:17.067005Z K 7 svn:log V 219 Remove a commented out old block inherited from inet.4. The text there was so much outdated that it required a complete rewrite even for inet.4, not mentioning inet6.4. There is no reason to keep it in the manual page. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T10:51:41.361157Z K 7 svn:log V 156 Remove a block that contatined some outdated misinformation on how addresses are configured, as well as obviousness that Ethernet interface may run arp(4). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T10:53:39.349615Z K 7 svn:log V 50 Don't mention no longer supported ioctl commands. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T11:08:55.802049Z K 7 svn:log V 50 List supported ioctl commands instead of old one. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-01-26T11:15:12.397090Z K 7 svn:log V 15 sync with HEAD END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T11:59:48.411570Z K 7 svn:log V 312 Although aio_nbytes is size_t, later is is signed to casted types: to ssize_t in filesystem code and to int in buf code, thus supplying a negative argument leads to kernel panic later. To fix that check user supplied argument in the beginning of syscall. Submitted by: Maxim Dounin , maxim@ END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T12:04:19.781099Z K 7 svn:log V 150 Remove casts from inet6 address testing macros, thus preserving qualifier from original argument. Obtained from: NetBSD, r. 1.67 Submitted by: maxim END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-26T12:09:04.335148Z K 7 svn:log V 342 Press some more info into the PCM device name: - add "+HP" in case of headphones redirection; - add device type for analog devices, if all pins have the same. As result now it may look like "Analog 5.1+HP/2.0" or "Front Analog Mic". I hope it will be more useful than long and confusing. MFC after: 2 months Sponsored by: iXsystems, Inc. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-01-26T15:23:45.271259Z K 7 svn:log V 45 Rebase user/jimharris/isci branch from head. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-01-26T16:35:09.473113Z K 7 svn:log V 1204 Xen netback driver rewrite. share/man/man4/Makefile, share/man/man4/xnb.4, sys/dev/xen/netback/netback.c, sys/dev/xen/netback/netback_unit_tests.c: Rewrote the netback driver for xen to attach properly via newbus and work properly in both HVM and PVM mode (only HVM is tested). Works with the in-tree FreeBSD netfront driver or the Windows netfront driver from SuSE. Has not been extensively tested with a Linux netfront driver. Does not implement LRO, TSO, or polling. Includes unit tests that may be run through sysctl after compiling with XNB_DEBUG defined. sys/dev/xen/blkback/blkback.c, sys/xen/interface/io/netif.h: Comment elaboration. sys/kern/uipc_mbuf.c: Fix page fault in kernel mode when calling m_print() on a null mbuf. Since m_print() is only used for debugging, there are no performance concerns for extra error checking code. sys/kern/subr_scanf.c: Add the "hh" and "ll" width specifiers from C99 to scanf(). A few callers were already using "ll" even though scanf() was handling it as "l". Submitted by: Alan Somers Submitted by: John Suykerbuyk Sponsored by: Spectra Logic MFC after: 1 week Reviewed by: ken END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-01-26T17:04:17.532358Z K 7 svn:log V 157 Update PCI IDs for ciss controllers that are supported by this driver. Submitted by: scott.benesh@hp.com Obtained from: Yahoo! Inc and HP MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-01-26T17:28:33.553333Z K 7 svn:log V 93 Start sentences on a new line, and fix a few other nits. Prompted by: gjb MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-01-26T18:09:28.820316Z K 7 svn:log V 1698 Add CAM infrastructure to allow reporting when a drive's long read capacity data changes. cam_ccb.h: Add a new advanced information type, CDAI_TYPE_RCAPLONG, for long read capacity data. cam_xpt_internal.h: Add a read capacity data pointer and length to struct cam_ed. cam_xpt.c: Free the read capacity buffer when a device goes away. While we're here, make sure we don't leak memory for other malloced fields in struct cam_ed. scsi_all.c: Update the scsi_read_capacity_16() to take a uint8_t * and a length instead of just a pointer to the parameter data structure. This will hopefully make this function somewhat immune to future changes in the parameter data. scsi_all.h: Add some extra bit definitions to struct scsi_read_capacity_data_long, and bump up the structure size to the full size specified by SBC-3. Change the prototype for scsi_read_capacity_16(). scsi_da.c: Register changes in read capacity data with the transport layer. This allows the transport layer to send out an async notification to interested parties. Update the dasetgeom() API. Use scsi_extract_sense_len() instead of scsi_extract_sense(). scsi_xpt.c: Add support for the new CDAI_TYPE_RCAPLONG advanced information type. Make sure we set the physpath pointer to NULL after freeing it. This allows blindly freeing it in the struct cam_ed destructor. sys/param.h: Bump __FreeBSD_version from 1000005 to 1000006 to make it easier for third party drivers to determine that the read capacity data async notification is available. camcontrol.c, mptutil/mpt_cam.c: Update these for the new scsi_read_capacity_16() argument structure. Sponsored by: Spectra Logic END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-01-26T18:16:16.937268Z K 7 svn:log V 24 More mdconfig(8) tests. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-01-26T18:17:21.970705Z K 7 svn:log V 988 Bring in the LSI-supported version of the mps(4) driver. This involves significant changes to the mps(4) driver, but is not a complete rewrite. Some of the changes in this version of the driver: - Integrated RAID (IR) support. - Support for WarpDrive controllers. - Support for SCSI protection information (EEDP). - Support for TLR (Transport Level Retries), needed for tape drives. - Improved error recovery code. - ioctl interface compatible with LSI utilities. mps.4: Update the mps(4) driver man page somewhat for the driver changes. The list of supported hardware still needs to be updated to reflect the full list of supported cards. conf/files: Add the new driver files. mps/mpi/*: Updated version of the MPI header files, with a BSD style copyright. mps/*: See above for a description of the new driver features. modules/mps/Makefile: Add the new mps(4) driver files. Submitted by: Kashyap Desai Reviewed by: ken MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-01-26T18:18:47.428701Z K 7 svn:log V 91 Remove the blank line between the license and .Dd Prompted by: brueffer MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-26T19:11:08.950972Z K 7 svn:log V 98 - Rewrite paragraphs about preemption. - Avoid word combination "carp interface". Prodded by: az END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-01-26T19:15:13.055651Z K 7 svn:log V 124 MFC r227992: Prevent a division by zero with some broken batteries This problem was seen on a laptop with a dead battery. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-01-26T19:18:10.629006Z K 7 svn:log V 124 MFC r227992: Prevent a division by zero with some broken batteries This problem was seen on a laptop with a dead battery. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-01-26T19:46:13.719611Z K 7 svn:log V 1394 MFC r228259: Support domain-search in dhclient(8) The "domain-search" option (option 119) allows a DHCP server to publish a list of implicit domain suffixes used during name lookup. This option is described in RFC 3397. For instance, if the domain-search option says: ".example.org .example.com" and one wants to resolve "foobar", the resolver will try: 1. "foobar.example.org" 2. "foobar.example.com" The file /etc/resolv.conf is updated with a "search" directive if the DHCP server provides "domain-search". A regression test suite is included in this patch under tools/regression/sbin/dhclient. PR: bin/151940 Sponsored by: Yakaz (http://www.yakaz.com) MFC r229000: Invalid Domain Search option isn't considered as a fatal error In the original Domain Search option patch, an invalid option value would cause the whole lease to be rejected. However, DHCP servers who emit such an invalid value are more common than I thought. With this new patch, just the option is rejected, not the entire lease. PR: bin/163431 Submitted by: Fabian Keil (earlier version) Reviewed by: Fabian Keil Sponsored by: Yakaz (http://www.yakaz.com) MFC r229001: Adapt testsuite following change in Domain Search error handling In this testsuite, warning() and error() have the same behaviour. PR: bin/163431 Sponsored by: Yakaz (http://www.yakaz.com) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-01-26T20:02:40.543623Z K 7 svn:log V 397 A flowtable entry can continue referencing an llentry indefinitely if the entry is repeatedly referenced within its timeout window. This change clears the LLE_VALID flag when an llentry is removed from an interface's hash table and adds an extra check to the flowtable code for the LLE_VALID flag in llentry to avoid retaining and using a stale reference. Reviewed by: qingli@ MFC after: 2 weeks END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-26T20:33:08.311273Z K 7 svn:log V 90 Restore the parenthesis that are necessary around the constant values. Requested by bde. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-26T20:35:01.007997Z K 7 svn:log V 90 Make the comments consistent (capitalization, punctuation, and format). Requested by bde END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-26T20:40:22.314840Z K 7 svn:log V 212 Consensus between bde and pjd seemed to be that if the function names are lined up, then any * after a long type should appear after the type instead of being in front of the function name on the following line. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-01-26T21:43:11.310375Z K 7 svn:log V 224 Minor cleanups to the csa snd driver. Remove unneeded temporary variable (data) to better match the OSS code. Remove some unused constants and type definitions. Tested by: joel Approved by: jhb (mentor) MFC after: 3 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-01-26T22:01:05.624559Z K 7 svn:log V 1394 MFC r228259: Support domain-search in dhclient(8) The "domain-search" option (option 119) allows a DHCP server to publish a list of implicit domain suffixes used during name lookup. This option is described in RFC 3397. For instance, if the domain-search option says: ".example.org .example.com" and one wants to resolve "foobar", the resolver will try: 1. "foobar.example.org" 2. "foobar.example.com" The file /etc/resolv.conf is updated with a "search" directive if the DHCP server provides "domain-search". A regression test suite is included in this patch under tools/regression/sbin/dhclient. PR: bin/151940 Sponsored by: Yakaz (http://www.yakaz.com) MFC r229000: Invalid Domain Search option isn't considered as a fatal error In the original Domain Search option patch, an invalid option value would cause the whole lease to be rejected. However, DHCP servers who emit such an invalid value are more common than I thought. With this new patch, just the option is rejected, not the entire lease. PR: bin/163431 Submitted by: Fabian Keil (earlier version) Reviewed by: Fabian Keil Sponsored by: Yakaz (http://www.yakaz.com) MFC r229001: Adapt testsuite following change in Domain Search error handling In this testsuite, warning() and error() have the same behaviour. PR: bin/163431 Sponsored by: Yakaz (http://www.yakaz.com) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2012-01-27T02:13:27.802380Z K 7 svn:log V 454 MFC 227460 A default route learned from the RAs could be deleted manually after its installation. This removal may be accidental and can prevent the default route from being installed in the future if the associated default router has the best preference. The cause is the lack of status update in the default router on the state of its route installation in the kernel FIB. This patch fixes the described problem. Reviewed by: hrs, discussed with hrs END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-27T02:46:12.074221Z K 7 svn:log V 659 A problem with respect to data read through the buffer cache for both NFS clients was reported to freebsd-fs@ under the subject "NFS corruption in recent HEAD" on Nov. 26, 2011. This problem occurred when a TCP mounted root fs was changed to using UDP. I believe that this problem was caused by the change in mnt_stat.f_iosize that occurred because rsize was decreased to the maximum supported by UDP. This patch fixes the problem by using v_bufobj.bo_bsize instead of f_iosize, since the latter is set to f_iosize when the vnode is allocated, but does not change for a given vnode when f_iosize changes. Reported by: pjd Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-27T05:04:47.247147Z K 7 svn:log V 117 Add a RECLAIM_COMPLETE RPC to the NFSv4.1 client, since it is required by the server in the Linux 3.n kernel server. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-01-27T07:15:14.682221Z K 7 svn:log V 57 MFC r230496: Remove the stale XXX rt_newaddrmsg comment. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-01-27T07:37:10.552196Z K 7 svn:log V 57 MFC r230496: Remove the stale XXX rt_newaddrmsg comment. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-27T08:46:32.368918Z K 7 svn:log V 28 Do not mention SIOCSIFADDR. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-27T08:58:58.957772Z K 7 svn:log V 96 Fix size check, that prevents getting negative after casting to a signed type Reviewed by: bde END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-27T09:15:55.334247Z K 7 svn:log V 85 Return proper error message if recording device is not specified. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-01-27T11:48:44.816630Z K 7 svn:log V 242 Rewrite option parsing in mdconfig(8). This makes it more user-friendly by removing the ordering requirements and adding more descriptive error messages; it also makes it more readable and maintainable. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-01-27T13:26:19.836298Z K 7 svn:log V 189 Remove a left-over reference to make.conf(5) which was used as a place to store the VM_STACK compile option to enable MAP_STACK support in its earliest stage of development. Found by: mux END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-01-27T13:26:25.322026Z K 7 svn:log V 80 a variable was erroneously declared as 32 bit instead of 64. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-01-27T14:46:25.201443Z K 7 svn:log V 142 Completely remove the generic_armv7_* functions, which are just duplicate of the armv4 versions, and directly use the armv4 versions instead. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-01-27T14:50:15.575650Z K 7 svn:log V 113 Move get_pcpu and friends from the pj4b file to the armv7 file, where they really belong. Submitted by: dmarion END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-01-27T17:16:44.950351Z K 7 svn:log V 208 o in6_ifinfo() does not do any kvm(3) operations, so do not guard it by WITH_KVM ifdef. This allows to build ifmcstat(8) without kvm(3) support. PR: bin/164353 Submitted by: Ivan Rozhuk MFC after: 2 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-01-27T17:29:59.512847Z K 7 svn:log V 132 MFC r229375: Don't rely on MCS7 being at index 7 while determining the amount of antennas to use. Not all APs enable all MCS rates. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-01-27T17:32:50.347987Z K 7 svn:log V 49 MFC r229284: MCS32 equals 32, not 8*ic_txstream. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-01-27T17:39:02.940898Z K 7 svn:log V 287 On state changes from RUN to anything else the AGGR sessions are cleared/dropped leading to qid2tap[n] being NULL as there no longer is a tap. Now, if there have been lots of frames queued the firmware processes and returns those after the tap is gone. Tested by: osa MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-01-27T18:21:40.203252Z K 7 svn:log V 58 MFC r228843: Fix a buffer overflow in telnetd. [11:08] END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-27T18:29:03.697879Z K 7 svn:log V 577 When the buildkernel stage 2.3 (build tools) runs, the PATH is still set to the default from the top-level Makefile. Therefore, invocations of lex and yacc (used during building of aicasm) will use the executables in /usr/bin, not those optionally built during the previous buildworld or kernel-toolchain. This makes kernel builds from older FreeBSD releases more difficult than necessary. Fix this by setting PATH to ${BPATH}:${PATH} in stage 2.3, so the bootstrap tools directories are searched before the regular ones. Silence from: svn-src-{all,head} MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-01-27T20:18:31.966236Z K 7 svn:log V 229 exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 excluding other allocations including UMA now entails the addition of a single flag to kmem_alloc or uma zone create Reviewed by: alc, avg MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-27T20:53:37.232183Z K 7 svn:log V 231 MFC r230095: sh: Properly show "Not a directory" error in cd builtin. The errno message display added in r222292 did not take attempting to cd to a non-directory or something that cannot be stat()ed into account. PR: bin/164070 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-27T21:22:07.518616Z K 7 svn:log V 242 MFC r228937: sh: Do not force special builtins non-special in optimized command substitition. This is not necessary: errors are already caught in evalbackcmd() and forcelocal handles changes to variables. Note that this depends on r223024. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-01-27T21:49:02.628833Z K 7 svn:log V 267 Some laptops have weak power controllers that cannot tolerate multiple cards powering up at once. Work around the easy case (multiple cards inserted on boot) with a short sleep and a long comment. This improves reliability on those laptops with power hungry cards. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-27T21:52:59.750401Z K 7 svn:log V 138 Using ATA_CAM along with ATAPI DMA causes data corruption with ALI_NEW and CMD controllers for reasons unknown so disable it. PR: 164226 END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-27T22:04:43.198691Z K 7 svn:log V 51 Mark cpu_{halt,reset}() as __dead2 as appropriate. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-01-27T22:24:03.664635Z K 7 svn:log V 63 add KM_NODEBUG needed by ARC buffer core dump exclusion change END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-27T22:25:46.092576Z K 7 svn:log V 418 For machines where the kernel address space is unrestricted increase VM_KMEM_SIZE_SCALE to 2, awaiting more insight from alc@. As it turns out, the VM apparently has problems with machines that have large holes in the physical address space, causing the kmem_suballoc() call in kmeminit() to fail with a VM_KMEM_SIZE_SCALE of 1. Using a value of 2 allows these, namely Blade 1500 with 2GB of RAM, to boot. PR: 164227 END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-27T22:29:29.385435Z K 7 svn:log V 115 Implement OF_printf() using kvprintf() directly, avoiding to use a buffer and allowing to handle newlines properly END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-27T22:35:53.824444Z K 7 svn:log V 236 - Now that we have a working OF_printf() since r230631, use it for implementing a simple OF_panic() that may be used during the early cycles when panic() isn't available, yet. - Mark cpu_{exit,shutdown}() as __dead2 as appropriate. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-27T23:21:54.525196Z K 7 svn:log V 718 Now that we have a working OF_printf() since r230631 and a OF_panic() helper since r230632, use these for output and panicing during the early cycles and move cninit() until after the static per-CPU data has been set up. This solves a couple of issue regarding the non- availability of the static per-CPU data: - panic() not working and only making things worse when called, - having to supply a special DELAY() implementation to the low-level console drivers, - curthread accesses of mutex(9) usage in low-level console drivers that aren't conditional due to compiler optimizations (basically, this is the problem described in r227537 but in this case for keyboards attached via uart(4)). [1] PR: 164123 [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-27T23:25:24.606117Z K 7 svn:log V 31 Commit file missed in r230633. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-01-28T00:17:17.177582Z K 7 svn:log V 230 Set SVN text/plain property for some shell scripts that happen to have a .exe extension. While here fix the shebang of a shell script that was looking for /bin/bash. Reviewed by: gnn Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-01-28T01:38:48.340469Z K 7 svn:log V 134 pmc_*_initialize may return NULL if the CPU is not supported, so check that md is not null before dereferencing it. PR: kern/156540 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-28T01:45:19.341190Z K 7 svn:log V 272 MFC: r230100 Tai Horgan reported via email that there were two places in the new NFSv4 server where the code follows the wrong list. Fortunately, for these fairly rare cases, the lc_stateid[] lists are normally empty. This patch fixes the code to follow the correct list. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-28T02:18:50.426809Z K 7 svn:log V 272 MFC: r230100 Tai Horgan reported via email that there were two places in the new NFSv4 server where the code follows the wrong list. Fortunately, for these fairly rare cases, the lc_stateid[] lists are normally empty. This patch fixes the code to follow the correct list. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-28T02:48:48.043450Z K 7 svn:log V 126 Add a call to nfsrpc_reclaimcomplete() to nfscl_recover() when the recovery has been completed. This is required for NFSv4.1. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2012-01-28T02:52:22.730087Z K 7 svn:log V 147 Remove the notify match from a couple devd apple events, the events don't include notify tags. Approved by: nwhitehorn (mentor) MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-28T09:24:57.776361Z K 7 svn:log V 66 Fix HBR enabling condition. cchs is from 0 to 7, not from 1 to 8. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-01-28T13:41:34.637930Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-01-28T14:00:21.020821Z K 7 svn:log V 648 Avoid to check the same cache line/variable from all the locking primitives by breaking stop_scheduler into a per-thread variable. Also, store the new td_stopsched very close to td_*locks members as they will be accessed mostly in the same codepaths as td_stopsched and this results in avoiding a further cache-line pollution, possibly. STOP_SCHEDULER() was pondered to use a new 'thread' argument, in order to take advantage of already cached curthread, but in the end there should not really be a performance benefit, while introducing a KPI breakage. In collabouration with: flo Reviewed by: avg MFC after: 3 months (or never) X-MFC: r228424 END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-01-28T15:29:43.767466Z K 7 svn:log V 109 o Preserve argv[0] to use it later in usage(). PR: bin/164570 Submitted by: Klaus Aehlig MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-01-28T17:21:12.103906Z K 7 svn:log V 23 document M_NODUMP flag END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-01-28T17:27:58.566001Z K 7 svn:log V 77 alphabetically sort optional flags and add documentation for VM_ALLOC_NODUMP END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-01-28T17:41:42.102443Z K 7 svn:log V 137 add tunable for developers working on areas outside of ZFS to further reduce core size by excluding ARC metadata buffers from core dumps END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-01-28T18:35:10.610010Z K 7 svn:log V 103 Move descriptions of file caching commands out of the file locking section. Approved by: kib (mentor) END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-01-28T18:49:04.019522Z K 7 svn:log V 370 Fix decoding of escape sequences in format strings: - Zero-terminate the resulting string by letting the for-loop copy the terminating zero. - Exit the for-loop after handling a backslash at the end of the format string to fix a buffer overrun. - Remove some unnecessary comments and blank lines. [1] Requested by: bde [1] PR: bin/144722 Approved by: kib (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-28T19:32:28.400171Z K 7 svn:log V 99 MFC r230109: - Document TheDraw splash screens in the default loader.conf Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-28T19:33:02.586759Z K 7 svn:log V 99 MFC r230109: - Document TheDraw splash screens in the default loader.conf Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-28T19:33:32.124329Z K 7 svn:log V 99 MFC r230109: - Document TheDraw splash screens in the default loader.conf Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-28T19:48:44.740062Z K 7 svn:log V 101 MFC r229831: - X11BASE has been deprecated for a long time and will die soon Approved by: cperciva END K 10 svn:author V 3 phk K 8 svn:date V 27 2012-01-28T20:45:47.787461Z K 7 svn:log V 276 Make tip exit if the device disappears, for instance when unplugging or resetting USB serial devices. Somebody[tm] should rewrite tip(1) to use two thread instead of two processes or maybe even use that new-fangled "select(2)" or positively futuristic "poll(2)" system call. END K 10 svn:author V 3 scf K 8 svn:date V 27 2012-01-28T21:06:45.708868Z K 7 svn:log V 66 Since April 2, 2006, Indiana has observed DST. MFC after: 5 days END K 10 svn:author V 3 scf K 8 svn:date V 27 2012-01-28T21:21:05.721773Z K 7 svn:log V 67 msdos was renamed to msdosfs in 2001 by r77577. MFC after: 5 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-28T21:37:33.850290Z K 7 svn:log V 360 Two changes from my DFS work: * Grab the net80211com lock when calling ieee80211_dfs_notify_radar(). * Use the tsf extend function to turn the 64 bit base TSF into a per- frame 64 bit TSF. This will improve radiotap logging (which will now have a (more) correct per-frame TSF, rather then the single TSF64 value read at the beginning of ath_rx_proc(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-28T21:44:42.778711Z K 7 svn:log V 51 Change the prototype so the radar enable can fail. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-28T21:44:51.146206Z K 7 svn:log V 116 MFC r230327: Add support for Sony Ericsson GC89 EDGE/Wirelles LAN PC Card PR: kern/131933 Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-28T21:45:20.823999Z K 7 svn:log V 116 MFC r230327: Add support for Sony Ericsson GC89 EDGE/Wirelles LAN PC Card PR: kern/131933 Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-28T21:45:40.599970Z K 7 svn:log V 116 MFC r230327: Add support for Sony Ericsson GC89 EDGE/Wirelles LAN PC Card PR: kern/131933 Approved by: cperciva END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-28T22:22:05.700998Z K 7 svn:log V 264 Fully disable interrupts while we fiddle with the FP context in the VIS-based block copy/zero implementations. While with 4BSD it's sufficient to just disable the tick interrupts, with ULE+PREEMPTION it's otherwise also possible that these are preempted via IPIs. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-28T22:24:59.009204Z K 7 svn:log V 188 Oops, commit a missing implementation change. Whilst I'm here, add a comment about what would happen in this function if hypothetically you had a radar pattern matching detector written. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-28T22:42:33.956709Z K 7 svn:log V 880 As it turns out r227960 may still be insufficient with PREEMPTION so try harder to get the CDMA sync interrupt delivered and also in a more efficient way: - wrap the whole process of sending and receiving the CDMA sync interrupt in a critical section so we don't get preempted, - send the CDMA sync interrupt to the CPU that is actually waiting for it to happen so we don't take a detour via another CPU, - instead of waiting for up to 15 seconds for the interrupt to trigger try the whole process for up to 15 times using a one second timeout (the code was also changed to just ignore belated interrupts of a previous tries should they appear). According to testing done by Peter Jeremy with the debugging also added as part of this commit the first two changes apparently are sufficient to now properly get the CDMA sync interrupts delivered at the first try though. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-28T23:12:55.011946Z K 7 svn:log V 511 MFC: r228022, r228026 For sparc64 also adjust the geometry of da(4) driven disks to not overflow the 16-bit cylinders field of the VTOC8 disk label (at around 502GB). The geometry chosen for disks above that limit allows to use disks up to 2TB, which is the limit of the extended VTOC8 format. The geometry used for disks smaller than the 16-bit cylinders limit stays the same as used by cam_calc_geometry(9) for extended translation. Thanks to Hans-Joerg Sirtl for providing hardware for testing this change. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-28T23:13:00.479110Z K 7 svn:log V 511 MFC: r228022, r228026 For sparc64 also adjust the geometry of da(4) driven disks to not overflow the 16-bit cylinders field of the VTOC8 disk label (at around 502GB). The geometry chosen for disks above that limit allows to use disks up to 2TB, which is the limit of the extended VTOC8 format. The geometry used for disks smaller than the 16-bit cylinders limit stays the same as used by cam_calc_geometry(9) for extended translation. Thanks to Hans-Joerg Sirtl for providing hardware for testing this change. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-28T23:15:02.394595Z K 7 svn:log V 212 MFC: r225886 - Right-justify backslashes as suggested by style(9). - Rename ATOMIC_INC_ULONG to ATOMIC_INC_LONG in order to be consistent with the names of the other macros in this file an adjust accordingly. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-28T23:15:04.812622Z K 7 svn:log V 212 MFC: r225886 - Right-justify backslashes as suggested by style(9). - Rename ATOMIC_INC_ULONG to ATOMIC_INC_LONG in order to be consistent with the names of the other macros in this file an adjust accordingly. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-01-28T23:16:47.882798Z K 7 svn:log V 162 MFC: r225887 Use the extended integer condition code when comparing 64-bit values. Given that ATOMIC_INC_LONG currently is unused this happened to not be fatal. END