ƒ²219733 191 114 130 135 156 757 137 273 343 279 262 144 1480 1480 231 277 277 133 133 149 272 511 455 133 143 175 383 148 319 144 112 114 129 249 288 178 121 122 330 1089 168 204 344 648 145 208 241 605 269 120 171 275 323 329 204 352 263 237 233 133 385 237 631 163 163 216 221 158 236 333 528 201 245 207 649 126 426 125 144 137 246 290 272 302 154 172 966 271 140 155 426 204 177 177 458 465 329 283 265 154 162 176 124 136 136 640 303 252 173 826 144 121 291 371 158 432 429 154 181 212 323 298 319 174 355 192 152 405 147 435 581 627 133 546 501 265 188 405 229 157 331 241 152 182 695 129 246 220 210 133 445 189 153 308 122 129 139 255 137 203 261 274 819 215 219 123 200 155 236 143 190 191 110 109 184 1066 278 244 561 115 128 114 145 130 144 178 254 226 1513 254 166 158 K 10 svn:author V 3 ume K 8 svn:date V 27 2011-03-18T10:39:52.973504Z K 7 svn:log V 22 Tag openresolv-3.4.1. END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-03-18T10:52:23.543041Z K 7 svn:log V 38 Import openresolv from vendor branch. END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-03-18T12:07:53.310627Z K 7 svn:log V 43 Remove contrib/openresolv. Helped by: jhb END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-03-18T12:09:27.169607Z K 7 svn:log V 64 Import openresolv from vendor branch, actually. Helped by: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T12:13:04.297006Z K 7 svn:log V 664 Fix a few issues with HyperTransport devices and MSI interrupts: - Always enable the HyperTransport MSI mapping window for HyperTransport to PCI bridges (these show up as HyperTransport slave devices). The mapping windows in PCI-PCI bridges are enabled by existing code in the PCI-PCI bridge driver as MSI requests propagate up the device tree, but Host-PCI bridges don't really show up in that tree. - If the PCI device at domain 0 bus 0 slot 0 function 0 is not a HyperTransport device, then blacklist MSI on any other HT devices in the system. Linux has a similar quirk. PR: kern/155442 Tested by: Zack Dannar zdannar of gmail MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-03-18T12:18:52.391076Z K 7 svn:log V 45 Add resolvconf(8) which manages resolv.conf. END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-03-18T12:23:20.424314Z K 7 svn:log V 180 Use resolvconf(8) to update /etc/resolv.conf. If you don't want to use resolvconf(8) to update /etc/resolv.conf, you can put resolvconf_enable="NO" into /etc/dhclient-enter-hooks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T14:06:12.704427Z K 7 svn:log V 250 Partially revert previous change. Drop the quirk to disable MSI for HT chipsets that do not have an HT slave at 0:0:0:0. The Linux quirk is actually specific to Nvidia chipsets and the check I had added was in the wrong place. Prodded by: nathanw END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-18T15:36:28.606871Z K 7 svn:log V 183 Use VM_MAXUSER_ADDRESS rather than VM_MAX_ADDRESS when we talk about the bounds of user space. Redefine VM_MAX_ADDRESS as ~0UL, even though it's not used anywhere in the source tree. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-18T16:05:11.819707Z K 7 svn:log V 166 Rename firmware.S to physical.S. While we're calling into the firmware, the file only handles the switch to physical mode and back. It has no firmware functionality. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-18T16:13:08.279201Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@219742 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T17:15:10.128623Z K 7 svn:log V 1386 MFC 219384: The UFS dirhash code was attempting to update shared state in the dirhash from multiple threads while holding a shared lock during a lookup operation. This could result in incorrect ENOENT failures which could then be permanently stored in the name cache. Specifically, the dirhash code optimizes the case that a single thread is walking a directory sequentially opening (or stat'ing) each file. It uses state in the dirhash structure to determine if a given lookup is using the optimization. If the optimization fails, it disables it and restarts the lookup. The problem arises when two threads both attempt the optimization and fail. The first thread will restart the loop, but the second thread will incorrectly think that it did not try the optimization and will only examine a subset of the directory entires in its hash chain. As a result, it may fail to find its directory entry and incorrectly fail with ENOENT. To make this safe for use with shared locks, simplify the state stored in the dirhash and move some of the state (the part that determines if the current thread is trying the optimization) into a local variable. One result is that we will now try the optimization more often. We still update the value under the shared lock, but it is a single atomic store similar to i_diroff that is stored in UFS directory i-nodes for the non-dirhash lookup. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T17:15:46.888400Z K 7 svn:log V 1386 MFC 219384: The UFS dirhash code was attempting to update shared state in the dirhash from multiple threads while holding a shared lock during a lookup operation. This could result in incorrect ENOENT failures which could then be permanently stored in the name cache. Specifically, the dirhash code optimizes the case that a single thread is walking a directory sequentially opening (or stat'ing) each file. It uses state in the dirhash structure to determine if a given lookup is using the optimization. If the optimization fails, it disables it and restarts the lookup. The problem arises when two threads both attempt the optimization and fail. The first thread will restart the loop, but the second thread will incorrectly think that it did not try the optimization and will only examine a subset of the directory entires in its hash chain. As a result, it may fail to find its directory entry and incorrectly fail with ENOENT. To make this safe for use with shared locks, simplify the state stored in the dirhash and move some of the state (the part that determines if the current thread is trying the optimization) into a local variable. One result is that we will now try the optimization more often. We still update the value under the shared lock, but it is a single atomic store similar to i_diroff that is stored in UFS directory i-nodes for the non-dirhash lookup. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-18T17:15:59.324059Z K 7 svn:log V 138 When disconnecting disk from subdisks - make sure they are in NONE state. Before now (before Promise) it seems wasn't affecting anything. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T17:18:09.867215Z K 7 svn:log V 184 MFC 219399: When constructing a new cpuset, apply the parent cpuset's mask to the new set's mask rather than the root mask. This was causing the root mask to be modified incorrectly. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T17:18:24.788224Z K 7 svn:log V 184 MFC 219399: When constructing a new cpuset, apply the parent cpuset's mask to the new set's mask rather than the root mask. This was causing the root mask to be modified incorrectly. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T17:20:32.276579Z K 7 svn:log V 41 MFC 219460: Remove now-obsolete comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T17:20:45.159866Z K 7 svn:log V 41 MFC 219460: Remove now-obsolete comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-18T17:23:23.780954Z K 7 svn:log V 57 MFC 219483: Remove all object files during 'make clean'. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-18T17:49:11.598557Z K 7 svn:log V 179 Set of Promise MD improvements: - add support for identifying SPARE drives; - add support for reading and writing degraded states; - fix detach handling; - fix RAID1 writing; END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-03-18T18:54:00.755362Z K 7 svn:log V 418 This delta updates the em driver to version 7.2.2 which has been undergoing test for some weeks. This improves the RX mbuf handling to avoid system hang due to depletion. Thanks to all those who have been testing the code, and to Beezar Liu for the design changes. Next the igb driver is updated for similar RX changes, but also to add new features support for our upcoming i350 family of adapters. MFC after a week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-18T21:56:39.136573Z K 7 svn:log V 362 AMD RAID BIOS and Windows driver write some more values to metadata beyond range supported by ataraid(4) and Linux' dmraid. One of them is definitely 64bit per-volume rebuild/resync position. Another values look like specifying kind of activity. I am not sure about their full meaning, but looks like I can mimic behaviour good enough for BIOS to understand it. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-18T22:30:47.730448Z K 7 svn:log V 41 Add point about Promise metadata format. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-18T22:33:19.160243Z K 7 svn:log V 48 Remove inclusion of unneeded bootinfo.h header. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-18T22:35:48.008801Z K 7 svn:log V 80 MFC r219271: POSIX.1-2008 moved some constants from the XSI option to the Base. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-18T22:45:43.094569Z K 7 svn:log V 287 o Move the IVT and supporting functions to the front of the text segment so that it's always mapped by the loader. o Change the alternate fault handlers to account for PBVM. Since currently the region is handled by the VHPT, no alternate faults will be generated for it. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-18T22:55:32.824864Z K 7 svn:log V 56 Add warning about lack of RAID level migration support. END K 10 svn:author V 2 mr K 8 svn:date V 27 2011-03-18T22:56:53.527783Z K 7 svn:log V 227 - Build disk image (for USB sticks) and iso image - Change name to reflect this - Install all kernel modules - Choose image size that i386 and amd64 can be combined into one image - Mount tmpfs over /boot/zfs for zpool imports END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-18T23:48:06.010696Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@219760 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-18T23:55:25.694633Z K 7 svn:log V 17 Fix merge botch. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-03-19T00:19:18.747233Z K 7 svn:log V 22 Correct broken define END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-03-19T00:31:35.885135Z K 7 svn:log V 37 A cut and paste here was wrong also. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-19T00:34:12.539743Z K 7 svn:log V 156 MFC 219574,219575: - Add example of using 'scan' for wireless networks, similarly to OpenBSD's ifconfig(8)[1]. - remove unneeded newline PR: 151952 [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-19T00:35:11.166898Z K 7 svn:log V 195 MFC 219574: - Add example of using 'scan' for wireless networks, similarly to OpenBSD's ifconfig(8). - wlan0 isn't available on 7.x, so substitute ath0 for wlan0 in the example. PR: 151952 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-19T00:46:10.992895Z K 7 svn:log V 83 Add debugging messages to the AR5416 ANI code that's found in the AR5212 ANI code. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-19T01:41:21.688797Z K 7 svn:log V 29 MFC 219723: - Formtting fix. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-19T01:41:58.504194Z K 7 svn:log V 30 MFC 219723: - Formatting fix. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-19T03:09:21.794692Z K 7 svn:log V 234 Use the HAL method rather than directly calling ar5212ResetTxQueue(). Since ath9k does some slightly different bit fiddling when setting up the TX queues, it may that the TX queue setup/reset functions will need overriding later on. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-19T03:15:28.306970Z K 7 svn:log V 993 Make sure that the AR_MISC_MODE value from the initvals are properly respected. This commit really is "fix the OFDM duration calculation to match reality when running in 802.11g mode." The AR5212 init vals set AR_MISC_MODE to 0x0 and all the bits that can be set are set through code. The AR5416 and later initvals set AR_MISC_MODE to various other values (with the AR5212 AR_MISC_MODE options cleared), which include AR_PCU_CCK_SIFS_MODE . This adds 6uS to SIFS on non-CCK frames when transmitting. This fixes the issue where _DATA_ 802.11g OFDM frames were being TX'ed with the ACK duration set to 38uS, not 44uS as on the AR5212 (and other devices.) The AR5212 TX pathway obeys the software-programmed duration field in the packet, but the 11n TX pathway overrides that with a hardware-calculated duration. This was getting it wrong because of the above AR_MISC_MODE setting. I've verified that 11g data OFDM frames are now being TXed with the correct ACK+SIFS duration programmed in. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-19T14:37:13.106707Z K 7 svn:log V 73 Reserve a new diagnostic code for the channel survey code I'll add soon. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-19T14:38:28.957206Z K 7 svn:log V 108 Add in the channel survey data structures. These will be filled out by the HAL at some point in the future. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-19T14:44:24.320268Z K 7 svn:log V 251 Make `graid delete` command interpret optional num argument as volume ID, used in `raid/rX` provider names, instead of internal position in metadata. It seems better to not introduce new number without a reason. This fixes `graid delete` for Promise. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-19T15:50:34.439414Z K 7 svn:log V 556 For now remove options FLOWTABLE from the remaining GENERIC kernel configurations and make it opt-in for those who want it. LINT will still build it. While it may be a perfect win in some scenarios, it still troubles users (see PRs) in general cases. In addition we are still allocating resources even if disabled by sysctl and still leak arp/nd6 entries in case of interface destruction. Discussed with: qingli (2010-11-24, just never executed) Discussed with: juli (OCTEON1) PR: kern/148018, kern/155604, kern/144917, kern/146792 MFC after: 2 weeks END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-19T16:52:06.241817Z K 7 svn:log V 49 Remove a now unused variable. MFC after: 1 Week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-19T17:14:06.504286Z K 7 svn:log V 115 Implement simple `graid label` for now, supporting only one volume per disk. Correctly implement metadata erasing. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-19T18:26:54.212437Z K 7 svn:log V 148 Make metadata writing respect all arguments to not touch unrelated drives. Improve marking disk as failed by attempting write flags to disk itself. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-19T19:08:54.051542Z K 7 svn:log V 513 Properly check for an IPv4 socket after r219579. In some cases as udp6_connect() without an earlier bind(2) to an address, v4-mapped scokets allowed and a non mapped destination address, we can end up here with both v4 and v6 indicated: inp_vflag = (INP_IPV4|INP_IPV6|INP_IPV6PROTO) In that case however laddrp is NULL as the IPv6 path does not pass in a copy currently. Reported by: Pawel Worach (pawel.worach gmail.com) Tested by: Pawel Worach (pawel.worach gmail.com) MFC after: 6 days X-MFC with: r219579 END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-19T19:30:49.557937Z K 7 svn:log V 173 In case reading PCIR_MINGNT fails don't use it for calculating the latency. This is more or less a theoretical problem though as it typically indicates way bigger problems. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-03-19T19:37:53.507795Z K 7 svn:log V 24 Remove spl(9) remnants. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-19T19:39:05.782088Z K 7 svn:log V 76 On Serengeti-class machines the OFW root isn't the parent of the CPU nodes. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-19T19:50:36.811919Z K 7 svn:log V 178 A bit rearranged rtalloc1_fib() code. Initialize a variable when it is really needed. To avoid code duplication move the miss label to line up and jump on it. MFC after: 1 Week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-19T19:58:09.274171Z K 7 svn:log V 230 Do not use disks in G_RAID_DISK_S_OFFLINE state for keeping places. It works fine for other formats, but for Promise in most it is impossible to say how many disks are missing, so the whole idea of placeholders is not applicable. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-19T20:36:05.048045Z K 7 svn:log V 233 - Make a panic message better reflect the actual problem. - A closer inspection of the OpenSolaris code indicates the block store workaround is only necessary in case of BUS_DMASYNC_POSTREAD. - Mark some unused parameters as such. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-19T21:10:57.278367Z K 7 svn:log V 107 ouch, newrt is used on the return path, my fault. Partialy revert the previous change. MFC after: 1 Week. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-19T22:36:59.511483Z K 7 svn:log V 255 Correct broadcast frame handling. Setting bit6 of MCR0 register enables broadcast filtering. Make sure to clear the bit to receive broadcast frames. While I'm here rename the bit definition to reflect reality. Reported by: brad@OpenBSD MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-19T23:06:17.991673Z K 7 svn:log V 162 Add support for checking out ports and doc trees from a CVS repository, in addition to CVSUP, and add support for alternate SVN roots for src. Requested by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-20T00:43:42.536706Z K 7 svn:log V 144 MFC r219712: Remove the #if defined(FFS) || defined(IFS) braces around the calls to ffs_snapgone(). ufs.ko module is not build with FFS define. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-20T08:27:06.036059Z K 7 svn:log V 137 Add a PSPOLL queue type, in preparation for (eventually) porting over the TX queue setup code from ath9k for the AR5416 and later chips. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-20T08:35:00.024496Z K 7 svn:log V 37 Remove dead code. MFC after: 1 Week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-20T08:42:56.860840Z K 7 svn:log V 289 Bring over a copy of the AR5212 TX queue reset and setup routines, in preparation for fixing them based on the ath9k related TXQ fixes. I've done this so people can go over the history of the diffs to the original AR5212 routines (which AR5416 and later chips use) to see what's changed. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-20T08:47:59.406892Z K 7 svn:log V 141 * Remove a not-needed check in the AR5416+ case * Restore the chip default of the DCU backoff threshold to 0x2, mirroring what ath9k does. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-20T09:08:45.904639Z K 7 svn:log V 535 Cave in and disable the ADC DC gain/offset calibrations if they're not needed. These calibrations are only applicable if the chip operating mode engages both interleaved RX ADCs (ie, it's compensating for the differences in DC gain and DC offset -between- the two ADCs.) Otherwise the chip reads values of 0x0 for the secondary ADC (as I guess it's not enabled here) and thus writes potentially bogus info into the chip. I've tested this on the AR9160 and AR9280; both behave themselves in 11g mode with these calibrations disabled. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-20T11:58:42.630488Z K 7 svn:log V 71 MFC r219525: amd64/NOTES: use a greater number in KSTACK_PAGES example END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-20T12:05:57.126406Z K 7 svn:log V 71 MFC r219525: amd64/NOTES: use a greater number in KSTACK_PAGES example END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-20T12:38:09.997389Z K 7 svn:log V 123 Purge all remaining events referring objects we are destroying. In most cases there should be none, but better to be safe. END K 10 svn:author V 2 mr K 8 svn:date V 27 2011-03-20T12:40:17.538012Z K 7 svn:log V 129 - Add script for preparing disks in GPT/ZFS boot environment - Add merge script for integrating amd64 slice into i386 disk image END K 10 svn:author V 2 mr K 8 svn:date V 27 2011-03-20T13:01:57.217524Z K 7 svn:log V 67 Add a file with some remarks for setting up a zfs boot environment END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-20T14:12:50.330382Z K 7 svn:log V 143 Destroy volume on last disk leave and destroy disk on last volume leave. This makes `graid delete` and `graid remove` really work for Promise. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-03-20T15:04:43.284210Z K 7 svn:log V 240 Update a comment. The sending process has not mapped the buffer pages since before r127501. Strictly speaking, the buffer pages are not "wired". They remain in the paging queues. However, they are pinned in memory using vm_page_hold(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-20T15:46:05.098734Z K 7 svn:log V 432 Disable a check I added a while ago to ensure the initial NF cal completed. Give it a good go (32 attempts) and then print out a warning that's going to occur whether HAL debugging is enabled or not. Then don't abort the radio setup; just continue merrily along. This should fix the issue that users were having where scanning would occasionally fail on the active channel, causing traffic to cease until the radio scanned again. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-20T20:53:55.058657Z K 7 svn:log V 105 index(3): Mention that index/rindex are deprecated and not specified by POSIX.1-2008. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-20T21:05:09.292409Z K 7 svn:log V 152 Retire opt_ffs_broken_fixme.h. Instead of directly calling ffs_snapgone(), use UFS_SNAPGONE() with usual layering. Requested by: bde MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-20T22:47:41.445667Z K 7 svn:log V 114 Use 'list scan' in favor of 'scan', as 'scan' has a different purpose. Pointed out by: bschmidt MFC after: 1 day END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-20T23:52:45.008530Z K 7 svn:log V 553 sh(1): Describe subshell environment, command substitution more correctly. POSIX does not require the shell to fork for a subshell environment, and we use that possibility in various ways (command substitutions with a single command and most subshells that are the final command of a shell process). Therefore do not tie subshells to forking in the man page. Command substitutions with expansions are a bit strange, causing a fork for $(...$(($x))...) because $x might expand to y=2; they will probably be changed later but this is how they work now. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-21T01:05:20.085747Z K 7 svn:log V 33 - Merge CURRENT into ofed base. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-21T01:09:50.064863Z K 7 svn:log V 330 Change region 4 to be part of the kernel. This serves 2 purposes: 1. The PBVM is in region 4, so if we want to make use of it, we need region 4 freed up. 2. Region 4 and above cannot be represented by an off_t by virtue of that type being signed. This is problematic for truss(1), ktrace(1) and other such programs. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-21T02:06:59.771321Z K 7 svn:log V 32 - merge ofed base to ofed head END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-21T02:15:12.151686Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@219808 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-21T04:03:55.862047Z K 7 svn:log V 42 Fix typo: s/LIBSERACHPATH/LIBSEARCHPATH/g END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-03-21T06:18:26.500102Z K 7 svn:log V 149 MFC r218816: Add a helper script that detects which partition we are on and update the other. Obtained from: FreeNAS Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T08:31:35.257482Z K 7 svn:log V 197 If there is any traffic on one of out descriptors, we were not checking for long running hooks. Fix it by not using select(2) timeout to decide if we want to check hooks or not. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T08:33:58.339122Z K 7 svn:log V 179 When creating connection on behalf of primary worker, set pjdlog prefix to resource name and role, so that any logs related to that can be identified properly. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T08:36:50.153137Z K 7 svn:log V 209 Add snprlcat() and vsnprlcat() - the functions I'm always missing. They work as a combination of snprintf(3) and strlcat(3) - the caller can append a string build based on the given format. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T08:37:50.842365Z K 7 svn:log V 62 Use snprlcat() instead of two strlcat(3)s. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T08:38:24.532643Z K 7 svn:log V 80 Log when we start hooks checking and when we execute a hook. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T08:54:59.581361Z K 7 svn:log V 873 In hast.conf we define the other node's address in 'remote' variable. This way we know how to connect to secondary node when we are primary. The same variable is used by the secondary node - it only accepts connections from the address stored in 'remote' variable. In cluster configurations it is common that each node has its individual IP address and there is one addtional shared IP address which is assigned to primary node. It seems it is possible that if the shared IP address is from the same network as the individual IP address it might be choosen by the kernel as a source address for connection with the secondary node. Such connection will be rejected by secondary, as it doesn't come from primary node individual IP. Add 'source' variable that allows to specify source IP address we want to bind to before connecting to the secondary node. MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-21T09:40:01.357043Z K 7 svn:log V 177 - Merge changes to the base system to support OFED. These include a wider arg2 for sysctl, updates to vlan code, IFT_INFINIBAND, and other miscellaneous small features. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-21T09:58:24.554331Z K 7 svn:log V 47 - Merge in OFED 1.5.3 from projects/ofed/head END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T11:52:00.241086Z K 7 svn:log V 63 Forgot to commit this as a part of r219818. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-21T12:51:13.090025Z K 7 svn:log V 330 Fix static ucastrate for ath_rate_sample. * Pull out the static rix stuff into a different function * I know this may slightly drop performance, but check if a static rix is needed before each packet TX. * Whilst I'm at it, add a little extra debugging to the rate control stuff to make it easier to follow what's going on. END K 10 svn:author V 2 mr K 8 svn:date V 27 2011-03-21T13:23:25.790117Z K 7 svn:log V 112 Delete all GPT partitions at once. (Suggested by Andrey V. Elsukov ) Fix amd64 merge script. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-21T13:28:01.778232Z K 7 svn:log V 85 MFC 219805: - Use 'list scan' in favor of 'scan', as 'scan' has a different purpose. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-21T13:28:38.276603Z K 7 svn:log V 85 MFC 219805: - Use 'list scan' in favor of 'scan', as 'scan' has a different purpose. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-21T14:11:37.430295Z K 7 svn:log V 365 - When reading Promise metadata, drop useless records about empty areas (extents). Reconstruct them on write, referring largest empty disk area, to allow BIOS still see empty areas. - Implement global spare metadata writing. - Increase space reserved at the end of disk to 131072 sectors, mimicing BIOS behaviour. Not sure why it is so, 63 sectors would be enough. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-03-21T14:18:40.653112Z K 7 svn:log V 368 Improve locking of creating and dropping links in the graph, acquiring the topology mutex in the following functions, that manipulate pointers to peer nodes: - ng_bypass() - ng_path2noderef() when switching to the next node in sequence. Rewrite the function a bit. - ng_address_hook() - ng_address_path() This patch improves stability of large mpd5 installations. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-03-21T14:19:40.334165Z K 7 svn:log V 232 Reference ifaddr object before unlocking as it can be freed from another context at the moment of later access. PR: kern/155555 Submitted by: Andrew Boyer Approved by: avg (mentor) MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-21T14:29:35.651506Z K 7 svn:log V 190 free pluknet from the official mentorship Sergey has proven as a reliable and responsible committer thus far, so let him try to earn some personal pointyhats. Approved by: kib (co-mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T14:50:12.671415Z K 7 svn:log V 172 Detect situation where resource internal identifier differs. This means that both nodes have separately managed resources that don't have the same data. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T14:51:16.071325Z K 7 svn:log V 62 Be pedantic and free nvout before exiting. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T14:53:27.964230Z K 7 svn:log V 70 Increase debug level of "Checking hooks." message. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T15:08:10.070082Z K 7 svn:log V 84 Remove stale comment. Yes, it is valid to set role back to init. MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-21T15:17:02.954097Z K 7 svn:log V 32 Bump date from previous commit. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-21T15:22:48.339294Z K 7 svn:log V 44 MFC 219834: Bump date from previous commit. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-21T15:23:10.200999Z K 7 svn:log V 44 MFC 219834: Bump date from previous commit. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T15:29:20.932339Z K 7 svn:log V 547 Before handling any events on descriptors check signals so we can update our info about worker processes if any of them was terminated in the meantime. This fixes the problem with 'hastctl status' running from a hook called on split-brain: 1. Secondary calls a hooks and terminates. 2. Hook asks for resource status via 'hastctl status'. 3. The main hastd handles the status request by sending it to the secondary worker who is already dead, but because signals weren't checked yet he doesn't know that and we get EPIPE. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-21T15:51:22.938869Z K 7 svn:log V 210 Improve Promise's `graid label` implementation to support multiple volumes (extents) per disk. This allows to it create all configurations supported by BIOS and even more then can be created by Windows driver. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-21T17:12:03.222727Z K 7 svn:log V 156 This CLKDRV workaround should only be for AR5416 v2.0/2.1; the check was too strict and enabled it for all non AR5416-v2.2 chipsets - including later ones. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-21T17:44:52.238944Z K 7 svn:log V 78 Back that commit out - something's broken, and I need to figure out what/why. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-21T18:20:53.744450Z K 7 svn:log V 730 Fix switching to physical mode as part of calling into EFI runtime services or PAL procedures. The new implementation is based on specific functions that are known to be called in certain scenarios only. This in particular fixes the PAL call to obtain information about translation registers. In general, the new implementation does not bank on virtual addresses being direct-mapped and will work when the kernel uses PBVM. When new scenarios need to be supported, new functions are added if the existing functions cannot be changed to handle the new scenario. If a single generic implementation is possible, it will become clear in due time. While here, change bootinfo to a pointer type in anticipation of future development. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-21T18:39:42.146307Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@219841 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T21:14:07.556131Z K 7 svn:log V 29 Fix typo. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T21:16:12.691146Z K 7 svn:log V 198 Initialize localcnt on first write. This fixes assertion when we create resource, set role to primary, do no writes, then sent it to secondary and accept connection from primary. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-03-21T21:16:25.276761Z K 7 svn:log V 273 - Bugfix: Fix a EHCI hardware race, where the hardware computed data toggle value is updated after that we read it in the queue-head. This patch can fix problems with BULK timeouts. The issue was found on a Nvidia chipset. MFC after: 14 days Approved by: thompsa (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-21T21:16:40.883298Z K 7 svn:log V 66 Allow the ofed modules to be compiled on i386. Reviewed by: jeff END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-21T21:31:50.991596Z K 7 svn:log V 339 When dropping privileges prefer capsicum over chroot+setgid+setuid. We can use capsicum for secondary worker processes and hastctl. When working as primary we drop privileges using chroot+setgid+setuid still as we need to send ioctl(2)s to ggate device, for which capsicum doesn't allow (yet). X-MFC after: capsicum is merged to stable/8 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-03-21T21:34:12.269013Z K 7 svn:log V 331 - Do not output the trailing newline to the HID report descriptor information, sysctl utility will show it for us. - Modify sysctl node description to make it more understanable. Found by: Alexander Best Submitted by: Eygene Ryabinkin MFC after: 14 days Approved by: thompsa (mentor) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-21T21:35:19.931981Z K 7 svn:log V 61 - For now, disable ofed module build unless MK_OFED is set. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-21T23:59:20.010111Z K 7 svn:log V 89 s/buffer/buf as is used in the code. Submitted by: arundel (via doc@) MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T00:11:04.662382Z K 7 svn:log V 116 Remove the merlin delay workaround here, it isn't appropriate for the analog bank writes as Merlin never does them. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T00:12:26.520279Z K 7 svn:log V 227 Even though it's very unlikely the misc mode register setting at -attach- would be a problem, make sure it isn't overwritten by whatever is in there at cold reset. This brings the > ar5416 init path treatment of AR_MISC_MODE. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T00:14:17.373302Z K 7 svn:log V 202 Bring over a few queue changes from ath9k: * add pspoll/uapsd queue setup defaults; * enable the exponential backoff window rather than the random backoff window when doing TX contention management. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T00:43:58.281490Z K 7 svn:log V 223 Do a bit of spring cleaning in the board setup code, just to bring it in line with the rest of the register initialisation. I've verified that the 2/5ghz board values written to the chip match what was previously written. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T00:52:44.888639Z K 7 svn:log V 79 Break out the RF mode setup into ar5416SetRfMode(), mirroring what ath9k does. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-22T01:14:53.113936Z K 7 svn:log V 254 Use labels to find release media instead of hard-coded device paths. This makes booting more reliable (and working at all on USB sticks). While here, move responsibility for setting up fstab into the various platform mk-*.sh scripts. Suggested by: many END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-22T01:21:51.587454Z K 7 svn:log V 92 Update release(7) and build(7) to reflect new release infrastructure for the new installer. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-03-22T04:31:35.560235Z K 7 svn:log V 56 Give better URL to the list of available CVSup mirrors. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-22T04:50:47.434594Z K 7 svn:log V 311 - Don't use a separate set of rx queues for UDP, hash them into the same set as TCP. - Eliminate the fully linear non-scatter/gather rx path, there is no harm in using arrays of clusters for both TCP and UDP. - Implement support for enabling/disabling per-vlan priority pause and queues via sysctl. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T05:47:48.921246Z K 7 svn:log V 52 Set the "right" CCA register. Obtained From: ath9k END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-22T05:50:55.013077Z K 7 svn:log V 343 MFC r219415 (adapted for stable/8): Add -p option to `gpart show` command to show provider's names of partitions instead of partition's indexes. This may be useful with GPT partitioning scheme or EBR without GEOM_PART_EBR_COMPAT option. MFC r219416: It is better to sometimes have not aligned columns than often have wrapped lines. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T07:19:49.124012Z K 7 svn:log V 485 Fix OFDM ANI statistics gathering for the AR5416 and later chips. I found this when trying to figure out why the RX PHY error count didn't match the OFDM error count ANI was using. It turns out there was two problems: * What this commit addresses - using the wrong mask for OFDM errors, and * The RX filter is set incorrectly after a channel scan (at least) even if interference mitigation is enabled by default. ANI is still disabled by default for the AR5416 and later chips. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T10:29:36.375281Z K 7 svn:log V 531 Bring over an XPA (external power amplifer) bias fix for the AR9160. This fix modifies the const addac initval array, rather than modifying a local copy. It means that running >1 AR9160 on a board may prove to be unpredictable. The AR5416 init path also does something similar, so supporting >1 AR5416 of different revisions could cause problems. The later fix will be to create a private copy of the Addac data for the AR5416, AR9160 (and AR9100 when it's merged in) and then modify that as needed. Obtained From: Linux ath9k END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-22T10:39:34.854993Z K 7 svn:log V 41 White space cleanups. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-22T12:05:49.742206Z K 7 svn:log V 453 Rename pci_find_extcap() to pci_find_cap(). PCI now uses the term "extended capabilities" to refer to the new set of capability structures starting at offset 0x100 in config space for PCI-express devices. For now both function names will still work. I will merge this to older branches to ease driver portability, but 9.0 will ship with a new pci_find_extcap() function that locates extended capabilities instead. Reviewed by: imp MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-22T13:02:00.866046Z K 7 svn:log V 408 Implement missing and failed disks replacement for Promise metadata. This implementation is quite different from other metadata formats because Promise metadata has no track of the physical disks. So if failed or missing disk was used by several volumes, each of them will be recovered independently, using free space found on other disks (not only spare). This also implements `graid insert` command there. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-22T13:19:29.544995Z K 7 svn:log V 172 Remove root mounting delay from Promise module. As soon as volumes created immediately on first disk probe, that delay completely covered by the delay at the volume level. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T13:20:11.156382Z K 7 svn:log V 93 This isn't actually needed any longer, A-MPDU frames work fine if only tagged for 11n nodes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T13:35:56.275136Z K 7 svn:log V 309 Flip this over to be a configurable option for people who wish to play with it. It's still not ready for prime-time - there's some TX niggles with these 11n cards that I'm still trying to wrap my head around, and AMPDU-TX is just not implemented so things will come to a crashing halt if you're not careful. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T13:39:00.071360Z K 7 svn:log V 133 Clean up setting the short preamble bit in the rate - this way it is very obvious (and cleanly so) that it occurs for non-11n rates. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-22T13:42:22.270630Z K 7 svn:log V 65 Do not require force flag for SINGLE (RAID Ready) configuration. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-22T14:55:31.313676Z K 7 svn:log V 238 Add id argument to g_raid_create_volume(). When non-negative, it is used as hint for choosing volume ID. Read that value from Promise metadata. It allows to keep volumes numbering consistent across reboots and matching one shown by BIOS. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-22T16:21:11.188989Z K 7 svn:log V 148 The proto API is a general purpose API, so don't use 'hast' in structures or function names. It can now be used outside of HAST. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-22T16:54:21.874030Z K 7 svn:log V 60 Add initial support for NVidia MediaShield metadata format. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-22T17:02:33.439237Z K 7 svn:log V 87 Branch from contrib/binutils/ld/emulparams/elf64_ia64_fbsd.s so that we can modify it. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-22T17:19:35.380082Z K 7 svn:log V 599 Change the load address from offset 0 in region 1 to offset 4G in region 0. This (almost) gives us the address space back (at the bottom) that we lost at the top. Region 0 has traditionally been reserved for IA-32 emulation, which has not been of great interest. By starting 64-bit processes at the 4G boundary we at least preserve some of the advantages: 1. Any invalid pointer cast (from int to pointer and back) will still always fail and not only when more than 4GB of memory is in use. 2. Memory sharing between 64-bit and 32-bit processes is still possibly by using addresses < 4G. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-22T17:26:56.981393Z K 7 svn:log V 35 Add test for acl_is_trivial_np(3). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-22T17:44:07.933851Z K 7 svn:log V 151 Move the code around so that libc behaviour does not depend on a variable that was supposed to be kernel-only. There should be no functional changes. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-03-22T19:49:27.356720Z K 7 svn:log V 123 For requests that are sent only to remote component use the error from remote. Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-22T19:52:29.402517Z K 7 svn:log V 115 Make UFS use PSARC/2010/029 NFSv4 ACL semantics by default, bringing it in line with ZFSv28. X-MFC-After: ZFSv28. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-22T20:00:27.148588Z K 7 svn:log V 41 Add basic NVidia metadata write support. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-03-22T20:27:26.766220Z K 7 svn:log V 348 After synchronization is complete we should make primary counters be equal to secondary counters: primary_localcnt = secondary_remotecnt primary_remotecnt = secondary_localcnt Previously it was done wrong and split-brain was observed after primary had synchronized up-to-date data from secondary. Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-22T21:05:56.487322Z K 7 svn:log V 98 Fix an error while constructing the table that maps context id -> egress queue. MFC after: 1 day END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-22T21:11:36.086472Z K 7 svn:log V 61 Forgot to commit this as part of r219873. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-03-22T21:15:50.470271Z K 7 svn:log V 216 Remove this branch, so I can revive it within a minute. I'm having some really tough problems with merging; I get conflicts for every single file. Also, it seems some patches ended up here which shouldn't be there. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-03-22T21:16:14.311179Z K 7 svn:log V 31 Create a fresh newcons branch! END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-22T21:19:51.266219Z K 7 svn:log V 37 Add my copyright. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-03-22T21:31:31.322051Z K 7 svn:log V 48 Readd the vt(4) driver and corresponding tools. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-03-22T21:39:57.969226Z K 7 svn:log V 163 Update the terminus font to version 4.32. This version doesn't add new glyphs, but contains small changes to some characters, even including the letters M and W. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-22T22:39:42.243752Z K 7 svn:log V 45 Improve NVidia metadata reading and writing. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-22T22:59:09.513520Z K 7 svn:log V 107 Enable setting the MCS rate bit for ast_tx_rate. This allows ath_stats to print the MCS rate when TX'ing. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-23T01:26:21.745051Z K 7 svn:log V 160 Allow setting of parameters for file systems (e.g. softupdates), turn on SUJ by default, and allow creation and mounting of FAT filesystems from the installer. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-23T02:47:04.765960Z K 7 svn:log V 180 - Correct the vlan filter programming. The device filter is built in reverse order. - Name the cq taskqueues according to whether they handle rx or tx. - Default LRO to on. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-23T03:58:55.325838Z K 7 svn:log V 723 The AR5416+ chips all have MIB counters (which the AR5416 ANI code assumes) so there's no need to enable the RX of invalid frames just to do ANI. The if_ath code and AR5212 ANI code setup the RX filter bits to enable receiving OFDM/CCK errors if the device doesn't have the hardware MIB counters. It isn't initialising it for the AR5416+ because all of those chips have hardware MIB counters. This fixes the odd (and performance affecting!) situation where if ani is enabled (via sysctl dev.ath.X.intmit) then suddenly there's be a very large volume of phy errors - which is good to track, but not what was intended. Since each PHY error is a received (0 length) frame, it can significantly tie up the RX side of things. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-03-23T05:13:54.468313Z K 7 svn:log V 117 Add retry code analogous to the block allocation retry code to avoid running out of inodes. Reported by: Peter Holm END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-23T06:19:17.307171Z K 7 svn:log V 127 MFC r219702: Set control flags in putc(). This should fix zfsboot hangs in drvread(). PR: kern/153552 Reviewed by: jhb END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-03-23T06:31:45.666032Z K 7 svn:log V 32 Chase KPI change in vga driver. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-23T08:27:57.754845Z K 7 svn:log V 106 - Move ofed modules into the i386 and amd64 specific sections to fix universe on other architectures. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-03-23T08:33:12.055080Z K 7 svn:log V 58 Add support for displaying newfs flags for SU+J and TRIM. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-23T11:09:04.486653Z K 7 svn:log V 143 Don't create socketpair for connection forwarding between parent and secondary. Secondary doesn't need to connect anywhere. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-23T11:16:06.061640Z K 7 svn:log V 48 Oops, fix badness i must've introduced earlier. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-23T13:10:15.814559Z K 7 svn:log V 98 Do a sweep of the tree replacing calls to pci_find_extcap() with calls to pci_find_cap() instead. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-23T13:43:56.626950Z K 7 svn:log V 91 Mark any distfiles with no checksum entries in the manifest "Skipped" instead of "Passed". END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-03-23T13:44:09.265327Z K 7 svn:log V 14 Fix SYNOPSIS. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-23T13:44:32.602150Z K 7 svn:log V 17 Small style fix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-23T13:46:17.579760Z K 7 svn:log V 92 Update a comment. The kernel stopped using the S* process state constants a long time ago. END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-03-23T14:18:59.839613Z K 7 svn:log V 973 MFC r211819: Add one more new memory day for Russian Federation: the end of Second World War. MFC r212027: Add dim to calendar.freebsd. MFC r212218: Add swills to calendar.freebsd. MFC r212260: Add andreast to calendar.freebsd. MFC r212591: Remove extra ; from parse.c. MFC r213001: Add sunpoet to calendar.freebsd. MFC r213482: Add pluknet to calendar.freebsd. MFC r213990: Add culot to calendar.freebsd. MFC r214027: Fix spaces by a tab after the date, introduced in r213990. MFC r214973: A traditional (once per three years) sort by month/day/year/login. While here, fixed badly formatted lines. MFC r214974: Add/expand country/state. MFC r215096: Add zack to calendar.freebsd. MFC r215836: Pet make checkdpadd. MFC r216282: Add flo to calendar.freebsd. MFC r216895: Add jpaetzel to calendar.freebsd. MFC r219478: Add trociny to calendar.freebsd. MFC r219638: Add dchagin to calendar.freebsd. MFC r219731: Add sbz to calendar.freebsd. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-23T15:05:48.321519Z K 7 svn:log V 185 Add dedicated spare disks support. Some sources report about global spares also, but Windows drivers I've tried allow to create only dedicated spares, while RAID BIOS can't create any. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-23T15:22:59.610959Z K 7 svn:log V 151 Increase start timeout from 15 to 30 seconds. Depending on metadata type, results of false timeout could be much more dangerous then 15 seconds delay. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-23T15:43:31.010846Z K 7 svn:log V 468 As soon as NVidia metadata have no generation numbers, bump volume ID each time array started incomplete after timeout waiting or when one of disks was hot-disconnected. If lost disk reappear later, it won't corrupt data, but will be reported as separate array. Windows driver does the same. As soon as volume ID is not persistent now (in addition to being too long) and so not very suitable for management, use sequentional numbering for generating GEOM node names. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-23T15:53:21.707869Z K 7 svn:log V 19 Update copyrights. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-23T15:55:28.548071Z K 7 svn:log V 32 Fix compilation: len -> mh_len. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-23T15:56:54.690349Z K 7 svn:log V 18 Update copyright. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-23T15:59:36.885908Z K 7 svn:log V 49 Remove confusing comments. Submitted by: rstone END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-23T16:00:38.207384Z K 7 svn:log V 34 Fix a typo. Submitted by: rstone END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-23T16:02:07.251346Z K 7 svn:log V 48 Remove a duplicate check. Submitted by: rstone END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-23T16:17:24.891453Z K 7 svn:log V 82 Once the device is looked up, check if it supports netdump. Submitted by: rstone END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-23T16:22:08.689475Z K 7 svn:log V 153 Add support for memstick generation on PowerPC. This is a little suboptimal since glabel doesn't know about APM partitioning yet, but works well enough. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-23T16:28:11.459644Z K 7 svn:log V 129 Unwind back nd_gw setting in order to make it fully available for next iterations of the netdump_trigger(). Reported by: rstone END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-03-23T16:38:29.300008Z K 7 svn:log V 1419 Modestly increase the maximum allowed size of the kmem map on i386. Also, express this new maximum as a fraction of the kernel's address space size rather than a constant so that increasing KVA_PAGES will automatically increase this maximum. As a side-effect of this change, kern.maxvnodes will automatically increase by a proportional amount. While I'm here ensure that this change doesn't result in an unintended increase in maxpipekva on i386. Calculate maxpipekva based upon the size of the kernel address space and the amount of physical memory instead of the size of the kmem map. The memory backing pipes is not allocated from the kmem map. It is allocated from its own submap of the kernel map. In short, it has no real connection to the kmem map. (In fact, the commit messages for the maxpipekva auto-sizing talk about using the kernel map size, cf. r117325 and r117391, even though the implementation actually used the kmem map size.) Although the calculation is now done differently, the resulting value for maxpipekva should remain almost the same on i386. However, on amd64, the value will be reduced by 2/3. This is intentional. The recent change to VM_KMEM_SIZE_SCALE on amd64 for the benefit of ZFS also had the unnecessary side-effect of increasing maxpipekva. This change is effectively restoring maxpipekva on amd64 to its prior value. Eliminate init_param3() since it is no longer used. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-23T16:58:04.054026Z K 7 svn:log V 161 - Use RAID10 and RAID01 names more carefully. Even if they are very alike, they suppose different disk order (aabb vs abab). - Fix RAID01 disk order for NVidia. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-23T17:11:35.678734Z K 7 svn:log V 71 Move SAL function numbers specific to SGI Altix from sal.h to sgisn.h. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-23T17:18:31.371446Z K 7 svn:log V 66 Write all "NVIDIA" in upper case, as they seem to tend last time. END