‚Û217859 141 203 318 195 306 764 194 254 239 471 164 110 202 165 118 128 215 280 115 240 275 603 303 209 323 121 449 318 278 373 193 223 271 1171 229 259 407 221 275 230 230 495 495 117 2239 196 196 129 129 163 173 173 337 728 161 243 188 500 384 1019 351 382 310 403 116 160 306 138 243 154 152 147 622 175 178 424 138 95 306 163 242 121 164 253 273 95 447 95 448 128 167 167 167 167 505 505 907 907 143 469 184 315 313 219 259 367 143 201 422 176 277 212 512 149 538 151 134 380 271 271 383 286 321 1120 1120 137 234 234 151 154 154 154 154 612 138 337 299 290 211 338 346 134 K 10 svn:author V 8 cracauer K 8 svn:date V 27 2011-01-25T22:25:16.719153Z K 7 svn:log V 105 Fix compilation with debug on. Fix segfault when TargetAddress is missing or mis-spelled in config file. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-25T22:25:50.562720Z K 7 svn:log V 225 MFC stable/8 r217710 - Pieces of the failure path in em_xmit got deleted along the way, correct this. - local_timer had a leftover TX_UNLOCK without matching LOCK in the error path, remove it. Approved by: re (bz) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-25T22:35:35.558360Z K 7 svn:log V 99 MFC r203134,r207990,r217289,r203135 Add manpages for run(4) and runfw(4). Approved by: re (kib) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-25T22:55:50.363817Z K 7 svn:log V 213 MFC stable/7 r217723 - Pieces of the failure path in em_xmit got mangled, correct it. - local_timer had a leftover TX_UNLOCK without a matching TX_LOCK in the error path, remove it. Approved by: re (bz) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-25T23:02:25.836512Z K 7 svn:log V 668 MFC r217133: sed: Try hard links to make -i target available continually. When creating a backup file, sed renamed the original before renaming the changed copy into place, leading to a short time when no file with the original name was present (usually only visible on SMP systems). Try creating the backup file using a hard link instead, avoiding this problem. If creating the hard link fails for any reason, fall back to the old rename method. When not creating a backup file, sed already renamed the changed copy onto the original. This remains unchanged. PR: bin/153261 Submitted by: Pedro F. Giffuni Reviewed by: dds (older version) Obtained from: Illumos END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-25T23:04:57.210436Z K 7 svn:log V 99 MFC r217134: sed: Add test for r217863 (-i race). r217863 is the MFC of r217133. PR: bin/153261 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-25T23:20:22.850739Z K 7 svn:log V 161 MFC stable/8 r217711 Fix for kern/152853, pullup in the wrong place in em_xmit causes UDP failure. Thanks to Petr Lampa for the patch. Approved by: re (bz) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-25T23:23:45.925006Z K 7 svn:log V 146 MFC stable/7 r217724 Fix to kern/152853, misplaced pullup in em_xmit breaks UDP tx, thanks to Petr Lampa for the patch. Approved by: re (bz) END K 10 svn:author V 3 scf K 8 svn:date V 27 2011-01-25T23:25:23.094935Z K 7 svn:log V 378 Merge from head to stable/8: r216813: Fix the LINUX_SOUND_MIXER_INFO ioctl to return success after the information is set to FreeBSD. It had been falling through to the end of linux_ioctl_sound() and returning ENOIOCTL. Noticed when running the Linux ALSA amixer tool. Add a LINUX_SOUND_MIXER_READ_CAPS ioctl which is used by the Skype v2.1.0.81 binary. Reviewed by: gavin END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-25T23:27:28.713263Z K 7 svn:log V 68 Remove TX taskqueue and directly invoke re_start in interrupt task. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-26T01:02:39.477394Z K 7 svn:log V 16 Fix date in .Dd END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-26T01:07:56.732414Z K 7 svn:log V 107 Fix my fix to nfe.4, and also fix re.4 So just when I thought my pointy hat collection was going down ... END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-26T05:06:11.623706Z K 7 svn:log V 71 Clarify the availability of the noatime option on network file systems END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-26T06:07:24.821502Z K 7 svn:log V 24 Fix another broken date END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-26T06:36:14.263802Z K 7 svn:log V 32 Add -H flag to print thread id. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-26T06:37:51.685511Z K 7 svn:log V 122 Make device initialization sequence shorter when possible. Do not enable/ disable already enabled/disabled SATA features. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-26T06:57:48.516250Z K 7 svn:log V 187 In addition to r217444 ignore also ATA status errors on DMA Auto-Activation enabling request. Some HP disks reported to return ABORT error there while declaring support for this feature. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-26T08:39:34.170025Z K 7 svn:log V 23 MFC r217747: Fix typo. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-26T08:54:10.209633Z K 7 svn:log V 147 Hardware supported by siis(4) allows software control over activity LEDs. Expose that functionality to led(4) OR-ing it with regular LED activity. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-26T09:37:43.525498Z K 7 svn:log V 179 * fix HAL_DEBUG_INTERRUPT to be a separate bit, it was overlapping with something else * add HAL_DEBUG_GPIO, for some GPIO related debugging I'm tinkering with at the moment. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-26T10:08:37.997689Z K 7 svn:log V 507 Break out the chainmask init code into a new function - ar5416InitChainMasks() . ath9k does a few different things here during config - if it's an early AR5416 with two chains, it enables all three chains for calibration and then restores the chainmask to the original values after initial calibration has completed. The reason behind this commit is to begin breaking out the chainmask configuration for this specific reason; follow-up commits will add the chainmask restore in the ar5416Reset() routine. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-26T10:34:21.029268Z K 7 svn:log V 210 Treat async buffer writes from the gjournal switcher thread the same as from syncer. We shall not sleep on running buffer space when suspending. Reproduced and tested by: pho PR: kern/154228 MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-26T10:36:43.164291Z K 7 svn:log V 113 Add an AR5416 workaround - force a different bias based on 2.4ghz channel frequency. Obtained from: Linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-26T10:48:29.127051Z K 7 svn:log V 227 Add ar5416RestoreChainMask() which will undo any AR5416 specific chainmask overriding after calibration. This will get set for other two chain radios, such as AR9280 and later on, AR9287. It should however be a nul operation. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-26T13:10:07.428915Z K 7 svn:log V 29 Add missing part of r217877. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-26T13:18:26.495623Z K 7 svn:log V 356 Add kerneldump() method to the transformation modules API -- minimalistic shortcut for robust kernel dumps writing. When method is not implemented, previously made wrappers around regular code will try to handle the things. Implement kernel dumping for RAID0 and RAID1 transformation modules without using memory allocations, locks and other extra calls. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-26T16:59:07.692811Z K 7 svn:log V 220 MFC r217590: Jump to the next element and not to an arbitrary point. frm[1] contains the element's data length, frm[2] is the first byte of the element's data. Submitted by: Monthadar Al Jaberi END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-26T17:06:13.072542Z K 7 svn:log V 185 Set td_kstack_pages for thread0. This was already being done for most architectures, but i386 and amd64 were missing it. Submitted by: Mohd Fahadullah END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-26T17:20:34.860565Z K 7 svn:log V 275 MFC r217511: Pull ieee80211_ratectl_node_init() calls from drivers into net80211. This fixes hostap mode for at least ral(4) and run(4), because there is no sufficient call into drivers which could be used initialize the node related ratectl variables. Approved by: re (bz) END K 10 svn:author V 8 deischen K 8 svn:date V 27 2011-01-26T17:31:03.137651Z K 7 svn:log V 96 Prison check addresses set with multicast interface options. Reviewed by: bz MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-26T18:03:03.378190Z K 7 svn:log V 130 Define cflags for our I/Os so we can properly mark them for SYNC and REMAP operations. Add some comments for some of the events. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-26T18:43:15.712166Z K 7 svn:log V 178 Fix typo in example getopt(1) script: $i vs $1 [1] While here apply style hammer. PR: docs/154289 [1] Submitted by: Jamie Landeg Jones MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-26T19:01:05.183018Z K 7 svn:log V 1077 Initial commit of recovery code: (1) We can REBUILD a RAID1 volume now. A REBUILD operation is one where you read from the good disk and write the bad disk. (2) Some support for RESYNC is present, but nothing really functional yet. A RESYNC operation reads the two disk, compares the results and writes only those sectors that differ. (3) Write remapping has finally been pushed in with this commit (4) We mark disks as bad after a threshold of disk read errors. This isn't complete yet: (1) RESYNC needs lots of work (2) Some refactoring for doing incremental REBUILD work would likely reduce bug or bug potential (3) SYSCLTize the #defines (4) Lots of edge cases need to be carefully reviewed and fixed. (5) Performance tuning of REBUILD: the initial parameters are WAGs. (6) The timeout function pointer needs to be a TR layer method. (7) Not all code paths have been executed: some stupid panics may linger. When not doing a RESYNC or REBUILD, I'm seeing 20MB/s both before and after these changes. But this was in virtualbox.... # reviews welcome... END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-26T19:24:41.804211Z K 7 svn:log V 136 Implement two more `graid` subcommands: add - add second volume into existing array; delete - delete specified volume or whole array. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-26T19:39:31.019692Z K 7 svn:log V 166 Unroll vgrind filter to no longer depend on vgrind(1) during buildworld. The source files haven't been touched in ages and this is unlikely to change in the future. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-26T19:49:03.850518Z K 7 svn:log V 311 Change infrastructure for SCTP_MAX_BURST to allow compliance with the latest socket API ID. Especially it can be disabled. Full compliance needs changing the structure used in the socket option. Since this breaks the API, it will be a seperate commit which will not be MFCed to stable/8. MFC after: 3 months. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-26T19:55:54.002673Z K 7 svn:log V 125 Make SCTP_MAX_BURST compliant with the latest version of the socket API ID. This is not compatible with the API in stable/8. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-26T20:03:58.146660Z K 7 svn:log V 178 Add macro to test the sv_flags of any process. Change some places to test the flags instead of explicit comparing with address of known sysentvec structures. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:08:53.340366Z K 7 svn:log V 137 MFC 216235,216236: When masking direct and processor devices during an inquiry, properly preserve the upper bits of the first data byte. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:09:08.342006Z K 7 svn:log V 137 MFC 216235,216236: When masking direct and processor devices during an inquiry, properly preserve the upper bits of the first data byte. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:14:03.556794Z K 7 svn:log V 402 MFC 216334: When reopening a stream backed by an open file descriptor, do not close the existing file descriptor. Instead, let dup2() atomically close the old file descriptor when assigning the newly opened file to the same descriptor. This closes a race in a multithreaded application where a concurrent open() could allocate the existing file descriptor in between the calls to close() and dup2(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:14:12.068100Z K 7 svn:log V 402 MFC 216334: When reopening a stream backed by an open file descriptor, do not close the existing file descriptor. Instead, let dup2() atomically close the old file descriptor when assigning the newly opened file to the same descriptor. This closes a race in a multithreaded application where a concurrent open() could allocate the existing file descriptor in between the calls to close() and dup2(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:18:56.070256Z K 7 svn:log V 25 Cleanup mergeinfo a bit. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-26T20:25:40.045650Z K 7 svn:log V 2141 Do not use interrupt taskqueue on controllers with MSI/MSI-X capability. One of reason using interrupt taskqueue in re(4) was to reduce number of TX/RX interrupts under load because re(4) controllers have no good TX/RX interrupt moderation mechanism. Basic TX interrupt moderation is done by hardware for most controllers but RX interrupt moderation through undocumented register showed poor RX performance so it was disabled in r215025. Using taskqueue to handle RX interrupt greatly reduced number of interrupts but re(4) consumed all available CPU cycles to run the taskqueue under high TX/RX network load. This can happen even with RTL810x fast ethernet controller and I believe this is not acceptable for most systems. To mitigate the issue, use one-shot timer register to moderate RX interrupts. The timer register provides programmable one-shot timer and can be used to suppress interrupt generation. The timer runs at 125MHZ on PCIe controllers so the minimum time allowed for the timer is 8ns. Data sheet says the register is 32 bits but experimentation shows only lower 13 bits are valid so maximum time that can be programmed is 65.528us. This yields theoretical maximum number of RX interrupts that could be generated per second is about 15260. Combined with TX completion interrupts re(4) shall generate less than 20k interrupts. This number is still slightly high compared to other intelligent ethernet controllers but system is very responsive even under high network load. Introduce sysctl variable dev.re.%d.int_rx_mod that controls amount of time to delay RX interrupt processing in units of us. Value 0 completely disables RX interrupt moderation. To provide old behavior for controllers that have MSI/MSI-X capability, introduce a new tunable hw.re.intr_filter. If the tunable is set to non-zero value, driver will use interrupt taskqueue. The default value of the tunable is 0. This tunable has no effect on controllers that has no MSI/MSI-X capability or if MSI/MSI-X is explicitly disabled by administrator. While I'm here cleanup interrupt setup/teardown since re(4) uses single MSI/MSI-X message at this moment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:26:46.330525Z K 7 svn:log V 103 MFC 216590: Don't whine about child drivers calling pci_enable_busmaster(). That is perfectly normal. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:26:58.174090Z K 7 svn:log V 103 MFC 216590: Don't whine about child drivers calling pci_enable_busmaster(). That is perfectly normal. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:29:11.271751Z K 7 svn:log V 37 MFC 216621: Fix a typo in a comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:29:28.526072Z K 7 svn:log V 37 MFC 216621: Fix a typo in a comment. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-26T20:34:16.320727Z K 7 svn:log V 71 Set arg before timeout function pointer to avoid a 1 instruction race. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:36:04.263395Z K 7 svn:log V 81 MFC 216486,216764: Use bus_alloc_resource_any() instead of bus_alloc_resource(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:36:20.738925Z K 7 svn:log V 81 MFC 216486,216764: Use bus_alloc_resource_any() instead of bus_alloc_resource(). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-26T21:07:44.421777Z K 7 svn:log V 240 Add Realtek RTL8201E 10/100 PHY found in RTL8105E controller. The exact model name is not clear yet. All previous RTL8201 10/100 PHYs used 0x8201 in MII_PHYIDR2 which in turn makes model number 0x20 but this PHY used new model number 0x08. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-26T21:14:20.035561Z K 7 svn:log V 631 Add support for RTL8105E PCIe Fast Ethernet controller. It seems the controller has a kind of embedded controller/memory and vendor applies a large set of magic code via undocumented PHY registers in device initialization stage. I guess it's a firmware image for the embedded controller in RTL8105E since the code is too big compared to other DSP fixups. However I have no idea what that magic code does and what's purpose of the embedded controller. Fortunately driver seems to still work without loading the firmware. While I'm here change device description of RTL810xE controller. H/W donated by: Realtek Semiconductor Corp. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-26T21:22:06.673635Z K 7 svn:log V 69 Guard against the case where we don't have an extra disk to rebuild. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-26T21:38:17.471756Z K 7 svn:log V 147 * Use 300 ms as the default for RTO_MIN. * Disable burst mitigation by default. * Remove unused constant. Discussed with rrs. MFC after: 3 months. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-26T21:59:59.790404Z K 7 svn:log V 92 Document newly added tunables. hw.re.intr_filter hw.re.msix_disable dev.re.%d.int_rx_mod END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-26T22:48:09.907105Z K 7 svn:log V 407 Remove the CTLFLAG_NOLOCK as it seems to be both unused and unfunctional. Wiring the user buffer has only been done explicitly since r101422. Mark the kern.disks sysctl as MPSAFE since it is and it seems to have been mis-using the NOLOCK flag. Partially break the KPI (but not the KBI) for the sysctl_req 'lock' field since this member should be private and the "REQ_LOCKED" state seems meaningless now. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-27T00:34:12.736867Z K 7 svn:log V 291 Explicitly wire the user buffer rather than doing it implicitly in sbuf_new_for_sysctl(9). This allows using an sbuf with a SYSCTL_OUT drain for extremely large amounts of data where the caller knows that appropriate references are held, and sleeping is not an issue. Inspired by: rwatson END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-27T00:36:54.888575Z K 7 svn:log V 926 MFC ixgbe cummulative patch from stable/8 217712 Fix a couple of incorrect variable names in the sysctl code. 217713 - Panic on the 82598 adapter due to reading FCOE registers that don't exit - Make phy detection dynamic so adapters that support multiple types of media can be properly identified by the interface layer - Performance patch to the flow director (ixgbe_atr) code - Fix intermittent data corruption on the 82599 - Add missing support code for buffer size and descriptors when doing jumbo frames, also add 16K cluster support. - Release RX lock when calling stack, this removes LOR problems. 217795 Remove TX_UNLOCK from the error path in local_timer, there is no LOCK 217796 Add missing case for Direct Attach 82598 in the dynamic phy detection 217797 Performance: don't run flow control shared code if nothing has changed Approved by: re (bz) END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-27T02:00:01.754826Z K 7 svn:log V 258 Checkpoint commit: o Kick of rebuild of the volume correctly. o properly create and clone the master bp for the rebuild o tweak a few logging items o add a few logging items. o tweak timeout goo o add a semi-snarky comment about some semi-lame code I wrote END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-27T02:17:00.581243Z K 7 svn:log V 289 Don't call g_raid_iodone() on the parent bp we use to drive the rebuild process. Since g_raid didn't queue it to us, it freaks when we give it back. Tweak some debug levels, remove some debugs, etc. # now, we rebuild mostly correctly... just don't remove the disk being rebuilt # yet. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-27T02:27:17.261102Z K 7 svn:log V 217 You can now remove the disk that's being rebuilt manually and we don't crash... # However, if we're rebuilding and reboot we notice this on the way up and # try to rebuild, but that goes horribly wrong, so beware... END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-27T02:56:03.935158Z K 7 svn:log V 307 Writing to the analog registers on the AR9220 (Merlin PCI) seems to require a delay. This, along with an initval change which will appear in a subsequent commit, fixes bus panics that I have been seing with the AR9220 on a Routerstation Pro (AR7161 MIPS board.) Obtained from: Linux ath9k PR: kern/154220 END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-27T03:32:16.842131Z K 7 svn:log V 24 Quick fix to a comment. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-27T07:33:17.637489Z K 7 svn:log V 65 Make a note to re-check whether that particular check is needed. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-27T08:02:26.127282Z K 7 svn:log V 214 While inspecting the disklabel check that start offset of partition is within provider's bounds. If not then reject this disklabel. Mark bbarea as NULL to do not free it again in destroy method. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-27T08:42:50.592674Z K 7 svn:log V 43 Add missing getCapability call for AR5416. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T08:47:06.366699Z K 7 svn:log V 150 Fix submodules loading order. This makes taste sequence start only after all parts are in place and removes some dirty hacks initially used for that. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-27T09:01:00.005737Z K 7 svn:log V 57 MFC r217869,217870: Fix .Dd lines in re(4) and nfe(4). k END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-27T09:01:44.006549Z K 7 svn:log V 55 MFC r217869,217870: Fix .Dd lines in re(4) and nfe(4). END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T09:04:20.501287Z K 7 svn:log V 55 Report rebuild/resync progress within consumer status. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-27T09:26:37.012775Z K 7 svn:log V 526 Initialise the chainmask from the EEPROM rather than the hard-coded defaults. The defaults enabled three chains on the AR5416 even if the card has two chains. This restores that and ensures that only the correct TX/RX chainmasks are used. When HT modes are enabled, all TX chains will be correctly enabled. This should now enable analog chain swapping with 2-chain cards. I'm not sure if this is needed for just the AR5416 or whether it also applies to AR9160, AR9280 and AR9287 (later on); I'll have to get clarification. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-27T09:33:30.341551Z K 7 svn:log V 78 MFC r217869,217870: Fix .Dd lines in re(4) and nfe(4). Approved by: re (kib) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-27T09:33:51.727261Z K 7 svn:log V 81 MFC r217869,217870: Fix .Dd lines in re(4) and nfe(4). Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-27T09:52:31.958726Z K 7 svn:log V 331 MFC r217633: In tmpfs_readdir(), normalize handling of the directory entries that either overflow the supplied buffer, or cause uiomove fail. Do not advance cached de when directory entry was not copied out. Do not return EOF when no entries could be copied due to first entry too large for supplied buffer, signal EINVAL instead. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-01-27T12:01:24.102406Z K 7 svn:log V 46 Deadlock scenario based on kern/154228 added. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T13:16:08.089403Z K 7 svn:log V 4 IFC END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T13:37:45.363089Z K 7 svn:log V 213 MFC r215449: Some VIA SATA controllers provide access to non-standard SATA registers via PCI config space. Use them to implement hot-plug and link speed reporting. Tested on ASRock PV530 board with VX900 chipset. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T13:38:52.238255Z K 7 svn:log V 71 MFC r215451: Record that there is no devices if SATA reset found none. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T13:40:03.437517Z K 7 svn:log V 149 MFC r215936: Do hard reset before soft reset for SATA channels. Soft reset reported to be not enough to restore device readiness in some situations. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T13:43:33.588604Z K 7 svn:log V 29 MFC r215725: Fix small typo. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T13:52:23.420967Z K 7 svn:log V 72 MFC r208441: Report relative card address to NewBus as location string. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T13:53:21.811395Z K 7 svn:log V 160 MFC r217509: Fix 32bit bit fields handling. This fixes card serial number fetching. It was just a cosmetic issue, because that number is only reported in logs. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-27T14:16:12.187496Z K 7 svn:log V 175 Fix n32 compile. These changes are needed to fix n32 compile after the recent change of mips n32 MACHINE_ARCH to mipsn32eb/mipsn32el. Reviewed by: imp, bz (earlier version) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T14:46:01.365172Z K 7 svn:log V 4 IFS END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-27T14:49:22.056262Z K 7 svn:log V 349 Implement sf_buf using direct map (XKPHYS) in MIPS n64. - Provide trivial implementation of sf_buf_alloc(), sf_buf_free(), sf_buf_kva() and sf_buf_page() using direct map for n64. - uio_machdep.c - use macros so that the direct map will be used in case of n64. Reviewed by: imp (earlier version) Obtained from: jmallett (user/jmallett/octeon) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T15:27:07.270507Z K 7 svn:log V 4 MFS END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-27T16:10:25.207675Z K 7 svn:log V 355 Add support for BIO_DELETE on swap-backed md(4). In the case of BIO_DELETE covering the whole page, free the page. Otherwise, clear the region and mark it clean. Not marking the page dirty could reinstantiate cleared data, but it is allowed by BIO_DELETE specification and saves unneeded write to swap. Reviewed by: alc Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-27T16:47:33.035212Z K 7 svn:log V 36 Resync ATA and CAM stuff with HEAD. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T18:31:07.134408Z K 7 svn:log V 71 MFC r216362: Remove unecessary and clearly wrong usage of atomic(9). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T18:34:05.859586Z K 7 svn:log V 71 MFC r216362: Remove unecessary and clearly wrong usage of atomic(9). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T18:37:10.585938Z K 7 svn:log V 71 MFC r216438: Remove unecessary and clearly wrong usage of atomic(9). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T18:38:48.085174Z K 7 svn:log V 71 MFC r216438: Remove unecessary and clearly wrong usage of atomic(9). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T18:44:05.035733Z K 7 svn:log V 408 MFC r216546,216548-216550: r216546: Consistently put a tab character between #define and the macro name. r216548: Fix a regression introduced in r213893. FPGA version requires PHY probing so allow PHY probing on all possible addresses. r216549: Make sure whether driver allocated resource before releasing it. r216550: Use system defined PCIR_EXPRESS_DEVICE_CTL instead of using magic number. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T18:46:26.107860Z K 7 svn:log V 408 MFC r216546,216548-216550: r216546: Consistently put a tab character between #define and the macro name. r216548: Fix a regression introduced in r213893. FPGA version requires PHY probing so allow PHY probing on all possible addresses. r216549: Make sure whether driver allocated resource before releasing it. r216550: Use system defined PCIR_EXPRESS_DEVICE_CTL instead of using magic number. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T19:02:28.068707Z K 7 svn:log V 810 MFC r216551: Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet controller with Card Read Host Controller. These controllers are multi-function devices and have the same ethernet core of JMC250/JMC260. Starting from REVFM 5(chip full mask revision) controllers have the following features. o eFuse support o PCD(Packet Completion Deferring) o More advanced PHY power saving Because these controllers started to use eFuse, station address modified by driver is permanent as if it was written to EEPROM. If you have to change station address please save your controller default address to safe place before reprogramming it. There is no way to restore factory default station address. Many thanks to JMicron for continuing to support FreeBSD. HW donated by: JMicron END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T19:04:17.900308Z K 7 svn:log V 810 MFC r216551: Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet controller with Card Read Host Controller. These controllers are multi-function devices and have the same ethernet core of JMC250/JMC260. Starting from REVFM 5(chip full mask revision) controllers have the following features. o eFuse support o PCD(Packet Completion Deferring) o More advanced PHY power saving Because these controllers started to use eFuse, station address modified by driver is permanent as if it was written to EEPROM. If you have to change station address please save your controller default address to safe place before reprogramming it. There is no way to restore factory default station address. Many thanks to JMicron for continuing to support FreeBSD. HW donated by: JMicron END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T19:05:43.067237Z K 7 svn:log V 47 MFC r216552: Document JMC251/JMC261 support. END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-01-27T19:08:01.649150Z K 7 svn:log V 374 MFC r178987 Fix pstat behaviour when using coredumps. The reference to tp was incorrect and should have been poining to &tty, tp is a virtual address from the coredump, while we should obtain the address through the tty struct. Approved by: imp (mentor, implicit trivial changes) MFC after: 1 week Submitted by: Ed Schouten (ed at 80836 dot nl) PR: 138131 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-27T19:10:24.283858Z K 7 svn:log V 92 Remove __dead2 from pjdlog_verify() prototype, it does return sometimes. MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-01-27T19:11:11.108326Z K 7 svn:log V 220 MFC r198787 Document the WWWSUPFILE variable. PR: 137723 Submitted by: Sofian Brabez Approved by: imp (mentor, implicit) MFC after: 3 days Facilitated by: Snow B.V. PR: 137723 END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-01-27T19:12:04.650402Z K 7 svn:log V 218 MFC r198787 Document the WWWSUPFILE variable. PR: 137723 Submitted by: Sofian Brabez Approved by: imp (mentor, implicit) MFC after: 3 days Facilitated by: Snow B.V. PR: 137723 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-27T19:12:44.354745Z K 7 svn:log V 126 - Remove obvious NOTREACHED comment after abort() call. - Remove redundant newline at the end of the file. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-27T19:15:25.151600Z K 7 svn:log V 166 Add LOG_NDELAY flag to openlog(3) - we want descriptor to be immediately open so there are no surprises once we start chrooting or using capsicum. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T19:17:31.775128Z K 7 svn:log V 270 MFC r183646,216552: r183646: Add a HARDWARE section. It doesn't contain any information not already in the DESCRIPTION section, but this allows for the manual page to be used in the automatic hardware notes generation. r216552: Document JMC251/JMC261 support. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-27T19:18:42.716935Z K 7 svn:log V 51 Use my copyright for 2011 work. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-27T19:24:07.114934Z K 7 svn:log V 108 Add functions to initialize/finalize pjdlog. This allows to open/close log file at will. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-27T19:28:29.987328Z K 7 svn:log V 329 Extend pjdlog_verify() to support the following additional macros: PJDLOG_RVERIFY() - always check expression and on false log the given message and exit. PJDLOG_RASSERT() - check expression when NDEBUG is not defined and on false log given message and exit. PJDLOG_ABORT() - log the given message and exit. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-27T19:31:35.283734Z K 7 svn:log V 84 Close the control socket before exiting, so it will be unlinked. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T19:32:53.743934Z K 7 svn:log V 180 MFC r179724,179852: r179724: Add man page for ixgbe driver r179852: Bring this up to date with regard to our other section 4 and Intel manpages, also fixes a few mdoc bugs. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-27T19:33:57.352225Z K 7 svn:log V 119 Remember created control connection so on fork(2) we can close it in child. Found with: procstat(1) MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-01-27T19:37:01.947886Z K 7 svn:log V 417 MFC r194582 Add support for the Myson Heden 8813. Note that I also added the usbdev to the list, because the 8813 version is not yet known there. I might have twisted the sorting there but because 8813 comes before 8818, I added it before that (with _8813 to differentiate) the item. PR: 135628 Submitted by: Yoshikazu GOTO Approved by: imp (mentor, implicit) PR: 135628 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T19:38:03.169539Z K 7 svn:log V 53 MFC r182771: Hook up ixgbe(4) to the build. D'oh! END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-27T19:56:15.702318Z K 7 svn:log V 445 Improvements: (1) Move bio into trso so we don't have to allocate/free it all the time. Saves on error recovery hassles if we can't allocate a bio. (2) Interlock while we're doing things, so we don't duplicate each slab of work. (3) Update metadata after each bundle of slabs. (mav: please comment on frequency) (4) Transition state to active when we successfully # this makes things a little more robust, but more work there is needed END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T20:06:24.100162Z K 7 svn:log V 55 Backout r216577. ixgb(4) does not support altq(4) yet. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-27T20:08:14.808962Z K 7 svn:log V 38 ixgb(4) does not support altq(4) yet. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-27T20:09:20.794767Z K 7 svn:log V 287 MFC 217076: - Restore dropping the priority of syncer down to PPAUSE when it is idle. This was lost when it was converted to using a condition variable instead of lbolt. - Drop the priority of flowtable down to PPAUSE when it is idle as well since it is a similar background task. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-27T20:12:18.109886Z K 7 svn:log V 178 MFC 217077: Only change the priority of timeshare threads to PRI_MAX_TIMESHARE when yield() is called. Specifically, leave the priority of real time and idle threads unchanged. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-27T20:12:35.515886Z K 7 svn:log V 178 MFC 217077: Only change the priority of timeshare threads to PRI_MAX_TIMESHARE when yield() is called. Specifically, leave the priority of real time and idle threads unchanged. END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-01-27T20:39:19.950441Z K 7 svn:log V 288 MFC r194558 Add architecture support for TinyBSD PR: 135301 Submitted by: Olivier Cochard-Labbe Reviewed by: Jean Milanez Melo (maintainer) Approved by: imp (mentor, implicit) MFC after: 1 week PR: 135301 END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-01-27T20:50:03.716439Z K 7 svn:log V 191 MFC r186424 Add quirk for the Storcase InfoStation 12bay SATA to FC SAN. PR: 129858 Submitted by: Nick Triantos MFC after: 1 week PR: 129858 END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-01-27T20:53:03.267989Z K 7 svn:log V 226 MFC r183110 Document the -F 's return statement. If the application returns succesfully the return code is 7 (which means the filesystem is clean). PR: 127432 Submitted by: edwin MFC after: 3 days PR: 127432 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-27T21:16:23.952866Z K 7 svn:log V 1026 MFC 217078,217079: Various priority fixes for creating new threads: - Move sched_fork() later in fork() after the various sections of the new thread and proc have been copied and zeroed from the old thread and proc. Otherwise attempts to modify thread or process data in sched_fork() could be undone. - Don't copy td_{base,}_user_pri from the old thread to the new thread in sched_fork_thread() in ULE. This is already done courtesy the bcopy() of the thread copy region. - Always initialize the real priority (td_priority) of new threads to the new thread's base priority (td_base_pri) to avoid bogusly inheriting a borrowed priority from the parent thread. - Properly initialize the base priority (td_base_pri) of thread0 to PVM to match the desired priority in td_priority. Otherwise the first time thread0 used a borrowed priority it would drop down to PUSER instead of PVM. - Explicitly initialize the starting priority of new kprocs to PVM to avoid inheriting some random priority from thread0. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-27T21:21:09.032427Z K 7 svn:log V 1026 MFC 217078,217079: Various priority fixes for creating new threads: - Move sched_fork() later in fork() after the various sections of the new thread and proc have been copied and zeroed from the old thread and proc. Otherwise attempts to modify thread or process data in sched_fork() could be undone. - Don't copy td_{base,}_user_pri from the old thread to the new thread in sched_fork_thread() in ULE. This is already done courtesy the bcopy() of the thread copy region. - Always initialize the real priority (td_priority) of new threads to the new thread's base priority (td_base_pri) to avoid bogusly inheriting a borrowed priority from the parent thread. - Properly initialize the base priority (td_base_pri) of thread0 to PVM to match the desired priority in td_priority. Otherwise the first time thread0 used a borrowed priority it would drop down to PUSER instead of PVM. - Explicitly initialize the starting priority of new kprocs to PVM to avoid inheriting some random priority from thread0. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-27T21:27:49.306940Z K 7 svn:log V 45 Cleanup mergeinfo from some earlier changes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-27T21:32:50.118093Z K 7 svn:log V 141 MFC 217237,217291: - Fix two harmless off-by-one errors. - Always use PRI_BASE() when checking the base type of a thread's priority class. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-27T21:33:06.242519Z K 7 svn:log V 141 MFC 217237,217291: - Fix two harmless off-by-one errors. - Always use PRI_BASE() when checking the base type of a thread's priority class. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-27T21:39:03.587253Z K 7 svn:log V 54 MFC r217872: Unbreak .Dd line. Approved by: re (kib) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-27T21:39:45.384451Z K 7 svn:log V 57 MFC r217872: Unbreak .Dd line. Approved by: re (kib) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-27T21:40:31.908773Z K 7 svn:log V 57 MFC r217872: Unbreak .Dd line. Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-27T21:41:25.888763Z K 7 svn:log V 62 Update every 100 recovery cycles. We update approx 1/gb now. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-27T21:41:27.534946Z K 7 svn:log V 57 MFC r217872: Unbreak .Dd line. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-27T21:45:38.650498Z K 7 svn:log V 519 linux_sigreturn() loads the struct trapframe from l_sigcontext members, thus making a signed extension of 32 bit register context. If the register is not touched in usermode between return from signal and next syscall entry, the sign-extension part of 64bit register is not cleared, causing linux32_fetch_syscall_args() to read wrong values. Use unsigned type for the registers in the linux sigcontext. Reported by: Jacob Frelinger , arundel In collaboration with: dchagin MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-27T23:04:16.025898Z K 7 svn:log V 46 Bzero the bio we setup for each slab of work. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-27T23:05:29.974342Z K 7 svn:log V 242 Merge r217061, r217274, r217275 from head: - Support the Uniform Industrial Corp (UIC) MSR206 Magnetic Card Reader. - Improve or fix some comments. - Update the uplcom(4) man page to reflect the devices currently supported by uplcom(4). END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-27T23:07:03.865190Z K 7 svn:log V 204 Merge r217264 from head: Remove a bullet point that appears to have been accidentally inserted twice. It has also been included within the feature lists to which it is relevant. Submitted by: tobez END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-27T23:07:23.125537Z K 7 svn:log V 195 Merge r217264 from head: Remove a bullet point that appears to have been accidentally inserted twice. It has also been included within the feature lists to which it is relevant. PR: tobez END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-27T23:08:20.623632Z K 7 svn:log V 115 sh: Add test for EXIT trap in command substitution. This is not really realistic but is an opposition to $(trap). END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-27T23:16:41.482191Z K 7 svn:log V 243 Merge r217200 from head: Sync the list of devices supported by uslcom(4) with Linux, bringing in all new devices added between our r211022 and their git revision 93ad03d60b5b18897030038234aa2ebae8234748 Also correct a Foxconn entry. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-27T23:25:13.374717Z K 7 svn:log V 253 Keep track of the state we're in wrt rebuilding. When we have a disk exit the system during a rebuild, don't try to start another rebuild on it (crazy, eh?). This fixes the crash that we were seeing on power off of a disk, as far as I'm able to test. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-27T23:28:00.120522Z K 7 svn:log V 42 For now, bump this message down a notch.. END