īk209357 176 256 315 317 281 171 344 237 276 266 217 561 154 328 509 2048 221 177 145 131 155 167 215 210 736 664 492 292 774 224 115 148 674 185 287 149 212 398 398 391 569 145 156 177 214 200 197 163 2196 2196 322 388 485 428 384 161 303 171 515 149 151 149 151 276 249 283 377 152 152 191 148 157 251 201 167 259 142 599 286 136 121 190 162 144 575 174 159 268 132 139 172 132 151 151 347 151 314 179 150 164 161 184 167 373 382 376 367 429 324 345 253 393 360 298 475 437 260 460 412 412 212 287 113 137 138 226 521 356 463 236 326 371 1220 536 185 149 248 272 139 167 172 399 175 149 469 158 181 245 245 347 499 113 158 293 283 241 196 1544 166 124 440 187 167 188 354 218 195 362 226 215 289 220 192 138 413 130 122 K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-19T22:13:40.643728Z K 7 svn:log V 158 Apply by hand alc@'s patch to init_pte_prot... I don't know if I mismerged this from head or it hasn't been committed yet, but it's necessary for me to boot. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-20T00:34:06.713478Z K 7 svn:log V 219 Unbreak platforms with char unsigned by default. Oddly enough, GCC isn't satisfied with a simple cast to int in the check against EOF, so the fix is a bit involved by actually having to go through a temporary variable. END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-06-20T04:14:49.905026Z K 7 svn:log V 222 Clean up item_add and remove -fno-strict-aliasing from CFLAGS. Note that the "aux" value in libdialog is really an opaque pointer, but libdialog stores it as a long for historical reasons. Approved by: cperciva (mentor) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-06-20T06:52:10.755132Z K 7 svn:log V 186 Merge from English r198040: add C message catalogue entries for newer errnos: EBADMSG, EMULTIHOP, ENOLINK, EPROTO, ENOTCAPABLE. PR: docs/147983 Submitted by: pluknet MFC after: 1 week END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-20T08:03:06.585341Z K 7 svn:log V 77 Add a missing prototype PR: 145232 Submitted by: gcooper MFC after: 1 week END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-20T08:27:03.372172Z K 7 svn:log V 249 Add a -t switch for masking output that's above or below certain thresholds. This switch makes it a lot easier to locate problem areas when a process is threatening to consume all of your disk space. PR: 144192 Submitted by: gk MFC after: 3 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-20T08:48:30.435257Z K 7 svn:log V 142 Recognise the -l switch with pkill - list kill command(s) used. PR: 143558 Submitted by: eitanadlerlist at gmail dot com MFC after: 3 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-20T09:40:54.856793Z K 7 svn:log V 181 Fix some style(9), although there's a lot more issues here. Fix some casting errors. PR: 142384 Submitted by: giffunip at tutopia dot com Obtained from: NetBSD MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-20T10:23:46.763366Z K 7 svn:log V 173 MFC r209155: Fix bug introduced in SVN rev 194985. When calling pic_assign_cpu() for pre-bound IRQs during boot, submit there LAPIC ID, same as in other places, not CPU ID. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-20T12:52:33.493494Z K 7 svn:log V 125 Small style fixes: - ANSIfy prototypes. - Remove unneeded whitespace. - Add const keyword to function where it can be used. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-20T13:35:16.822521Z K 7 svn:log V 468 Ensure that VOP_ACCESSX is called with exclusively locked vnode for the kernel compiled with QUOTA option. ufs_accessx() upgrades the vdp vnode lock from shared to exclusive to assign the dquot structure to the vnode, and ufs_delete_denied() is called when tvp is locked. Since upgrade drops shared lock when non-blocked upgrade failed, LOR is there. Reported and tested by: Dmitry Pryanishnikov Tested by: pho PR: kern/147890 MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-06-20T16:24:22.089853Z K 7 svn:log V 62 Added regression test for FPU changes implemented in r208833. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-20T16:56:48.358986Z K 7 svn:log V 227 Temporarily disable instruction relocation while setting up the kernel's IBAT entry in early boot in order to prevent possible faults from races between the instruction cache and the MMU. PR: powerpc/148003 MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-20T18:26:04.199315Z K 7 svn:log V 408 Close a race masquerading as a speed optimization: moea64_pvo_to_pte() could optionally take the index to the PTE in the hardware page table, often calculated as a side effect of other functions outside the scope of the table lock. Due to spills, the PTE could have moved in the meantime, causing a panic. While here, remove an unnecessary PTE sync operation and remove redundant newlines from two asserts. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-20T21:33:29.273594Z K 7 svn:log V 1954 Implement new event timers infrastructure. It provides unified APIs for writing event timer drivers, for choosing best possible drivers by machine independent code and for operating them to supply kernel with hardclock(), statclock() and profclock() events in unified fashion on various hardware. Infrastructure provides support for both per-CPU (independent for every CPU core) and global timers in periodic and one-shot modes. MI management code at this moment uses only periodic mode, but one-shot mode use planned for later, as part of tickless kernel project. For this moment infrastructure used on i386 and amd64 architectures. Other archs are welcome to follow, while their current operation should not be affected. This patch updates existing drivers (i8254, RTC and LAPIC) for the new order, and adds event timers support into the HPET driver. These drivers have different capabilities: LAPIC - per-CPU timer, supports periodic and one-shot operation, may freeze in C3 state, calibrated on first use, so may be not exactly precise. HPET - depending on hardware can work as per-CPU or global, supports periodic and one-shot operation, usually provides several event timers. i8254 - global, limited to periodic mode, because same hardware used also as time counter. RTC - global, supports only periodic mode, set of frequencies in Hz limited by powers of 2. Depending on hardware capabilities, drivers preferred in following orders, either LAPIC, HPETs, i8254, RTC or HPETs, LAPIC, i8254, RTC. User may explicitly specify wanted timers via loader tunables or sysctls: kern.eventtimer.timer1 and kern.eventtimer.timer2. If requested driver is unavailable or unoperational, system will try to replace it. If no more timers available or "NONE" specified for second, system will operate using only one timer, multiplying it's frequency by few times and uing respective dividers to honor hz, stathz and profhz values, set during initial setup. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-20T22:37:24.500741Z K 7 svn:log V 123 Actually, the maximum number of USB ports is 2. Clamp that down to 1 for now because we only support the first interrupt. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-20T22:40:46.127139Z K 7 svn:log V 80 Add a bus front-end to hps's Octeon USB controller based on his at91 front-end. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-20T22:54:41.119108Z K 7 svn:log V 48 DPRINTF -> DPRINTFN where a level is specified. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-20T23:12:45.886228Z K 7 svn:log V 34 Add a usbus attachment to octusb. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-20T23:41:29.205800Z K 7 svn:log V 58 Temporarily disable octusb since it's hanging root mount. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-20T23:42:14.949599Z K 7 svn:log V 70 Whoops; add missed update to files listing for octusb bus attachment. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-20T23:45:19.239546Z K 7 svn:log V 114 Fix and optimize the case where a PTE is spilled out of its secondary PTEG and later re-added to its primary one. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T00:49:23.572194Z K 7 svn:log V 112 o) Add a device attachment. o) Move some globals into device softc. o) Make compile. o) Some cosmetic cleanups. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T02:32:41.898626Z K 7 svn:log V 638 o) Switch to an iovec-oriented API for the crypto API using the previous scatterlist macros as a base. XXX Said macros are definitely at least a little buggy and read/write macros would allow better sanity checking. XXX The code here is all so basically identical that it ought to be possible to abstract out functions to do the various functions for each type and compose those into sane functions rather than the massive duplicated blobs that there are now. o) Actually build the crypto front-end now. This still can't work because I need to add trivial functions to enable the crypto coprocessor. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T03:05:31.162684Z K 7 svn:log V 566 o) We always run with COP2 access enabled, as far as I can tell, so we just need to disable interrupts for now for safe use of the crypto coprocessor within the kernel. XXX We shouldn't always have COP2 access enabled, we should trap on first access and enable it and do something like with fpcurthread. I now have a good idea of how to handle this generically via some arrays in the pcpu struct, but as I only need to use COP2 in the kernel, it's not a priority for me to do anything that makes userland COP2 use work. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T04:06:01.605871Z K 7 svn:log V 394 o) Actually, we don't reenable COP2 access when entering the kernel from userland, so we need to enable it here along with disabling interrupts during crypto operations. o) Rather than trying to allocate a shocking amount of stack space, put the iovecs for crypto operations in the session structure. o) Remove a debugging panic. With this the crypto coprocessor seems to be working. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-21T04:37:39.289259Z K 7 svn:log V 196 This is an MFC of 208895. Fix XPT_GET_TRAN_SETTING for FC which has been broken for while so that it will figure out the correct target to handle index and be able to find things like WWPN, etc. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T05:42:21.193451Z K 7 svn:log V 676 o) Use M_ZERO when allocating session data that we want zeroed rather than calling memset by hand. o) Don't memset the iovec array before using it -- it should be adequately bounds-checked and not need the safety net of NULL pointers and 0 lengths. This significantly reduces overhead. OpenSSL speed test, before: type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-cbc 447.60k 1754.91k 6431.14k 19025.51k 35813.38k OpenSSL speed test, after: type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-cbc 782.49k 3006.76k 10510.03k 26280.64k 38939.45k END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-21T05:42:36.079522Z K 7 svn:log V 132 MFC r208886: libgeom(3) does strdup of param name. Don't leak memory when deleting param from gctl_req. Approved by: mav (mentor) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T07:06:05.550879Z K 7 svn:log V 18 Set USB revision. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T07:17:48.515515Z K 7 svn:log V 51 The Lanner MR320's on-board USB has a 12MHz clock. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-21T08:24:50.865717Z K 7 svn:log V 582 Remove G_TYPE_ASCLBA type and replace it with G_TYPE_STRING in gpart. Move code that converts params from humanized numbers to sectors count to subr.c and adjust comment. Add post-processing for "size" and "start offset" params in gpart, now they are properly converted to sectors count with known sector size that can be greater that 512 bytes. Also replace "unsigned long long" type to "off_t" for unify code since it used for medium size in libgeom(3) and DIOCGMEDIASIZE ioctl. PR: bin/146277 Reviewed by: marcel (previous version) Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-21T09:51:25.391370Z K 7 svn:log V 93 Do not report a stack garbage as the old value for debug.ncores sysctl. Reported by: brucec END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-21T09:55:56.576497Z K 7 svn:log V 195 Use ISO C99 integer types in sys/kern where possible. There are only about 100 occurences of the BSD-specific u_int*_t datatypes in sys/kern. The ISO C99 integer types are used here more often. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T10:43:13.561616Z K 7 svn:log V 52 Reenable octusb now that the hang on boot is fixed. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-21T12:50:54.302935Z K 7 svn:log V 120 Check for overflow before it occurs. Also add check for negative numbers. Suggested by: ache Approved by: kib (mentor) END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-06-21T13:47:29.401616Z K 7 svn:log V 304 MFC r209122: * Improve compatibility with existing application code by permitting the use of `elf_getbase()` on non-archive members. This change is needed for gcc LTO (-flto) to work properly. * Style fix: paranthesize returned values. * Document the current behaviour of `elf_getbase()`. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-06-21T13:52:31.657082Z K 7 svn:log V 304 MFC r209122: * Improve compatibility with existing application code by permitting the use of `elf_getbase()` on non-archive members. This change is needed for gcc LTO (-flto) to work properly. * Style fix: paranthesize returned values. * Document the current behaviour of `elf_getbase()`. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T13:59:49.912923Z K 7 svn:log V 293 o) Allow for software vlans in MTU calculation. o) Reenable cvm_oct_common_set_multicast_list and fix CAM programming to use the MAC address without assuming it is badded out to be a 64-bit quantity like the code used to do. o) Do not fix a typo about rejecting some sort of "multicat". END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T14:25:44.712757Z K 7 svn:log V 471 o) Support TCP and UDP checksum offload. XXX We also check IP on input but don't insert IP on output, so it would sure be nice to have a way to signal support for RXCSUM != TXCSUM. o) Note support for VLAN MTUs as well as hardware VLAN tagging. o) Attempt to use hardware VLAN tagging on receive; I haven't yet gotten this to work and there isn't an obvious way to insert tags on transmit that I've found yet, either. o) Remove a stale comment about MII. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-21T14:37:16.721436Z K 7 svn:log V 54 Remove stale branch. clangbsd-import is part of HEAD. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T15:07:10.156789Z K 7 svn:log V 59 Don't wait for a fixup that will never come if we're done. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-06-21T18:01:57.306379Z K 7 svn:log V 82 Syntax, commas and stuff. Comments from jhb. PR: bin/147572 MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-21T19:44:29.205335Z K 7 svn:log V 122 Don't build Clang libs during lib32 build. This should massively reduce the buildworld time on amd64. Pointy hat to: me END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-21T19:53:47.600393Z K 7 svn:log V 107 Fix i386 LINT build broken by r209371. There appeared such legacy thing as APM, that somehow breaking RTC. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-21T20:27:32.147423Z K 7 svn:log V 104 Fix ia64 build broken by r209371. ia64, same as amd64 has ACPI and always has APIC. Submitted by: jhb@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-21T21:15:51.562806Z K 7 svn:log V 71 "time lock" is no longer a spin-lock since r209371. Reported by: kib@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-21T22:00:57.388372Z K 7 svn:log V 2098 MFC r208969,209268: Driver update of twa(4) from LSI. Many thanks to LSI for continuing to support FreeBSD. 1) Timeout ioctl command timeouts. Do not reset the controller if ioctl command completed successfully. 2) Remove G66_WORKAROUND code (this bug never shipped). 3) Remove unnecessary interrupt lock (intr_lock). 4) Timeout firmware handshake for PChip reset (don't wait forever). 5) Handle interrupts inline. 6) Unmask command interrupt ONLY when adding a command to the pending queue. 7) Mask command interrupt ONLY after removing the last command from the pending queue. 8) Remove TW_OSLI_DEFERRED_INTR_USED code. 9) Replace controller "state" with separate data fields to avoid races: TW_CLI_CTLR_STATE_ACTIVE ctlr->active TW_CLI_CTLR_STATE_INTR_ENABLED ctlr->interrupts_enabled TW_CLI_CTLR_STATE_INTERNAL_REQ_BUSY ctlr->internal_req_busy TW_CLI_CTLR_STATE_GET_MORE_AENS ctlr->get_more_aens TW_CLI_CTLR_STATE_RESET_IN_PROGRESS ctlr->reset_in_progress TW_CLI_CTLR_STATE_RESET_PHASE1_IN_PROGRESS ctlr->reset_phase1_in_progress 10) Fix "req" leak in twa_action() when simq is frozen and req is NOT null. 11) Replace softc "state" with separate data fields to avoid races: TW_OSLI_CTLR_STATE_OPEN sc->open TW_OSLI_CTLR_STATE_SIMQ_FROZEN sc->simq_frozen 12) Fix reference to TW_OSLI_REQ_FLAGS_IN_PROGRESS in tw_osl_complete_passthru() 13) Use correct CAM status values. Change CAM_REQ_CMP_ERR to CAM_REQ_INVALID. Remove use of CAM_RELEASE_SIMQ for physical data addresses. 14) Do not freeze/ release the simq with non I/O commands. When it is appropriate to temporarily freeze the simq with an I/O command use: xpt_freeze_simq(sim, 1); ccb->ccb_h.status |= CAM_RELEASE_SIMQ; otherwise use: xpt_freeze_simq(sim, 1); xpt_release_simq(sim, 1); Submitted by: Tom Couch PR: kern/147695 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-21T22:20:52.555452Z K 7 svn:log V 2098 MFC r208969,209268: Driver update of twa(4) from LSI. Many thanks to LSI for continuing to support FreeBSD. 1) Timeout ioctl command timeouts. Do not reset the controller if ioctl command completed successfully. 2) Remove G66_WORKAROUND code (this bug never shipped). 3) Remove unnecessary interrupt lock (intr_lock). 4) Timeout firmware handshake for PChip reset (don't wait forever). 5) Handle interrupts inline. 6) Unmask command interrupt ONLY when adding a command to the pending queue. 7) Mask command interrupt ONLY after removing the last command from the pending queue. 8) Remove TW_OSLI_DEFERRED_INTR_USED code. 9) Replace controller "state" with separate data fields to avoid races: TW_CLI_CTLR_STATE_ACTIVE ctlr->active TW_CLI_CTLR_STATE_INTR_ENABLED ctlr->interrupts_enabled TW_CLI_CTLR_STATE_INTERNAL_REQ_BUSY ctlr->internal_req_busy TW_CLI_CTLR_STATE_GET_MORE_AENS ctlr->get_more_aens TW_CLI_CTLR_STATE_RESET_IN_PROGRESS ctlr->reset_in_progress TW_CLI_CTLR_STATE_RESET_PHASE1_IN_PROGRESS ctlr->reset_phase1_in_progress 10) Fix "req" leak in twa_action() when simq is frozen and req is NOT null. 11) Replace softc "state" with separate data fields to avoid races: TW_OSLI_CTLR_STATE_OPEN sc->open TW_OSLI_CTLR_STATE_SIMQ_FROZEN sc->simq_frozen 12) Fix reference to TW_OSLI_REQ_FLAGS_IN_PROGRESS in tw_osl_complete_passthru() 13) Use correct CAM status values. Change CAM_REQ_CMP_ERR to CAM_REQ_INVALID. Remove use of CAM_RELEASE_SIMQ for physical data addresses. 14) Do not freeze/ release the simq with non I/O commands. When it is appropriate to temporarily freeze the simq with an I/O command use: xpt_freeze_simq(sim, 1); ccb->ccb_h.status |= CAM_RELEASE_SIMQ; otherwise use: xpt_freeze_simq(sim, 1); xpt_release_simq(sim, 1); Submitted by: Tom Couch PR: kern/147694 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-21T22:54:47.764470Z K 7 svn:log V 225 Fix a regression when dealing with tar(1) format files introduced with GNU cpio 2.8. This is a direct commit against stable/7 because the code have been removed on -HEAD and stable/8. PR: bin/147969 Submitted by: kientzle END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-21T23:27:24.571033Z K 7 svn:log V 295 Introduce vm_page_next() and vm_page_prev(), and use them in vm_pageout_clean(). When iterating over a range of pages, these functions can be cheaper than vm_page_lookup() because their implementation takes advantage of the vm_object's memq being ordered. Reviewed by: kib@ MFC after: 3 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-22T00:26:07.727092Z K 7 svn:log V 388 Improve fsck robustness for SU+J cases: - Use err/errx only when the case is really fatal. For other cases, fall back to full fsck instead of quiting fsck. - Plug a memory leak. - Avoid divide by zero when printing summary. - Output "FILE SYSTEM IS MARKED CLEAN" when a successful journal recovering is done. - When -f is specified, do full fsck instead of journal recovery. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-06-22T01:30:46.971323Z K 7 svn:log V 330 MFC: r209191 Add MODULE_DEPEND() macros to the experimental NFS client and server so that the modules will load when kernels are built with none of the NFS* configuration options specified. I believe this resolves the problems reported by PR kern/144458 and the email on freebsd-stable@ posted by Dmitry Pryanishnikov on June 13. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-22T04:37:05.522889Z K 7 svn:log V 288 This is an MFC of 208905 Make additional definitions up to and including SPC-4. Add in definitions for REPORT and SET TARGET PORT GROUP commands (foundations for future work). Regularize opcodes to be upper case hex. Pick *one* of tab or space after #define (tab) and stick with that. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-22T04:38:41.433759Z K 7 svn:log V 66 This is an MFC of 208918 One byte off for scsi_target_group cdb. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-22T04:40:50.629460Z K 7 svn:log V 207 This is an MFC of 209188 For the target port groups structures, don't allocate the initial element. This makes things easier for target implementations to calculate how many elements they need to allocate. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-22T07:31:05.716708Z K 7 svn:log V 79 readelf.1: remove duplicate -u/--unwind option description MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-22T07:38:30.068176Z K 7 svn:log V 423 MFC r207178: Fix undo for schemes that have internal partitions. Internal partitions do not constitute user-visible or active partitions and as such should not prevent undoing pending operations. While here, initialize the last usable sector for the placeholder geom based on the null scheme, created to allow undoing the destruction of a scheme. This gives consistent output with "gpart show". Approved by: mav (mentor) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-22T07:46:54.735360Z K 7 svn:log V 57 MFC r208669: zfs boot: fix error handling in zfs_readdir END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-22T07:52:58.088306Z K 7 svn:log V 59 MFC r208670: amdsbwd: fix nonsensical timeout calculations END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-22T07:54:19.831131Z K 7 svn:log V 57 MFC r208669: zfs boot: fix error handling in zfs_readdir END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-22T07:55:30.062159Z K 7 svn:log V 59 MFC r208670: amdsbwd: fix nonsensical timeout calculations END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-22T08:00:58.522890Z K 7 svn:log V 182 - Add notifier, radix-tree, and ilog2 support and prototypes along with other minor revisions to the linux wrapper layer. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-22T08:02:50.775019Z K 7 svn:log V 155 - Add OFED_C and OFED_C_NOIMP for use in ofed targets. - Add files for infiniband core and mlx4. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-22T08:04:42.564391Z K 7 svn:log V 189 - Add support for per-file object prefixes that can be used to disambiguate source files with the same name. Reviewed by: bsdimp Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-22T08:05:54.045432Z K 7 svn:log V 283 - Add a taskqueue_cancel() routine that is compatible with the similar workqueue_cancel() in linux. This is like taskqueue_drain() except it will stop the task from running at all if it has not yet been scheduled. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-22T08:17:20.063318Z K 7 svn:log V 60 MFC r208672: g_label: fix possible NULL pointer dereference END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-22T08:17:55.085569Z K 7 svn:log V 60 MFC r208672: g_label: fix possible NULL pointer dereference END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-22T08:22:25.363602Z K 7 svn:log V 99 udf_vnops: cosmetic followup to r208671 - better looking code Suggested by: jhb MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-22T08:58:13.014145Z K 7 svn:log V 56 MFC r209199: Fix the syscall module name after r205320. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-22T09:45:20.307821Z K 7 svn:log V 66 MFC r198235: Clean up markup (mainly). Approved by: kib (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-22T10:45:35.573193Z K 7 svn:log V 154 Revised tuning advice for tcpp benchmarking: do it in loader.conf, and tweak more TCP/stack parameters. Sponsored by: Juniper Networks MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-22T10:46:57.819868Z K 7 svn:log V 104 Add TCP scalability testing wrapper scripts for tcpp. Sponsored by: Juniper Networks MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2010-06-22T15:01:23.498492Z K 7 svn:log V 75 merge r196650 (check that tty != NULL, prevents segfault on session close) END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-22T16:10:48.262783Z K 7 svn:log V 166 Do not set level-triggered interrupt mode if we are not going to use it. This fixes QEMU crash due to unsupported level-triggered HPET interrupts. Reported by: kib@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-22T16:20:10.537307Z K 7 svn:log V 50 Some style fixes for r209371. Submitted by: jhb@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-06-22T17:45:21.128783Z K 7 svn:log V 503 MFC 209264 * Fix a bug where the length of the ASCONF-ACK was calculated wrong due to using an uninitialized variable. * Fix a bug where a NULL pointer was dereferenced when interfaces come and go at a high rate. * Fix a bug where inps where not deregistered from iterators. * Fix a race condition in freeing an association. * Fix a refcount problem related to the iterator. Each of the above bug results in a panic. It shows up when interfaces come and go at a high rate. Approved by: re END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-22T18:24:26.115317Z K 7 svn:log V 194 MFC r198478 (by lulf): - Initialize variable in order to avoid GCC warning and enable WARNS=6. PR: bin/139970 Submitted by: Ulrich Sp̦rlein Approved by: kib (mentor) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-22T18:54:06.316602Z K 7 svn:log V 39 Add more ATA, USB and pseudo- devices. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-22T18:56:09.983974Z K 7 svn:log V 24 Merge latest from hps@. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-22T19:17:57.399231Z K 7 svn:log V 93 At really, really high debug levels, turn on the debugging within the Simple Executive, too. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-22T19:22:34.239767Z K 7 svn:log V 70 MFC r209340: Report transport type in XPT_PATH_INQ. PR: i386/147929 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-22T19:24:07.069531Z K 7 svn:log V 52 MFC r209341: Report transport type in XPT_PATH_INQ. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-22T19:42:27.943537Z K 7 svn:log V 482 Add "legacy route" support to HPET driver. When enabled, this mode makes HPET to steal IRQ0 from i8254 and IRQ8 from RTC timers. It can be suitable for HPETs without FSB interrupts support, as it gives them two unshared IRQs. It allows them to provide one per-CPU event timer on dual-CPU system, that should be suitable for further tickless kernels. To enable it, such lines may be added to /boot/loader.conf: hint.atrtc.0.clock=0 hint.attimer.0.clock=0 hint.hpet.0.legacy_route=1 END K 10 svn:author V 3 des K 8 svn:date V 27 2010-06-22T19:56:07.203482Z K 7 svn:log V 82 merge r196650 from head (via stable/8): tty might be NULL Approved by: re (kib@) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-06-22T20:52:35.266767Z K 7 svn:log V 63 Add missing opt_compat.h dependency. Found by: Garrett Cooper END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-06-22T20:57:48.088298Z K 7 svn:log V 171 Add support for LOW speed BULK transfers. This mode is not recommended by the USB 2.0 standard, though some USB devices use it anyway. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-06-22T21:01:40.579463Z K 7 svn:log V 36 Add new device id. PR: usb/146907 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-06-22T21:03:13.760884Z K 7 svn:log V 43 Add a mass storage quirk. PR: usb/147196 END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-06-22T21:06:33.759371Z K 7 svn:log V 78 Remove unnecessarily inflammatory commentary. Approved by: cperciva (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-06-22T21:08:45.094770Z K 7 svn:log V 36 Add new device id. PR: usb/147190 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-22T21:12:44.474992Z K 7 svn:log V 57 MFC 209286: Add the AAAA address for i.root-servers.net END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-22T21:13:35.588755Z K 7 svn:log V 57 MFC 209286: Add the AAAA address for i.root-servers.net END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-06-22T21:13:36.019800Z K 7 svn:log V 250 Reduce MIDI input buffer size to one USB packet, hence some USB devices don't properly short terminate their transfers. This fixes a problem where input appears several seconds late. Reported by: Alexander Yerenkow Submitted by: Hans Petter Selasky END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-22T21:14:15.669602Z K 7 svn:log V 57 MFC 209286: Add the AAAA address for i.root-servers.net END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-06-22T21:16:18.438834Z K 7 svn:log V 217 - fix for USB audio devices which use the 7-byte endpoint descriptor instead of the 9-byte one. - remove sync-endpoint code, which is currently unused. Reported by: Antun Matanovi Submitted by: Hans Petter Selasky END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-23T03:56:53.656159Z K 7 svn:log V 85 MFC 209286: Add the AAAA address for i.root-servers.net Approved by: re (kensmith) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-06-23T03:59:26.847879Z K 7 svn:log V 55 AR71XX GPIO register definitions. Reviewed by: gonzo@ END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-06-23T04:42:47.170450Z K 7 svn:log V 70 Fix missing argument for errx(). While here, clean up the code a bit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-23T05:43:21.971007Z K 7 svn:log V 69 Do not trust IRQ reported by ACPI. There are cases when it is wrong. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-23T10:04:48.395422Z K 7 svn:log V 92 MFC r209340: Report transport type in XPT_PATH_INQ. PR: i386/147929 Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-23T10:06:31.663501Z K 7 svn:log V 75 MFC r209341: Report transport type in XPT_PATH_INQ. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-23T10:06:57.541750Z K 7 svn:log V 280 MFC r208920: Reorganize the code in bdwrite() which handles move of dirtiness from the buffer pages to buffer. Drain the VPO_BUSY bit of the buffer pages before setting valid and clean bits. Stable/8 version of vfs_page_set_validclean() requires page queue lock. Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-23T10:40:28.520924Z K 7 svn:log V 289 Remove unused i586 optimized bcopy/bzero/etc implementations that utilize FPU registers for copying. Remove the switch table and jumps from bcopy/bzero/... to the actual implementation. As a side-effect, i486-optimized bzero is removed. Reviewed by: bde Tested by: pho (previous version) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-23T11:12:58.793704Z K 7 svn:log V 283 Remove the support for int13 FPU exception reporting on i386. It is believed that all 486-class CPUs FreeBSD is capable to run on, either have no FPU and cannot use external coprocessor, or have FPU on the package and can use #MF. Reviewed by: bde Tested by: pho (previous version) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-23T11:21:19.134248Z K 7 svn:log V 274 After the FPU use requires #MF working due to INT13 FPU exception handling removal, MFi386 r209198: Use critical sections instead of disabling local interrupts to ensure the consistency between PCPU fpcurthread and the state of FPU. Reviewed by: bde Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-23T12:17:13.263869Z K 7 svn:log V 336 Fix bugs on pc98, use npxgetuserregs() instead of npxgetregs() for get_fpcontext(), and npxsetuserregs() for set_fpcontext). Also, note that usercontext is not initialized anymore in fpstate_drop(). Systematically replace references to npxgetregs() and npxsetregs() by npxgetuserregs() and npxsetuserregs() in comments. Noted by: bde END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-23T13:13:14.712933Z K 7 svn:log V 223 MFC r209369: Temporarily disable instruction relocation while setting up the kernel's IBAT entry in early boot in order to prevent possible faults from races between the instruction cache and the MMU. PR: powerpc/148003 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-23T13:47:27.654543Z K 7 svn:log V 244 MFC r209369: Temporarily disable instruction relocation while setting up the kernel's IBAT entry in early boot in order to prevent possible faults from races between the instruction cache and the MMU. PR: powerpc/148003 Approved by: re (kib) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-06-23T14:06:05.841528Z K 7 svn:log V 157 Add some more modules to loader.conf. Remove if_awi since support for it was removed 2 years ago. PR: conf/147126 PR: conf/116071 Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-06-23T14:11:34.985553Z K 7 svn:log V 297 When installing on a machine which doesn't have a VGA card installed, enable a getty on the serial port so that it's possible to login when the system is rebooted. PR: bin/23098 Submitted by: Doug Ambrisko Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-06-23T14:19:19.795279Z K 7 svn:log V 264 Make it easier to cancel a failing installation by only attempting to extract distributions once. If a distribution fails to fetch/extract and the user doesn't want to retry, abort the installation. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-06-23T14:28:08.152399Z K 7 svn:log V 202 If a device can't be opened, don't keep going but display the error returned from open() and quit. PR: bin/81035 Submitted by: Peter Schuller Approved by: rrs (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-06-23T15:19:07.843500Z K 7 svn:log V 379 * Implement sctp_does_stcb_own_this_addr() correclty. It was taking the wrong side into account. * sctp_findassociation_ep_addr() must check the local address if available. This fixes a bug where ABORT chunks were accepted even in the case where the local was not owned by the endpoint. Thanks to brucec for pointing out a bug in my first version of the fix. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-23T17:04:42.099716Z K 7 svn:log V 344 MFC 209213: When updating individual CPU's lowest Cx state to use, never set it to a state lower than the lowest one supported by the current CPU. This closes some races with changes to the hw.acpi.cpu_cx_lowest sysctl while Cx states for individual CPUs were changing (e.g. unplugging the AC adapter of a laptop) that could result in panics. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-23T17:20:51.207550Z K 7 svn:log V 166 Let x86bios_alloc() pass contigmalloc(9) flags. Use it to set M_WAITOK from VESA BIOS initialization. All other malloc(9) uses in the function is blocking any way. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-23T17:51:11.125742Z K 7 svn:log V 367 MFC 209213: When updating individual CPU's lowest Cx state to use, never set it to a state lower than the lowest one supported by the current CPU. This closes some races with changes to the hw.acpi.cpu_cx_lowest sysctl while Cx states for individual CPUs were changing (e.g. unplugging the AC adapter of a laptop) that could result in panics. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-23T17:56:20.012427Z K 7 svn:log V 319 MFC 208388: - Set 'dmadat' earlier so that we properly setup the heap if we fail to locate a high memory area for the heap using the SMAP. - Read the number of hard drive devices from the BIOS instead of hardcoding a limit of 128. Some BIOSes duplicate disk devices once you get beyond the maximum drive number. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-23T17:56:51.700208Z K 7 svn:log V 319 MFC 208388: - Set 'dmadat' earlier so that we properly setup the heap if we fail to locate a high memory area for the heap using the SMAP. - Read the number of hard drive devices from the BIOS instead of hardcoding a limit of 128. Some BIOSes duplicate disk devices once you get beyond the maximum drive number. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-23T18:00:19.931981Z K 7 svn:log V 119 MFC 208390: Allow a const char * to be passed as the process name to kproc_kthread_add() without generating a warning. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-23T18:46:10.747962Z K 7 svn:log V 194 MFC 198988: Take a step towards removing if_watchdog/if_timer. Don't explicitly set if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc() sets those members to NULL/0 already. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-23T19:22:09.975819Z K 7 svn:log V 13 IFC @ 209470 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-23T19:22:38.555091Z K 7 svn:log V 45 Hoist mergeinfo for sys/dev/ixgbe up to sys. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-23T19:28:36.016691Z K 7 svn:log V 46 Hoist mergeinfo for sys/geom/sched up to sys. END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-06-23T19:29:17.884916Z K 7 svn:log V 131 Update the man page to reflect the changes to the netDev configuration variable. Approved by: cperciva (mentor) MFC after: 3 days END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-06-23T19:42:01.062219Z K 7 svn:log V 423 Merge jmallett@'s n64 work into HEAD - changeset 6 PTE flag cleanup from http://svn.freebsd.org/base/user/jmallett/octeon - Rename PTE_xx flags to match their MIPS names - Use the new pte_set/test/clear macros uniformly, instead of a mixture of mips_pg_xxx(), pmap_pte_x() macros and direct access. - Remove unused macros and defines from pte.h and pmap.c Discussed on freebsd-mips@ Approved by: rrs(mentor), jmallett END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-23T20:44:07.480302Z K 7 svn:log V 263 Clear DF bit in eflags/rflags on the kernel entry. The i386 and amd64 ABI specifies the DF should be zero, and newer compilers do not clear DF before using DF-sensitive instructions. The DF clearing for signal handlers was done some time ago. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-06-23T20:59:00.258616Z K 7 svn:log V 367 MFC r208647,r208654: Clarify devfs manpages slightly. mount(8): add xref to devfs(5) devfs(5): change example to something more likely to be useful (it is not necessary to mount a devfs on /dev manually, but for chroots/jails it is often needed), mention since when devfs is preferred to device nodes on ufs and when device nodes on ufs stopped working PR: 146600 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-23T22:25:52.723973Z K 7 svn:log V 140 In the attach method, refactor to take into account that BUS_GET_RESOURCE_LIST() can return a NULL pointer -- and will for MPC85xx kernels. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-23T22:33:03.411813Z K 7 svn:log V 225 Configure interrupts on SMP systems to be distributed among all online CPUs by default, and provide a functional version of BUS_BIND_INTR(). While here, fix some potential concurrency problems in the interrupt handling code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-06-23T23:03:25.168526Z K 7 svn:log V 278 MFC r209262: r209186: BIO_DELETE contains range we want to delete and doesn't provide any useful data, so there is no need to copy it to userland. r209187: 'unit' can be negative, so use signed type for it. Found by: Coverity Prevent CID: 3731 Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-06-23T23:07:57.366897Z K 7 svn:log V 1126 MFC r209263: r209175: Eliminate dead code. Found by: Coverity Prevent CID: 5158 r209177: Remove macros that are not really needed. The idea was to have them in case we grow more descriptors, but I'll reconsider readding them once we get there. Passing (a = b) expression to FD_ISSET() is bad idea, as FD_ISSET() evaluates its argument twice. Found by: Coverity Prevent CID: 5243 r209179: Plug memory leaks. Found by: Coverity Prevent CID: 7052, 7053, 7054, 7055 r209180: Plug memory leak. Found by: Coverity Prevent CID: 7051 r209181: Plug memory leak. Found by: Coverity Prevent CID: 7056 r209182: Plug memory leak. Found by: Coverity Prevent CID: 7057 r209183: Initialize gctl_seq for synchronization requests. Reported by: hiroshi@soupacific.com Analysed by: Mikolaj Golub Tested by: hiroshi@soupacific.com, Mikolaj Golub r209184: Fix typos. r209185: Correct various log messages. Submitted by: Mikolaj Golub Note that without some of these changes hastd won't work on 8.x properly. Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-23T23:16:27.134815Z K 7 svn:log V 440 With openpic(4) using active-low as the default polarity, reconfigure the internal interrupt sources as active-high. The internal interrupt sources are disabled when programmed as active-low. Note that the internal interrupts have no sense bit like the external interrupts. We program them as edge-triggered to make sure we write a 0 value to a reserved register. It does not in any way say anything about the sense of internal interrupt. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-23T23:26:14.822640Z K 7 svn:log V 85 Move default HZ from 100 to 1000 on powerpc. Reviewed by: marcel MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-23T23:34:56.420756Z K 7 svn:log V 56 Use M_WAITOK for VESA BIOS initialization consistently. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-24T00:27:20.018518Z K 7 svn:log V 147 Reverse the logic of the if statement that sets the default value of HZ; the list of 1000 Hz platforms was getting unwieldy. Suggested by: marcel END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-24T05:05:18.181065Z K 7 svn:log V 176 Pass the device_t of the AT PIC driver to atpic_intr() so that we don't have to use a global variable. Pass a NULL frame pointer to the dispatch function just like openpic(4). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-06-24T05:17:21.552834Z K 7 svn:log V 44 Comment about the shared pins I know about. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-24T05:47:00.780561Z K 7 svn:log V 72 Remove debugging printf() -- that is, I assume it was for debugging :-) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-24T05:49:58.679026Z K 7 svn:log V 77 Assign PCI intline values for ISA interrupts using the new INTR_VEC() macro. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-24T05:52:44.702806Z K 7 svn:log V 307 MFC r207094 (by marcel): Implement the resize verb and add support for resizing partitions for all schemes but EBR. MFC r207095 (by marcel): Implement the resize command for resizing partitions. Without new size, the partition in question is resized to fill all available space. Approved by: kib (mentor) END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-24T06:31:23.175931Z K 7 svn:log V 84 MFC r207096 (by marcel): Add and describe GEOM_PART_EBR. Approved by: mav (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-06-24T07:43:25.100336Z K 7 svn:log V 54 Fix a bug I introduced in r209470. MFC after: 3 days END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-06-24T08:08:43.973672Z K 7 svn:log V 371 Merge jmallett@'s n64 work into HEAD - changeset 7 Initial support for n32 and n64 ABIs from http://svn.freebsd.org/base/user/jmallett/octeon Changes are: - syscall, exception and trap support for n32/n64 ABIs - 64-bit address space defines - _jmp_buf for n32/n64 - casts between registers and ptr/int updated to work on n32/n64 Approved by: rrs(mentor), jmallett END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-24T08:35:02.539204Z K 7 svn:log V 61 Handle MAC setting and promiscuous/allmulti more gracefully. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-06-24T10:14:31.349147Z K 7 svn:log V 84 Add linker script and configuration file for n32 kernel. Approved by: rrs (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-24T12:08:50.708648Z K 7 svn:log V 152 MFC 208391: Assert that the thread passed to sched_bind() and sched_unbind() is curthread as those routines are only supported for curthread currently. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-24T12:09:12.492082Z K 7 svn:log V 152 MFC 208391: Assert that the thread passed to sched_bind() and sched_unbind() is curthread as those routines are only supported for curthread currently. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-24T13:11:12.388369Z K 7 svn:log V 254 MFC 208392: - Adjust the whitespace for the lines that output fields in 'show pcpu' in DDB so that all the fields line up. - Print out the tid of the per-CPU idlethread instead of the pid since the idle process is now shared across all idle threads. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-24T13:17:45.480514Z K 7 svn:log V 406 MFC 208915,208991: - Use a bit more care when moving I/O APIC interrupts between CPUs. Mask the interrupt followed by a brief delay if it is not currently masked before moving the interrupt. - Move the icu_lock out of ioapic_program_intpin() and into callers. This closes a race where ioapic_program_intpin() could use a stale value of the masked state to compute the masked bit in the register. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-24T14:17:10.331900Z K 7 svn:log V 13 IFC @ 209506 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-24T15:49:33.339139Z K 7 svn:log V 58 First step in tbemd-related cleanups: hose etc.powerpc64. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-24T16:28:52.074364Z K 7 svn:log V 200 Merge from TBEMD: Rather than having arch specific code in Makefile.inc1, generalize so that we can control the settings of different options on a per architecutre basis. Reviewed by: arch@ (twice) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-24T16:32:20.525699Z K 7 svn:log V 190 Merge from tbemd: change the name of the object tree from ${TARGET} to ${TARGET}.${TARGET_ARCH} so we can do both big and little endian builds in the same tree. Reviewed by: arch@ (twice) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-24T17:53:25.463128Z K 7 svn:log V 148 Merge from tbemd: use MACHINE_CPUARCH instead of MACHINE_CPU since the sources for the CSU is based on MACHINE_CPUARCH Reviewed by: arch@ (twice) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2010-06-24T21:17:58.219655Z K 7 svn:log V 103 Make sure that all the exposed counters and variables are actually being updated. Pointed out by: jfv END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-24T22:21:47.646584Z K 7 svn:log V 1450 Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. This shell script is the back end logic necessary for an installer. It contains both query routines to allow a front-end installer to present reasonable choices to the user and also action routines which allow the front end installer to put a FreeBSD distribution onto a disk. It supports installing onto the usual suspects, as well as advanced features like Mirroring, ZFS, Encryprion and GPT labels. While this is only the back-end of the installer, it can do unattended scripted installations. In PC-BSD's world view, all installations are scripted and all the front-end does is write the script. As such, it is useful in its own right. This has been extensively tested over the past several releases of PC-BSD. However, differences between that environment and FreeBSD suggest there will be a period of shake-out while those differences are discovered and corrected. A text-based front-end is in the works. For the GUI-based front-end, you can use the PC-BSD distribution. Kris' BSDcan paper on pc-sysinstall is linked off his talk on the BSDcan site: http://www.bsdcan.org/2010/schedule/events/173.en.html The man page is written by Josh Paetzel, and I wrote the Makefiles for the FreeBSD integration. Kris wrote the rest. This represents version r7010 in the PC-BSD repo. http://svn.pcbsd.org/pcbsd/current/pc-sysinstall Submitted by: kris@ Sponsored by: iX Systems END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-24T22:29:36.215896Z K 7 svn:log V 74 Remove the license files that svn made me remove at the last second, doh! END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-24T22:33:03.385188Z K 7 svn:log V 32 Makefile overlooked in r2095137 END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-24T22:41:01.812051Z K 7 svn:log V 346 - Import the OFED userland libraries and binaries. Git revisions as follows: libmthca: be5eef3895eb7864db6395b885a19f770fde7234 libibverbs: 2f6624c1cf6c1c0924b6812e171f452ca06cab1e libmlx4: 243236095872988d5d15ffc66bf79e74376df505 management: 8989491f7bdba6c21de61c3e988c7d91d08e4254 Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-24T22:47:09.492729Z K 7 svn:log V 94 - Merge in new ofed files from base. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-24T22:47:50.071570Z K 7 svn:log V 75 Fix a stray PC-BSDism, on FreeBSD, we install these things into /usr/share END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-25T01:03:10.590677Z K 7 svn:log V 95 - Add bmake files for ofed libraries. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-06-25T05:07:42.505475Z K 7 svn:log V 256 Add an alignment of 8 for sections in the n32 ABI. The default alignment of of 4 causes _end to be word aligned, which will be returned by sbrk. malloc(3), when compiled for n32, expects sbrk to return an 8-byte aligned value. Approved by: rrs (mentor) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-06-25T05:36:36.047078Z K 7 svn:log V 120 use PTR_WORD for __curbrk and minbrk instead of .word, the new version wil support all ABIs. Approved by: rrs (mentor) END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-25T08:53:51.579817Z K 7 svn:log V 103 MFC r200539 (by rpaulo): Add Microsoft and NetBSD partition types handling. Approved by: kib (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-25T15:32:46.460874Z K 7 svn:log V 266 Import the acpi_aibs(4) driver written by Constantine A. Murenin. It has more features than acpi_aiboost(4) and it will eventually replace acpi_aiboost(4). Submitted by: Constantine A. Murenin Reviewed by: freebsd-acpi, imp MFC after: 1 month END K 10 svn:author V 6 qingli K 8 svn:date V 27 2010-06-25T21:26:34.101680Z K 7 svn:log V 130 MFC r208553 This patch fixes the problem where proxy ARP entries cannot be added over the if_ng interface. Approved by: re (bz) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-25T22:23:41.066300Z K 7 svn:log V 121 - Add two header files for compatibility with the ofed userland. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-25T22:26:27.825425Z K 7 svn:log V 195 - Adjust for minherit/madvise differences between linux and bsd. - Update some bmake wrappers and add new ones for some management libs. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-25T22:35:19.860189Z K 7 svn:log V 127 We need to install the shell scripts as executables rather than as data files in the backend* trees. Submitted by: John Hixon END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-26T03:08:12.521946Z K 7 svn:log V 95 Merge from head and expand pte.h's description of cache coherency attributes at the same time. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-26T03:11:29.440773Z K 7 svn:log V 41 Use the cnMIPS CPU type we already have. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-26T03:15:19.740056Z K 7 svn:log V 315 Instead of using a hackish TARGET_OCTEON option, use a CPU_CNMIPS option to detect code that needs specific changes for the Cavium Octeon, and presumably any other cnMIPS platform we would support. This allows removing some includes of opt_cputype.h, but I have not made an exhaustive check of the remaining ones. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-26T07:02:31.483430Z K 7 svn:log V 36 Taken from actual police videos ... END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-26T07:42:17.720959Z K 7 svn:log V 25 Remove unused Linuxisms. END