ƒ³M220806 175 366 404 257 229 393 244 173 247 148 237 221 260 209 590 143 590 156 494 494 592 592 227 227 277 118 471 247 194 191 207 240 433 317 147 186 595 160 144 177 261 221 167 236 258 509 152 172 262 185 173 158 238 253 528 399 784 237 323 173 695 507 225 656 333 181 279 527 388 137 228 321 395 287 521 446 530 260 184 184 636 242 296 858 137 213 196 217 159 202 241 139 175 541 128 253 196 214 559 204 349 417 279 401 541 173 326 316 289 184 138 146 240 146 269 341 215 531 341 155 445 585 374 506 649 143 789 507 436 436 230 649 520 147 147 147 147 288 148 232 135 245 223 475 147 141 147 161 161 178 206 166 150 625 629 154 154 445 157 258 189 1670 500 274 256 228 243 145 123 221 291 124 436 1015 180 493 K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-04-18T23:15:29.813517Z K 7 svn:log V 269 Only wait for the IP to appear on the interface if natd is running in the background. Suggested by: Garrett Cooper Use EAGAIN instead of magic value of -2 to report this condition from the SetAliasAddressFromIfName routine. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-18T23:35:16.479324Z K 7 svn:log V 306 Revert r220761 since, as kib@ pointed out, the case of adding the check to nfsrpc_close() isn't useful. Also, the check in nfscl_getcl() must be more involved, since it needs to check before and after the acquisition of the refcnt on nfsc_lock, while the mutex that protects the client state data is held. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-04-18T23:45:50.574748Z K 7 svn:log V 160 Furthermore condition IP waiting behaviour also on -dynamic flag. This should preserve POLA in all other cases (foreground || non-dynamic). MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-19T00:47:26.950198Z K 7 svn:log V 131 Add stablerestart(5) to the See Also list for nfsd(8). This is a content change. Suggested by: Jeremy Chadwick MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-19T01:09:51.413580Z K 7 svn:log V 295 Fix up handling of the nfsmount structure in read and write within the experimental NFS client. Mostly add mutex locking and use the same rsize, wsize during the operation by keeping a local copy of it. This is another change that brings it closer to the regular NFS client. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-19T05:09:17.045070Z K 7 svn:log V 152 MFC r220568: Restore previous behaviour - always match rule when we doing tagging, even when tag is already exists. Reported by: Vadim Goncharov END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-19T05:59:37.323881Z K 7 svn:log V 82 Use M_WAITOK instead M_WAIT for malloc. Remove unneded checks. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T07:23:16.232094Z K 7 svn:log V 155 MFC r219579: Merge the two identical implementations for local port selections from in_pcbbind_setup() and in6_pcbsetport() in a single in_pcb_lport(). END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-04-19T07:30:22.607427Z K 7 svn:log V 56 Fix make buildworld -DMODULES_WITH_WORLD after r220454. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-04-19T07:36:53.103927Z K 7 svn:log V 145 MFC r220595: - Fixed nfs_printf() to use vprintf(). - Fixed vfs.nfs.acdebug sysctl's description. - Fixed panic when compiled with NFS_ACDEBUG. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-04-19T07:44:12.493332Z K 7 svn:log V 129 MFC r220614: Fixed firmware revision decoding: - the major is 7-bit binary encoded - the minor is BCD encoded PR: kern/151586 END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T07:45:54.975555Z K 7 svn:log V 168 MFC r219579: Merge the two (logically) identical implementations for local port selections from in_pcbbind_setup() and in6_pcbsetport() in a single in_pcb_lport(). END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-04-19T07:49:58.216049Z K 7 svn:log V 111 Add leading zeros when printing the physical memory chunks on __powerpc64__. Approved by: nwhitehorn (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T07:53:04.668633Z K 7 svn:log V 498 MFC r219779: Properly check for an IPv4 socket after r219579. In some cases as udp6_connect() without an earlier bind(2) to an address, v4-mapped sockets 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) END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-04-19T07:54:21.256676Z K 7 svn:log V 52 MFC r220596: Show client's access cache statistics. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T08:00:44.518120Z K 7 svn:log V 498 MFC r219779: Properly check for an IPv4 socket after r219579. In some cases as udp6_connect() without an earlier bind(2) to an address, v4-mapped sockets 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) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T08:01:17.912264Z K 7 svn:log V 64 Properly handle memory allocation errors during error recovery. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T08:17:20.652363Z K 7 svn:log V 402 MFC r220462: After r219579 and r219779 unbreak v4-mapped v6 sockets for UDP some more. Similar to what we do for TCP check for v4-mapped addresses and then handle them or the normal v6 address case. For either set inp_vflags before calling into the pcb connect function so that we have an unambiguous view in case we need to set the local address or port. Looked at: tuexen (as part of more) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T08:17:36.790693Z K 7 svn:log V 402 MFC r220462: After r219579 and r219779 unbreak v4-mapped v6 sockets for UDP some more. Similar to what we do for TCP check for v4-mapped addresses and then handle them or the normal v6 address case. For either set inp_vflags before calling into the pcb connect function so that we have an unambiguous view in case we need to set the local address or port. Looked at: tuexen (as part of more) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T08:29:28.106824Z K 7 svn:log V 500 MFC r220463: Remove a check in udp6_send() that prevented v4-mapped v6 addresses from working. We store v4 and v6 addresses as a union but for v4-mapped addresses only store the 32bits w/o the ::ffff: word. That failed the check as for example 127.0.0.1 would be ::7f00:1 rather than ::ffff:7f00:1 and the IN6_IS_ADDR_V4MAPPED() never worked here. Given we can hardly get here with an unbound local address or invalid inp_vflags remove the check. Reported by: tuexen Reviewed by: tuexen END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T08:35:07.071950Z K 7 svn:log V 500 MFC r220463: Remove a check in udp6_send() that prevented v4-mapped v6 addresses from working. We store v4 and v6 addresses as a union but for v4-mapped addresses only store the 32bits w/o the ::ffff: word. That failed the check as for example 127.0.0.1 would be ::7f00:1 rather than ::ffff:7f00:1 and the IN6_IS_ADDR_V4MAPPED() never worked here. Given we can hardly get here with an unbound local address or invalid inp_vflags remove the check. Reported by: tuexen Reviewed by: tuexen END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T08:56:09.687634Z K 7 svn:log V 135 MFC r220619: The mbuf_frag_size always was and is file local and not queried from base user space tools via kvm. Mark it static. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-19T08:56:26.277662Z K 7 svn:log V 135 MFC r220619: The mbuf_frag_size always was and is file local and not queried from base user space tools via kvm. Mark it static. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T10:51:19.861348Z K 7 svn:log V 184 According to specification. device should respond to COMRESET with COMINIT in no more then 10ms. If we detected no device presence within that time, there is no reason to wait longer. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T10:57:40.258987Z K 7 svn:log V 26 Fix some English grammar. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-19T11:29:09.398486Z K 7 svn:log V 379 ipdn_bound_var() functions is designed to bound a variable between specified minimum and maximum. In case when specified default value is out of bounds it does not work as expected and does not limit variable. Check that default value is in range and limit it if needed. Also bump max_hash_size value to 65536 to correspond with manual page. PR: kern/152887 MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-19T11:33:39.954297Z K 7 svn:log V 155 Add sysctl handlers for net.inet.ip.dummynet.hash_size, .pipe_byte_limit and .pipe_slot_limit oids to prevent to set incorrect values. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-19T13:19:13.305574Z K 7 svn:log V 97 Revert r220809 since it put the entry in the wrong place in the list and didn't change the date. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-04-19T13:54:51.212752Z K 7 svn:log V 91 Fix mirror selection, which was broken by stderr redirection. Reported by: Garrett Cooper END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-19T15:03:12.029158Z K 7 svn:log V 110 Rewrite NAT configuration parser, so that memory allocation size is calculated dynamically. PR: kern/143653 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-19T15:05:12.960021Z K 7 svn:log V 143 Call init_param1() much earlier, so that msgbufsize is non-zero when we want to map and use the msgbuf. Reviewed by: cognet MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-19T15:06:33.994246Z K 7 svn:log V 336 - Rewrite functions that copyin/out NAT configuration, so that they calculate required memory size dynamically. - Fix races on chain re-lock. - Introduce new field to ip_fw_chain - generation count. Now utilized only in the NAT configuration, but can be utilized wider in ipfw. - Get rid of NAT_BUF_LEN in ip_fw.h PR: kern/143653 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:10:08.251999Z K 7 svn:log V 224 MFC r214989: When requesting sense data for SIM not doing it automatically (such as ATAPI or USB), request only as much data as requested by consumer. On the way back -- report how much sense data we have actually received. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-19T16:20:55.505134Z K 7 svn:log V 54 Add suspend/resume event handlers for apm(4) as well. END K 10 svn:author V 4 emax K 8 svn:date V 27 2011-04-19T16:21:57.278577Z K 7 svn:log V 93 Improve the man page and l2control's usage() a bit. Submitted by: arundel MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:23:07.751080Z K 7 svn:log V 502 MFC r220412, r220414, r220454, r220618, r220814: - Make ada(4) driver to control device write cache, same as ata(4) does. Add kern.cam.ada.write_cache sysctl/tunable to control it alike hw.ata.wc. - Add kern.cam.ada.X.write_cache tunables/sysctls to control write caching on per-device basis. - While adding support for per-device sysctls, merge from graid branch support for ADA_TEST_FAILURE kernel option, which opens few more sysctl, allowing to simulate read and write errors for testing purposes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:26:55.630827Z K 7 svn:log V 68 MFC r220616: Properly log few more ATA commands used by the kernel. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-19T16:29:56.087079Z K 7 svn:log V 48 MFC r220617: Remove vestiges of disklabel(5). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-19T16:30:17.134261Z K 7 svn:log V 84 Do not invoke resume event handlers if suspend was successful. Pointy hat to: jkim END K 10 svn:author V 4 emax K 8 svn:date V 27 2011-04-19T16:33:08.064747Z K 7 svn:log V 167 MFC r220116 Do not use word 'flood' as it not entirely correct. Use better 'no delay' description. While here, replace atoi(3) with strtol(3). Submitted by: arundel END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-04-19T16:36:24.966307Z K 7 svn:log V 128 Allow VOP_ALLOCATE to be iterative, and have kern_posix_fallocate(9) drive looping and potentially yielding. Requested by: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:39:03.146091Z K 7 svn:log V 75 MFC r211905 (by jfv): Add support for Intel Cougar Point SMBus controller. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:40:58.060824Z K 7 svn:log V 143 MFC r218140 (jfv): Support for the new DH89xxCC PCH chipset including: - SATA controller - Watchdog timer - SMBus controller END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:42:07.560451Z K 7 svn:log V 165 MFC r218149 (by jfv): Support for the new Patsburg PCH chipset: - SMBus Controller - SATA Controller - HD Audio Controller - Watchdog Controller END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:43:55.101169Z K 7 svn:log V 416 MFC r218596, r218605: Disable NCQ for multiport Marvell 88SX61XX SATA controllers. Simultaneous active I/O to several disks (copying large file on ZFS) causes timeout after just a few seconds of run. Single port 88SX6111 seems like not affected. Skip reading transferred bytes count for these controllers. It works for 88SX6111, but 88SX6145 always returns zero there. Haven't tested others, but better to be safe. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:45:56.760082Z K 7 svn:log V 60 MFC r219341: Add some more IDs of HighPoint RocketRAID 64x. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:46:51.603223Z K 7 svn:log V 80 MFC r220413: Add one more ID for Marvell 88SE912x chip found on Asus U3S6 card. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T16:51:17.186137Z K 7 svn:log V 169 MFC r217877, r217883: 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 3 mav K 8 svn:date V 27 2011-04-19T16:52:36.063679Z K 7 svn:log V 93 MFC r220449: Add reference to led(4), supported now. Add some details about supported chips. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T17:01:05.716864Z K 7 svn:log V 81 MFC r220563: Implement automatic SCSI sense fetching for ata(4) in ATA_CAM mode. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T17:04:58.552680Z K 7 svn:log V 66 MFC r220565: Implement automatic SCSI sense fetching for ahci(4). END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T17:06:43.726231Z K 7 svn:log V 145 MFC r220566: Implement automatic SCSI sense fetching for siis(4). Fix device freeze leak on recovery request (READ LOG, REQUEST SENSE) failure. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T17:08:29.922150Z K 7 svn:log V 160 MFC r220569: Implement automatic SCSI sense fetching for mvs(4). Make few improvements/changes to ATAPI PIO support to pass most of scgcheck (cdrtools) tests. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T17:13:14.556476Z K 7 svn:log V 435 MFC r220576: Refactor hard-reset implementation in ahci(4). Instead of spinning in a tight loop for up to 15 seconds, polling for device readiness while it spins up, return reset completion just after PHY reports "connect well" or 100ms connection timeout. If device was found, use callout for checking device readiness with 100ms period up to full 31 second timeout. This fixes system freeze for 5-10 seconds on drives hot plug-in. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T17:14:57.888082Z K 7 svn:log V 306 MFC r220591: As soon as siis_reset() doesn't waits for device readiness, but only for controller port readiness (that should set just after PHY ready signal), reduce wait time from 10s to 1s before trying more aggressive reset method. This should improve system responsibility in some failure conditions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T17:41:17.507920Z K 7 svn:log V 691 MFC r220602: Improve SATA Asynchronous Notification feature support in CAM: - make SATA SIMs announce capabilities to handle SDB with Notification bit; - make PMP driver honor this SIMs capability; - make SATA XPT to negotiate and enable this feature for ATAPI devices. This feature allows supporting SATA ATAPI devices to inform system about some events happened, that may require attention. In my case this allows LG GH22LS50 SATA DVR-RW drive to report tray open/close events. Events reported to CAM in form of AC_SCSI_AEN async. Further they could be used as a hints for checking device status and reporting media change to upper layers, for example, via spoiling mechanism of GEOM. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-19T17:49:59.342813Z K 7 svn:log V 141 Remove a comment which is no longer true since r213878, apart from this driver not using mii(4) in the first place. Reviewed by: yongari END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-04-19T18:09:21.202309Z K 7 svn:log V 230 Remove support for the Intel C Compiler from the build infrastructure. This support has not worked for several years, and is not likely to work again, unless Intel decides to release a native FreeBSD version of their compiler. ;) END K 10 svn:author V 4 emax K 8 svn:date V 27 2011-04-19T18:18:02.932967Z K 7 svn:log V 80 MFC r197083 Get those pesky RFCOMM RPM data bits right. This is likely a noop. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-19T19:26:27.702822Z K 7 svn:log V 602 Scenario: - We have two nodes connected and synchronized (local counters on both sides are 0). - We take secondary down and recreate it. - Primary connects to it and starts synchronization (but local counters are still 0). - We switch the roles. - Synchronization restarts but data is synchronized now from new primary (because local counters are 0) that doesn't have new data yet. This fix this issue we bump local counter on primary when we discover that connected secondary was recreated and has no data yet. Reported by: trociny Discussed with: trociny Tested by: trociny MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-04-19T19:47:41.670423Z K 7 svn:log V 409 Pull some features out of the firmware: - If a ENH_SENS TLV section exit the firmware is capable of doing enhanced sensitivity calibration. - Newer devices/firmwares have more calibration commands therefore hardcoding the noise gain/reset commands no longer works. It is supposed to use the next index after the newest calibration type support. Read the command index of the TLV section if available. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-04-19T19:51:35.653801Z K 7 svn:log V 127 Enable DC calibration for all 6000 series devices, except those with an internal PA. Override the chainmask also for the 6050. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T20:38:50.196546Z K 7 svn:log V 563 MFC r220657: Some changes around hot-plug and interface power-management: - use ATA_SE_EXCHANGED (SError.DIAG.X) bit to detect hot-plug events when power-management enabled and ATA_SE_PHY_CHANGED (SError.DIAG.N) can't be trusted; - on controllers supporting staggered spin-up (SS) put unused channels into Listen state instead of Off. It should still save some power, but allow plug-in events to be detected; - on controllers supporting cold presence detection (CPD), when power management enabled, use CPD events to detect hot-plug in addition to PHY events. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T20:40:00.385188Z K 7 svn:log V 240 MFC r220777: - Tune different wait loops to cut some more milliseconds from reset time. - Do not call ahci_start() before device signature received. It is required by the specification and caused non-fatal reset timeouts on AMD chipsets. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T20:41:00.554678Z K 7 svn:log V 89 MFC r220789: Handle ready timeout during polled operation same as done in mvs(4) before. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-04-19T20:44:43.767768Z K 7 svn:log V 186 Correctly output the entire array for hw.acpi.thermal._ACx. Reported by: Taku YAMAMOTO < taku AT tackymt DOT homeip DOT net > Tested by: Nick Ulen < uncle AT wolfman DOT devio DOT us > END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-19T20:44:44.039056Z K 7 svn:log V 434 MFC r220615: Refactor hard-reset implementation in mvs(4). Instead of spinning in a tight loop for up to 15 seconds, polling for device readiness while it spins up, return reset completion just after PHY reports "connect well" or 100ms connection timeout. If device was found, use callout for checking device readiness with 100ms period up to full 31 second timeout. This fixes system freeze for 5-10 seconds on drives hot plug-in. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-19T22:08:28.703838Z K 7 svn:log V 296 - Move all Ethernet specific items from sge_eq to sge_txq. sge_eq is now a suitable base for all kinds of egress queues. - Add control queues (sge_ctrlq) and allocate one of these per hardware channel. They can be used to program filters and steer traffic (and more). MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-19T22:14:18.338513Z K 7 svn:log V 46 Use Toeplitz hash for RSS. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-19T23:33:51.628926Z K 7 svn:log V 130 Add stablerestart(5) to the See Also list for nfsd.8. This is a content change. Suggested by: Jeremy Chadwick MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-20T00:21:51.938315Z K 7 svn:log V 223 Modify the offset + size checks for read and write in the experimental NFS client to take care of overflows. Thanks go to dillon at apollo.backplane.com for providing the snippet of code that does this. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-20T01:15:22.005539Z K 7 svn:log V 297 Modify the offset + size checks for read and write in the experimental NFS client to take care of overflows for the calls above the buffer cache layer in a manner similar to r220876. Thanks go to dillon at apollo.backplane.com for providing the snippet of code that does this. MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-20T07:55:33.272900Z K 7 svn:log V 195 MFp4 CH=191466: Move fw_one_pass to where it belongs: it is a property of ipfw, not of ip_input. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-20T08:00:29.813832Z K 7 svn:log V 429 MFp4 CH=191470: Move the ipport_tick_callout and related functions from ip_input.c to in_pcb.c. The random source port allocation code has been merged and is now local to in_pcb.c only. Use a SYSINIT to get the callout started and no longer depend on initialization from the inet code, which would not work in an IPv6 only setup. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-20T08:03:22.260033Z K 7 svn:log V 354 MFp4 CH=191760: When compiling out INET we still need the initialization routines as well as the tuning and montoring sysctls shared with IPv6. Move the two send/recvspace variables up from the middle of the file to ease compiling out the INET only code. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-20T08:05:23.784694Z K 7 svn:log V 438 MFp4 CH=191760,191770: Not compiling in and not initializing from inetsw from in_proto.c for IPv6 only, we need to initialize upper layer protocols from inet6sw. Make sure to not initialize them twice in a Dual-Stack environment but only conditionally on no INET as we have done for TCP for a long time. Otherwise we would leak resources. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-04-20T08:38:25.407999Z K 7 svn:log V 168 Don't spam syslog with "inet_ntop(): Address family not supported by protocol family" when processing requests received from the UNIX domain socket. MFC after: 3 days END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-20T11:15:17.648613Z K 7 svn:log V 88 MFC r220594: Remove the now defunct kern.ipc.nmbufs tunable. PR: kern/132497 (part) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-20T11:17:21.276238Z K 7 svn:log V 88 MFC r220594: Remove the now defunct kern.ipc.nmbufs tunable. PR: kern/132497 (part) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-20T12:58:30.444402Z K 7 svn:log V 544 Compile in in_cksum* implementations for both IPv6 and IPv6. While in_pseudo() etc. is often used in offloading feature support, in_cksum() is mostly used to fix some broken hardware. Keeping both around for the moment allows us to compile NIC drivers even in an IPv6 only environment without the need to mangle them with #ifdef INETs in a way they are not prepared for. This will leave some dead code paths that will not be exercised for IPv6. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-20T13:27:50.961673Z K 7 svn:log V 149 Add basic support for DMA-capable ATA disks on DMA-incapable controller. This is really rare situation these days, but still may happen in embedded. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-20T14:16:22.709635Z K 7 svn:log V 203 When calling XPT_REL_SIMQ to ajust number of openings, do not try to really release device. We haven't frozen the device before and attempt to release it will at least cause warning message from kernel. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2011-04-20T14:19:34.775564Z K 7 svn:log V 762 r179417 introduced a bug into pthread_once(). Previously pthread_once() used a global pthread_mutex_t for synchronization. r179417 replaced that with an implementation that directly used atomic instructions and thr_* syscalls to synchronize callers to pthread_once. However, calling pthread_mutex_lock on the global mutex implicitly ensured that _thr_check_init() had been called but with r179417 this was no longer guaranteed. This meant that if you were unlucky enough to have your first call into libthr be a call to pthread_once(), you would segfault when trying to access the pointer returned by _get_curthread(). The fix is to explicitly call _thr_check_init() from pthread_once(). Reviewed by: davidxu Approved by: emaste (mentor) MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-20T16:36:59.066205Z K 7 svn:log V 45 Timeout must be positive. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-20T16:38:05.163893Z K 7 svn:log V 120 If we act in different role than requested by the remote node, log it as a warning and not an error. MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-04-20T16:59:27.468863Z K 7 svn:log V 99 Add basic support for advanced bluetooth coexistence required for 6005 gen2b (1030/6030) adapters. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-04-20T17:32:20.700397Z K 7 svn:log V 119 Update iwn(4) firmware blobs: - bump iwn1000fw to 39.31.5.1 - bump iwn5000fw to 8.83.5.1 - bump iwn6050fw to 41.28.5.1 END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-04-20T17:34:09.468467Z K 7 svn:log V 62 Add firmware images for the 6000 series g2a and g2b adapters. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-04-20T17:43:20.893584Z K 7 svn:log V 104 The 6000 series gen2 adapters have 2 firmware images, one with advanced btcoex support and one without. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-04-20T17:49:05.592821Z K 7 svn:log V 143 Now that all bits are in for 1030/6230 adapters enable those. While here pull the adapter names from the Linux driver and sort the list by ID. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-04-20T17:53:39.694405Z K 7 svn:log V 42 Add ref to the latest firmware additions. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-20T18:04:34.394270Z K 7 svn:log V 84 Use the correct free routine when destroying a control queue. X-MFC after: r220873 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-20T18:43:28.759809Z K 7 svn:log V 448 When we become primary, we connect to the remote and expect it to be in secondary role. It is possible that the remote node is primary, but only because there was a role change and it didn't finish cleaning up (unmounting file systems, etc.). If we detect such situation, wait for the remote node to switch the role to secondary before accepting I/Os. If we don't wait for it in that case, we will most likely cause split-brain. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-20T18:49:12.967583Z K 7 svn:log V 36 Correct comment. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-20T19:41:08.661945Z K 7 svn:log V 155 Only set the sample rate if the USB audio channel reports that it supports the frequency control request. MFC after: 7 days Approved by: thompsa (mentor) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-04-20T21:00:24.881733Z K 7 svn:log V 99 Fix CIDR parsing bug in mountd ACLs. Approved by: so (cperciva) Security: FreeBSD-SA-11:01.mountd END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-04-20T22:10:44.100063Z K 7 svn:log V 118 MFC r218205,r218821,r218891,r219390,r219611,r220654,r220655,r220656: sh: New testcases that already work in stable/8. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-04-20T22:24:54.386669Z K 7 svn:log V 463 sh: Do not word split "${#parameter}". This is only a problem if IFS contains digits, which is unusual but valid. Because of an incorrect fix for PR bin/12137, "${#parameter}" was treated as ${#parameter}. The underlying problem was that "${#parameter}" erroneously added CTLESC bytes before determining the length. This was properly fixed for PR bin/56147 but the incorrect fix was not backed out. Reported by: Seeker on forums.freebsd.org MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-04-20T23:17:17.856448Z K 7 svn:log V 108 Release Ryan Stone (rstone@) from mentorship. I've taught him what I can. Congratulations, and good luck! END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-20T23:20:00.161553Z K 7 svn:log V 257 Ring the freelist doorbell from within refill_fl. While here, fix a bug that could have allowed the hardware pidx to reach the cidx even though the freelist isn't empty. (Haven't actually seen this but it was there waiting to happen..) MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-20T23:25:18.236585Z K 7 svn:log V 319 Add a check for VI_DOOMED at the beginning of nfscl_request() so that it won't try and use vp->v_mount to do an RPC during a forced dismount. There needs to be at least one more kernel commit, plus a change to the umount(8) command before forced dismounts will work for the experimental NFS client. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-21T03:47:40.907376Z K 7 svn:log V 183 Change the MIMO userland export ABI to include flags, number of radio chains, extended EVM statistics and EXT channel data. ifconfig still displays 3 chains worth of ctl noise/rssi. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-21T03:59:37.477879Z K 7 svn:log V 305 Implement very basic ALQ logging for net80211. This is destined to be a lightweight and optional set of ALQ probes for debugging events which are just impossible to debug with printf/log (eg packet TX/RX handling; AMPDU handling.) The probes and operations themselves will appear in subsequent commits. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-04-21T06:25:12.183448Z K 7 svn:log V 443 - Allows using full device name paths, such as /dev/ad0 or /dev/mirror/gm0 in config files - Fixes some issues creating gmirror devices, including on GPT partitions - Bugfixes for ZFS mirroring - Enhanced GELI to work with a passphrase only, or key-file only - Bugfix to prevent crashing of PC-BSD Live media when checking for upgrade partitions Submitted by: Kris Moore Approved by: kib (mentor) Sponsored by: iXsystems END K 10 svn:author V 6 gordon K 8 svn:date V 27 2011-04-21T07:14:10.390084Z K 7 svn:log V 78 Remove GNU man implemenation now that the BSD version has cooked for a while. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-21T07:26:14.428587Z K 7 svn:log V 233 Make PATA-like soft-reset in ata(4) more strict in checking disk signature. It allows to avoid false positive device detection under Xen, that caused long probe delays due to subsequent IDENTIFY command timeouts. MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-21T08:13:44.108525Z K 7 svn:log V 219 Merge from head/ 220622: Revert r194662, since it breaks ng_ksocket(4) and may break other socket consumers with alternate sb_upcall. PR: kern/154676 Submitted by: Arnaud Lacombe END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-21T08:15:29.748088Z K 7 svn:log V 192 Merge from head/ 220745: Fix error where error variable was assigned result of comparison, instead of function return value. Submitted by: Przemyslaw Frasunek END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-21T08:18:55.127003Z K 7 svn:log V 88 Use size_t for sopt_valsize. Submitted by: Brandon Gooch END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-21T08:20:56.824049Z K 7 svn:log V 43 Convert to new ieee80211_mimo_info format. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-21T09:01:43.753056Z K 7 svn:log V 50 MFC r220621: Remove stale M_ZOMBIE malloc type. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-21T09:02:19.642868Z K 7 svn:log V 147 Use periodic status polling added at r214671 only in ATA_CAM mode. Legacy mode won't receive much benefit from it due to its hot-plug limitations. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-21T09:03:48.592386Z K 7 svn:log V 50 MFC r220621: Remove stale M_ZOMBIE malloc type. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-04-21T09:34:44.747324Z K 7 svn:log V 177 MFC r220801: Changed "conscontrol unset" to accept an existing virtual console device as an argument. Unsetting virtual console using /dev/console seems to have never worked. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-21T11:44:16.420014Z K 7 svn:log V 248 - Fix mapping of the last two SATA ports on 6-port Intel controllers. This improves hard-reset and hot-plug on these ports. - Device with ID 0x29218086 is a 2-port variant of ICH9 in legacy mode. Skip probing for nonexistent slave devices there. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-21T12:38:12.364046Z K 7 svn:log V 117 Revert r220906, since the vp isn't always locked when nfscl_request() is called. It will need a more involved patch. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-21T13:31:43.441772Z K 7 svn:log V 438 Instead of allocating memory for all the keys at device attach, create reasonably large cache for the keys that is filled when needed. The previous version was problematic for very large providers (hundreds of terabytes or serval petabytes). Every terabyte of data needs around 256kB for keys. Make the default cache limit big enough to fit all the keys needed for 4TB providers, which will eat at most 1MB of memory. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-21T13:35:20.280763Z K 7 svn:log V 248 If number of keys for the given provider doesn't exceed the limit, allocate all of them at attach time. This allows to avoid moving keys around in the most-recently-used queue and needs no mutex synchronization nor refcounting. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-21T14:17:36.028078Z K 7 svn:log V 64 Remove all object files during 'make clean'. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-21T14:39:33.362861Z K 7 svn:log V 348 Add some more bit definitions: - TCO_MESSAGEx: TCO specific regs providing the ability to monitor BIOS bootup activity. - TCO_NEWCENTURY: reporting RTC year roll over. - TCO_NMI2SMI_EN, TCO_NMI_NOW: controlling SMIs conversion to NMIs and NMI trigger. - SMI_GBL_EN: Enabling SMI delivery for all the northbridge controller. MFC after: 10 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-04-21T16:31:05.366998Z K 7 svn:log V 490 Fix an old bug in newsyslog where we kept one log file more than was requested in newsyslog.conf. This was only the case using the non-time based filenames (.0, .1, .2 etc.). The change also makes newsyslog clean clean up the old extra logfile so users don't end up with a single stale logfile which won't be rotated out. This change also cleans up some code a bit to avoid more copy / paste code and removes some old copy / paste code in the process. PR: bin/76697 MFC after: 2 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-04-21T16:40:34.432942Z K 7 svn:log V 279 Expand / correct newsyslog regression tests: - Test newslog with clasic naming of rotates files to actually test the correct number of log files as newsyslog now does the correct thing post r220926. - Add some more newsyslog tests which tests keeping 0, 1, and 2 logfiles. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-21T19:56:06.912139Z K 7 svn:log V 408 Remove the nm_mtx mutex locking from the test for nm_maxfilesize. This value rarely, if ever, changes and the nm_mtx mutex is locked/unlocked earlier in the function, which should be sufficient to avoid getting a stale cached value for it. There is a discussion w.r.t. what these tests should be, but I've left them basically the same as the regular NFS client for now. Suggested by: pjd MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-21T20:56:34.145356Z K 7 svn:log V 556 According to ATA specifications, when ATAPI master is the only device, it should respond with all zeroes to any access to slave registers. Test with PATA devices confirmed such behavior. Unluckily, Intel SATA controllers in legacy emulation mode behave differently, not making any difference between ATA and ATAPI devices. It causes false positive slave device detection and, as result, command timeouts. To workaround this problem, mask result of legacy-emulated soft-reset with the device presence information received from the SATA-specific registers. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-21T21:15:11.429344Z K 7 svn:log V 51 Add g_eli_key_cache.c to GELI. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-21T21:56:28.127602Z K 7 svn:log V 693 - Use the streaming cache unless BUS_DMA_COHERENT is specified. Since r220375 all drivers enabled in the sparc64 GENERIC should be either correctly using bus_dmamap_sync(9) calls or supply BUS_DMA_COHERENT when appropriate or as a workaround for missing bus_dmamap_sync(9) calls (sound(4) drivers and partially sym(4)). In at least some configurations taking advantage of the streaming cache results in a modest performance improvement. - Remove the memory barrier for BUS_DMASYNC_PREREAD which as the comment already suggested is bogus. - Add my copyright for having implemented several things like support for the Fire and Oberon IOMMUs, taking over PROM IOMMU mappings etc. END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-04-21T23:06:00.420213Z K 7 svn:log V 410 - Centralize driver tunables initialization/validation. - Centralize PCI resource allocation/release. - Enable flowid (TSS) support. - Added "per-fastpath" locks and watchdog timeouts. - Fixed problem where the CQ producer index was advanced beyond the size of the CQ ring during initialization. - Replaced hard-coded debug levels in some debug print statements. - More style(9) fixes. MFC after: Two weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-04-22T00:31:07.413643Z K 7 svn:log V 339 MFC r219939: humanize_number(3) multiply the input number by 100, which could cause an integer overflow when the input is very large (for example, 100 Pi would become about 10 Ei which exceeded signed int64_t). Solve this issue by splitting the division into two parts and avoid the multiplication. PR: bin/146205 Reviewed by: arundel END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-04-22T00:32:16.965140Z K 7 svn:log V 339 MFC r219939: humanize_number(3) multiply the input number by 100, which could cause an integer overflow when the input is very large (for example, 100 Pi would become about 10 Ei which exceeded signed int64_t). Solve this issue by splitting the division into two parts and avoid the multiplication. PR: bin/146205 Reviewed by: arundel END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-22T00:44:27.922707Z K 7 svn:log V 134 Revert r220907 and r220915. Changing the size of struct ieee80211_mimo_info changes the STA info data, breaking ifconfig in general. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-22T02:22:36.278851Z K 7 svn:log V 557 MFC r220649, r220874 r220649: Fix a couple of bad races that can occur when a cxgbe interface is taken down. The ingress queue lock was unused and has been removed as part of these changes. - An in-flight egress update from the SGE must be handled before the queue that requested it is destroyed. Wait for the update to arrive. - Interrupt handlers must stop processing rx events for a queue before the queue is destroyed. Events that have not yet been processed should be ignored once the queue disappears. r220874: Use Toeplitz hash for RSS. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-04-22T07:26:09.736619Z K 7 svn:log V 428 Utilize vfs_sanitizeopts() in vfs_mergeopts() to merge options. Because vfs_sanitizeopts() can handle "ro" and "rw" options properly, there is no more need to add "noro" in vfs_donmount() to cancel "ro". This also fixes a problem of canceling options beginning with "no". For example, "noatime" didn't cancel "nonoatime". Thus it was possible that both "noatime" and "nonoatime" were active at the same time. Reviewed by: bde END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T09:22:27.597138Z K 7 svn:log V 52 Correct spelling in comments. Submitted by: brucec END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T09:31:40.048205Z K 7 svn:log V 52 Correct spelling in comments. Submitted by: brucec END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T09:39:05.253070Z K 7 svn:log V 52 Correct spelling in comments. Submitted by: brucec END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T09:41:51.680558Z K 7 svn:log V 52 Correct spelling in comments. Submitted by: brucec END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-22T09:43:00.269114Z K 7 svn:log V 190 MFC r220558. We don't need to call EOWRITE4(sc, EHCI_USBINTR, 0) directly from each EHCI bus driver at detach, hence ehci_detach() does exactly this since r199718. Approved by: thompsa END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T09:44:01.206559Z K 7 svn:log V 53 Correct spelling in a comment. Submitted by: brucec END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T09:52:28.944179Z K 7 svn:log V 136 - Correct spelling. [1] - Remove variables which are unused besides initialization. [2] Submitted by: brucec [1], Christoph Mallon [2] END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T09:59:16.997631Z K 7 svn:log V 40 Correct spelling. Submitted by: brucec END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-22T10:57:46.757353Z K 7 svn:log V 149 Bring over a pdadc calibration fix from ath9k - unused power detector gain values should be 58, not the previous values. Obtained From: linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-22T10:59:20.628447Z K 7 svn:log V 127 The second regdomain word is a set of bitflags describing regulatory domain behaviour. Document what the v14 EEPROM flags are. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T12:39:48.618360Z K 7 svn:log V 379 MF sparc64: r181701 (partial), r182020 (partial), r182730 (partial), r216628, r216801 - cosmetic changes and style fixes - Trick GAS/GCC into compiling access to TICK/(S)TICK_COMPARE independently of the selected instruction set. Moreover, sun4v doesn't need the WAR for BlackBird CPUs. - Rename the "xor" parameter to "xorval" as the former is a reserved keyword in C++. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T12:42:41.567666Z K 7 svn:log V 52 Correct spelling in comments. Submitted by: brucec END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T12:46:39.534645Z K 7 svn:log V 46 More spelling fixes. Submitted by: N.J. Mann END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-04-22T13:56:21.517212Z K 7 svn:log V 52 Correct spelling in comments. Submitted by: brucec END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-04-22T14:41:29.075127Z K 7 svn:log V 66 MFC r220646: getfh(2): Add xrefs for fhopen(2), open(2), stat(2). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-04-22T14:42:42.119658Z K 7 svn:log V 66 MFC r220646: getfh(2): Add xrefs for fhopen(2), open(2), stat(2). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-04-22T17:10:51.833317Z K 7 svn:log V 83 Note which of the built kernels is being installed. PR: 156579 Submitted by: dhw END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-22T17:57:13.651073Z K 7 svn:log V 110 Fix the merlin LNA configuration code - these are bit flags, not raw values to be written into the registers. END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-04-22T19:03:33.255084Z K 7 svn:log V 74 Import portbuild from pcvs. Discussed with: portmgr (linimon, pav, self) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-22T23:42:23.669289Z K 7 svn:log V 56 Pull mergeinfo from r220370 up to etc/ where it belongs END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-22T23:44:25.106230Z K 7 svn:log V 530 MFC r220760: The change in r206686 to allow the stop argument to work for a service that is running even though not _enable'd had an annoying side effect. If the service was already started at boot time by another means when the related script came around again in rcorder it would start again, regardless of _enable, because there was a valid pid. So, split the test into 2 parts, one for (!rcvar && !stop), and one for (stop && !valid_pid). This preserves the behavior from r206686 while preventing the undesired side effect. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-22T23:45:33.849052Z K 7 svn:log V 534 MFC r220760: The change in r206686 to allow the stop argument to work for a service that is running even though not _enable'd had an annoying side effect. If the service was already started at boot time by another means when the related script came around again in rcorder it would start again, regardless of _enable, because there was a valid pid. [1] So, split the test into 2 parts, one for (!rcvar && !stop), and one for (stop && !valid_pid). This preserves the behavior from r206686 while preventing the undesired side effect. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-23T02:03:18.065122Z K 7 svn:log V 60 MFC r201038: Update the comments about files ending in .sh END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-23T02:10:38.383170Z K 7 svn:log V 60 MFC r201038: Update the comments about files ending in .sh END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-23T04:26:31.335375Z K 7 svn:log V 350 Introduce to rc.subr get_pidfile_from_conf(). It does just what it sounds like, determines the path to a pid file as it is specified in a conf file. Use the new feature for rc.d/named and rc.d/devd, the 2 services in the base that list their pid files in their conf files. Remove the now-obsolete named_pidfile, and warn users if they have it set. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-23T05:24:17.904815Z K 7 svn:log V 63 Improve the error handling for the new get_pidfile_from_conf() END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-04-23T05:29:59.013142Z K 7 svn:log V 166 MFC r220882: Don't clog syslog up with "inet_ntop(): Address family not supported by protocol family" when processing requests received from the UNIX domain socket. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2011-04-23T05:56:06.269364Z K 7 svn:log V 95 o Remove an incomplete sentence. PR: docs/156593 Submitted by: Yuri Pankov MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-23T06:37:09.698971Z K 7 svn:log V 1573 Fix a corner-case of interrupt handling which resulted in potentially spurious (and fatal) interrupt errors. One user reported seeing this: Apr 22 18:04:24 ceres kernel: ar5416GetPendingInterrupts: fatal error, ISR_RAC 0x0 SYNC_CAUSE 0x2000 SYNC_CAUSE of 0x2000 is AR_INTR_SYNC_LOCAL_TIMEOUT which is a bus timeout; this shouldn't cause HAL_INT_FATAL to be set. After checking out ath9k, ath9k_ar9002_hw_get_isr() clears (*masked) before continuing, regardless of whether any bits in the ISR registers are set. So if AR_INTR_SYNC_CAUSE is set to something that isn't treated as fatal, and AR_ISR isn't read or is read and is 0, then (*masked) wouldn't be cleared. Thus any of the existing bits set that were passed in would be preserved in the output. The caller in if_ath - ath_intr() - wasn't setting the masked value to 0 before calling ath_hal_getisr(), so anything that was present in that uninitialised variable would be preserved in the case above of AR_ISR=0, AR_INTR_SYNC_CAUSE != 0; and if the HAL_INT_FATAL bit was set, a fatal condition would be interpreted and the chip was reset. This patch does the following: * ath_intr() - set masked to 0 before calling ath_hal_getisr(); * ar5416GetPendingInterrupts() - clear (*masked) before processing continues; so if the interrupt source is AR_INTR_SYNC_CAUSE and it isn't fatal, the hardware isn't reset via returning HAL_INT_FATAL. This doesn't fix any underlying errors which trigger AR_INTR_SYNC_LOCAL_TIMEOUT - which is a bus timeout of some sort - so that likely should be further investigated. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-23T11:22:48.948770Z K 7 svn:log V 402 Fix a LOR in vfs_busy() where, after msleeping, it would lock the mutexes in the wrong order for the case where the MBF_MNTLSTLOCK is set. I believe this did have the potential for deadlock. For example, if multiple nfsd threads called vfs_busyfs(), which calls vfs_busy() with MBF_MNTLSTLOCK. Thanks go to pho for catching this during his testing. Tested by: pho Submitted by: kib MFC after: 2 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-04-23T13:07:35.462663Z K 7 svn:log V 179 Check return code of setuid() in traceroute. While it will not fail in normal circumstances, better safe than sorry. Reported by: LLVM's clang static analyzer MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-04-23T13:42:03.924705Z K 7 svn:log V 161 Check return code of setuid(), setgid(), and setgroups() in rwhod. While they will not fail in normal circumstances, better safe than sorry. MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-04-23T13:57:12.528220Z K 7 svn:log V 133 Check return code of setuid() in timedc. While it will not fail in normal circumstances, better safe than sorry. MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-04-23T14:19:26.095983Z K 7 svn:log V 148 Check return code of setuid() and setgid() in finger. While they will not fail in normal circumstances, better safe than sorry. MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-04-23T17:07:43.361905Z K 7 svn:log V 51 Add a user directory for me... mostly to test svn. END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-04-23T17:15:10.579242Z K 7 svn:log V 29 Add test file to test svn... END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-23T17:37:14.304877Z K 7 svn:log V 126 As previously advertised, remove the error message for enable_quotas prior to 9.0-RELEASE. This change should not be MFC'ed. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-04-23T20:59:58.630276Z K 7 svn:log V 198 - Clarification on kld_file_stat.size - While here, remove a few C comments that don't seem to contribute anything additional to the man page. PR: 146047 Submitted by: arundel MFC after: 3 days END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-04-23T21:02:25.577612Z K 7 svn:log V 32 Import qmanager into portbuild. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-23T21:38:21.561381Z K 7 svn:log V 343 Fix two bugs in r218670. Hold the vnode around the region where object lock is dropped, until vnode lock is acquired. Do not drop the vnode reference for a case when the object was deallocated during unlock. Note that in this case, VV_TEXT is cleared by vnode_pager_dealloc(). Reported and tested by: pho Reviewed by: alc MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-04-23T22:28:56.936896Z K 7 svn:log V 919 sh: Allow EV_EXIT through function calls, make {...}