ık172163 150 932 150 286 299 317 231 571 232 174 1167 290 165 166 215 483 771 957 585 2803 646 1081 253 265 217 254 456 758 665 446 220 346 151 174 146 130 178 188 335 299 166 239 184 266 505 693 146 269 131 921 932 260 512 361 292 228 625 395 581 132 372 237 135 240 300 226 270 341 173 239 248 188 300 246 274 258 465 422 178 453 295 163 156 159 523 299 205 343 577 1238 245 234 234 340 833 816 260 236 252 177 242 285 655 176 404 558 658 259 310 157 280 452 307 160 190 138 117 143 146 110 113 107 156 292 325 361 125 129 145 300 461 954 337 201 186 211 165 160 239 202 336 1393 210 185 361 620 178 624 359 432 310 K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-09-14T01:12:39.000000Z K 7 svn:log V 835 Currently the LO_NOPROFILE flag (which is masked on upper level code by per-primitive macros like MTX_NOPROFILE, SX_NOPROFILE or RW_NOPROFILE) is not really honoured. In particular lock_profile_obtain_lock_failure() and lock_profile_obtain_lock_success() are naked respect this flag. The bug leads to locks marked with no-profiling to be profiled as well. In the case of the clock_lock, used by the timer i8254 this leads to unpredictable behaviour both on amd64 and ia32 (double faults panic, sudden reboots, etc.). The amd64 clock_lock is also not marked as not profilable as it should be. Fix these bugs adding proper checks in the lock profiling code and at clock_lock initialization time. i8254 bug pointed out by: kris Tested by: matteo, Giuseppe Cocomazzi Approved by: jeff (mentor) Approved by: re END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-09-14T01:28:18.000000Z K 7 svn:log V 54 Fix typo. Pointed out: marius Approved by: re (bmah) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-14T01:32:31.000000Z K 7 svn:log V 191 Massive MFC for all calendar files which have been updated in the past but were never MFCd. PR: conf/61641 conf/70252 conf/107453 conf/113285 conf/113642 (and others) Submitted by: various END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-14T01:33:53.000000Z K 7 svn:log V 204 Massive MFC for all calendar files which have been updated in the past but were never MFCd. PR: conf/61641 conf/70252 conf/107453 conf/113285 conf/113642 (and others) Submitted by: various END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-09-14T03:07:22.000000Z K 7 svn:log V 221 Remove the newly resurrected ar.5 manual page from the list of obsolete files. Noticed by: Michael Plass Herbert J. Skuhra Approved by: re (bmah) END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-09-14T03:12:19.000000Z K 7 svn:log V 138 Flush stdout at the end of the update phase to prevent possible duplicate output when "quotacheck -a -v" is used. Approved by: re (bmah) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-09-14T05:12:25.000000Z K 7 svn:log V 474 During boot(before setting IP address) PHY can generate link state change interrupt if the link is established with link parter. However interrupt handler didn't acknowledge the interrupt if nfe(4) was not running at the time of interrupt delivery. This caused endless interrupt generation. Fix the bug by acknowledging the interrupt regardless of running state of the driver. PR: kern/116295 Submitted by: Mark Derbyshire (mark At taom dot com) Approved by: re (kensmith) END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-09-14T06:57:28.000000Z K 7 svn:log V 136 Remove DIAG code that discards oversized packets. There has been general consensus that this was a bad idea/ Approved by: re (bmah) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-14T22:44:37.000000Z K 7 svn:log V 79 MFC: new kernel config option, VERBOSE_SYSINIT. (kern/init_main.c rev. 1.263) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-09-14T23:44:11.000000Z K 7 svn:log V 1072 MFC: sys/dev/fdc/fdc.c 1.310-1.313 sys/dev/ic/nec765.h 1.12, 1.13 sys/dev/pc98/fdc.c 1.167 - Enhanced floppy controllers have Data Rate Select Register (DSR) at 0x3f4. Use it to reset controller and to select data rate. According to Intel 80277AA datasheet, software reset behaves the same as DOR reset except that it is self clearing. National Semiconductor PC8477B datasheet says the same. As a side effect, we no longer use Configuration Control Register (CCR) at 0x3f7 for these controllers, which is often missing in modern hardware. - Assume floppy disk is not inserted when we have exhausted retries. This significantly reduces booting time when there is broken floppy disk drive, controller, cable, BIOS, etc. When the floppy controller interface is correctly implemented, disk change signal (DSKCHG) is reflected in the Digital Input Register (DIR) at 0x3f7. However, there are many cases that the signal is unusable. Moreover, some BIOS does not reserve the port at all. In those cases, the register may not function. - Fix style nits. PR: kern/103841 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-09-15T01:11:26.000000Z K 7 svn:log V 193 MFC Change from a mutex to a read/write lock. This allows the tx port to be selected simultaneously by multiple senders and transmit/receive is not serialised between aggregated interfaces. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-09-15T05:37:31.000000Z K 7 svn:log V 70 Add mention of libelf to 7.0's release notes. Approved by: re (bmah) END K 10 svn:author V 6 philip K 8 svn:date V 27 2007-09-15T07:04:04.000000Z K 7 svn:log V 71 MFC: remove -T from getopt() spec and usage string. Forgotten by: des END K 10 svn:author V 5 wilko K 8 svn:date V 27 2007-09-15T09:40:38.000000Z K 7 svn:log V 120 sys/lock.h must precede sys/sx.h these days or the kernel won't build. Looks like no-one builds Alpha kernels anymore? END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-15T09:52:19.000000Z K 7 svn:log V 387 MFC: if_re.c 1.77, 1.86, 1.94 - Correctly set IFCAP_VLAN_HWCSUM as re(4) can do VLAN tagging/checksum offloading in hardware. - Correctly set media header length for VLAN. - Use taskqueue_drain() to wait for any pending tasks to complete rather than just pausing for a second. - Initialize the rl_vlanctl field of the descriptors to zero (in order to clear RL_TDESC_VLANCTL_TAG). END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-15T09:57:01.000000Z K 7 svn:log V 675 MFC: if_xl.c 1.192, 1.199, 1.206, 1.207, 1.208; if_xlreg.h 1.57, 1,58, 1.59 - The 575A doesn't have funcregs in memio. So don't claim that it does. - In detach method, move if_free() after bus_teardown_intr(). - Consistently use if_printf() only in interface methods: if_start(), if_watchdog, etc., or in functions used only in these methods. In all other functions in the driver use device_printf(). - Use the xl_stats_update() callout instead of if_slowtimo() for driving xl_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so xl(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-15T10:00:51.000000Z K 7 svn:log V 861 MFC: if_dc.c 1.166 1.171, 1.189 (partial), 1.190, 1.192; if_dcreg.h 1.54 - In detach method, move if_free() after bus_teardown_intr(). - Use our own callout (the dc_tick() callout uses varying periods depending on the NIC and isn't used at all with HomePNA links) instead of if_slowtimo() for driving dc_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so dc(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Fix a bug originally introduced in rev. 1.74; don't reloaded the watchdog timer in dc_txeof() in case there are still unhandled descriptors as dc_poll() invokes dc_poll() unconditionally. Otherwise this would result in the watchdog timer constantly being being reloaded and thus circumvent that the watchdog ever fires in the DEVICE_POLLING case. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-15T10:41:33.000000Z K 7 svn:log V 489 MFC: 1.20 - Don't set MIIF_NOISOLATE so ukphy(4) can be used in configurations with multiple PHYs. In case some PHYs currently driven by ukphy(4) exhibit problems when isolating due to incomplete implementations or silicon bugs we'll need to add specific drivers for these. Looking at NetBSD and OpenBSD I don't expect problems here though (quite the contrary; we still seem to set MIIF_NOISOLATE without good reason in a bunch of PHY drivers). - Fix a style(9) whitespace nit. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-15T10:45:34.000000Z K 7 svn:log V 2706 MFC: if_hme.c 1.50, 1.51, 1.52, 1.53; if_hmevar.h 1.10 o Revised MII support: - In hme_stop() mask all interrupts. - In hme_eint() print MIF register contents on MIF interrupts. - In hme_mifinit() don't bother to preserve the previous MIF config. This was mainly done in order to preserve the PHY select bit (external or internal PHY) but which only needs to be set as appropriate when reading from or writing to the desired PHY in hme_mii_{read,write}reg(). Similarly don't bother to set the PHY select bit in hme_mii_statchg(). - In hme_mii_{read,write}reg() ignore requests to PHYs other than the external and internal PHY one. - Move enabling/disabling the MII drivers of the external transceiver from hme_init_locked() and based on the sheer presence of an external one to hme_mifinit() and based on the currently selected media, defaulting to the internal transceiver when the media hasn't been set, yet. Invoke hme_mifinit() from the newly added hme_mediachange_locked() so the setting of the MII drivers is updated when changing media. These changes keep the MII bus from wedging (which manifests in the HME and the PHYs no longer being able to communicate with each other) when the PHY device drivers isolate the unused PHY in two-PHY configurations as present in f.e. Netra t1 100 while changing media, either from hme_init_locked() (see also below) or via ifconfig(8) (not with the RELENG_6 ifconfig(8) and miibus(4) though). They also allow for using both transceivers/PHYs. - In the newly added hme_mediachange_locked() also reset the PHYs in two- PHY configurations before invoking mii_mediachg(). This is required for successfully unisolating the previously unused PHY when switching between PHYs. - Now that changing media should no longer cause problems back out rev. 1.27 and re-enable setting the current media in hme_init_locked() (see the commit message of rev. 1.23 for more info). These changes are roughly a merge of NetBSD hme.c rev. 1.32 - 1.35 (1.30 was already fixed differently in our 1.36; 1.31 and 1.32 were wrong) with some parts reworked and things that don't make sense like setting the MII drivers and restoring the previous MIF and XIF settings in hme_mii_{read, write}reg() omitted. o Use the hme_tick() callout instead of if_slowtimo() for driving hme_watchdog() in order to avoid races accessing if_timer. o Use bus_get_dma_tag() so hme(4) works on platforms requiring it. o Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. o Remove invalid BUS_DMA_ALLOCNOW when creating a tag which is used for a "static" memory allocation only. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-15T10:49:57.000000Z K 7 svn:log V 550 MFC: if_gem.c 1.37, 1.39, 1.40, 1.43; if_gemvar.h 1.12 - Fix -Wundef warnings found when compiling i386 LINT, GENERIC and custom kernels. - Use bus_get_dma_tag() so gem(4) works on platforms requiring it. - Use the gem_tick() callout instead of if_slowtimo() for driving gem_watchdog() in order to avoid races accessing if_timer. While at it relax the watchdog a bit by reloading it in gem_tint() if there are still packets enqueued. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Fix inconsistencies in prototypes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-15T10:56:00.000000Z K 7 svn:log V 985 MFC: am7990.c 1.4; am79900.c 1.4; if_le_ledma.c 1.3; if_le_pci.c 1.5, 1.6; lance.c 1.3, 1.4; lancevar.h 1.3 - Use our own callout instead of if_slowtimo() for driving lance_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() to obtain the parent DMA tag so le(4) works on platforms requiring this. - Remove BUS_DMA_WAITOK from bus_dma_tag_create() invocations as it's no valid flag there. - For setting the port PCnet chips must be powered down or stopped and unlike documented may not take effect without an initialization. So don't invoke (*sc_mediachange) directly in lance_mediachange() but go through lance_init_locked(). It's suboptimal to impose this for all chips but given that besides the affected PCI bus front-end the only other front-end which supports media selection is and likely ever will be the 'ledma' front-end I see not enough reason to break the in-driver API for this (though one could argue both ways here). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-09-15T12:33:24.000000Z K 7 svn:log V 156 Remove the definition and implementation of 'CALLOUT_NETGIANT', a now- (and possibly always-) unused define. Reported by: kmacy Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-09-15T14:33:55.000000Z K 7 svn:log V 172 Use better manuals for these ntp system calls. These were replaced by the netbsd versions, and tweaked by me with suggestions from phk. Reviewed by: phk Approved by: re@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-09-15T16:55:44.000000Z K 7 svn:log V 124 Fix typo which brokes VJ decompression when VJC negotiated in only one direction. Approved by: re (bmah), glebius (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-09-15T18:16:35.000000Z K 7 svn:log V 161 Add the PCI id for the Intel 7221's integrated graphics controller. It is similar to a 915G. Approved by: re (kensmith) Reviewed by: anholt MFC after: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-09-15T18:30:28.000000Z K 7 svn:log V 363 Correct an assertion in vm_pageout_flush(). Specifically, if a page's status after vm_pager_put_pages() is VM_PAGER_PEND, then it could have already been recycled, i.e., freed and reallocated to a new purpose; thus, asserting that such pages cannot be written is inappropriate. Reported by: kris Submitted by: tegge Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-09-15T18:47:02.000000Z K 7 svn:log V 665 It has been observed on the mailing lists that the different categories of pages don't sum to anywhere near the total number of pages on amd64. This is for the most part because uma_small_alloc() pages have never been counted as wired pages, like their kmem_malloc() brethren. They should be. This changes fixes that. It is no longer necessary for the page queues lock to be held to free pages allocated by uma_small_alloc(). I removed the acquisition and release of the page queues lock from uma_small_free() on amd64 and ia64 weeks ago. This patch updates the other architectures that have uma_small_alloc() and uma_small_free(). Approved by: re (kensmith) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-09-15T19:07:42.000000Z K 7 svn:log V 572 - Get rid of unsused constants for sysctl variables. - Fix panic from mutex unlock on freed lock when ASCONF-ACK aborts an assoc - Fix panic from addr lock recursion when ASCONFs are queued in the front states - ASCONFs "queued" in the front states should really be bundled after the COOKIE-ACK, not in front of it - Fix issue with addresses deleted in the front states from being sent with ASCONF(DELETE)-- replaced sctp_asconf_queue_add_sa() with delete specific function - Comment change in sctp.h the drafts are now RFC's Approved by: re@freebsd.org (B Mah) END K 10 svn:author V 3 scf K 8 svn:date V 27 2007-09-15T21:48:54.000000Z K 7 svn:log V 353 Skip rebuilding environ in setenv() only upon reuse of an active variable; inactive variables should cause a rebuild of environ, otherwise, exec()'d processes will be missing a variable in environ that has been unset then set. Submitted by: Taku Yamamoto Reviewed by: ache Approved by: wes (mentor) Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-09-15T23:30:10.000000Z K 7 svn:log V 127 Zyd needs be under Giant because USB is under Giant. Submitted by: Weongyo Jeong Reviewed by: sam@ Approved by: re@ (blanket) END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-09-16T02:59:32.000000Z K 7 svn:log V 253 Fix "quotacheck -a" from core dumping on 64 bit systems by correctly declaring the return value used by the routines in preen.c as a pointer type, instead of "int", which was causing the pointer to be truncated. Tested by: marck Approved by: re (bmah) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-16T03:41:47.000000Z K 7 svn:log V 56 Enable 'LD_LIBRARY_PATH=/foo:/bar ld -lfooz' PR: 96481 END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-09-16T07:48:58.000000Z K 7 svn:log V 82 Kill overly verbose messages about setting bus width. Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-09-16T07:51:02.000000Z K 7 svn:log V 54 Kill bogus printf debugs. Approved by: re@ (blanket) END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-09-16T10:47:52.000000Z K 7 svn:log V 35 MFC the boot.config.5 manual page. END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-09-16T10:53:04.000000Z K 7 svn:log V 83 MFC Revision 1.61: - Sweep the boot(8) man page after addition of boot.config(5). END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-09-16T13:33:32.000000Z K 7 svn:log V 96 MFC rev. 1.70 Fix typo which brokes VJ decompression when VJC negotiated in only one direction. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-09-16T20:02:29.000000Z K 7 svn:log V 238 Make wi_set_channel() actually change the channel in hardware so that hostap mode works properly, previously the hostap channel could not be changed off #3. Fix an ifp/sc misuse while I am here. Reported by: many Approved by: re (bmah) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-09-16T21:09:15.000000Z K 7 svn:log V 202 Allow additional packet filtering on the physical interface for locally destined packets, disabled by default. PR: kern/116051 Submitted by: Eygene Ryabinkin Approved by: re (bmah) MFC after: 2 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-09-16T21:14:47.000000Z K 7 svn:log V 70 Bump the document date. Forgotten by: thompsa Approved by: re (bmah) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-09-16T23:03:38.000000Z K 7 svn:log V 146 - For the 1-to-1 model, fix an off by one error that allowed an extra connection over the backlog (by one) Approved by: re@freebsd.org (B. Mah) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-17T03:48:32.000000Z K 7 svn:log V 92 correct netband skip check in constructing a country ie Approved by: re (blanket net80211) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-17T05:12:19.000000Z K 7 svn:log V 173 fix led blinking in RUN state: the addition of the CAC state moved IEEE80211_S_RUN and broke the array lookup used to find the LED flags Approved by: re (blanket wireless) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-17T05:16:38.000000Z K 7 svn:log V 412 bandaid Dynamic Turbo A operation with old hal's: HAL_MODE_108A does not have a rate table in older hal's so if we scan such a channel the driver will hit an assertion or crash; for old hal's fallback to using the static turbo rate table for this mode (not correct but good enough for now given none of the rate control algorithms understand how to switch between base+boost) Approved by: re (blanket wireless) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-09-17T05:31:39.000000Z K 7 svn:log V 599 - Move all of the PS_ flags into either p_flag or td_flags. - p_sflag was mostly protected by PROC_LOCK rather than the PROC_SLOCK or previously the sched_lock. These bugs have existed for some time. - Allow swapout to try each thread in a process individually and then swapin the whole process if any of these fail. This allows us to move most scheduler related swap flags into td_flags. - Keep ki_sflag for backwards compat but change all in source tools to use the new and more correct location of P_INMEM. Reported by: pho Reviewed by: attilio, kib Approved by: re (kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-17T16:19:02.000000Z K 7 svn:log V 51 Make life with "makeoptions INSTALL_DEBUG" easier. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-17T16:25:02.000000Z K 7 svn:log V 176 convert hardware rate codes to IEEE rate codes with a lookup table instead of a linear search Reviewed by: sephe, avatar Approved by: re (blanket wireless) MFC after: 2 weeks END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-09-17T17:50:49.000000Z K 7 svn:log V 36 MFC: remove test that fails POLA. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-17T19:07:24.000000Z K 7 svn:log V 828 Update beacon handling to sync w/ vap code base: o add driver callback to handle notification of beacon changes; this is required for devices that manage beacon frames themselves (devices must override the default handler which does nothing) o move beacon update-related flags from ieee80211com to the beacon offsets storage (or handle however a driver wants) o expand beacon offsets structure with members needed for 11h/dfs and appie's o change calling convention for ieee80211_beacon_alloc and ieee80211_beacon_update o add overlapping bss support for 11g; requires driver to pass beacon frames from overlapping bss up to net80211 which is not presently done by any driver o move HT beacon contents update to a routine in the HT code area Reviewed by: avatar, thompsa, sephe Approved by: re (blanket wireless) END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-09-17T21:55:28.000000Z K 7 svn:log V 837 Fix an undefined symbol that as/ld neglected to flag as a problem. It was used in assembler code in such a way that no unresolved relocation records were generated, so ld didn't flag the problem. You can see this with an 'nm' of the kernel. There will be 'U MAXCPU' on SMP systems. The impact of this is that the intrcount/intrnames arrays do not have the intended amount of space reserved. This could lead to interesting problems due to the arrays being present in the middle of kernel code. An overflow would be rather interesting as executable code would be used as per-cpu incrementing interrupt counters. This fixes it for now by exporting MAXCPU to the assembler. A better fix might be to define these data structures in C - they're only referenced in the kernel from C code these days anyway. Approved by: re (kensmith) END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-09-17T23:59:54.000000Z K 7 svn:log V 164 MFC in revs 192-194 of the man page. The actual code has been in for a while. (Allow tablearg to be used with 'fwd' and allow it to take an IP address as a value). END K 10 svn:author V 3 ken K 8 svn:date V 27 2007-09-18T01:26:28.000000Z K 7 svn:log V 419 MFC: camcontrol/Makefile: rev 1.17 camcontrol.8: rev 1.44 camcontrol.c: rev 1.58 Add SCSI READ CAPACITY support to camcontrol. The new 'readcap' subcommand will automatically issue the 16 byte verison of read capacity if the device in question is larger than 2TB. There are also a number of output options here (last block, number of blocks, human readable) that should meet most needs, and also aid in scripting. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-09-18T04:20:21.000000Z K 7 svn:log V 263 Correct the return value from archive_write_data() (when used to restore files to disk) to match: * The documentation * The return values of this function when used to write files into an archive. Approved by: re (bmah) Pointy hat: \me MFC after: 5 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-09-18T09:19:44.000000Z K 7 svn:log V 199 Recognize the Soekris NET5501 and configure the error led. Add watchdog(4) support by using the MFGPT0 in the Geode LX CX5536. (Supported range: 2^30 .. 2^44 ns = 1s ... 5h) Approved by: re (bmah) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2007-09-18T09:22:16.000000Z K 7 svn:log V 132 Reserve AF_ constants for vendors by giving them the odd numbered AF_ constants ranging from 39 to 133. Approved by: re (kensmith) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-09-18T15:16:39.000000Z K 7 svn:log V 532 - The address lock is changed to a rwlock. This also involves macro changes to have a RLOCK and a WLOCK and placing the correct version within the code. - The INP-INFO lock is changed to a rwlock. - When sctp_shutdown() is called on Mac OS X, the socket lock is held. So call sctp_chunk_output with SCTP_SO_LOCKED and not SCTP_SO_NOT_LOCKED. - Add SCTP_IPI_ADDR_[RW]LOCK and SCTP_IPI_ADDR_[RW]UNLOCK for Mac OS X. - u_int64_t -> uint64_t - add missing addr unlock for error return path Approved by: re@freebsd.org (K Smith) END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2007-09-18T16:39:24.000000Z K 7 svn:log V 297 Fix an incorrect PCI device id. The current value conflicts with the mfi(4) LSI MegaSAS RAID card. Looking at the Linux driver for the mpt(4) it should be 0x0062 and not 0x0060. Tested with an mfi card of this device id. Approved by: re (bmah) Reviewed by: scottl MFC after: 3 days END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-09-18T19:50:33.000000Z K 7 svn:log V 483 The kernel version of Linux statfs64 is actually supposed to take 3 arguments, but we had forgotten the second argument. Also make the Linux statfs64 struct depend on the architecture because it has an extra 4 bytes padding on amd64 compared to i386. The three argument fix is from David Taylor, the struct statfs64 stuff is my fault. With this patch I can install i386 Linux matlab on an amd64 machine. Submitted by: David Taylor Approved by: re (kensmith) END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-09-18T19:51:49.000000Z K 7 svn:log V 35 regen. Approved by: re (kensmith) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-09-18T20:20:37.000000Z K 7 svn:log V 278 Revert the last commit to libarchive. It introduced some regresssions, most noticably the incorrect extraction of files by bsdtar. This commit reverts: src/lib/libarchive/archive_write_disk.c 1.15 src/lib/libarchive/test/test_write_disk.c 1.4 Approved by: re (implicitly) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T20:30:40.000000Z K 7 svn:log V 144 remove IFM_IEEE80211_HT40PLUS and IFM_IEEE80211_HT40MINUS; they never got used so nuke 'em before we branch Approved by: re (blanket wireless) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-18T20:35:40.000000Z K 7 svn:log V 43 MFC of src/share/zoneinfo MFV: tzdata2007g END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T20:40:21.000000Z K 7 svn:log V 147 o move IEEE80211_NONQOS_TID into a public location o add IEEE80211_TID_SIZE and replace all the nake constants Approved by: re (blanket wireless) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T20:46:36.000000Z K 7 svn:log V 207 o add IEEE80211_RATE_MCS to use instead of naked constant (for marking MCS) o correct ieee80211_rate2media handling of MCS o correct rate HT announcements for 11n devices Approved by: re (blanket wireless) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T20:51:55.000000Z K 7 svn:log V 133 skip IEEE80211_MODE_AUTO in announcing supported rates in ieee80211_announce; there won't be any Approved by: re (blanket wireless) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T20:55:51.000000Z K 7 svn:log V 177 Safeguard count of stations in power save; don't touch it unless we're operating in a mode where it should be maintained. Approved by: re (blanket wireless) MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T21:01:04.000000Z K 7 svn:log V 248 Close longstanding race dropping inactive stations; grab a reference to the node before starting the work, otherwise the node may go away before a reference is made in ieee80211_send_mgmt. Approved by: re (blanket wireless) Obtained from: Atheros END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T21:02:23.000000Z K 7 svn:log V 81 mgmt subtype 13 is action Approved by: re (blanket wireless) MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T21:07:41.000000Z K 7 svn:log V 146 tag mgmt and null data frames w/ a WME priority so drivers can assume only data frames require classification Approved by: re (blanket wireless) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T21:09:26.000000Z K 7 svn:log V 155 honor IEEE80211_C_TXFRAG; drivers should never get fragmented packets unless they indicate they're able to handle them Approved by: re (blanket wireless) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-18T21:54:27.000000Z K 7 svn:log V 96 invalidate ic_prevchan when constructing a new channel list Approved by: re (blanket wireless) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-18T23:34:42.000000Z K 7 svn:log V 204 Make gcc default to big endian when building it for a big endian target. This was lost while migrating to gcc4. Reported by: Michael Reifenberger Approved by: re (blanket) END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-09-19T01:10:31.000000Z K 7 svn:log V 153 Change the header to indicate which type of id is being displayed, "User" or "Group", instead of identifying them all as "User". Approved by: re (bmah) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-09-19T01:24:19.000000Z K 7 svn:log V 177 Convert fsck_ffs to nmount(). This seems to solve an intermittent problem where MNT_RELOAD fails for the root file system. Reported and tested by: phk Approved by: re (bmah) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-09-19T02:04:47.000000Z K 7 svn:log V 163 Use owner name and owning group name instead of uid and gid for displaying the three-line comment header by default. Reviewed by: kientzle Approved by: re (bmah) END K 10 svn:author V 6 marcus K 8 svn:date V 27 2007-09-19T03:59:33.000000Z K 7 svn:log V 369 Fix a bug that will cause a process that calls the VT_WAITACTIVE ioctl to become unkillable when that process is sent a termination signal. The process will sit in waitvt looping in the kernel, and chewing up all available CPU until the system is rebooted. Submitted by: Jilles Tjoelker Reviewed by: bde Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 5 krion K 8 svn:date V 27 2007-09-19T08:41:27.000000Z K 7 svn:log V 327 MFC: extract.c:1.45 date: 2007/08/23 13:05:10; author: krion; state: Exp; lines: +1 -1 Fix pkg_add behaviour to preserve pathnames. PR: bin/93915 bin/109134 Submitted by: Jason Heiss , Constantin Stefanov Approved by: re@ (kensmith) MFC after: 7 days END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-09-19T08:50:55.000000Z K 7 svn:log V 86 Update structure name to follow the new IPsec code. Reported by: phk Approved by: re END K 10 svn:author V 6 thomas K 8 svn:date V 27 2007-09-19T12:17:39.000000Z K 7 svn:log V 357 In the case of a native build, set NATIVE to yes so that the code circuits that need to be activated specifically for the case of a native linker actually are enabled. Specifically, this makes ld(1) look for shared libraries in LD_LIBRARY_PATH in the native case, as documented in the man page. PR: gnu/96481 Approved by: re (kensmith) MFC after: 2 weeks END K 10 svn:author V 8 sepotvin K 8 svn:date V 27 2007-09-19T13:05:58.000000Z K 7 svn:log V 197 - Fix a small bit slip in PCIM_PCAP_D[0-2]PME defines. - Add the definitions for D3PME_COLD and D3PME_HOT capabilities. Reviewed by: njl (mentor), imp Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-19T14:19:32.000000Z K 7 svn:log V 68 Reduce diff to vendor for maintance purposes. Approved by: re(ken) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-19T14:21:18.000000Z K 7 svn:log V 61 Catch up with the demise of /usr/X11R6 Approved by: re(ken) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-19T15:30:25.000000Z K 7 svn:log V 64 Remove dead code. Approved by: re (blanket) Beer from: jadawin END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-19T16:21:34.000000Z K 7 svn:log V 430 - Only assume that a PCI device on the same slot is a "neighbor" USB controller if it's sole child device has the "usb" device class. Previously ehci(4) would think that PCI-ISA bridges on the same slot (such as in some Intel ICHs) were "neighbors" resulting in spurious warnings about neighbor count mismatches. - Fix a memory leak when looking for neighbors. MFC after: 1 week Approved by: re (kensmith) Tested by: phk END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-09-19T16:28:46.000000Z K 7 svn:log V 201 Update the table of supported algorithms: - Group hash functions together and sort - Add CRYPTO_CAMELLIA_CBC (1) PR: 116471 Submitted by: Philip Schulz (1) Approved by: re (blanket) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-09-19T16:37:45.000000Z K 7 svn:log V 107 Fill in a missing 'e' Thanks to: Kai Wang, for pointing this out Approved by: re (bmah) MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-09-19T18:12:44.000000Z K 7 svn:log V 250 Add mmc and mmcsd, and correct a couple of comments. They are commented out until I can re-test them on all our architectures. I had re@ approval to commit this a long time ago, but that's before we were this close to the branch. Approved by: re@ END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-09-20T04:05:59.000000Z K 7 svn:log V 479 Serialize output routine of terminal emulator (te_puts()) by a lock. - The output routine of low level console is not protected by any lock by default. - Increment and decrement of sc->write_in_progress are not atomic and this may cause console hang. - We also have many other states used by emulator that should be protected by the lock. - This change does not fix interspersed messages which PRINTF_BUFR_SIZE kernel option should fix. Approved by: re (bmah) MFC after: 1 week END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-09-20T06:33:26.000000Z K 7 svn:log V 1139 Disable the module building of the linux bits on alpha and remove them from the corresponding NOTES. [1] There's no corresponding linux_base in the Ports Collection since years, and no linux distribution which is up-to-date and suitable (security, widespread, ...) for us. The only complain regarding linux & alpha we got so far is that the linuxulator doesn't build anymore. This complaint came from wilko -- the alhpa-part of re@ -- only. As the alpha platform is dead (no support from the manufacturer / linux distributions) and deprecated (removed in -current) it was decided to disable the linux bits from the build instead of trying to fix the problems on alpha. The alpha parts in the source are not removed so far, in case there are 1-2 people which actually still make use of this and are interested to use the linuxulator (and fix the problems). Additionally this prevents regressions on i386/amd64 when removing the alpha bits in shared code (the people which care about those code parts don't have enough time ATM to do extensive testing). This decission may be revisited at a later point in time. Discussed with: wilko [1] END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-09-20T10:46:25.000000Z K 7 svn:log V 150 - Remove references to unexisting man pages PR: docs/116099 Submitted by: Ben Kaduk Approved by: re (bmah) MFC after: 3 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-09-20T10:49:10.000000Z K 7 svn:log V 139 - Fix description to say "receive" instead of "send" PR: docs/115466 Submitted by: Bruce Cran Approved by: re (bmah) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-09-20T10:52:08.000000Z K 7 svn:log V 139 - Fix a declaration example PR: docs/115632 Submitted by: Romain Tartiere Approved by: re (bmah) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-09-20T13:46:26.000000Z K 7 svn:log V 247 Fill in cr2 in the signal context from ksi->ksi_addr. Together with the sys/i386/i386/trap.c rev. 1.306 it fixes the PR. Submitted by: rdivacky Suggested by: jhb Sponsored by: Google Summer of Code 2007 PR: kern/77710 Approved by: re (kensmith) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-09-20T20:38:43.000000Z K 7 svn:log V 736 Fix some entries in the locks static table of witness. In particular: - smp_tlb_mtx is no longer used, so it is axed. - smp rendezvous lock isn't really a leaf spin-mutex. Its bad placement in the table, however, has been the source of a false positive LOR reporting with the dt_lock. However, smp rendezvous lock would have had sched_lock there for older lock, so it wasn't still a leaf lock. - allpmaps is only used in ia32 architecture, so it is inserted in the appropriate stub. Addictionally: - kse_zombie_lock is no longer present, so its definition is axed out. - zombie_lock doesn't need to have an exported symbol, so just let's it be declared as static. Tested by: kris Approved by: jeff (mentor) Approved by: re END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-20T21:37:29.000000Z K 7 svn:log V 721 man(1) can't handle compressed included files. Some ports will install with compressed manpages. man handles this by looking for the .gz version of a man source file. It is also common to include other files with the .so directive where commands or functions share a man page. Traditionally ports have had to handle this by either not compressing the manpages, or using the _MLINKS macro in the port makefile to create symlinks to the actual source file, rather than using .so versions. Notably, the current version of Xorg port breaks. See ports/113096 and ports/115845. PR: bin/115850 Submitted by: Callum Gibson Approved by: re@ (ken smith), grog@ (mentor) MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-20T21:46:04.000000Z K 7 svn:log V 165 More dates: Sint Maarten, Dierendag, Trinitatis Fix spelling: Carnaval Add more of the Royal Family. Approved by: re@ (Ken Smith), grog@ (mentor) MFC after: 1 week END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-09-20T22:35:24.000000Z K 7 svn:log V 140 Fix some improper handling of malloc failures PR: bin/83344 , kern/81987 Reviewed by: alfred Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-09-21T01:26:00.000000Z K 7 svn:log V 156 Use the udp protocol in favor of the nonexistant upd protocol in the sge_execd entry. Reported by: emaste Pointy hat to: brooks Approved by: re (kensmith) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-09-21T01:55:11.000000Z K 7 svn:log V 83 Use NULL instead of 0 for the return value of fopen(). Approved by: re (kensmith) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-09-21T02:10:13.000000Z K 7 svn:log V 147 - Add the device ID for the VIA VT3324 (CX700) chipset. - Set and Get aperture size correctly for VIA's AGP3 chipsets. Approved by: re (kensmith) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-09-21T04:04:22.000000Z K 7 svn:log V 191 - Call sched_sleep() before we suspend threads. sched_wakeup() is already called via setrunnable(). This allows time slept while suspended to be accounted for swap. Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-09-21T04:10:23.000000Z K 7 svn:log V 561 - Redefine p_swtime and td_slptime as p_swtick and td_slptick. This changes the units from seconds to the value of 'ticks' when swapped in/out. ULE does not have a periodic timer that scans all threads in the system and as such maintaining a per-second counter is difficult. - Change computations requiring the unit in seconds to subtract ticks and divide by hz. This does make the wraparound condition hz times more frequent but this is still in the range of several months to years and the adverse effects are minimal. Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-09-21T04:11:34.000000Z K 7 svn:log V 83 - When using kvm use the new conversion method to derive swtime. Approved by: re END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-09-21T04:19:33.000000Z K 7 svn:log V 311 - fix (global) address handling in the presence of duplicates, the last interface should own the address, but the current code fumbles the handoff. This fixes that. - move address related debugs to PCB4 and add additional ones to help in debugging address problems. Approved by: re@freebsd.org (K Smith) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-09-21T04:52:43.000000Z K 7 svn:log V 460 Fix the archive_write_data() function so it always returns number of bytes written, even when used to write files to disk. Extend the test suite to verify the correct return values for archive_write_data() and archive_write_data_block(). Thanks to: Bruce Mah, for stepping in promptly to back out the earlier broken version of this fix Thanks to: Colin Percival, for pointing out the correct fix MFC after: 5 days Approved by: re (ksmith) Pointy hat: \me END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-09-21T05:07:07.000000Z K 7 svn:log V 564 - Redefine p_swtime and td_slptime as p_swtick and td_slptick. This changes the units from seconds to the value of 'ticks' when swapped in/out. ULE does not have a periodic timer that scans all threads in the system and as such maintaining a per-second counter is difficult. - Change computations requiring the unit in seconds to subtract ticks and divide by hz. This does make the wraparound condition hz times more frequent but this is still in the range of several months to years and the adverse effects are minimal. Approved by: re END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-09-21T08:16:33.000000Z K 7 svn:log V 166 This patch fixes thread unsafe usage of global pkt_hdr variable. Second part is not so important, but IMO is also good. Approved by: re (kensmith), glebius (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-09-21T08:24:08.000000Z K 7 svn:log V 217 This is optimization of ether and debug hooks determination. It simplifies code and should speedup pppoe_findsession() function which is called for every incoming packet. Approved by: re (kensmith), glebius (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-09-21T08:25:55.000000Z K 7 svn:log V 65 Dead code removal. Approved by: re (kensmith), glebius (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-09-21T09:52:43.000000Z K 7 svn:log V 187 Use 'val' function argument instead of 'optarg' global variable. This doesn't fix any real bug, because in those tw ocases we always passed 'optarg' as 'val'. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-09-21T10:00:05.000000Z K 7 svn:log V 359 For arguments declared as numbers always use expand_number(3). This allows to use numbers in human-readable form in many geom(8) utilities. Such a simple change and makes live so much nicer. Some examples: gstripe label -s 16k gmirror label -s 4k gnop create -o 1g -s 128m -S 2k gjournal label -s 2g geli label -i 128k -s 4k Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-09-21T10:16:56.000000Z K 7 svn:log V 214 Fix some locking cases where we ask for exclusively locked vnode, but we get shared locked vnode in instead when vfs.lookup_shared is set to 1. Discussed with: kib, kris Tested by: kris Approved by: re (kensmith) END K 10 svn:author V 9 tabthorpe K 8 svn:date V 27 2007-09-21T12:12:13.000000Z K 7 svn:log V 62 - add my entry Approved by: re (bmah), clsung/miwi (mentors) END K 10 svn:author V 9 tabthorpe K 8 svn:date V 27 2007-09-21T13:03:24.000000Z K 7 svn:log V 92 - added in missing \n for my entry Submitted by: breueffer@ Approved by: re, miwi (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T14:05:26.000000Z K 7 svn:log V 43 Add FreeBSD history. Approved by: re(ken) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T14:35:02.000000Z K 7 svn:log V 22 MFC: expand_number(3) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T14:35:34.000000Z K 7 svn:log V 48 MFC: refer to expand_number(3) and markup fixes END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T14:39:46.000000Z K 7 svn:log V 51 Logically, this now first appeared in FreeBSD 6.3. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T14:41:55.000000Z K 7 svn:log V 15 MFC: flopen(3) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T14:49:38.000000Z K 7 svn:log V 18 style.Makefile(9) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T14:52:31.000000Z K 7 svn:log V 12 MFC: kld(3) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T15:33:38.000000Z K 7 svn:log V 61 Bump for libutil(3) MFC's (and any others around this time). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-09-21T16:19:50.000000Z K 7 svn:log V 196 On PowerPC, geom_part has taken over the partitioning from geom_apple. Translate partitions of type "PART" to chunks of type "apple" on PowerPC. This fixes sysinstall. Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-09-21T16:24:01.000000Z K 7 svn:log V 229 Translate partitions of type "PART" to chunks of the same type as they would have been translated from partitions of type "GPT". This fixes sysinstall, now that geom_part has taken over from geom_gpt. Approved by: re (kensmith) END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2007-09-21T16:43:31.000000Z K 7 svn:log V 263 MFC: 1.51 Fix an incorrect PCI device id. The current value conflicts with the mfi(4) LSI MegaSAS RAID card. Looking at the Linux driver for the mpt(4) it should be 0x0062 and not 0x0060. Tested with an mfi card of this device id. Reviewed by: scottl END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T17:25:03.000000Z K 7 svn:log V 30 MFC: consume kld_isloaded(3). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T17:27:48.000000Z K 7 svn:log V 34 MFC: rev. 1.4: consume flopen(3). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-21T21:23:04.000000Z K 7 svn:log V 50 MFC: flopen(3), expand_number(3), kld_isloaded(3) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-21T23:43:03.000000Z K 7 svn:log V 205 Update to calendar/calendars/hr_HR.ISO_8859-2/calendar.praznici with fixes and new dates. PR: conf/26658 Submitted by: Josip Rodin Approved by: re@ (bmah), grog@ (mentor) MFC after: 1 week END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-09-21T23:50:15.000000Z K 7 svn:log V 364 Disable multiple ntfs mounts to the same mountpoint. Eliminates panics due to locking issues. Idea taken from src/sys/gnu/fs/xfs/FreeBSD/xfs_super.c. PR: 89966, 92000, 104393 Reported by: H. Matsuo , Chris , Andrey V. Elsukov , Jan Henrik Sylvester Approved by: re (kensmith) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-09-22T02:20:14.000000Z K 7 svn:log V 860 - Improve grammar. s/it's/its/. - Improve load long-term load balancer by always IPIing exactly once. Previously the delay after rebalancing could cause problems with uneven workloads. - Allow nice to have a linear effect on the interactivity score. This allows negatively niced programs to stay interactive longer. It may be useful with very expensive Xorg servers under high loads. In general it should not be necessary to alter the nice level to improve interactive response. We may also want to consider never allowing positively niced processes to become interactive at all. - Initialize ccpu to 0 rather than 0.0. The decimal point was leftover from when the code was copied from 4bsd. ccpu is 0 in ULE because ULE only exports weighted cpu values. Reported by: Steve Kargl (Load balancing problem) Approved by: re END K 10 svn:author V 3 scf K 8 svn:date V 27 2007-09-22T02:30:44.000000Z K 7 svn:log V 244 The precision for a string argument in a call to warnx() needs to be cast to an int to remove the warning from using a size_t variable on 64-bit platforms. Submitted by: Xin LI Approved by: wes Approved by: re (kensmith) END K 10 svn:author V 3 scf K 8 svn:date V 27 2007-09-22T02:46:13.000000Z K 7 svn:log V 108 MFC: Sync usage() with reality. src/usr.bin/locate/locate/locate.c: rev 1.16 -> 1.17 Approved by: wes END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-22T14:23:52.000000Z K 7 svn:log V 91 Twist the RAS logic a bit to avoid branching. MFC After: 1 week Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-22T16:25:43.000000Z K 7 svn:log V 115 Add a driver for the 7seg found on the CRB board, largely based on the IQ31244 version. Approved by: re (blanket) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-09-22T18:22:31.000000Z K 7 svn:log V 70 Remove PF_MPSAFE_UGID leftover. Spotted by: bz Approved by: re (gnn) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-22T22:25:24.000000Z K 7 svn:log V 65 Add various macros for the ADMA unit. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-22T22:47:48.000000Z K 7 svn:log V 143 Make sure we do not call _arm_bzero() or _arm_memcpy() if the size is not at least the minimum asked by the driver. Approved by: re (blanket) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-09-23T07:04:50.000000Z K 7 svn:log V 109 Now that we have CDDLed code in the tree, add CDDL license. Discussed with: core Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-09-23T07:34:23.000000Z K 7 svn:log V 243 Bring in the GEOM Virtualisation class, which allows to create huge GEOM providers with limited physical storage and add physical storage as needed. Submitted by: Ivan Voras Sponsored by: Google Summer of Code 2006 Approved by: re (kensmith) END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-09-23T14:49:32.000000Z K 7 svn:log V 1299 Remove some of the pessimizations involving writing the fsi sector. All active fields in fsi are advisory/optional, so we shouldn't do extra work to make them valid at all times, but instead we write to the fsi too often (we still do), and we searched for a free cluster for fsinxtfree too often. This commit just removes the whole search and its results, so that we write out our in-core copy of fsinxtfree instead of writing a "fixed" copy and clobbering our in-core copy. This saves fixing 3 bugs: - off-by-1 error for the end of the search, resulting in fsinxtfree not actually being adjusted iff only the last cluster is free. - missing adjustment when no clusters are free. - off-by-many error for the start of the search. Starting the search at 0 instead of at (the in-core copy of) fsinxtfree did more than defeat the reasons for existence of fsinxtfree. fsinxtfree exists mainly to avoid having to start at 0 for just the first search per mount, but has the side effect of reducing bias towards allocating near cluster 0. The bias would normally only be generated by the first search per mount (if fsinxtfree is not supported), but since we also adjusted the in-core copy of fsinxtfree here, we were doing extra work to maximize the bias. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-09-23T15:10:48.000000Z K 7 svn:log V 117 LINT compiled just fine for me, but it seems it breaks tinerbox way of compiling LINT. Approved by: re (implicitly) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-09-23T16:06:37.000000Z K 7 svn:log V 91 o s/filesystem/file system/g. Pointed out by: ru Approved by: re (bmah) MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-09-23T16:29:22.000000Z K 7 svn:log V 266 o Cosmetic: fix the issue when "ipfw(8) show" produces "not" twice: $ ipfw -n add 1 allow layer2 not mac-type ip 00001 allow ip from any to any layer2 not not mac-type 0x0800 PR: bin/115372 Submitted by: Andrey V. Elsukov Approved by: re (hrs) MFC after: 3 weeks END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-09-23T17:50:17.000000Z K 7 svn:log V 526 Certain consumers of rtalloc like gif(4) and if_stf(4) lookup the route and once they are done with it, call rtfree(). rtfree() should only be used when we are certain we hold the last reference to the route. This bug results in console messages like the following: rtfree: 0xc40f7000 has 1 refs This patch switches the rtfree() to use RTFREE_LOCKED() instead, which should handle the reference counting on the route better. Approved by: re@ (gnn) Reviewed by: bms Reported by: many via net@ and current@ Tested by: many END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-09-24T00:28:54.000000Z K 7 svn:log V 85 - Bound the interactivity score so that it cannot become negative. Approved by: re END K 10 svn:author V 5 silby K 8 svn:date V 27 2007-09-24T05:26:24.000000Z K 7 svn:log V 529 Two changes: - Reintegrate the ANSI C function declaration change from tcp_timer.c rev 1.92 - Reorganize the tcpcb structure so that it has a single pointer to the "tcp_timer" structure which contains all of the tcp timer callouts. This change means that when the single tcp timer change is reintegrated, tcpcb will not change in size, and therefore the ABI between netstat and the kernel will not change. Neither of these changes should have any functional impact. Reviewed by: bmah, rrs Approved by: re (bmah) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-09-24T06:14:27.000000Z K 7 svn:log V 266 Forced commit to note, that the last commit fixed my bug, and was not because of differences between how tinderbox compile LINT - after this change I only compiled LINT on i386 and the bug shows up on 64bit platforms. Requested by: des Approved by: re (implicitly) END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-09-24T13:39:06.000000Z K 7 svn:log V 340 MFC rev. 1.147 Fix a DIV0 in case a large value for fs_avgfilesize or fs_avgfpdir is given (with newfs or tunefs) and dirsize overflows. In case dirsize is <= 0 because of an overflow set maxcontigdirs to 0 so it will be 1 later. This is what would happen for large fs_avgfilesize. [1] Submitted by: pjd [1] END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-09-24T14:46:27.000000Z K 7 svn:log V 217 Revert rev. 1.94. After recent tcp backouts, tcp_close() may return NULL. Check the return value of tcp_close() being NULL before dereferencing it in #ifdef TCPDEBUG block. Reviewed by: rwatson Approved by: re (gnn) END