Ħ+218355 166 359 226 174 128 530 652 341 341 3057 536 202 222 186 139 138 271 279 362 210 227 198 209 937 223 808 211 189 229 359 694 159 222 208 322 153 329 166 147 194 320 158 158 256 179 208 331 454 126 110 221 205 136 233 138 118 123 377 186 186 322 203 152 147 198 190 488 270 240 564 993 394 429 437 827 694 309 154 353 210 210 409 639 250 329 250 137 171 104 104 673 344 283 828 365 282 294 122 122 415 181 496 1091 211 373 487 373 352 104 104 424 225 512 136 128 141 441 133 520 215 242 305 297 136 253 336 180 640 110 638 260 690 340 260 1390 242 201 185 925 180 764 276 141 1007 159 240 210 807 467 255 134 240 214 116 312 298 282 286 256 129 137 238 135 167 556 257 222 K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-05T22:57:14.923146Z K 7 svn:log V 266 MFC r217819: Allow debugger to specify that children of the traced process should be automatically traced. Extend the ptrace(PL_LWPINFO) to report that child just forked. To not change the struct thread layout, td_dbg_forked was placed at the end of the structure. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T23:00:24.713345Z K 7 svn:log V 130 sh: Weaken some tests to allow /rescue/sh to pass everything. /rescue/sh has a different _PATH_STDPATH which affects command -p. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-05T23:01:18.436342Z K 7 svn:log V 82 MFC r217820: Document PT_FLAG_FORKED, PT_FOLLOW_FORK, pl_tdname and pl_child_pid. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-05T23:02:55.635284Z K 7 svn:log V 36 MFC r217821: Document P_FOLLOWFORK. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2011-02-05T23:03:40.228786Z K 7 svn:log V 435 following the recent (218130) changes to Makefile and Makefile.inc1, we need to set TARGET and TARGET_ARCH to get a correct WMAKEENV. I am setting both to i386 since this is what picobsd is used for, though there might be a better fix. Add initial support for parallel make. This is disabled right now, because there are incorrect dependencies somewhere which require to run picobsd 2-3 times to complete a build. MFC after: 2 weeks END K 10 svn:author V 5 luigi K 8 svn:date V 27 2011-02-05T23:32:17.639127Z K 7 svn:log V 557 correct the 'output_time' of packets generated by dummynet. In the dec.2009 rewrite I introduced a bug, using for the computation the arrival time instead of the time the packet has exited from the queue. The bandwidth computation was still correct because it is computed elsewhere, but traffic was sent out in bursts. The bug is also present in RELENG_8 after dec.2009 Thanks to Daikichi Osuga for investingating, finding and fixing the bug with detailed graphs of the behaviour before and after the fix. Submitted by: Daikichi Osuga MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-02-06T01:00:40.027643Z K 7 svn:log V 245 MFC r218207: Revert part of r173264. Both aac_ioctl_sendfib and aac_ioctl_send_raw_srb make use of the aac_ioctl_event callback, if acc_alloc_command fails. This can end up in an infinite loop in the while loop in aac_release_command. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-02-06T01:13:10.138121Z K 7 svn:log V 245 MFC r218207: Revert part of r173264. Both aac_ioctl_sendfib and aac_ioctl_send_raw_srb make use of the aac_ioctl_event callback, if acc_alloc_command fails. This can end up in an infinite loop in the while loop in aac_release_command. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-06T07:41:27.762609Z K 7 svn:log V 2963 Add relnotes entries for upcoming 8.2R (first round): [ia64] DMA bounce buffer pool increased from 256 to 1024, [powerpc] kern.hz 100->1000, [powerpc] SMP support on MPC7400-based machines, [powerpc] DMA bounce buffer support, ddb(8) reset and reboot delay support, ddb(8) show cdev, memguard(9) improvement to use larger KVA, aibs(4) added in favor of acpi_aiboost(4), coretemp(4) Xeon 5500/5600 support, ichwd(4) Intel NM10 Express chipset support, video4linux API support in Linux emulation subsystem, alc(4) AR8151/8152 support, alc(4) poor UDP performance issue fixed, bge(4) TSO fixed, bce(4) flow control support, bwi(4) for BCM430x and BCM431x added (but not in GENERIC yet), bwn(4) padding issue fixed, cxgb(4) new sysctls: nfilters, pkt_timestamp, core_clock, em(4) 7.1.9, igb(4) 2.0.7, em(4) and igb(4) statistics counters as sysctl MIB objects, em(4) and igb(4) now supports led(4), epair(4) linkstate support, iwn(4) 6000 series support, firmware version 9.221.4.1, ixgbe(4) kernel module building, version 2.2.1, mwlfw(4) kernel module building, rl(4) WoL support, prefer_iomap knob added, sis(4) stability issue fixed, ste(4) prefer_iomap knob added, sk(4) TX checksum offloading disabled by default, altq(4) kernel module building, IPsec flow distribution improved, proxy ARP issue over Netgraph interfaces fixed, an issue with IPv6 use_defaultzone=1 fixed, ng_patch(4) added, ng_ether(4) issue when associated IF is moved to another vnet fixed, TCP BW*DELAY window limiting (inflight) disabled by default, TCP path MTU discovery when <256 octets of MTU fixed, TCP initial window increase algorithm in RFC 3390 improved, VNET now supports IPv4 multicast routing, ahci(4) NCQ and PMP disabled on VIA VT8251, arcmsr(4) updated to version 1.20.00.17, ata(4) device hints for initial ATA mode added, ata(4) now checks also on controller side when ata_dma_check_80pin=1, mpt(4) now reports max I/O size to the upper layer, twa(4) updated to version 3.8.06.003, ZFS version 15, metaslab code updated, various bug fixes, vfs.zfs.vdec.max_pending reduced from 35 to 10, arp(8) -an improvement, calendar(1) improved, dhclient(8) 10-second period changed, du(1) -t threshold added, gcore(1) -f added, get{host,net,proto}*() returns ERANGE and NS_RETURN for too small buf, gpart(8) resize command added, ifconfig(8) CIDR subnet width parsing improved, jot(1) bug fix, newsyslog(8) -S pidfile option added, pkill(8) -l option added, pmcstat(8) now supports file and network socket for the event source, pom(6) -p added, powerd(8) -m -M added, sh(1) SIGINT handling fixed, sh(1) supports " END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-06T10:21:33.394444Z K 7 svn:log V 94 Log subdisks as "vol:pos-disk". New first part could be event more important then the second. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-02-06T10:25:11.177231Z K 7 svn:log V 42 Fix cut&paste mistake. MFC after: 1 week END K 10 svn:author V 4 miwi K 8 svn:date V 27 2011-02-06T11:39:51.210454Z K 7 svn:log V 45 - Use tabs not spaces Reported by: bschmidt END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-06T12:21:29.638162Z K 7 svn:log V 178 Close more descriptors that can be open if the worker process for the given resource is already running. Submitted by: Mikolaj Golub MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-06T13:17:40.954426Z K 7 svn:log V 186 1) Use same scheme Michael and I discussed for a selected for a flowid 2) If flowid is not set, arrange so it is stored. 3) If flowid is set by lower layer, use it. MFC after: 3 Months END K 10 svn:author V 6 brooks K 8 svn:date V 27 2011-02-06T13:59:03.897285Z K 7 svn:log V 266 MFC r215213: Add an (off by default) check for negative permissions (where the group on a object has less permissions than everyone). These permissions will not work reliably over NFS if you have more than 14 supplemental groups and are usually not what you mean. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-06T14:06:37.625441Z K 7 svn:log V 117 Open syslog when logging sysconf(3) failure. Reported by: Mikolaj Golub MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-06T14:07:58.795177Z K 7 svn:log V 134 Treat fstat(2) failure (different than EBADF) as fatal error. Reported by: Mikolaj Golub MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-06T14:09:19.874012Z K 7 svn:log V 105 Add (void) cast before snprintf(3)s for which we are not interested in return values. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-06T14:17:08.351270Z K 7 svn:log V 116 Now that we break the loop on fstat(2) failure we no longer need to satisfy gcc's imperfections. MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-06T16:21:21.075867Z K 7 svn:log V 844 Add more relnotes items for 8.2R: CTLFLAG_RDTUNize vm.kmem_size*, debug.{kdb.stop_cpus,trace_on_panic}, kern.sync_on_panic, pxeboot(8) NFSv3 by default, bge(4) UDP checksum offloading bug tunable, bge(4) DMA bounce buffer handling improvement, sis(4) works on all supported platforms, WoL on DP8315, padding bug tunable, xl(4) WoL support, ipfw(4) netgraph + one_pass issue fixed, ipfw(4) ngtee action changed, pf(4) + TSO issue fixed, ahci(4) device reset timeout 10->15 seconds, ata(4) serverworks K2 SATA detection fixed, kenv boot.nfsroot.nfshandlelen added, more ZFS changes, gpart(8) better /dev/ prefix handling in command line, hastd(8) SIGHUP/SIGINT/SIGTERM handling, libarchive LZMA support, pax(1) off-by-one in ustar filename fixed, tftp(1) and tfptd(8) overhaul, and tzdata2010m. Approved by: re (implicit) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-06T17:40:27.500921Z K 7 svn:log V 127 Only tag packets with the A-MPDU bit if they were part of an A-MPDU RX. Whilst I'm here, add a counter to count said packets. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-06T20:11:24.075614Z K 7 svn:log V 712 Just tag all RX packets as needing reorder processing for now. This fixes two problems - * All packets need to be processed here, not just aggregate ones - as any received frames (AMPDU or otherwise) in the given TID (traffic class id) will update the sequence number and, implied with that, update the window; * It seems there's situations where packets aren't matching a current node but somehow need to be tracked. Thus just tag them all for now; I'll figure out the why later. Whilst I'm here, bump the stats counters whilst I'm at it. This fixes AMPDU RX in my tests; the main problems now stem from what look like PHY level error/retransmits which are impeding general throughput, incl. AMPDU. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-06T21:31:28.642855Z K 7 svn:log V 118 RAID0 doesn't really need to know what event for subdisk came from metadata layer. New state is all it needs to know. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-06T21:42:28.614196Z K 7 svn:log V 97 No need to set states on FAILED and DISCONNECTED events. they are already set by metadata layer. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-06T22:18:37.421492Z K 7 svn:log V 133 Comment-out FLOWTABLE. It causes a kernel panic due to a misaligned memory access related to an IPv6 route update. PR: kern/148018 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-02-06T22:21:18.857235Z K 7 svn:log V 261 o) Cavium Octeon doesn't need nop barriers. o) Have mips_wblush just do syncw, not sync on Cavium Octeon. o) Add support for reading and writing some Octeon-specific registers. NB: Some of these are not entirely Octeon-specific. Submitted by: Bhanu Prakash END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-06T22:46:07.100535Z K 7 svn:log V 599 Update to BIND 9.6.3, the latest from ISC on the 9.6 branch. All 9.6 users with DNSSEC validation enabled should upgrade to this version, or the latest version in the 9.7 branch, prior to 2011-03-31 in order to avoid validation failures for names in .COM as described here: https://www.isc.org/announcement/bind-9-dnssec-validation-fails-new-ds-record In addition the fixes for this and other bugs, there are also the following: * Various fixes to kerberos support, including GSS-TSIG * Various fixes to avoid leaking memory, and to problems that could prevent a clean shutdown of named END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-06T23:26:14.546706Z K 7 svn:log V 64 rfork_thread(3): Mark deprecated in favor of pthread_create(3). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-02-06T23:34:09.032410Z K 7 svn:log V 127 Make it impossible to clear the MNT_NFS4ACLS flag on ZFS filesystem by using "mount -uw". Reviewed by: pjd MFC after: 2 weeks END K 10 svn:author V 5 ticso K 8 svn:date V 27 2011-02-07T01:13:57.128119Z K 7 svn:log V 113 unbreak mutlicast hash creation for the second time. at91_emac hardware is *not* using ether_crc32_be algorithm! END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-07T05:36:32.198793Z K 7 svn:log V 226 Remove use_high from the softc and simply check the number of GPIO pins to determine whether there's a high register set or not. This allows platform_gpio_init() to work without duplicating the work done in the attach method. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-07T07:39:09.314515Z K 7 svn:log V 60 MFi386: revision 217886 Set td_kstack_pages for thread0. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-07T07:51:31.615062Z K 7 svn:log V 235 MFi386: revision 218327 Clear the padding when returning context to the usermode, for MI ucontext_t and x86 MD parts. Kernel allocates the structures on the stack, and not clearing reserved fields and paddings causes leakage. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-07T07:52:53.411239Z K 7 svn:log V 73 MFi386: revision 218329 Fix linking of the kernel without device npx. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-07T08:10:29.142001Z K 7 svn:log V 55 1) Track when flowid does get set. MFC after: 3 months END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-07T08:12:24.993913Z K 7 svn:log V 101 If not set (due to some error Michael is working on fixing) set it for the net. MFC after: 3 months END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T10:02:47.978317Z K 7 svn:log V 227 - Refactor RAID1 rebuild start. Make it invariant to receved events, only new subdisk state and fact of the change really matters. - Implement UNINITIALIZED -> REBUILD transition. - Rebuild abort/restart still needs some work. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-07T11:12:27.878009Z K 7 svn:log V 66 MFC 214374: Minor grammar fixes. Approved by: keramida (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-07T11:13:28.523500Z K 7 svn:log V 66 MFC 214374: Minor grammar fixes. Approved by: keramida (mentor) END K 10 svn:author V 5 brian K 8 svn:date V 27 2011-02-07T11:18:18.716580Z K 7 svn:log V 161 Add "iface name" and "iface description" commands. PR: 151400 Submitted by: Aragon Gouveia - aragon at phat dot za dot net with minor fixes MFC after: 3 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-07T11:20:58.967083Z K 7 svn:log V 87 Minor grammar fix. s/cores'/core's/ Approved by: keramida (mentor) MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T14:58:29.803430Z K 7 svn:log V 115 Update metadata pointer obsoleted by metadata write. This fixes unneeded geom retaste call or possibly even panic. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-02-07T15:04:23.087342Z K 7 svn:log V 235 Fix bugs related to M_FLOWID: * Store the flowid when receiving an SCTP/IPv6 packet. * Store the flowid when receiving an SCTP packet with wrong CRC. * Initilize flowid correctly. * Put test code under INVARIANTS. MFC after: 3 months. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T15:04:53.896805Z K 7 svn:log V 361 Improve rebuild aborting. Depending on the current status we may be unable to abort rebuild immediately. In that case set ABORT flag and let things happen slowly. When rebuild abort, check if we can/want restart it again for another subdisk or even same subdisk, but from different position (if rebuilding disk failed during rebuild and was replaced by spare). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-07T15:09:13.438891Z K 7 svn:log V 31 Add in a per phy error sysctl. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-02-07T15:18:36.633957Z K 7 svn:log V 14 MFC @ r218143 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T15:30:11.423382Z K 7 svn:log V 128 Block metadata writing when active array destruction started. Otherwise we have real chances to write something half-destroyed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T15:47:43.941704Z K 7 svn:log V 112 Measure rebuild_meta_update in rebuild slabs, not in clusters of slabs. It is more stable and predictable unit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T16:14:12.141186Z K 7 svn:log V 44 Define and use G_RAID_NODE_E_WAKE constant. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T16:33:00.603083Z K 7 svn:log V 140 After unclean shutdown we have to restart rebuild and resync processes from the beginning. We can't trust completed portions synchronicity. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T17:03:41.735360Z K 7 svn:log V 46 Fix copy-paste bugs in tunables declarations. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-07T17:04:31.220637Z K 7 svn:log V 23 Fix typo in SIFS setup END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-07T18:05:56.844216Z K 7 svn:log V 32 Handle EOF when skipping lines. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-07T18:10:18.554266Z K 7 svn:log V 285 - Use LINE_MAX from limits.h as the maximum line length instead of BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE). - Error out if we encounter a line longer than LINE_MAX. The previous behavior was to silently split long lines and produce corrupted output. PR: bin/151384 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-07T19:12:30.444201Z K 7 svn:log V 94 MFC 212610: Synchronize newfs(8) manual with code. PR: 61716 Approved by: keramida (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-07T19:13:20.076911Z K 7 svn:log V 94 MFC 212610: Synchronize newfs(8) manual with code. PR: 61716 Approved by: keramida (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-02-07T21:26:46.944646Z K 7 svn:log V 228 Introduce a non-portable function pthread_getthreadid_np(3) to retrieve calling thread's unique integral ID, which is similar to AIX function of the same name. Bump __FreeBSD_version to note its introduction. Reviewed by: kib END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-07T21:30:13.865511Z K 7 svn:log V 107 Add a new RMW macro for analog register writes which implements the needed wait period between operations. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-07T21:30:56.977020Z K 7 svn:log V 57 Use analog delay macro for modifying an analog register. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-02-07T21:31:21.604658Z K 7 svn:log V 54 Fix the previous commit of pthread_getthreadid_np(3). END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-07T21:45:22.904130Z K 7 svn:log V 105 Store REBUILD into metadata as VERIFY+FIX. At least my BIOS seems doesn't support REPAIR migration type. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-07T21:48:26.257203Z K 7 svn:log V 95 Bring over some AR9280-specific v14 additions that exist in ath9k. Obtained from: Linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-07T22:00:31.271772Z K 7 svn:log V 392 Add in some AR9280 specific board configuration options. * The existing radio config code was for the AR5416/AR9160 and missed out on some of the AR9280 specific stuff. Include said stuff from ath9k. * Refactor out the gain control settings into a new function, again pilfered from ath9k. * Use the analog register RMW macro when touching analog registers. Obtained from: Linux ath9k END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-07T22:33:39.142807Z K 7 svn:log V 177 Update manpage to remove CRT reference. PR: 154441 Submitted by: Ben Haga (bhaga of absoludicrous com) Suggestion by: pluknet Approved by: keramida (mentor) MFC after: 3 days END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2011-02-07T22:37:27.966428Z K 7 svn:log V 143 Curitel UM150 needs a quirk to stop it from detaching straight after attach (resetting actually). Submitted by: Oleg Nauman MFC after: 1 week END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-02-07T23:00:24.324755Z K 7 svn:log V 467 - Added systcls for header splitting, RX/TX buffer count, interrupt coalescing, strict RX MTU, verbose output, and shared memory debug. - Added additional debug counters (VLAN tags and split header frames). - Updated debug counters to 64 bit definitions. - Updated l2fhdr bit definitions. - Combined RX buffer sizing into a single function. - Added buffer size and interrupt coalescing settings to adapter info printout. Submitted by: davidch MFC after: 2 weeks END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-02-08T00:16:36.729584Z K 7 svn:log V 900 Based on discussions on the svn-src mailing list, rework r218195: - entirely eliminate some calls to uio_yeild() as being unnecessary, such as in a sysctl handler. - move should_yield() and maybe_yield() to kern_synch.c and move the prototypes from sys/uio.h to sys/proc.h - add a slightly more generic kern_yield() that can replace the functionality of uio_yield(). - replace source uses of uio_yield() with the functional equivalent, or in some cases do not change the thread priority when switching. - fix a logic inversion bug in vlrureclaim(), pointed out by bde@. - instead of using the per-cpu last switched ticks, use a per thread variable for should_yield(). With PREEMPTION, the only reasonable use of this is to determine if a lock has been held a long time and relinquish it. Without PREEMPTION, this is essentially the same as the per-cpu variable. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-02-08T00:36:46.528000Z K 7 svn:log V 301 Remove the uio_yield prototype and symbol. This function has been misnamed since it was introduced and should not be globally exposed with this name. The equivalent functionality is now available using kern_yield(curthread->td_user_pri). The function remains undocumented. Bump __FreeBSD_version. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-08T01:43:45.603922Z K 7 svn:log V 333 o Make sure to mask off timer1 interrupts. It's not necessarily masked-off by the firmware. o In DELAY(). Make sure we have an inner-loop body that the compiler cannot eliminate. While timing does not have to be perfect, the loops must be there to have at least some notion of delay. Obtained from: Juniper Networks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-08T01:49:30.214009Z K 7 svn:log V 341 In arm_get_next_irq(), use the last IRQ argument in order to prevent a hard hang due to an interrupt storm or stuck interrupt pin. We return the next IRQ that is larger than the last one returned and in doing so give all interrupts a fair chance of being handled. Consequently, we're able to break into the kernel debugger in such an event. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-08T04:48:53.844890Z K 7 svn:log V 732 Tweak the way INDEX files are downloaded and installed to be only require root privileges for the minimum possible number of actions, and do things in a more secure way: 1. If necessary to download the new INDEX.bz2, as a non-root user, do it in a temporary directory created with mktemp 2. If necessary to update the actual INDEX file unzip it in that same temporary directory 3. Only use $PM_SU_CMD to install the file if necessary 4. Unlink both INDEX and INDEX.bz2 in their real locations before installing the new versions Use unset for a lot more variables in the above code. Add the -p flag for install to pm_install_s Move the initialization of PM_WRKDIRPREFIX to the area where other build-related variables are handled END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-08T08:44:08.634735Z K 7 svn:log V 602 MFC r218180 (= fixed r218169): For the ZFS kernel module, change the type of clock_t to int64_t. The clock_t type in OpenSolaris is long (int64_t on amd64). On FreeBSD clock_t is int32_t. The clock_t type is used in several places in the ZFS code to store system uptime in milliseconds ("seconds * hz"). With hz=1000 we have a 32-bit integer overflow in 24 days, 20 hours, 31 minutes and 23.648 seconds. This has a user reported negative impact on l2arc_feed_thread() and may cause unexpected results from other functions using clock_t. Reported by: Artem Belevich on freebsd-fs@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-08T09:25:32.736776Z K 7 svn:log V 216 MFC r218168: Only process as much array elements as we find the sockets during second phase of gc. Take linkage lock and recheck the eligibility of the socket for gc, as well as call fhold() under the linkage lock. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-08T09:28:28.815938Z K 7 svn:log V 62 MFC r217946: Add support for BIO_DELETE on swap-backed md(4). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-02-08T11:32:22.837024Z K 7 svn:log V 256 Don't consider ioctl returning error as a fatal error and move on to next disk. When multiple devices are specified, a non-supporting ioctl will cause diskinfo(8) to stop at the point which does not seem to be necessary. Ok'ed by: phk MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-02-08T11:48:37.890497Z K 7 svn:log V 113 MFC r216675: Allow overriding pidfile and dumpfile. PR: bin/153362 Submitted by: Joe Holden END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-02-08T11:48:47.548915Z K 7 svn:log V 113 MFC r216675: Allow overriding pidfile and dumpfile. PR: bin/153362 Submitted by: Joe Holden END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T12:12:48.095924Z K 7 svn:log V 316 Tune logging: - add array name to the log message when appropriate; - s/node/array/; - move some log messages useful for average user to debug level 0. - log rebuild start/stop events. Do not try to retaste, looking for spare disks to refill the array, if we loose last related disk and going to destroy array. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-08T12:49:01.523087Z K 7 svn:log V 543 There's apparently a bug with Merlin (AR9280) and later chipsets where putting descriptors (not buffers) across a 4k page boundary can cause issues. I've not seen it in production myself but it apparently can cause problems. So, in preparation for addressing this workaround, (re)-expose the particular HAL capability bit which marks whether the chipset has support for cross-4k- boundary transactions or not. A subsequent commit will modify the descriptor allocation to avoid allocating descriptor entries that straddle a 4k page boundary. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T12:51:54.306871Z K 7 svn:log V 157 MFH r218321, r218322, r218336, r218364, r218367, r218380, r218381, r218394, r218399, r218401, r218404, r218405, r218406, r218407, r218408, r218418, r218435. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-08T13:02:25.855582Z K 7 svn:log V 236 After reading a bitmap block for i-nodes or blocks, recheck the count of free i-nodes or blocks to handle a race where another thread might have allocated the last i-node or block while we were waiting for the buffer. Tested by: dougb END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T13:04:51.091148Z K 7 svn:log V 157 MFH r218321, r218322, r218336, r218364, r218367, r218380, r218381, r218394, r218399, r218401, r218404, r218405, r218406, r218407, r218408, r218418, r218435. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T13:24:59.454840Z K 7 svn:log V 45 Do not try to read freshly allocated memory. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-08T14:15:46.387964Z K 7 svn:log V 76 I missed this commit - enable 4k transaction support for the ar5416+ar9160. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T14:24:38.829285Z K 7 svn:log V 12 MFH r218440 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T14:26:14.686241Z K 7 svn:log V 12 MFH r218440 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-08T15:03:13.172396Z K 7 svn:log V 580 Add more relnotes items for 8.2R: new sysctls: vm.kmem_map_size, vm.kmem_map_free, GPT support improved, ipfw0 interface panic due to multicast traffic injection fixed, lagg(4) net.link.lagg.failover_rx_all knob added, linprocfs(5) /proc/$$/environment support, ZFS now allows offlining log devices, gpart(8) -F option added, gaprt(8) more GPT attributes, mount(8) "rw" flags in -p option's output fixed, ncal(1) -A -B -C added, ntpd(8) SHM ref clock driver enabled, ruptime(1) hostname length extended, and tr(1) [=]=] regexp class fixed Approved by: re (implicit) END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-08T15:05:47.531698Z K 7 svn:log V 252 MFC r218166: Reintroduce bugfix from r210103 and fix xz on strong-aligned architectures. This fix was accidentially reverted with the 5.0.0 update in r215187. PR: bin/154310 Submitted by: Michael Moll Approved by: re (kensmith) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T15:57:04.694748Z K 7 svn:log V 190 Since last rebuild refactoring we should be able to support RAID1 configurations with more then two disks. When needed, rebuild runs sequentially for each disk, handling one disk at a time. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-08T17:04:52.800054Z K 7 svn:log V 735 Add more relnotes items for 8.2R: GENERIC now has KDB and KDB_TRACE by default, vfs.ncsizefactor and vfs.ncnegfactor added, opencrypto XTS-AES support, axe(4) TX packet rate improvement, rl(4) TX packet rate under high RX load improvement, gconcat(8) kernel crash dump support, geli(8) metadata version bump to 4, geli(8) kern.geom.eli.overwrites added, geli(8) key shift added, geli(8) XTS-AES support and enabled by default, geli(8) kern.geom.eli.debug=-1 support, geli(8) resize command added, geli(8) suspend/resume command added, geli(8) -f option added, geli(8) -J and -j options added, lpr(1) issue of files on ZFS fixed, watchdogd(8) MADV_PROTECTified, and ee(1) updated to 1.5.2. Approved by: re (implicit) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-08T18:31:28.034234Z K 7 svn:log V 269 Commit some missing bits to the sample rate module to (more) correctly calculate 802.11n packet duration. This doesn't yet take into account HT40 packet durations as the node info (needed to know if it's a HT20 or HT40 node) isn't available everywhere it needs to be. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T19:28:13.848114Z K 7 svn:log V 189 Make sure that the disk is present. Generally it is a task of transformation layers to not send requests to absent disks, but it is better to be safe and report non-fatal error then panic. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T19:36:23.534787Z K 7 svn:log V 201 Do not try to fail disk on rebuild write error if rebuild was aborted. If disk disappeared/replaced during write operation then attempt to fail it may target the innocent new disk or even placeholder. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T19:49:31.720336Z K 7 svn:log V 30 MFH r218446, r218449, r218450 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T19:51:40.996488Z K 7 svn:log V 30 MFH r218446, r218449, r218450 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-08T20:16:43.588209Z K 7 svn:log V 319 net80211 really doesn't want A_MPDU to appear on non-11n station node mbufs. Revert back to the previous method of doing it for where a node can be identified and it's an 11n node. I'll have to do some further research into exactly what is being messed up with the sequence number matching and I'll then revisit this. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-08T20:28:36.422241Z K 7 svn:log V 89 MFC r206903 (by imp): Make this file more C++ friendly. Approved by: imp Found by: jkim END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-08T20:39:03.485950Z K 7 svn:log V 403 Add more relnotes items for 8.2R: [amd64] VM_KMEM_SIZE_SCALE=1 by default, [amd64,i386] CPU topology detection for Intel CPUs improved, bge(4) TXCSUM/RXCSUM confusion fixed, bge(4) workaround for BCM5906/6906 added, fxp(4) TSO over VLAN on 82550 and 82551 added, ata(4) SiI chipsets on big endian systems fixed, b64decode(1) -r break handling fixed, and tzdata2010o. Approved by: re (implicit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-08T21:05:07.632651Z K 7 svn:log V 998 Properly close a socket for a TCP NFS client if the NFS server notices that the client has disconnected while attempting to fetch a request. This accidentally works most of the time because the socket upcall is invoked twice for some reason causing two nfsd threads to be assigned to the same connection. The first thread notices the disconnect when soreceive() fails, and the second thread will then cleanup the connection. Occasionally the second thread will grab the NFSD lock before the first thread has returned from soreceive() to mark the connection as disconnected. When that happens, the socket is never cleaned up and is leaked. Fix this by checking for the disconnect flag if there is an error pulling a request from the connection and closing the socket if it nfsrv_rcv() marked the connection as disconnected. Now the first thread will close the socket in most cases and the socket is never leaked. This is a direct commit to 7 as it is specific to the pre-krpc code used in 7. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-02-08T21:58:13.609960Z K 7 svn:log V 115 Take advantage of accessing the kernel TSB via ASI_ATOMIC_QUAD_LDD_PHYS on SPARC64-V, too. Tested by: Michael Moll END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-02-08T22:08:00.694675Z K 7 svn:log V 277 MFC: r216961 Reserve INTR_MD[1-4] similarly to what BUS_DMA_BUS[1-4] are intended for and switch sparc64 to use the first one for bus error filter handlers of bridge drivers instead of (ab)using INTR_FAST for that so we eventually can get rid of the latter. Reviewed by: jhb END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T22:09:00.443190Z K 7 svn:log V 394 Fix bad sector recovery: - Lock region on first recovery read, not ot write. Locking on write is too late, as some other write can slip in before it. - Add optional ignore BIO argument to g_raid_lock_range(). It is needed to not block on request that caused this recovery. This fixes dead lock on bad sector recovery. - Prepare some ground to do multiple recovery reads for 3+ disks RAID0s. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-02-08T22:14:19.124272Z K 7 svn:log V 277 MFC: r216961 Reserve INTR_MD[1-4] similarly to what BUS_DMA_BUS[1-4] are intended for and switch sparc64 to use the first one for bus error filter handlers of bridge drivers instead of (ab)using INTR_FAST for that so we eventually can get rid of the latter. Reviewed by: jhb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-08T22:16:29.311445Z K 7 svn:log V 256 Improve the error interrupt handler. In particular, read the error address on a decoding error to unlatch it and to allow us to print a better diagnostics message. This also has the side effect of clearing the condition, which prevents an interrupt storm. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T22:16:32.697519Z K 7 svn:log V 12 MFH r218459 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-08T22:17:59.287310Z K 7 svn:log V 12 MFH r218459 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-08T23:08:20.405641Z K 7 svn:log V 331 Unlink UNIX domain socket file only if: 1. The descriptor is the one we are listening on (not the one when we connect as a client and not the one which is created on accept(2)). 2. Descriptor was created by us (PID matches with the PID stored on bind(2)). Reported by: Mikolaj Golub MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-08T23:16:19.802617Z K 7 svn:log V 132 Explicitly include as suggested by getpid(2) and don't rely on including what's needed. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-08T23:18:06.983485Z K 7 svn:log V 416 sh: Import arithmetic expression code from dash. New features: * proper lazy evaluation of || and && * ?: ternary operator * executable is considerably smaller (8K on i386) because lex and yacc are no longer used Differences from dash: * arith_t instead of intmax_t * imaxdiv() not used * unset or null variables default to 0 * let/exp builtin (undocumented, will probably be removed later) Obtained from: dash END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-08T23:19:40.719625Z K 7 svn:log V 41 sh(1): Update description of arithmetic. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-02-08T23:21:35.010214Z K 7 svn:log V 33 Set td_kstack_pages for thread0. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-08T23:23:55.153895Z K 7 svn:log V 46 sh: Add tests for new features in arithmetic. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-09T04:35:33.471078Z K 7 svn:log V 348 When we were failing the subdisk due to too many read errors, we were returning the error that caused us to kick that subdisk out rather than retrying the read on the other disk. Flag this condition so we go through all the motions, except the write, so that we return the results of this other read. We now fail the disk w/o EIO being returned. END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-02-09T05:30:38.893672Z K 7 svn:log V 41 Fix Paskha and Paskha-specific holidays. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-09T05:48:52.495298Z K 7 svn:log V 427 Don't fail the last disk in the volume on read/write errors. Instead, let the last surviving drive in a volume reflect its imperfect state back to the upper layers. This makes perfect sense for the volume that has / on it where you might be able to survive long enough to reboot or insert a good disk and start a sync. I think in other cases as well, so I've just left a comment rather than making this yet another tunable. END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-02-09T06:38:32.276823Z K 7 svn:log V 122 Always convert Paskha day from Julian (old) to Gregorian (new) style by adding 13 days. Bug introduced in 1.13 revision. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-09T08:01:10.462759Z K 7 svn:log V 149 When we decide to unlink socket file, sun_path must be set. If it is set, but there is problem unlinking the file, log a warning. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-09T08:01:45.102189Z K 7 svn:log V 207 Minor cleanup: - use device_printf() instead of printf() to give more accurate warnings. - use memcpy() instead of bcopy(). - add missing #if's for non-FreeBSD compilation. Approved by: thompsa (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-09T09:20:27.088094Z K 7 svn:log V 204 Use sigsetjmp/siglongjmp with disabled signal mask access for lock upgrade in rtld. There is no need to care about the mask, which causes a lot of unneeded sigprocmask(2) calls during each symbol lookup. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-09T10:06:31.130187Z K 7 svn:log V 44 Fix termcap entry typo. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-02-09T11:28:57.980488Z K 7 svn:log V 157 Correct signedness and off-by-one issues in parameters used for DMA tag creation. PR: 154259 Submitted by: Vladislav Movchan (partially) MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-09T11:49:58.543395Z K 7 svn:log V 243 - When initial read disk failed due to read error and we are not going to do remap, there is no need to lock the region. - Make read error recovery support 3+ disks configurations. More then one retry attempt may be needed to read data there. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-09T12:03:22.352272Z K 7 svn:log V 88 Allow to use completed portion of REBUILD and RESYNC subdisks for read errors recovery. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-09T12:48:12.879233Z K 7 svn:log V 547 Do not abort rebuild on read errors, just log it and continue. For 2-disk array we have no more redundancy to recover any way. And if this rebuild really implements resync, then skipping damaged block is actually a right behavior, as second copy is most likely valid and can be used for reading. Aborting rebuild same time will make that copy inaccessible. Another reason to do it is that present code tries to rebuild/resync everything that possible. Aborted rebuild will be restarted and likely end with the same result, causing infinite loop. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-09T14:37:33.782618Z K 7 svn:log V 18 Whitespace tweak. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-09T15:23:16.884642Z K 7 svn:log V 542 Fix the keycache behaviour for multicast keycache search. The correct bit to set is 0x1 in the high MAC address byte, not 0x80. The hardware isn't programmed with that bit (which is the multicast adress bit.) The linux ath9k keycache code uses that bit in the MAC as a "this is a multicast key!" and doesn't set the AR_KEYTABLE_VALID bit. This tells the hardware the MAC isn't to be used for unicast destination matching but it can be used for multicast bssid traffic. This fixes some encryption problems in station mode. PR: kern/154598 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-09T15:32:04.703067Z K 7 svn:log V 163 MFC r218189: Remove OpenSolaris include path referring to a non-existing directory. Reported by: arundel on freebsd-hackers@ via clang Approved by: kib (mentor) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-02-09T15:33:13.650700Z K 7 svn:log V 592 Add some FEATURE macros for some UFS features. SU+J is not included as a FEATURE macro: - it was not in the tree during the GSoC - I do not see an option to en-/disable it in NOTES Two minor changes where made during the review compared to what was developed during GSoC 2010. No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: kib X-MFC after: to be determined in last commit with code from this project END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-09T15:40:13.479581Z K 7 svn:log V 247 Implement more advanced algorithm for choosing disk to read from RAID1. General idea is the same as in gmirror balance algorithm. Take into account: subdisk state, running error recovery, average disk load, head position and possible cache hits. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-09T15:40:48.417549Z K 7 svn:log V 163 MFC r218189: Remove OpenSolaris include path referring to a non-existing directory. Reported by: arundel on freebsd-hackers@ via clang Approved by: kib (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-09T15:43:38.257946Z K 7 svn:log V 1293 Add in the (very!) optional glue to flip the 11n bits for if_ath. There's still a lot of random issues to sort out with the radio side of things and AMPDU RX handling (and completely missing AMPDU TX handling!) but if people wish to give this a go and assist in debugging the issues, they can define ATH_DO_11N to enable it. I'm just re-iterating - this is here to allow people to assist in further 11n development; it is not any indication that the 11n support is complete and functional. Important notes: * This doesn't support 1-stream cards yet - (eg AR9285) - the various bits that negotiate TX/RX MCS don't know not to try >1 stream TX or negotiate 1-stream RX; so don't enable 11n unless you've first taught the rate control module and the net80211 stack to negotiate 1-stream stuff; * The only rate control module minimally 11n aware is ath_rate_sample; * ath_rate_sample doesn't know about HT/40; so airtime will be incorrectly calculated; * The AR9160 and AR9280 radio code is unreliable at the higher MCS rates for some reason; this will definitely impact 11n performance; * AMPDU-TX isn't yet implemented; * AMPDU-RX may be a bit buggy still and will definitely suffer from the radio unreliability mentioned above (ie, don't expect 150/300mbit RX just yet.) END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-09T15:55:48.508688Z K 7 svn:log V 150 MFC r217090: Warn if rules could not be read from a ruleset file. Now at least something gets logged if the file has syntax errors. PR: conf/91342 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-09T16:37:29.178727Z K 7 svn:log V 105 Expose the 4k transaction workaround hooks to the driver, but don't (yet) fix the descriptor allocation. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-09T16:41:06.273191Z K 7 svn:log V 93 Fix typo introduced at r218459 and making recovered read return error if remap write failed. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-02-09T18:09:27.213598Z K 7 svn:log V 827 Rework beacon handling re-enable run_updateslot(). Drivers which rely on net80211 to create the beacon need to call ieee80211_beacon_update() on iv_update_beacon() calls. This is required that certain bits, e.g. TIM, get updated. A call to ieee80211_beacon_alloc() is not enough because it does not care about flags which can only change during runtime. By design a beacon is supposed to be allocated only once while moving into RUN state. To handle all possible calls to iv_update_beacon() the run_updateslot() function has been revived and run_updateprot() has been added. run_updateslot() handles slot time changes and run_updateprot() changes to protection, both can change while nodes associate/leave. Submitted by: Alexander Zagrebin , PseudoCylon MFC after: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-09T18:45:33.919293Z K 7 svn:log V 88 Setting VV_TEXT here is redundant. It is already set by do_execve(). Reviewed by: kib END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-09T19:08:21.934751Z K 7 svn:log V 668 Provide convenience function for obtaining MODINFO_ADDR and MODINFO_SIZE attributes for preloaded modules/images. In particular, MODINFO_ADDR has the added complexity of not always being relocated properly. Rather than kluging this in the various components that are affected, we handle it in a centralized place (preload_fetch_addr()). To that end, expose a new variable, preload_addr_relocate, that MD initialization code can set and that turns the address attribute into a valid kernel VA. Architectures that need the relocation: arm & powerpc (at least). Components that can utilize this: acpi(4), md(4), fb(4), pci(4), ZFS, geli. Sponsored by: Juniper Networks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-09T19:31:10.702689Z K 7 svn:log V 180 Use the preload_fetch_addr() and preload_fetch_size() convenience functions and only create the MD device when we have a non-zero pointer and size. Sponsored by: Juniper Networks END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-09T19:57:00.327324Z K 7 svn:log V 49 Sync: merge r218200 through r218495 from ^/head. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-02-09T20:23:22.691514Z K 7 svn:log V 909 Linux' shm_open() fails because it wants to find some funky shmfs to construct the full pathname. It starts to search at the default mountpoint which is /dev/shm. If this fails it runs through fstab and searches for shmfs and tmpfs. Whatever it finds will be statfs()'ed to be checked for Linux' fs magic for shmfs (0x01021994). Ideally our tmpfs should deliver this fs magic to Linux processes, but as our tmpfs is considered to be an experimental feature we can not assume that there is always a tmpfs available. To make shared memory work in the Linuxulator, force the fs type of /dev/shm (which can be a symlink) to match what Linux expects. The user is responsible (info has to be added to the linux base ports and the docs) to setup a suitable link for /dev/shm. Noticed by: Andre Albsmeier Submitted by: Andre Albsmeier MFC after: 1 month END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-02-09T23:59:17.533555Z K 7 svn:log V 66 - Use link_ntoa() for non ethernet addresses. Suggested by: jhb END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-02-10T00:01:10.909252Z K 7 svn:log V 146 - Slightly obscure and comment intr_drain() so that it is clear that it is not part of the official BSD api and only exists for linux compat. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-02-10T00:01:50.354913Z K 7 svn:log V 116 - Add some comments for the new functions and code introduced to support non ethernet devices and the IB stack. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-02-10T00:05:11.373447Z K 7 svn:log V 713 - Change ofed from a device line to an options line in the config so that we can test for it in the link layer address table to avoid the overhead when it is not compiled. - Introduce some more ofed configuration options so you don't have to manually edit headers to enable debugging etc. - Fix a bug with ipoib, when cm mode is enabled checksumming doesn't work on all cards. - Ignore the linux admin flag for cm enabled, if it's compiled in, use it when the remote host supports it. - Support transmitting mbufs with more than one sg entry in ipoib cm. - Normalize the MTU settings and document whether they include the header or not in the ipoib.h file where the variables are defined. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2011-02-10T00:20:56.842456Z K 7 svn:log V 371 MFH: r180238 Use bcopy instead of strlcpy in uipc_bind and unp_connect, since soun->sun_path isn't a null-terminated string. As UNIX(4) states, "the terminating NUL is not part of the address." Since strlcpy has to return "the total length of the string [it] tried to create," it walks off the end of soun->sun_path looking for a \0. This reverts r105332. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2011-02-10T01:24:09.083126Z K 7 svn:log V 159 As info.rti_info[RTAX_DST] can point inside of rtm we must not free the rtm until rt_dispatch is done with the sockaddr. Found by: memguard MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-10T02:48:27.021683Z K 7 svn:log V 42 Move error counting from subdisk to disk. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-10T04:53:09.137010Z K 7 svn:log V 147 sys/rman.h now requires sys/types.h. Include it to make the API match the man page again. Submitted by: Raphael Kubo da Costa MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-10T04:55:51.183660Z K 7 svn:log V 121 Document requirement that sys/types.h be included before rman.h. Submitted by: Raphael Kubo da Costa MFC after: 2 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-02-10T05:33:40.625740Z K 7 svn:log V 22 Add tmpfs(5) to NOTES END K 10 svn:author V 3 das K 8 svn:date V 27 2011-02-10T07:37:29.247731Z K 7 svn:log V 219 Fix a bogus threshold that was copied from the double precision version. This commit should have no effect on correctness; it merely changes the threshold at which a simpler approximation can be used. Reviewed by: bde END K 10 svn:author V 3 das K 8 svn:date V 27 2011-02-10T07:37:50.074480Z K 7 svn:log V 205 For small arguments, these functions use simple approximations, e.g. cos(small) = 1, sin(small) = small. This commit tightens the thresholds at which the simple approximations are used. Reviewed by: bde END K 10 svn:author V 3 das K 8 svn:date V 27 2011-02-10T07:38:13.127877Z K 7 svn:log V 189 Fix a bug where the wrong argument was passed to INSERT_WORDS(). This bug results in a type mismatch that happens to be harmless because of the way INSERT_WORDS() works. Submitted by: bde END K 10 svn:author V 3 das K 8 svn:date V 27 2011-02-10T07:38:38.985990Z K 7 svn:log V 193 Fix a bug where the wrong argument was passed to SET_FLOAT_WORD(). This bug results in a type mismatch that happens to be harmless because of the way SET_FLOAT_WORD() works. Submitted by: bde END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-10T07:56:55.834044Z K 7 svn:log V 163 Explicitly write metadata on array startup. It deprecates all missing disks and guaranties that any later arrival will be handled as STALE with potential rebuild. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-02-10T08:06:56.352455Z K 7 svn:log V 32 Wrap long line. Noticed by: bz END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-10T08:19:37.742871Z K 7 svn:log V 45 Write metadata on RAID1 volume state change. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-10T08:40:12.309199Z K 7 svn:log V 145 Make recovery read to reuse g_raid_tr_raid1_select_read_disk(). Add argument storing the bitmap of the disks to avoid (that were already tried). END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-10T10:04:38.847110Z K 7 svn:log V 43 Report volume stripesize and stripeoffset. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-02-10T10:51:12.601230Z K 7 svn:log V 74 - Put ibv_resolve_eth_gid in the 1.1 symbols for lack of a better place. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-10T11:27:31.528710Z K 7 svn:log V 463 Remove RAID10 RAID level constant, not defined by DDF specification. Use RAID1E constant instead. For even number of disks it is exactly the same, while it is really single level transformation, as we may handle it. Tune Intel metadata decoding, adding support for 3+ disks RAID1 and RAID1E with odd number of disks. None of them supported by Intel RAID BIOS or other drivers, but if I interpret numbers correctly, there is enough information to represent them. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-10T12:34:27.798853Z K 7 svn:log V 164 Add checks for number of disks in each configuration, supported by Intel RAID BIOS. Add "-f" flag to `graid label` and `graid add` allowing to bypass these checks. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-10T14:29:34.337405Z K 7 svn:log V 129 MFH r218470, r218472, r218479, r218480, r218481, r218486, r218491, r218504, r218512, r218514, r218515, r218516, r218518, r218519 END