ƒ¹8217198 137 335 220 323 263 308 214 140 222 1407 347 433 257 278 173 823 220 974 238 336 178 222 491 123 358 320 501 297 401 645 194 194 207 740 740 469 769 240 769 158 166 590 344 157 129 636 144 129 546 565 323 237 232 264 227 249 127 164 144 144 289 322 279 445 159 250 134 287 222 228 379 330 265 716 328 275 168 166 201 326 337 141 164 495 224 224 5447 1212 114 575 639 177 240 234 193 324 175 138 333 955 148 164 499 5447 206 435 155 646 277 619 575 452 580 207 572 257 592 147 515 129 127 179 175 180 183 176 185 176 184 180 128 204 1006 354 254 182 159 131 K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-09T16:32:44.125937Z K 7 svn:log V 234 Make it slightly more difficult to shoot yourself in the foot by not specifying mountpoints, not making a / partition, or having a partition mounted deep in the hierarchy. Suggested by: Michael Ross END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-09T16:58:38.725754Z K 7 svn:log V 119 Allow deletion of providers with gpart consumers (e.g. MBR slices with bsd labels beneath them). Requested by: brucec END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-09T17:10:06.901968Z K 7 svn:log V 228 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. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-09T17:19:04.803628Z K 7 svn:log V 162 Some more SIGINT handling. Ideally, bsdinstall auto would learn which steps are skippable and allow cntrl-C to skip them, but that will have to wait until later. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-09T17:40:04.356543Z K 7 svn:log V 213 Add support for the Zeagle N2iTion3 Dive Computer to uplcom(4). This brings the list of supported devices in sync with kernel.org git revision f36ecd5de93e4c85a9e3d25100c6e233155b12e5, and OpenBSD uplcom.c r1.54 END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-09T20:40:21.742136Z K 7 svn:log V 122 MfP4 CH=185246 [1]: Add FEATURE() to announce optional VIMAGE. MFC after: 3 days [1] for the moment put it in vnet.c. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-09T20:53:13.632645Z K 7 svn:log V 40 Change "Installer" option to "Install". END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-09T21:02:11.997346Z K 7 svn:log V 121 Made the adjustment to maxsize in the wrong place, which could fail for partition schemes with boot partitions like GPT. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-09T21:07:30.326033Z K 7 svn:log V 1310 sh: Remove special %builtin PATH entry. All builtins are now always found before a PATH search. Most ash derivatives have an undocumented feature where the presence of an entry "%builtin" in $PATH will cause builtins to be checked at that point of the PATH search, rather than before looking at any directories as documented in the man page (very old versions do document this feature). I am removing this feature from sh, as it complicates the code, may violate expectations (for example, /usr/bin/alias is very close to a forkbomb with PATH=/usr/bin:%builtin, only /usr/bin/builtin not being another link saves it) and appears to be unused (all the %builtin google code search finds is in some sort of ash source code). Note that aliases and functions took and take precedence above builtins. Because aliases work on a lexical level they can only ever be overridden on a lexical level (quoting or preceding 'builtin' or 'command'). Allowing override of functions via PATH does not really fit in the model of sh and it would work differently from %builtin if implemented. Note: POSIX says special builtins are found before functions. We comply to this because we do not allow functions with the same name as a special builtin. Silence from: freebsd-hackers@ (message sent 20101225) Discussed with: dougb END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-01-09T21:39:46.781951Z K 7 svn:log V 255 Add missing __dead2 to __assert(). __assert() is called when an assertion fails. After printing an error message, it will call abort(). abort() never returns, hence it has the __dead2 attribute. Also add this attribute to __assert(). MFC after: 3 weeks END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-09T22:05:09.687192Z K 7 svn:log V 335 regression/date: unset all LC_xxx vars and set LANG/LC_ALL When running with a custom locale setup, it's easy to confuse the date regression tests and cause them to fail, e.g. when LANG='C' but LC_ALL='el_GR.UTF-8'. Set LC_ALL to 'C', which overrides all other LC_xxx options, to avoid this sort of problem. Reviewed by: uqs, edwin END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-09T22:47:58.327667Z K 7 svn:log V 161 sh: Follow-up to r216743, grabstackblock() can be replaced with stalloc(). grabstackblock() was used only once (but it is a very often executed piece of code). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-09T23:05:46.331105Z K 7 svn:log V 180 o) Remove some unused local definitions of IP protocol numbers. o) Use CPU_FOREACH rather than a miscrafted for loop with an off-by-one to enable workq interrupts on all cores. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-01-09T23:20:01.140759Z K 7 svn:log V 76 Update my e-mail address for commit messages. Approved by: core (implicit) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-09T23:46:24.176687Z K 7 svn:log V 725 Now that we correctly enable rx interrupts on all cores, performance has gotten quite awful, because e.g. 4 packets will come in and get processed on 4 different cores at the same time, really battling with the TCP stack quite painfully. For now, just run one task at a time. This gets performance up in most cases to where it was before the correctness fixes that got interrupts to run on all cores (except in high-load TCP transmit cases where all we're handling receive for is ACKs) and in some cases it's better now. What would be ideal would be to use a more advanced interrupt mitigation strategy and possibly to use different workqueue groups per port for multi-port systems, and so on, but this is a fine stopgap. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-09T23:47:11.677227Z K 7 svn:log V 125 Revert part of r217071 so that us mere mortals can clearly see what this bit of code is intended to do. :) Approved by: imp END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-10T03:48:41.839885Z K 7 svn:log V 876 o) Expand the CIU driver to be aware of newly-allocated parts of the IRQ range. o) Add 'octm', a trivial driver for the 10/100 management ports found on some Octeon systems. o) Make the Simple Executive's management port helper routines compile on FreeBSD (namely by not doing math on void pointers.) o) Add a cvmx_mgmt_port_sendm routine to the Simple Executive to send an mbuf so there is only one copy in the transmit path, rather than having to first copy the mbuf to an intermediate buffer and then copy that to the Simple Executive's transmit ring. o) Properly work out MII addresses of management ports on the Lanner MR-730. XXX The MR-730 also needs some patches to the MII read/write routines, but this is sufficient for now. Media detection will be fixed in the future when I can spend more time reading the vendor-supplied patches. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-10T03:55:45.771911Z K 7 svn:log V 144 - Treat SDP like TCP as it uses the same states and most of the same pcb variables. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-10T03:56:58.812346Z K 7 svn:log V 242 - Always store lport in network byte order. - Always initialize lport from an accepted socket. - Provide a pcbinfo sysctl so netstat can display sdp sockets alongside tcp and udp. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-10T03:57:27.517668Z K 7 svn:log V 85 - Correct the type of 'tag' Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-10T03:59:04.927338Z K 7 svn:log V 128 - Eliminate extraneous diffs as found by an audit of diffs to current. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2011-01-10T04:48:18.141925Z K 7 svn:log V 393 MFC: 217169 Make sure to always do source address selection on an unbound socket, regardless of any multicast options. If an address is specified via a multicast option, then let it override normal the source address selection. This fixes a bug where source address selection was not being performed when multicast options were present but without an interface being specified. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-10T05:13:06.422930Z K 7 svn:log V 26 Remove unnecessary 'cat'. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-10T06:12:01.833810Z K 7 svn:log V 260 Reset the last_sack_ack SACK hint for TCP input processing to ensure that the hint is 0 when no SACK data is received to update the hint with. This was accidentally omitted from r216753. Sponsored by: FreeBSD Foundation MFC after: 10 weeks X-MFC with: 216753 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-10T06:46:18.801592Z K 7 svn:log V 222 o) Free mbufs in error cases. o) Clear/acknowledge receive interrupt at end of thread. This gives the management interfaces performance on the order of 100Mbps rather than the previous level of 10Mbps on my MR-730. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-10T16:09:35.536398Z K 7 svn:log V 408 get_program_var_addr() must prefer the strong symbol to the weak one. Search global objects, together with main object and dependencies, for the requested symbol. Move the common code from symlook_default() into new helper symlook_global(), and use it both in symlook_global() and get_program_var_addr(). Supply lock state to get_program_var_addr(). Reviewed by: kan Tested by: Mykola Dzham END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-10T16:10:25.009348Z K 7 svn:log V 204 For the process that already loaded libthr but still not initialized threading, fall back to libc method of performing __pthread_map_stacks_exec() job. Reported and tested by: Mykola Dzham END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-10T17:37:49.066044Z K 7 svn:log V 304 Backout r216973 and r216970. r216973 didn't solve watchdog timeout issue seen on PCIX BCM5704 controller. r216970 fixed the issue but the DMA address space restriction was applied to all bge(4) controllers such that it caused unnecessary performance degradation for controllers that have no such issues. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-10T17:45:09.627847Z K 7 svn:log V 548 Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind certain PCI-X bridge(e.g. AMD 8131 PCI-X bridge). It's still not clear whether the root cause came from that PCI-X bridge or not. The watchdog timeout indicates the issue is in TX path. If the bridge reorders TX mailbox write accesses it would generate all kinds of problems but I'm not sure. This should be revisited. Tested by: Michael L. Squires (mikes <> siralan dot org) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-01-10T18:02:47.975227Z K 7 svn:log V 101 - Bump version numbers for the upcoming release. - Clean up old entries. Approved by: re (implicit) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-01-10T18:15:34.322582Z K 7 svn:log V 101 - Bump version numbers for the upcoming release. - Clean-up old entries. Approved by: re (implicit) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-10T19:11:25.878058Z K 7 svn:log V 109 Patch pc-sysinstall to deal with 4k sector size drives PR: bin/151967 Submitted by: kmoore Approved by: imp END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-10T19:43:16.255529Z K 7 svn:log V 643 MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind certain PCI-X bridge(e.g. AMD 8131 PCI-X bridge). It's still not clear whether the root cause came from that PCI-X bridge or not. The watchdog timeout indicates the issue is in TX path. If the bridge reorders TX mailbox write accesses it would generate all kinds of problems but I'm not sure. This should be revisited. Early MFC requested by re@ for inclusion in 8.2-RC2/7.4-RC2. Tested by: Michael L. Squires (mikes <> siralan dot org) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-10T19:48:24.898427Z K 7 svn:log V 643 MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind certain PCI-X bridge(e.g. AMD 8131 PCI-X bridge). It's still not clear whether the root cause came from that PCI-X bridge or not. The watchdog timeout indicates the issue is in TX path. If the bridge reorders TX mailbox write accesses it would generate all kinds of problems but I'm not sure. This should be revisited. Early MFC requested by re@ for inclusion in 8.2-RC2/7.4-RC2. Tested by: Michael L. Squires (mikes <> siralan dot org) END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-10T19:49:18.024021Z K 7 svn:log V 376 Apply fix for binutils PR ld/4424, which can occur while linking certain .so files from the VirtualBox port, resulting in: internal error, aborting at bfd/elf64-x86-64.c line 2735 in elf64_x86_64_relocate_section Original diff (relicensed under GPLv2 by author, with permission): http://sourceware.org/git/?p=binutils.git;a=commit;h=07eca6f55f5ca048bad21e36f5a7e6d45682535f END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-10T19:55:30.022391Z K 7 svn:log V 672 MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind certain PCI-X bridge(e.g. AMD 8131 PCI-X bridge). It's still not clear whether the root cause came from that PCI-X bridge or not. The watchdog timeout indicates the issue is in TX path. If the bridge reorders TX mailbox write accesses it would generate all kinds of problems but I'm not sure. This should be revisited. Early MFC requested by re@ for inclusion in 8.2-RC2/7.4-RC2. Tested by: Michael L. Squires (mikes <> siralan dot org) Approved by: re (kensmith) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-10T19:57:18.673391Z K 7 svn:log V 142 Add support for using encrypted password strings when setting the root / user passwords PR: bin/152868 Submitted by: kmoore Approved by: imp END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-10T19:59:20.559424Z K 7 svn:log V 672 MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind certain PCI-X bridge(e.g. AMD 8131 PCI-X bridge). It's still not clear whether the root cause came from that PCI-X bridge or not. The watchdog timeout indicates the issue is in TX path. If the bridge reorders TX mailbox write accesses it would generate all kinds of problems but I'm not sure. This should be revisited. Early MFC requested by re@ for inclusion in 8.2-RC2/7.4-RC2. Tested by: Michael L. Squires (mikes <> siralan dot org) Approved by: re (kensmith) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-10T20:26:36.419512Z K 7 svn:log V 65 Prefer KASSERT(9) over panic(9) as it was never seen in reality. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-10T20:48:10.996409Z K 7 svn:log V 74 Fix two harmless off-by-one errors. Reviewed by: jeff MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-10T20:56:59.131326Z K 7 svn:log V 496 Allow AcpiOsInstallInterruptHandler() and AcpiOsRemoveInterruptHandler() to install or remove non-SCI interrupt handlers per ACPI Component Architecture User Guide and Programmer Reference. ACPICA may install such interrupt handler when a GPE block device is found, for example. Add a wrapper for ACPI_OSD_HANDLER, convert its return values to ours, and make it a filter. Prefer KASSERT(9) over panic(9) as we have never seen those in reality. Clean up some style(9) nits and add my copyright. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-10T20:59:19.919005Z K 7 svn:log V 251 Add a nested include of to make the sysctl(9) manpage accurate. is one of the very few headers similar to for which nested includes is allowed. PR: docs/153654 Reviewed by: bde MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-10T21:01:41.164454Z K 7 svn:log V 64 Add forgotten free(9) in the previous commit for an error case. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-10T21:09:38.236964Z K 7 svn:log V 36 Remove impossible error conditions. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-10T21:35:10.271368Z K 7 svn:log V 538 Fix a bug in the client side krpc where it was, sometimes erroneously, assumed that 4 bytes of data were in the first mbuf of a list by replacing the bcopy() with m_copydata(). Also, replace the uses of m_pullup(), which can fail for reasons other than not enough data, with m_copydata(). For the cases where it isn't known that there is enough data in the mbuf list, check first via m_len and m_length(). This is believed to fix a problem reported by dpd at dpdtech.com and george+freebsd at m5p.com. Reviewed by: jhb MFC after: 8 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-10T22:14:08.419736Z K 7 svn:log V 47 Shorten device name so it fits into vmstat -i. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-10T22:14:30.727379Z K 7 svn:log V 32 Count output bytes and packets. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-10T22:27:52.454367Z K 7 svn:log V 453 Add IDs for HighPoint RocketRAID 64x controllers. These controllers consist of two Marvell 88SE9128 6Gbps SATA chips and PLX PCIe bridge. As result, they seem to be agree to work with ahci(4) as usual HBAs. The only noticed issue is that RAID BIOS disables all drive caches during boot, though `camcontrol cmd ...` is able to fix that. Those who wants RAID functionality can still use closed proprietary driver from HighPoint site. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-10T23:28:46.012423Z K 7 svn:log V 468 Implement TSO on RealTek RTL8168/8111 C or later controllers. RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration in different location of TX descriptor. TSO is enabled by default for controllers that use new descriptor format. For old controllers, TSO is still disabled by default due to broken frames under certain conditions but users can enable it. Special thanks to Hayes Wang at RealTek. MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-10T23:47:11.248391Z K 7 svn:log V 226 When driver is not running, do not send DUMP command to controller and just show old (cached) values. Controller will not respond to the command unless MAC is enabled so DUMP request for down interface caused request timeout. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-11T00:29:17.335046Z K 7 svn:log V 139 Fix some minor style/readability nits in hhook. Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after: 9 weeks X-MFC with: r216615 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-01-11T00:58:49.000821Z K 7 svn:log V 136 MFC 216943, 216945: Handle failure from ftpd_popen in statfilecmd(). Make format string a string literal. (Discovered by clang.) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-11T01:11:07.461460Z K 7 svn:log V 166 Fix hhook_head_is_virtualised() so that "ret" can't be used uninitialised. Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after: 9 weeks X-MFC with: r216615 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-11T01:12:50.753432Z K 7 svn:log V 129 MFC: r216784 Delete the nfsvno_localconflict() function in the experimental NFS server since it is no longer used and is broken. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-11T01:32:08.801540Z K 7 svn:log V 151 Fixe some whitespace nits that were introduced in r216758. Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after: 10 weeks X-MFC with: r216758 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2011-01-11T01:57:02.301997Z K 7 svn:log V 31 Fix a typo. Submitted by: avg END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-11T02:37:58.476113Z K 7 svn:log V 67 Initialize PCIe buses and add preliminary support for 64-bit BARs. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-01-11T04:20:18.091149Z K 7 svn:log V 47 Ready for 8.2-RC2. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-01-11T04:25:54.137751Z K 7 svn:log V 47 Ready for 7.4-RC2. Approved by: re (implicit) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-11T05:22:31.850970Z K 7 svn:log V 188 More anti-foot-shooting measures: gpart labels do not like to contain slashes, so provide a more helpful error message if the user tries to set one with a slash in it. Submitted by: joel END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-11T05:49:03.114973Z K 7 svn:log V 221 Provide a little bit friendlier error handling. Instead of just blocking SIGINT, catch it and provide an error message in critical steps. In skippable steps, allow the user to skip them cleanly by application of cntrl-C. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-11T06:07:36.361091Z K 7 svn:log V 178 Unmount mounted filesystems if the installation is aborted and restarted after filesystems have been initialized and mounted. This prevents the installer from becoming confused. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-11T10:48:50.468162Z K 7 svn:log V 352 Put in a temporary kludge to force ld to put .note sections just after .interp sections. This seems to have been broken by binutils commit 7f55fa5745fbe04b91e1fbd668d102f3166e03d8, but the specific reasons are still unclear. For now, this fix is needed to make sure .note.ABI-tag sections always end up in the first page of the resulting executable. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-11T11:01:29.037768Z K 7 svn:log V 67 Make sure PT_NOTE sections always get the correct type (SHT_NOTE). END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-11T11:42:22.182591Z K 7 svn:log V 158 Round GNOP provider's mediasize to its sectorsize. This prevents KASSERT in g_io_request when geom classes doing tasting. PR: kern/147852 MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-11T13:22:20.589150Z K 7 svn:log V 43 Remove redundant check. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-11T13:33:42.085736Z K 7 svn:log V 192 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 MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-11T13:59:06.109906Z K 7 svn:log V 129 Remove unneeded includes of . Other headers that use it internally contain nested includes. Reviewed by: bde END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-11T14:33:10.733291Z K 7 svn:log V 127 Make a 'release' directory for those things not actually part of bsdinstall that would eventually show up in /usr/src/release. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-11T17:02:24.708949Z K 7 svn:log V 286 Implement method writing metadata from existing volumes/subdisks/disks. Refactor array creation upside-down -- instead of writing metadata and processing it, create all stuff and then run metadata writing from it. This way seems more perspective, as we any way definitely need writing. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-11T17:16:50.075706Z K 7 svn:log V 237 MFC r217109: Fix a memory overflow where the input length to g_gpt_utf8_to_utf16() was specified incorrectly, causing the bzero to run past the end of a malloc(9)'d object. Submitted by: Eric Youngblut < eyoungblut AT isilon DOT com > END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-11T17:26:36.946580Z K 7 svn:log V 172 Move the fail_point_entry definition from fail.h to kern_fail.c, which allows putting the enumeration constants of fail point types with the text string that matches them. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-11T17:29:34.345976Z K 7 svn:log V 623 (Note the previous commit was a MFC of r216616). MFC r216620: Initialize fp_location for explicitly managed fail points, and push the parentheses around the location for simple fail points into the location string. This makes the print on fail point set more consistent between the two versions. Also fix up fail.h a little for style(9): only use one of sys/param.h and sys/types.h, and use the existing __XSTRING() macro instead of rolling our own. Also fix up a few tabs on changed and nearby lines. Lastly, since KFAIL_POINT_{BEGIN,END} are not meant for use outside this file, just eliminate the macros entirely. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-11T17:31:59.091593Z K 7 svn:log V 235 MFC r216058 and r216059: r216058: Use the SYSCTL_CHILDREN macro in kern_sysctl.c to help de-obfuscate the code. r216059: Slightly modify the logic in sysctl_find_oid to reduce the indentation. There should be no functional change. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-11T17:33:29.858597Z K 7 svn:log V 182 MFC r216463: One of the compat32 functions was copying in a raw timespec, instead of a 32-bit one. This can cause weird timeout issues, as the copying reads garbage from the user. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-11T18:32:05.823071Z K 7 svn:log V 76 Minor improvements in the wording of a comment. Document tinderbox target. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-11T19:05:55.522230Z K 7 svn:log V 72 Improve or fix some comments. No functional change. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-11T19:07:34.025909Z K 7 svn:log V 106 Update the uplcom(4) man page to reflect the devices currently supported by uplcom(4). MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-11T19:13:29.297459Z K 7 svn:log V 233 MFC r215212: Similar to r212647, remove the workaround in sys/net/vnet.h for an ld bug (incorrect placement of __start_SECNAME in some cases) that was fixed in r210245. There is already an UPDATING entry about needing a recent ld. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-11T19:17:13.454024Z K 7 svn:log V 244 MFC r215801: Change ambiguous (or invalid, depending on how strict you want to be :) assembly instruction "movw %rcx,2(%rax)" to "movw %cx,2(%rax)", since the intent was to move 16 bits of data, in this case. Found by: clang Reviewed by: kib END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-11T19:20:01.308619Z K 7 svn:log V 48 Fix a witness(4) warning introduced in r217238. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-11T19:26:39.215844Z K 7 svn:log V 71 Work around a witness(4) panic introduced in r217238. Reported by: jh END K 10 svn:author V 8 deischen K 8 svn:date V 27 2011-01-11T19:43:35.418044Z K 7 svn:log V 397 MFC: 217169 Make sure to always do source address selection on an unbound socket, regardless of any multicast options. If an address is specified via a multicast option, then let it override normal the source address selection. This fixes a bug where source address selection was not being performed when multicast options were present but without an interface being specified. Approved by: re END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-11T20:04:37.907783Z K 7 svn:log V 129 MFC r203971: The NetBSD Foundation has granted permission to remove clause 3 and 4 from their software. Obtained from: NetBSD END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-11T20:05:53.068120Z K 7 svn:log V 129 MFC r203971: The NetBSD Foundation has granted permission to remove clause 3 and 4 from their software. Obtained from: NetBSD END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-11T20:08:34.791597Z K 7 svn:log V 5351 For stat.c ========== MFC r216196: Bring in the change from NetBSD 1.18: "If using stat (the -L flag) and it fails, fall back to lstat(). It may be the case that we're examining a broken symlink, and anything is better than nothing." The changes in 1.14 through 1.17 were not relevant to us. Obtained from: atatat@NetBSD.org MFC r216202: Bring in the change from NetBSD 1.22: "Fix a trivial truncation case, and eliminate a corner case that might print a nul character." I am purposely bypassing the following versions: 1.19 A build infrastructure change that does not apply to us 1.20 A feature I am not interested in, but don't object if someone else wants to pick it up 1.21 A build infrastructure change that does not apply to us Obtained from: atatat@NetBSD.org MFC r216203: Bring in a new feature, adding a -f option to readlink to print the path of the target, similar to realpath(1). See the discussion at: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=34662 This brings in the following changes: 1.24 "PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't grok -f, and there's no alternative (+fix) Patch applied with minor tweak (%y -> %R, as it was already taken) plus some nits from myself. Thanks!" Obtained from: elad@NetBSD.org 1.25 "Fix a segfault when doing 'stat -f %R' on the stdin file handle, instead fake the filename '(stdin)' like the %N format." Obtained from: mlelstv@NetBSD.org 1.27 "The ofmt variable is actually a bit mask (not the character that was in the format string) so that we can "or" it with the bits in the formats variable. This fixes the missing " -> " in front of the real path (when you use %SR). Also, the ?: needs another space." Obtained from: atatat@NetBSD.org I am purposely omitting the following changes: 1.23 A humanize_number(3) clone that should better be implemented by actually using humanize_number(3) 1.26 This is the removal of license clause 3 and 4, already handled by imp in r203971 MFC 216205: Bring in the update from NetBSD 1.28: "Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)" Because of code differences I had to hand-apply parts of the patch, so responsibility for errors goes to me. Obtained from: lukem@NetBSD.org MFC 216206: [ Also applies to Makefile ] Fix an "unused variable" error that gets us all the way to WARNS=6 MFC 216207: Bring in the following changes from NetBSD. See the discussion at: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44128 1.29 "Don't printf time_t with %d; fixes PR 44128 from yamt. With this change it successfully prints mtimes after 2038." 1.30 "Improve previous with comments." Obtained from: dholland@NetBSD.org (both) MFC 216343: Bring in the change from OpenBSD's 1.14: "synchronize synopsis and usage; "-l", "-r", "-s" and "-x" are mutually exclusive; while here, slightly improve spacing in the source code so it fits on a 80-column display again. diff greatly improved by martynas@" Obtained from: sobrado@OpenBSD.org MFC 216512: Bring in the relevant changes from NetBSD's 1.31: "Use strlcpy, not strncpy, when the desired semantics are strlcpy's rather than strncpy's." Note: NetBSD's 1.32 is their adoption of our r216206 Obtained from: dholland@NetBSD.org For stat.1 ========== MFC 216197: Add my own documentation for the change in our r216196, aka NetBSD's 1.18 For -L if stat(2) fails, fall back to lstat(2). .Dd purposely not bumped because more changes are coming. MFC 216204: Bring in the update from NetBSD 1.19, the documentation of readlink -f "PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't grok -f, and there's no alternative (+fix) Patch applied with minor tweak (%y -> %R, as it was already taken) plus some nits from myself. Thanks!" Obtained from: elad@NetBSD.org MFC 216209: Bring in the change from NetBSD 1.12: "document default format." Obtained from: yamt@NetBSD.org MFC 216213: Bring in the changes from NetBSD 1.13 that we did not already have, with some differences. "Sort options. Use more mdoc macros. Some nit fixes. Bump date." Obtained from: wiz@NetBSD.org MFC 216215: Bring in the changes from NetBSD 1.16 that we did not already have. "Some fixes from jmc@openbsd." Obtained from: wiz@NetBSD.org MFC 216216: Bring in the change from NetBSD 1.20: "Make sentence easier to parse. From jsing@openbsd via jmc@openbsd." Obtained from: wiz@NetBSD.org MFC 216218: Bring in the following changes from NetBSD: 1.21 "Document the flags displayed by the default format, and mention their short names. From espie@openbsd via jmc@openbsd." 1.24 "Fix three variable names. From Todd T. Fries via Jason McIntyre." Obtained from: wiz@NetBSD.org (previous 2) 1.25 "Be consistent: document the birthtime field of struct stat for the "B" field specifier." Obtained from: reed@NetBSD.org 1.26 "Drop trailing space." Obtained from: wiz@NetBSD.org 1.27 "Since we have st_birthtime in struct stat, it is in default display." Obtained from: enami@NetBSD.org Purposely skipping the following revisions: 1.22 NetBSD-specific change 1.23 Removal of license clauses 3 and 4, already handled by imp in our r203971 MFC 216219: Bring in the change from NetBSD 1.28: "\\ -> \e" Obtained from: joerg@NetBSD.org Bump .Dd because we're now up to date with the latest NetBSD version END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-11T20:52:34.603180Z K 7 svn:log V 1118 Implement range locking. When a range of a volume is locked, any writes to that range will be deferred. Range locking either succeeds right away, or is deferred until all the in-flight writes complete. Once a range is locked, write requests are queued. These requests are resumed when the range is unlocked. This is intended to be used while rebuilding a drive, or when doing bad-sector recovery via writing disk sectors that fail to read properly. Writes to areas of the volume that aren't locked are unaffected. Users of this facility should ensure that they lock small ranges for short periods to keep too many requests from queueing up (possiblely forcing a resource shortage that may prevent the range from being unlocked). I'm not sure how to trigger this problem, nor what remediation is necessary to prevent/reduce this problem. All the hooks are in place. Nothing that I'm checking in uses this facility yet, but in testing so far it doesn't affect anything by it being there unused. Also, create a callback for the RAID1 transform so I can start using it for bad sector recovery and then rebuilds. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-11T21:05:21.795211Z K 7 svn:log V 22 Minor whitespace nit. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-01-11T21:18:29.623729Z K 7 svn:log V 477 Add new functions, fcu_fan_set_pwm and fcu_fan_get_pwm, to set and get the pwm values. We can now set the fan's speed of a PWM controlled fan with % numbers between 30 and 100 % instead of trying to model a % number based on rpm. The fcu chip offers both, the dutycycle and the rpm value of the PWM controlled fans. I added the rpm value to the list of information available via sysctl(8). Tested by: Paul Mather Approved by: nwhitehorn (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-11T21:43:35.020240Z K 7 svn:log V 546 Fix a few problems with read error recovery: o We need to check the bp we're given in *done() not pbp since that's where the error is. o Just check bio_error and forget the BIO_ERROR flag. o bump the inbed count a little later in the processing. o Start to do write-remapping, but only detect when we need to, rather than actually doing anything (yet). o minor style cleanup o improve mirror breaking/degrading notes and add one. With these changes I can survive at a 10% error rate both raw operations, as well as file system operations... END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-11T21:46:29.855542Z K 7 svn:log V 81 Allow runfw(4) to be compiled in to the kernel. Submitted by: Akinori Furukoshi END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-11T21:51:46.196769Z K 7 svn:log V 143 Add manpage for runfw, the Ralink RT2700U, RT2800U and RT3000U firmware module. Also fix a few nits in run.4. Submitted by: Akinori Furukoshi END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-11T22:07:39.544191Z K 7 svn:log V 138 Don't re-use MODINFOMD_BOOTINFO as MODINFOMD_DTBP. It breaks compatibility without any means for the kernel to work with an older loader. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-11T22:13:19.240500Z K 7 svn:log V 100 Always use PRI_BASE() when checking the base type of a thread's priority class. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-11T22:15:30.947634Z K 7 svn:log V 231 - Retire some unused ithread priorities: PI_TTYHIGH, PI_TAPE, and PI_DISKLOW. While here, rename PI_TTYLOW to PI_TTY. - Add a macro PI_SWI() that takes a SWI_* constant as an argument and returns the suitable thread priority. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-11T22:40:18.236999Z K 7 svn:log V 83 Go ahead and log read recovery operations now that I grok the G_RAID_LOGREQ macro. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-11T22:57:41.318677Z K 7 svn:log V 46 Proving once again, I can't typo: fix a type. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-12T00:23:47.566309Z K 7 svn:log V 240 A couple problems discovered by Andrew Boyer: - failure code in em_xmit got mangled along the way and was not properly handling errors. - local timer code had a leftover UNLOCK call that should be removed. MFC after 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-12T03:43:47.332399Z K 7 svn:log V 858 For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuring it to 16KB. Due to lack of documentation, re(4) didn't allow jumbo frame on these controllers. However it seems controller is confused with jumbo frame such that it can DMA the received frame to wrong address instead of splitting it into multiple RX buffers. Of course, this caused panic. Since re(4) does not support jumbo frames on these controllers, make controller drop frame that is longer than RE_RX_DESC_BUFLEN sized frame. Fortunately RTL810x controllers, which do not support jumbo frame, have no such issues but this change also limited maximum RX buffer size allowed to RTL810x controllers. Allowing 16KB RX buffer for controllers that have no such capability is meaningless. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-12T04:59:29.438886Z K 7 svn:log V 56 Provide up-to-date estimates that are pessimal today... END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-12T05:37:13.290387Z K 7 svn:log V 70 MFC 178651: The referenced section name is 'Formats', not 'FORMATS'. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-12T07:27:30.173118Z K 7 svn:log V 404 MFC r188498 (partial): "I've changed main() to set file properly, so output() is never called with file set to NULL." Obtained from: ed The other bits of that revision are related to using fdevname(3). This was never merged back to RELENG_7, however the cleanup of the code in this MFC is good both for general purposes, and diff reduction to HEAD (which in turn will make the following MFCs easier). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-12T07:38:48.681953Z K 7 svn:log V 5351 For stat.c ========== MFC r216196: Bring in the change from NetBSD 1.18: "If using stat (the -L flag) and it fails, fall back to lstat(). It may be the case that we're examining a broken symlink, and anything is better than nothing." The changes in 1.14 through 1.17 were not relevant to us. Obtained from: atatat@NetBSD.org MFC r216202: Bring in the change from NetBSD 1.22: "Fix a trivial truncation case, and eliminate a corner case that might print a nul character." I am purposely bypassing the following versions: 1.19 A build infrastructure change that does not apply to us 1.20 A feature I am not interested in, but don't object if someone else wants to pick it up 1.21 A build infrastructure change that does not apply to us Obtained from: atatat@NetBSD.org MFC r216203: Bring in a new feature, adding a -f option to readlink to print the path of the target, similar to realpath(1). See the discussion at: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=34662 This brings in the following changes: 1.24 "PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't grok -f, and there's no alternative (+fix) Patch applied with minor tweak (%y -> %R, as it was already taken) plus some nits from myself. Thanks!" Obtained from: elad@NetBSD.org 1.25 "Fix a segfault when doing 'stat -f %R' on the stdin file handle, instead fake the filename '(stdin)' like the %N format." Obtained from: mlelstv@NetBSD.org 1.27 "The ofmt variable is actually a bit mask (not the character that was in the format string) so that we can "or" it with the bits in the formats variable. This fixes the missing " -> " in front of the real path (when you use %SR). Also, the ?: needs another space." Obtained from: atatat@NetBSD.org I am purposely omitting the following changes: 1.23 A humanize_number(3) clone that should better be implemented by actually using humanize_number(3) 1.26 This is the removal of license clause 3 and 4, already handled by imp in r203971 MFC 216205: Bring in the update from NetBSD 1.28: "Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)" Because of code differences I had to hand-apply parts of the patch, so responsibility for errors goes to me. Obtained from: lukem@NetBSD.org MFC 216206: [ Also applies to Makefile ] Fix an "unused variable" error that gets us all the way to WARNS=6 MFC 216207: Bring in the following changes from NetBSD. See the discussion at: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44128 1.29 "Don't printf time_t with %d; fixes PR 44128 from yamt. With this change it successfully prints mtimes after 2038." 1.30 "Improve previous with comments." Obtained from: dholland@NetBSD.org (both) MFC 216343: Bring in the change from OpenBSD's 1.14: "synchronize synopsis and usage; "-l", "-r", "-s" and "-x" are mutually exclusive; while here, slightly improve spacing in the source code so it fits on a 80-column display again. diff greatly improved by martynas@" Obtained from: sobrado@OpenBSD.org MFC 216512: Bring in the relevant changes from NetBSD's 1.31: "Use strlcpy, not strncpy, when the desired semantics are strlcpy's rather than strncpy's." Note: NetBSD's 1.32 is their adoption of our r216206 Obtained from: dholland@NetBSD.org For stat.1 ========== MFC 216197: Add my own documentation for the change in our r216196, aka NetBSD's 1.18 For -L if stat(2) fails, fall back to lstat(2). .Dd purposely not bumped because more changes are coming. MFC 216204: Bring in the update from NetBSD 1.19, the documentation of readlink -f "PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't grok -f, and there's no alternative (+fix) Patch applied with minor tweak (%y -> %R, as it was already taken) plus some nits from myself. Thanks!" Obtained from: elad@NetBSD.org MFC 216209: Bring in the change from NetBSD 1.12: "document default format." Obtained from: yamt@NetBSD.org MFC 216213: Bring in the changes from NetBSD 1.13 that we did not already have, with some differences. "Sort options. Use more mdoc macros. Some nit fixes. Bump date." Obtained from: wiz@NetBSD.org MFC 216215: Bring in the changes from NetBSD 1.16 that we did not already have. "Some fixes from jmc@openbsd." Obtained from: wiz@NetBSD.org MFC 216216: Bring in the change from NetBSD 1.20: "Make sentence easier to parse. From jsing@openbsd via jmc@openbsd." Obtained from: wiz@NetBSD.org MFC 216218: Bring in the following changes from NetBSD: 1.21 "Document the flags displayed by the default format, and mention their short names. From espie@openbsd via jmc@openbsd." 1.24 "Fix three variable names. From Todd T. Fries via Jason McIntyre." Obtained from: wiz@NetBSD.org (previous 2) 1.25 "Be consistent: document the birthtime field of struct stat for the "B" field specifier." Obtained from: reed@NetBSD.org 1.26 "Drop trailing space." Obtained from: wiz@NetBSD.org 1.27 "Since we have st_birthtime in struct stat, it is in default display." Obtained from: enami@NetBSD.org Purposely skipping the following revisions: 1.22 NetBSD-specific change 1.23 Removal of license clauses 3 and 4, already handled by imp in our r203971 MFC 216219: Bring in the change from NetBSD 1.28: "\\ -> \e" Obtained from: joerg@NetBSD.org Bump .Dd because we're now up to date with the latest NetBSD version END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-12T08:09:29.446895Z K 7 svn:log V 113 Document ugly race mav@ pointed out, fix bug I noticed at the same time in moving blocked bios back to sc_queue. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-12T10:12:32.157119Z K 7 svn:log V 343 MFC r216340,217195: Don't tie ct_debug to bootverbose. Provide a sysctl to turn it on or off. Switch the default to always off. Improve style and wording of comments and sysctl descriptions [1]. Move machdep.ct_debug to debug.clocktime as there was no reason to actually put it under machdep in r216340. Submitted by: bde [1] END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-12T12:26:10.445556Z K 7 svn:log V 64 Sector size can not be greater than MAXPHYS. MFC after: 1 week END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-12T13:16:35.462328Z K 7 svn:log V 548 The message ring interrupt needs to be enabled for all cpus, not just the ones which run the message ring handler. Some bits of the interrupt mask are part of the status register which is saved with the process context, and these bits are initialized from the cpu on which the process is created. This means that all the processes should have the same value for these interrupt mask bits, so that the interrupt mask remains the same regardless of what thread is scheduled on the cpu. Submitted by: Sriram Gorti (srgorti at netlogicmicro dot com) END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-12T13:55:01.745446Z K 7 svn:log V 185 Sector size can not be greater than MAXPHYS. Since GRAID3 calculates sector size from user-specified block size, report to user about big blocksize. PR: kern/147851 MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-12T14:13:50.123817Z K 7 svn:log V 526 svn merge -c215331,215332,215676 svn+ssh://svn.freebsd.org/base/head/sbin/hastd sbin/hastd MFC r215331,r215332,r215676: r215676 (by brucec): Don't generate input() since it's not used. r215332: Move timeout.tv_sec initialization outside the loop - sigtimedwait(2) won't modify it. Submitted by: Mikolaj Golub r215331: 1. Exit when we cannot create incoming connection. 2. Improve logging to inform which connection can't be created. Submitted by: [1] Mikolaj Golub END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-12T14:35:29.930225Z K 7 svn:log V 482 Install default signal handlers before masking signals we want to handle. It is possible that the parent process ignores some of them and sigtimedwait() will never see them, eventhough they are masked. The most common situation for this to happen is boot process where init(8) ignores SIGHUP before starting to execute /etc/rc. This in turn caused hastd(8) to ignore SIGHUP. Reported by: trasz Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-12T14:38:17.271169Z K 7 svn:log V 359 Add a note that when custom signal handler is installed for a signal, signal action is restored to default in child after fork(2). In this case there is no need to do anything with dummy SIGCHLD handler, because after fork(2) it will be automatically reverted to SIG_IGN. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-12T14:55:02.622616Z K 7 svn:log V 479 Update dialog to version 20100428. This changes the license under which dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-12T15:05:31.200453Z K 7 svn:log V 106 Chase dialog import by s/cdialog/dialog. bsdinstall no longer depends on anything not in the base system. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-12T16:00:49.168919Z K 7 svn:log V 479 Create all disks and subdisks as described by metadata during array startup even if real disks are absent. Objects created for absent disks are used to store information required to write metadata when array is degraded. Check drive for being stale based on it's status in most fresh metadata version found, not just by comparing generations. Generations can get out of sync during some emergancy shutdown during metadata write, but it doesn't mean that disk should be dropped. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-12T16:16:54.852505Z K 7 svn:log V 164 execve(2), not fork(2) resets signal handler to the default value (if it isn't ignored). Correct comment talking about that. Pointed out by: kib MFC after: 3 days END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T17:52:48.723930Z K 7 svn:log V 499 Add type checking for static and dynamic sysctls using scalar types. The code is turned off until the tree is fixed up so it compiles. __FreeBSD_version was already bumped once today, so skip the bump, but add an entry to UPDATING. Note that __DESCR() is used in the SYSCTL_OID() macro and so is not needed in macros that invoke it. This use was inconsistent in the file and I have made it consistent any lines already being changed. Reviewed by: bde (previous version), -arch (previous version) END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-12T19:06:59.749721Z K 7 svn:log V 56 Fix up the grammar. PR: docs/153933 MFC after: 3 days END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-12T19:11:17.876435Z K 7 svn:log V 422 Fix several bugs in the ARP code related to improperly formatted packets. *) Reject requests with a protocol length not equal to 4. This is IPv4 and there is no reason to accept anything else. *) Reject packets that have a multicast source hardware address. *) Drop requests where the hardware address length is not equal to the hardware address length of the interface. Pointed out by: Rozhuk Ivan MFC after: 1 week END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-01-12T19:20:30.547185Z K 7 svn:log V 34 Fix cross-reference to gvinum(8). END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-01-12T19:28:52.675108Z K 7 svn:log V 32 Fix wrapping of 20110103 entry. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:53:23.332924Z K 7 svn:log V 87 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the Intel drivers. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:53:30.575470Z K 7 svn:log V 83 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the zfs piece. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:53:39.737004Z K 7 svn:log V 88 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the netgraph piece. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:53:44.248003Z K 7 svn:log V 91 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the cxgb driver piece. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:53:50.781774Z K 7 svn:log V 84 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the net* piece. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:53:56.741536Z K 7 svn:log V 93 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the rest of the devices. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:54:07.320499Z K 7 svn:log V 84 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the geom piece. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:54:14.484661Z K 7 svn:log V 92 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the security directory. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T19:54:19.686695Z K 7 svn:log V 88 sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the kernel changes. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-01-12T20:27:14.477524Z K 7 svn:log V 33 Fix sorting of cross-references. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T20:38:55.074084Z K 7 svn:log V 111 Fix a typo. XLONG should allow pointers to unsigned and signed long. Submitted by: END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-12T20:44:11.555255Z K 7 svn:log V 913 MFC: 215207 Add a queue to hold packets while we await an ARP reply. When a fast machine first brings up some non TCP networking program it is quite possible that we will drop packets due to the fact that only one packet can be held per ARP entry. This leads to packets being missed when a program starts or restarts if the ARP data is not currently in the ARP cache. This code adds a new sysctl, net.link.ether.inet.maxhold, which defines a system wide maximum number of packets to be held in each ARP entry. Up to maxhold packets are queued until an ARP reply is received or the ARP times out. The default setting is the old value of 1 which has been part of the BSD networking code since time immemorial. Expose the time we hold an incomplete ARP entry by adding the sysctl net.link.ether.inet.wait, which defaults to 20 seconds, the value used when the new ARP code was added.. Reviewed by: bz, rpaulo END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T21:08:49.979964Z K 7 svn:log V 261 Fix a brain fart. Since this file is shared between i386 and amd64, a bus_size_t may be 32 or 64 bits. Change the bounce_zone alignment field to explicitly be 32 bits, as I can't really imagine a DMA device that needs anything close to 2GB alignment of data. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-12T22:24:07.048388Z K 7 svn:log V 157 Make sure to invoke unlocked foo_start since the taskqueue does not hold a driver lock. This should fix a regression introduced in r216925. PR: kern/153769 END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-12T23:06:38.633217Z K 7 svn:log V 90 Revert cddl changes for sysctl(9) until I understand why this isn't building on universe. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2011-01-12T23:07:51.012703Z K 7 svn:log V 66 Un-break the build: use the correct format specifier for sizeof() END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-01-12T23:31:28.852251Z K 7 svn:log V 36 Fix formatting of cross-references. END