ƒ¹_172313 142 2521 526 238 272 2483 230 409 171 195 289 259 342 350 480 176 973 215 167 233 216 891 6004 155 147 134 182 213 122 617 134 164 232 529 249 128 161 224 173 643 252 206 1168 373 227 284 411 246 855 932 418 191 122 201 280 188 114 150 122 144 145 140 126 141 109 252 152 136 250 133 159 147 227 162 231 253 192 173 193 375 436 530 1315 2232 1026 178 145 168 274 175 166 558 222 268 558 159 227 453 157 538 198 202 266 166 571 190 288 316 221 301 139 607 236 127 200 383 340 229 157 193 218 148 153 224 317 273 565 709 297 255 248 224 285 161 175 845 571 158 1239 436 139 343 430 K 10 svn:author V 3 njl K 8 svn:date V 27 2007-09-24T16:59:06.000000Z K 7 svn:log V 2427 Rewrite the EC driver event model. The main goal is to avoid polling/interrupt-driven fallback and instead use polling only during boot and pure interrupt-driven mode after boot. Polled mode could be relegated completely to a legacy role if we could enable interrupts during boot. Polled mode can be forced after boot by setting debug.acpi.ec.polled="1", i.e. if there are timeouts. - Use polling only during boot, shutdown, or if requested by the user. Otherwise, use a generation count of GPEs, incremented atomically. This prevents an old status value from being used if the EC is really slow and the same condition (i.e. multiple IBEs for a write transaction) is being checked. - Check for and run the query handler directly if the SCI bit is set in the status register during boot. Previously, the query handler wouldn't run until interrupts were finally enabled late in boot. - During boot and after starting a command, check if the event appears to already have occurred before we even start waiting. If so, it's possible the EC is very slow and we might accept an old status value. Print a warning in this case. Once we've booted, interrupt-driven mode should work just fine but polled mode could be unreliable. There's not much more we can do about this until interrupts are enabled during boot. - In the above case, we also do one final check if the interrupt-driven mode gets a timeout. If the status is complete, it will force the system back into polled mode since interrupt mode doesn't work. For polled mode during boot, if the status appears to be already complete before beginning the check loop, it waits 10 us before actually checking the status, just in case the EC is really slow and hasn't gotten to work on the new request yet. - Use upper-case hex for the _Qxx method - Use device_printf for errors, don't hide them under verbose - Increase default total timeout to 750 ms and decrease polling interval to 5 us. - Don't pass the status value via the softc. Just read it directly. - Remove the mutex. We use the sx lock for transaction serialization with the query handler. - Remove the Intel copyright notice as no code of theirs was ever present in this file (verified against rev 1.1) - Allow KTR module-only builds for ease of testing Thanks to jkim and Alexey Starikovskiy for helpful discussions and testing. Approved by: re MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-09-24T17:12:36.000000Z K 7 svn:log V 432 Fix global lock recursion bug. This patch was part of ACPI-CA 20070508 release and the following is excerpt from its change log: Fixed a problem where the Global Lock handle was not properly updated if a thread that acquired the Global Lock via executing AML code then attempted to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe Liu. Approved by: re (kensmith) Tested by: ambrisko Obtained from: Intel END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-09-24T17:12:36.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r172314, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-24T20:49:39.000000Z K 7 svn:log V 179 Allow the ia32 resource limits (compat.ia32.max{dsiz,ssiz,vmem} to be set via loader tunables. They are already tunable via sysctl. MFC after: 1 week Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-09-25T06:25:06.000000Z K 7 svn:log V 2389 Change the management of cached pages (PQ_CACHE) in two fundamental ways: (1) Cached pages are no longer kept in the object's resident page splay tree and memq. Instead, they are kept in a separate per-object splay tree of cached pages. However, access to this new per-object splay tree is synchronized by the _free_ page queues lock, not to be confused with the heavily contended page queues lock. Consequently, a cached page can be reclaimed by vm_page_alloc(9) without acquiring the object's lock or the page queues lock. This solves a problem independently reported by tegge@ and Isilon. Specifically, they observed the page daemon consuming a great deal of CPU time because of pages bouncing back and forth between the cache queue (PQ_CACHE) and the inactive queue (PQ_INACTIVE). The source of this problem turned out to be a deadlock avoidance strategy employed when selecting a cached page to reclaim in vm_page_select_cache(). However, the root cause was really that reclaiming a cached page required the acquisition of an object lock while the page queues lock was already held. Thus, this change addresses the problem at its root, by eliminating the need to acquire the object's lock. Moreover, keeping cached pages in the object's primary splay tree and memq was, in effect, optimizing for the uncommon case. Cached pages are reclaimed far, far more often than they are reactivated. Instead, this change makes reclamation cheaper, especially in terms of synchronization overhead, and reactivation more expensive, because reactivated pages will have to be reentered into the object's primary splay tree and memq. (2) Cached pages are now stored alongside free pages in the physical memory allocator's buddy queues, increasing the likelihood that large allocations of contiguous physical memory (i.e., superpages) will succeed. Finally, as a result of this change long-standing restrictions on when and where a cached page can be reclaimed and returned by vm_page_alloc(9) are eliminated. Specifically, calls to vm_page_alloc(9) specifying VM_ALLOC_INTERRUPT can now reclaim and return a formerly cached page. Consequently, a call to malloc(9) specifying M_NOWAIT is less likely to fail. Discussed with: many over the course of the summer, including jeff@, Justin Husted @ Isilon, peter@, tegge@ Tested by: an earlier version by kris@ Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-09-25T16:03:10.000000Z K 7 svn:log V 132 - Use the correct expanded name for SCTP (1) - Remove empty section PR: 116496 (1) Submitted by: koitsu Approved by: re (blanket) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-25T16:08:16.000000Z K 7 svn:log V 316 o enable use of EAP methods w/o modification to the base system; use WPA_SUPPLICANT_CFLAGS, etc. (consult the Makefile's for details) o enable ipv6 support in hostapd (for communication w/ a radius backend) PR: bin/116164 Submitted by: "Scot Hetzel" Approved by: re (gnn) MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-09-25T16:48:08.000000Z K 7 svn:log V 74 Assorted spelling, punctuation and mdoc fixes. Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-09-25T20:47:24.000000Z K 7 svn:log V 102 Add support for the AX88178 and AX88772 based devices. Submitted by: sam@ Approved by: re@ (blanket) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-09-25T21:01:10.000000Z K 7 svn:log V 196 Correct an error in the previous revision, specifically, vm_object_madvise() should request that the reactivated, cached page not be busied. Reported by: Rink Springer Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-09-25T21:08:33.000000Z K 7 svn:log V 166 if_axe.c 1.54 and if_axereg.h 1.15 were obtained from OpenBSD. Pointed out by: sam@ Obtained from: openbsd (prev rev) Approved by: re@ Pointy stick to the eye: imp@ END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-09-25T21:08:49.000000Z K 7 svn:log V 246 Fix for a very rare race, caused by the nfsiod wakeup and nfsiod idle timeout occurring at exactly the same time. If this happens, the nfsiod exits although there may be a queued async IO request for it. Found by : Kris Kennaway Approved by: re END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-25T21:41:22.000000Z K 7 svn:log V 255 Fix possible uninitialized variable insert due to previous commit. Pointy hat to: me and my absence of -Wall in my CFLAGS. MFC will happen at the same time of the earlier commit. Thanks to ru@ for spotting. Approved by: re (Ken Smith), grog@ (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-09-26T01:31:28.000000Z K 7 svn:log V 384 Force -O1 compilation when targeted for ia64. GCC 4 generates bad code at -O2. Since this is likely caused by the low-level optimizer, testing TARGET_ARCH rather than MACHINE_ARCH should handle ia64 cross-compilation as well. With this work-around in place, we can release using the current GCC and Binutils code at the default optimization level on ia64. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-09-26T08:38:25.000000Z K 7 svn:log V 85 Mention that autoboot_delay also accepts the "NO" value. Approved by: re (kensmith) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-09-26T11:02:28.000000Z K 7 svn:log V 880 MFC: Revision Path 1.82 src/etc/rc.d/Makefile 1.16 src/etc/rc.d/lockd 1.17 src/etc/rc.d/lockd 1.18 src/etc/rc.d/lockd 1.15 src/etc/rc.d/nfslocking 1.16 src/etc/rc.d/statd 1.17 src/etc/rc.d/statd Split rc.d/nfslocking into two separate scripts: rc.d/lockd and rc.d/statd. Keep rc.d/nfslocking for POLA reasons but do not run it during system startup. PR: conf/107316 Revision Path 1.14 src/etc/rc.d/nfslocking The precmd routine does not need to check whether the comman should be "forced". If some pre-condition is not met, it should fail as it normally does and rc.subr(8) will make the appropriate decision. Incidentally, the previous behaviour had a bug where the "force" flag was respected only when checking rc.conf(5) knobs. The flag was ignored when verifying the rpcbind(8) dependency. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-09-26T11:22:23.000000Z K 7 svn:log V 123 Fix the description of the formula used to autosize the number of buffers in the buffer cache. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-26T17:33:18.000000Z K 7 svn:log V 75 MFC: Properly look for neighbor USB 1.x controllers and fix a memory leak. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-09-26T19:15:14.000000Z K 7 svn:log V 140 MFC rev. 1.82-1.84 Fix thread unsafe usage of global pkt_hdr variable. Optimize ether and debug hooks determination. Remove some dead code. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-09-26T20:05:07.000000Z K 7 svn:log V 118 Use the correct expanded name for SCTP. PR: 116496 Submitted by: koitsu Reviewed by: rrs Approved by: re (kensmith) END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-26T20:10:36.000000Z K 7 svn:log V 795 - Use the actual clock frequency of the PCI bus instead of assuming 33MHz for calculating the latency timer values for its children. Inspired by NetBSD doing the same and Linux as well as OpenSolaris using a similar approach. While at it rename a variable and change its type to be more appropriate fuer values of PCI properties so the variable can be more easily reused. - Initialize the cache line size register of PCI devices to a legal value; the cache line size is limited to 64 bytes by the Fireplane/Safari, JBus and UPA interconnection busses. Setting it to an unsupported value caused bad performance at least with GEM as it causes them to not do cache line bursts and to not issue cache line commands on the PCI bus. Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-26T21:14:18.000000Z K 7 svn:log V 5907 o Revert the part of if_gem.c rev. 1.35 which added a call to gem_stop() to gem_attach() as the former access softc members not yet initialized at that time and gem_reset() actually is enough to stop the chip. [1] o Revise the use of gem_bitwait(); add bus_barrier() calls before calling gem_bitwait() to ensure the respective bit has been written before we starting polling on it and poll for the right bits to change, f.e. even though we only reset RX we have to actually wait for both GEM_RESET_RX and GEM_RESET_TX to clear. Add some additional gem_bitwait() calls in places we've been missing them according to the GEM documentation. Along with this some excessive DELAYs, which probably only were added because of bugs in gem_bitwait() and its use in the first place, as well as as have of an gem_bitwait() reimplementation in gem_reset_tx() were removed. o Add gem_reset_rxdma() and use it to deal with GEM_MAC_RX_OVERFLOW errors more gracefully as unlike gem_init_locked() it resets the RX DMA engine only, causing no link loss and the FIFOs not to be cleared. Also use it deal with GEM_INTR_RX_TAG_ERR errors, with previously were unhandled. This was based on information obtained from the Linux GEM and OpenSolaris ERI drivers. o Turn on workarounds for silicon bugs in the Apple GMAC variants. This was based on information obtained from the Darwin GMAC and Linux GEM drivers. o Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts. This greatly improves especially RX performance. o Optimize the RX path, this consists of: - kicking the receiver as soon as we've a spare descriptor in gem_rint() again instead of just once after all the ready ones have been handled; - kicking the receiver the right way, i.e. as outlined in the GEM documentation in batches of 4 and by pointing it to the descriptor after the last valid one; - calling gem_rint() before gem_tint() in gem_intr() as gem_tint() may take quite a while; - doubling the size of the RX ring to 256 descriptors. Overall the RX performance of a GEM in a 1GHz Sun Fire V210 was improved from ~100Mbit/s to ~850Mbit/s. o In gem_add_rxbuf() don't assign the newly allocated mbuf to rxs_mbuf before calling bus_dmamap_load_mbuf_sg(), if bus_dmamap_load_mbuf_sg() fails we'll free the newly allocated mbuf, unable to recycle the previous one but a NULL pointer dereference instead. o In gem_init_locked() honor the return value of gem_meminit(). o Simplify gem_ringsize() and dont' return garbage in the default case. Based on OpenBSD. o Don't turn on MAC control, MIF and PCS interrupts unless GEM_DEBUG is defined as we don't need/use these interrupts for operation. o In gem_start_locked() sync the DMA maps of the descriptor rings before every kick of the transmitter and not just once after enqueuing all packets as the NIC might instantly start transmitting after we kicked it the first time. o Keep state of the link state and use it to enable or disable the MAC in gem_mii_statchg() accordingly as well as to return early from gem_start_locked() in case the link is down. [3] o Initialize the maximum frame size to a sane value. o In gem_mii_statchg() enable carrier extension if appropriate. o Increment if_ierrors in case of an GEM_MAC_RX_OVERFLOW error and in gem_eint(). [3] o Handle IFF_ALLMULTI correctly; don't set it if we've turned promiscuous group mode on and don't clear the flag if we've disabled promiscuous group mode (these were mostly NOPs though). [2] o Let gem_eint() also report GEM_INTR_PERR errors. o Move setting sc_variant from gem_pci_probe() to gem_pci_attach() as device probe methods are not supposed to touch the softc. o Collapse sc_inited and sc_pci into bits for sc_flags. o Add CTASSERTs ensuring that GEM_NRXDESC and GEM_NTXDESC are set to legal values. o Correctly set up for 802.3x flow control, though #ifdef out the code that actually enables it as this needs more testing and mainly a proper framework to support it. o Correct and add some conversions from hard-coded functions names to __func__ which were borked or forgotten in if_gem.c rev. 1.42. o Use PCIR_BAR instead of a homegrown macro. o Replace sc_enaddr[6] with sc_enaddr[ETHER_ADDR_LEN]. o In gem_pci_attach() in case attaching fails release the resources in the opposite order they were allocated. o Make gem_reset() static to if_gem.c as it's not needed outside that module. o Remove the GEM_GIGABIT flag and the associated code; GEM_GIGABIT was never set and the associated code was in the wrong place. o Remove sc_mif_config; it was only used to cache the contents of the respective register within gem_attach(). o Remove the #ifdef'ed out NetBSD/OpenBSD code for establishing a suspend hook as it will never be used on FreeBSD. o Also probe Apple Intrepid 2 GMAC and Apple Shasta GMAC, add support for Apple K2 GMAC. Based on OpenBSD. o Add support for Sun GBE/P cards, or in other words actually add support for cards based on GEM to gem(4). This mainly consists of adding support for the TBI of these chips. Along with this the PHY selection code was rewritten to hardcode the PHY number for certain configurations as for example the PHY of the on-board ERI of Blade 1000 shows up twice causing no link as the second incarnation is isolated. These changes were ported from OpenBSD with some additional improvements and modulo some bugs. o Add code to if_gem_pci.c allowing to read the MAC-address from the VPD on systems without Open Firmware. This is an improved version of my variant of the respective code in if_hme_pci.c o Now that gem(4) is MI enable it for all archs. Pointed out by: yongari [1] Suggested by: rwatson [2], yongari [3] Tested on: i386 (GEM), powerpc (GMACs by marcel and yongari), sparc64 (ERI and GEM) Reviewed by: yongari Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-09-26T21:22:56.000000Z K 7 svn:log V 58 gem(4) works on all archs now. Approved by: re (blanket) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-09-26T21:30:50.000000Z K 7 svn:log V 50 Belatedly add cxgb(4). Approved by: re (blanket) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-09-26T21:31:47.000000Z K 7 svn:log V 37 Fix typo. Approved by: re (blanket) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-09-27T03:42:59.000000Z K 7 svn:log V 85 MFC 1.77: Support --posix as a synonym for --format=pax, for GNU tar compatibility. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-09-27T03:45:24.000000Z K 7 svn:log V 115 MFC 1.17: Make return values from archive_write_data() consistent whether you're writing to an archive or to disk. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-09-27T03:47:26.000000Z K 7 svn:log V 25 MFC spelling correction. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-09-27T04:21:59.000000Z K 7 svn:log V 524 Correct an error of omission in the reimplementation of the page cache: vm_object_page_remove() should convert any cached pages that fall with the specified range to free pages. Otherwise, there could be a problem if a file is first truncated and then regrown. Specifically, some old data from prior to the truncation might reappear. Generalize vm_page_cache_free() to support the conversion of either a subset or the entirety of an object's cached pages. Reported by: tegge Reviewed by: tegge Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-09-27T06:35:27.000000Z K 7 svn:log V 43 MFC: rev. 1.23: Fix the CPU usage display. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2007-09-27T11:43:56.000000Z K 7 svn:log V 69 Add myself and my mentor. Reviewed by: njl (mentor) Approved by: re END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-09-27T12:30:12.000000Z K 7 svn:log V 135 Forced commit to note repocopy: The files were copied in order to rename cached to nscd. Approved by: re (kensmith), brooks (mentor) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-09-27T16:39:27.000000Z K 7 svn:log V 435 - Honor the PREEMPTION and FULL_PREEMPTION flags by setting the default value for kern.sched.preempt_thresh appropriately. It can still by adjusted at runtime. ULE will still use IPI_PREEMPT in certain migration situations. - Assert that we're not trying to compile ULE on an unsupported architecture. To date, I believe only i386 and amd64 have implemented the third cpu switch argument required. Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-27T18:06:49.000000Z K 7 svn:log V 156 A few tweaks to reduce diffs with HEAD including using lock_init() and lock_destroy() and adding a missing #include so that NO_ADAPTIVE_RWLOCKS is honored. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-27T18:08:09.000000Z K 7 svn:log V 36 Use lock_init() and lock_destroy(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-27T18:10:40.000000Z K 7 svn:log V 69 - Restore the 'show sleepq' DDB command. - Trim some extra includes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-27T18:12:25.000000Z K 7 svn:log V 131 Make td_sqqueue a char and move it into a pre-existing "hole" from alignment padding to restore the ABI of 'struct thread' in 6.x. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-27T18:23:44.000000Z K 7 svn:log V 81 MFC 1.167: Use a UMA zone to handle the turnstile objects rather than malloc(9). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-27T18:39:18.000000Z K 7 svn:log V 550 - Remove some debugging nits in the MFC of rwlocks that looked for cases where a reader blocked on a lock with no owner and just assert that it never happens like HEAD. - Actually set td->td_tsqueue to the sub-queue of a turnstile that a thread is actually enqueued to. Otherwise, the kernel would always think that threads were on the queue for exclusive (write) waiters (queue 0). Thus, if the priority of a thread waiting on a read lock was adjusted while it was waiting it could result in corrupting the queue of waiting threads. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-27T18:44:16.000000Z K 7 svn:log V 159 MFC some comment updates to account for multi-queue support missed earlier as well as a few other changes (whitespace, style, etc.) to reduce diffs with HEAD. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2007-09-27T20:11:32.000000Z K 7 svn:log V 110 Fix previous commit: I should be in alphabetical order. Pointed out by: brueffer Approved by: re (bmah), njl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-09-27T20:18:34.000000Z K 7 svn:log V 1074 When orphaning a provider, cancel events related to it. Without this change the following situation was possible: 1. Provider is orphaned from within class' access() method on last write close - orphan provider event is send. 2. GEOM detects last write close on a provider and sends new provider event. 3. g_orphan_register() is called, and calls all orphan methods of attached consumers. 4. New provider event is executed on orphaned provider, all classes can taste already orphaned provider, and some may attach consumers to it. Those consumers will never go away, because the g_orphan_register() was already called. We end up with a zombie provider. With this change, at step 3, we will cancel new provider event. How to repeat this problem: # mdconfig -a -t malloc -s 10m # geli init -i 0 md0 # geli attach md0 # newfs -L test /dev/md0.eli # mount /dev/ufs/test /mnt/tmp # geli detach -l md0.eli # umount /mnt/tmp # glabel status Name Status Components ufs/test N/A N/A Reviewed by: phk Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-27T20:24:56.000000Z K 7 svn:log V 280 Remove the *_queue() variants of various sleepq and turnstile functions and always require the queue to be specified to reduce diffs with HEAD. These APIs are internal APIs only used to implement higher level primitives such as locks and condition variables. Approved by: alfred END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-27T20:52:17.000000Z K 7 svn:log V 131 Fix a comment to reflect the truth. Spotted out by: Marius Nuennerich Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-27T21:18:34.000000Z K 7 svn:log V 188 Now that Intel changed the license for the NPE firmware, import it directly hexed into our tree, instead of requiring the user to download it. Approved by: re (blanket) MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-09-27T22:39:49.000000Z K 7 svn:log V 315 Ok I hope I got it right this time. After discussion with Sam, switch back to use firmware(9) instead of having the firmware in hex format. Put the binary firmware uuencoded into sys/contrib/dev/npe, and slap a LICENSE file, as found on the Intel website. Approved by: re (blanket), mux (mentor) MFC After: 1 week END K 10 svn:author V 3 scf K 8 svn:date V 27 2007-09-28T02:22:56.000000Z K 7 svn:log V 153 Add fts_set_clientptr(3), fts_get_clientptr(3) and fts_get_stream(3) man page links to fts(3). Approved by: wes Approved by: re (hrs) MFC after: 5 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-28T02:31:30.000000Z K 7 svn:log V 760 MFC: Fix man(1) to allow .so to reference a compressed file Original PR description: 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 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-28T02:31:57.000000Z K 7 svn:log V 837 MFC: Fix man(1) to allow .so to reference a compressed file Original PR description: 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 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-09-28T02:51:26.000000Z K 7 svn:log V 323 MFCs Dutch calendar More dates: Sint Maarten, Dierendag, Trinitatis Fix spelling: Carnaval Add more of the Royal Family. Croation calendars: Update to calendar/calendars/hr_HR.ISO_8859-2/calendar.praznici with fixes and new dates. PR: conf/26658 Submitted by: Josip Rodin END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-09-28T05:04:13.000000Z K 7 svn:log V 98 New release note: gvirstor(8). MFC noted: camcontrol(8) readcap. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-09-28T05:08:34.000000Z K 7 svn:log V 29 MFC: camcontrol(8) readcap. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-09-28T05:14:39.000000Z K 7 svn:log V 107 Add a missing word in one place and delete an extraneous article in another. Approved by: re (implicitly) END K 10 svn:author V 6 jinmei K 8 svn:date V 27 2007-09-28T06:23:03.000000Z K 7 svn:log V 184 MFC: ensure the head entry of addrinfo chain has non-NULL ai_canonname to be compliant with RFC3493. PR: standards/114910 Approved by: ume (mentor) lib/libc/net/getaddrinfo.c: 1.86 END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T06:34:22.000000Z K 7 svn:log V 96 MFC: (1.5) use sprintf() rather than (unportable) strlcpy(). Also bobbit some unused variables. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T06:35:14.000000Z K 7 svn:log V 22 MFC: Synch with HEAD. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T07:04:35.000000Z K 7 svn:log V 58 MFC: (1.6) childerr needs to be volatile. PR: bin/85830 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-09-28T07:10:36.000000Z K 7 svn:log V 25 MFC: rev. 1.8 Fix typo. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-09-28T07:33:01.000000Z K 7 svn:log V 52 MFC rev. 1.129,1.132 Fix misspellings in comments. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T08:26:16.000000Z K 7 svn:log V 53 MFC: remove confusing boot message, add feature bits END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T08:42:04.000000Z K 7 svn:log V 48 MFC: synch with HEAD, minus whitespace changes. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T08:43:54.000000Z K 7 svn:log V 34 MFC: whitespace changes from HEAD END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T08:46:10.000000Z K 7 svn:log V 49 MFC: ICH[678] support, resource allocation fixes END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T08:54:41.000000Z K 7 svn:log V 17 MFC: coretemp(4) END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-09-28T10:38:08.000000Z K 7 svn:log V 155 Finishing renaming of cached into nscd. etc/rc.d and usr.sbin/Makefile updated. Note added to UPDATING. Approved by: re (kensmith, bmah), brooks (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-09-28T11:09:11.000000Z K 7 svn:log V 58 MFC rev1.9: - Remove references to unexisting man pages END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-09-28T11:10:37.000000Z K 7 svn:log V 42 MFC rev1.5: - Fix a declaration example END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-09-28T11:13:40.000000Z K 7 svn:log V 155 - Change the description of sleepq_add(), sleepq_broadcast() and sleepq_signal() to reflect recent changes Submitted by: attilio Approved by: re (bmah) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-09-28T15:31:44.000000Z K 7 svn:log V 38 Adjust history. Approved by: re(ken) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-09-28T15:52:28.000000Z K 7 svn:log V 67 fix building with NO_CRYPT=true PR: 116439 Approved by: re (gnn) END K 10 svn:author V 3 des K 8 svn:date V 27 2007-09-28T17:24:53.000000Z K 7 svn:log V 55 Add missing coretemp entry, unbreak LINT and tinderbox END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-09-28T17:39:45.000000Z K 7 svn:log V 132 o Update tcp sendcookie stats. HEAD has a different code and does not have this bug. Submitted by: Igor Sysoev Reviewed by: silby END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-28T19:38:40.000000Z K 7 svn:log V 70 Correct a nit in earlier MFC: the carp stats routine does use sysctl. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-09-28T19:45:18.000000Z K 7 svn:log V 138 Fix another nit in an earlier MFC so that we properly warn if we can't read the multicast routing stats from a live kernel via sysctl(8). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-09-29T15:01:41.000000Z K 7 svn:log V 158 o For dynamic rules log a parent rule number. Prefix a log message by 'ipfw: '. PR: kern/115755 Submitted by: sem Approved by: re (gnn) MFC after: 4 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-09-29T16:31:44.000000Z K 7 svn:log V 98 MFC revs. 1.38, 1.39: need to reboot the system after tuning softupdates on the root file system. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2007-09-29T17:01:19.000000Z K 7 svn:log V 80 Add my self and my mentor. Approved by: jkoshy (mentor) Approved by: re (bmah) END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-09-29T22:37:40.000000Z K 7 svn:log V 97 Updating ObsoleteFiles.inc after cached->nscd renaming. Approved by: re (bmah), brooks (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2007-09-29T23:13:38.000000Z K 7 svn:log V 279 MFC r 1.67: date: 2007/08/30 21:18:42; author: njl; state: Exp; lines: +32 -7 Evaluate _OSC on boot to indicate our OS capabilities to ACPI. This is needed at least to convince the BIOS to give us access to CPU freq control on MacBooks. Approved by: njl (mentor) END K 10 svn:author V 6 marcus K 8 svn:date V 27 2007-09-30T06:16:20.000000Z K 7 svn:log V 340 MFC: rev 1.452 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 END K 10 svn:author V 6 marcus K 8 svn:date V 27 2007-09-30T06:22:13.000000Z K 7 svn:log V 434 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. Note: this is not an MFC as this code no longer exists in HEAD. However, this is based on the same syscons fix which was just MFC'd after one week in HEAD. Reviewed by: bde END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-30T11:05:18.000000Z K 7 svn:log V 1218 Make the PCI code aware of PCI domains (aka PCI segments) so we can support machines having multiple independently numbered PCI domains and don't support reenumeration without ambiguity amongst the devices as seen by the OS and represented by PCI location strings. This includes introducing a function pci_find_dbsf(9) which works like pci_find_bsf(9) but additionally takes a domain number argument and limiting pci_find_bsf(9) to only search devices in domain 0 (the only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order to no longer report false positives when searching for siblings and dupe devices in the same domain respectively. Along with this change the sole host-PCI bridge driver converted to actually make use of PCI domain support is uninorth(4), the others continue to use domain 0 only for now and need to be converted as appropriate later on. Note that this means that the format of the location strings as used by pciconf(8) has been changed and that consumers of potentially need to be recompiled. Suggested by: jhb Reviewed by: grehan, jhb, marcel Approved by: re (kensmith), jhb (PCI maintainer hat) END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-09-30T19:33:19.000000Z K 7 svn:log V 2135 MFC: sys/conf/files.sparc64 1.83; sys/conf/options.sparc64 1.24; sys/dev/uart/uart_kbd_sun.c 1.10, 1.11 (partial), 1.13; sys/dev/uart/uart_kbd_sun.h 1.3; sys/sparc64/conf/NOTES 1.30 - In sunkbd_probe_keyboard() don't bother to determine the keyboard layout as we have no use for that info. Instead let this function return the keyboard ID and verify at its invocation in sunkbd_configure() that we're talking to a Sun type 4/5/6 keyboard, i.e. a keyboard supported by this driver. - Add an option SUNKBD_EMULATE_ATKBD whose code is based on the respective code in ukbd(4) and like UKBD_EMULATE_ATSCANCODE causes this driver to emit AT keyboard/KB_101 compatible scan codes in K_RAW mode as assumed by kbdmux(4). Unlike UKBD_EMULATE_ATSCANCODE, SUNKBD_EMULATE_ATKBD also triggers the use of AT keyboard maps and thus allows to use the map files in share/syscons/keymaps with this driver at the cost of an additional translation (in ukbd(4) this just is the way of operation). - Implement an option SUNKBD_DFLT_KEYMAP, which like the equivalent options of the other keyboard drivers allows to specify the default in-kernel keyboard map. For obvious reasons this made to only work when also using SUNKBD_EMULATE_ATKBD. - Implement sunkbd_check(), sunkbd_check_char() and sunkbd_clear_state(), which are also required for interoperability with kbdmux(4). - Implement K_CODE mode and FreeBSD keypad compose. - As a minor hack define KBD_DFLT_KEYMAP also in the !SUNKBD_EMULATE_ATKBD case so we can obtain fkey_tab from rather than having to duplicate it and #ifdef some more code. - Don't use the TX-buffer for writing the two command bytes for setting the keyboard LEDs as this consequently requires a hardware FIFO that is at least two bytes in depth, which the NMOS-variant of the Zilog SCCs doesn't have. Thus use an inlined version of uart_putc() to consecutively write the command bytes (a cleaner approach would be to do this via the soft interrupt handler but that variant wouldn't work while in ddb(4)). [1] - Fix some minor style(9) bugs. PR: 90316 [1] END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-10-01T03:22:29.000000Z K 7 svn:log V 933 - Bug fix managing congestion parameter on immediate retransmittion by handover event (fast mobility code) - Fixed problem of mobility code which is caused by remaining parameters in the deleted primary destination. - Add a missing lock. When a peer sends an INIT, and while we are processing it to send an INIT-ACK the socket is closed, we did not hold a lock to keep the socket from going away. Add protection for this case. - Fix so that arwnd is alway uses the minimal rwnd if the user has set the socket buffer smaller. Found this when the test org decided to see what happens when you set in a rwnd of 10 bytes (which is not allowed per RFC .. 4k is minimum). - Fixes so a cookie-echo ootb will NOT cause an abort to be sent. This was happening in a MPI collision case. - Examined all panics and unless there was no recovery, moved any that were not already to INVARANTS. Approved by: re@freebsd.org (gnn) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:07:29.000000Z K 7 svn:log V 87 Install the forgotten /usr/include/geom/multipath/ header. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:08:11.000000Z K 7 svn:log V 54 MK_LIBTHR was misspelled. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:09:42.000000Z K 7 svn:log V 77 The shell_1_sh test was failing with "make -jX". Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:11:43.000000Z K 7 svn:log V 182 - Add cddl/lib to the list of library directories. - Add /bin to PATH to suppress a harmless warning from a makefile that sets a variable using cat(1). Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:15:11.000000Z K 7 svn:log V 84 Fixed "make checkdpadd" (missing library dependencies). Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:17:24.000000Z K 7 svn:log V 75 Fixed static linkage (build with -DNO_SHARED). Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:22:32.000000Z K 7 svn:log V 466 Always install libpthread.* symlinks if at least one of the threading libraries is built. This simplifies the logic in makefiles that need to check if the pthreads support is present. It also fixes a bug where we would build a threading library that we shouldn't have built: for example, building with WITHOUT_LIBTHR and the default value of DEFAULT_THREADING_LIB (libthr) would mistakenly build the libthr library, but not install it. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:23:24.000000Z K 7 svn:log V 130 Don't build bits that depend on the pthreads support if a system was configured without such support. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:24:46.000000Z K 7 svn:log V 176 Revise the list of directories we manually create under ${WORLDTMP} and ${LIB32TMP}; some of them are no longer needed, and some were never needed. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-01T18:29:55.000000Z K 7 svn:log V 466 Always install libpthread.* symlinks if at least one of the threading libraries is built. This simplifies the logic in makefiles that need to check if the pthreads support is present. It also fixes a bug where we would build a threading library that we shouldn't have built: for example, building with WITHOUT_LIBTHR and the default value of DEFAULT_THREADING_LIB (libthr) would mistakenly build the libthr library, but not install it. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-01T20:13:49.000000Z K 7 svn:log V 67 MFC: Allow the ia32 resource limits to be set via loader tunables. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-10-01T23:37:39.000000Z K 7 svn:log V 134 Partial MFC: rev. 1.6 o Use the --detach option to kdc(8) instead of using the shell background operator '&'. PR: conf/102722 END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-10-02T00:36:06.000000Z K 7 svn:log V 359 - Move the rebalancer back into hardclock to prevent potential softclock starvation caused by unbalanced interrupt loads. - Change the rebalancer to work on stathz ticks but retain randomization. - Simplify locking in tdq_idled() to use the tdq_lock_pair() rather than complex sequences of locks to avoid deadlock. Reported by: kris Approved by: re END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-10-02T01:22:14.000000Z K 7 svn:log V 63 Remove a -N flag. Reviewed by: sam Approved by: re (kensmith) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-10-02T01:30:18.000000Z K 7 svn:log V 444 - Reassign the thread queue lock to newtd prior to switching. Assigning after the switch leads to a race where the outgoing thread still owns the local queue lock while another cpu may switch it in. This race is only possible on machines where cpu_switch can take significantly longer on different cpus which in practice means HTT machines with unfair thread scheduling algorithms. Found by: kris (of course) Approved by: re END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-02T05:44:53.000000Z K 7 svn:log V 106 MFC: 1.32: If not compiled for debugging, redirect std{in,out,err} to /dev/null before becoming a daemon. END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-10-02T07:51:43.000000Z K 7 svn:log V 105 Removing obsolete cached files after cached->nscd renaming. Approved by: re (kensmith), brooks (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-02T08:17:29.000000Z K 7 svn:log V 174 MFC: - New Darwin, FreeBSD, and NetBSD versions. - DragonFly support including the new .Dx macro. - New .St strings: -isoC-amd1, -isoC-tcor1, -isoC-tcor2, and -ieee1275-94. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-02T08:38:34.000000Z K 7 svn:log V 75 MFC: Added FreeBSD/arm and FreeBSD 6.3. FreeBSD 5.5 and 7.0 are official. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-10-02T14:48:48.000000Z K 7 svn:log V 478 Fix sx_try_slock(), so it only fails when there is an exclusive owner. Before that fix, it was possible for the function to fail if number of sharers changes between 'x = sx->sx_lock' step and atomic_cmpset_acq_ptr() call. This fixes ZFS problem when ZFS returns strange EIO errors under load. In ZFS there is a code that depends on the fact that sx_try_slock() can only fail if there is an exclusive owner. Discussed with: attilio Reviewed by: jhb Approved by: re (kensmith) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-10-02T15:30:28.000000Z K 7 svn:log V 96 Fix usage example since we don't have wext driver. Reviewed by: sam Approved by: re (kensmith) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-10-02T15:59:54.000000Z K 7 svn:log V 190 MFC: sync the mxge driver with HEAD, modulo some slight differences due to RELENG_6 limitations. (no TSO in RELENG_6, no VLAN tag insertion/removal due to vlan differences, etc). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-02T20:06:14.000000Z K 7 svn:log V 220 Do not imply -ftree-vrp with -O2 and above. One must implicitly specify '-ftree-vrp' if one wants it. Some bad code generation has been tracked to -ftree-vrp. jdk1{5,6} are notable examples. Approved by: re(kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-03T01:26:24.000000Z K 7 svn:log V 125 Correction to the log for rev. 1.4: "One must now explicitly specify -ftree-vrp if one wants it". Approved by: re(KenSmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-03T05:44:27.000000Z K 7 svn:log V 209 Removed "tail +5" from the command used to sanity check changes to mtree files -- the 5-line header is no longer printed when mtree(8) is run with -n (as of mtree/create.c,v 1.34). Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-03T05:51:20.000000Z K 7 svn:log V 48 Sort as per README. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-03T06:04:40.000000Z K 7 svn:log V 515 Pull up current -mdoc version from vendor. This includes the following changes: : 2007-10-02 Ruslan Ermilov : : * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document : FreeBSD 5.5 and 7.0. : : * tmac/doc-syms: Give better names for System V releases. : 2007-05-30 Werner LEMBERG : : * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate. : Recommend `tbl' instead of `-column' lists for more complicated : cases. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-03T06:04:40.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r172423, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-03T19:28:57.000000Z K 7 svn:log V 32 MFC: rev. 1.8's layout changes. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-03T19:56:17.000000Z K 7 svn:log V 104 MFC: 2006/07/28 commit achieving WARNS=3 Also fix nlist 'nl' should be terminated by a NULL entry. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-03T20:41:35.000000Z K 7 svn:log V 290 MFC: Use rman_set_rid() to save the rid in new resources when they are allocated. This makes 'bus_free_resource()' safe to use in 6.x and also fixes an issue with the recent PCI MSI code MFCs that caused them to never update the MSI config registers. Reported by: gallatin (MSI breakage) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-03T21:06:05.000000Z K 7 svn:log V 247 MFC: Always use an exclusive lock on the leaf vnode during an open() when shared lookups are enabled. This closes a few races including a race where concurrent opens of a fifo could result in different v_fifoinfo structures in different threads. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-03T21:38:57.000000Z K 7 svn:log V 134 Correct a buffer overflow in OpenSSL SSL_get_shared_ciphers(). Security: FreeBSD-SA-07:08.openssl Approved by: re (security blanket) END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-03T21:39:43.000000Z K 7 svn:log V 63 Correct a buffer overflow in OpenSSL SSL_get_shared_ciphers(). END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-03T21:42:00.000000Z K 7 svn:log V 99 Correct a buffer overflow in OpenSSL SSL_get_shared_ciphers(). Security: FreeBSD-SA-07:08.openssl END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-03T21:42:32.000000Z K 7 svn:log V 123 Correct a buffer overflow in OpenSSL SSL_get_shared_ciphers(). Security: FreeBSD-SA-07:08.openssl Approved by: so (simon) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-04T04:38:23.000000Z K 7 svn:log V 57 MFV: recent mdoc(7) changes. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-04T04:39:06.000000Z K 7 svn:log V 62 FreeBSD 6.2 is now known to mdoc. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-04T04:56:41.000000Z K 7 svn:log V 132 MFC: Updated mdoc (FreeBSD 6.2 added, FreeBSD 5.5 and 7.0 documented, better names for System V releases [1]). PR: docs/68845 [1] END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-10-04T06:21:54.000000Z K 7 svn:log V 224 Recognize the CS5536 support chip for the AMD Geode LX CPU to enable UDMA modes. Please notice that Soekris NET5501 bios versions before 1.32f has a bug that prevents this from working. Approved by: re (gnn) MFC: 2 weeks END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-10-04T09:29:33.000000Z K 7 svn:log V 180 - We should return error = 0 and the upper processing would return a zero length read. Otherwise we don't return the right error indication. Approved by: re@freebsd.org (gnn) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-04T09:45:41.000000Z K 7 svn:log V 468 Fix the module name matching to the drivers present in the kernel. Previously it would return true on a partial match where it would think the edsc module was already present by having a positive match on 'ed'. This changes it so that it compares the full string including the nul terminators. This also fixes a buffer overflow in the ifkind variable where the length of the interface name in *argv wasnt checked for size. Reviewed by: brooks Approved by: re (gnn) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-04T11:28:25.000000Z K 7 svn:log V 612 MFC if_re.c rev. 1.95 to RELENG_6. Make sure to take PHY out of power down mode in device attach. Without this the PHY wouldn't work as expected. This should fix dual-boot Windows XP machine where RealTek Windows drivers put the PHY in power down mode during shutdown. The magic PHY register accesses come from RealTek driver. No datasheets mention the magic PHY registers. In general, the PHY wakeup code should go into PHY driver. However it seems that it only apply to RTL8169S single chip and it would be another hack if we have rgephy(4) check what parent driver/chip model is attached. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-10-04T16:14:48.000000Z K 7 svn:log V 200 The exit status of a case statement where none of the patterns is matched is supposed to be 0, not the status of the previous command. Reported by: Eygene Ryabinkin PR: 116559 Approved by: re (gnn) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-04T17:08:46.000000Z K 7 svn:log V 158 Additional work is still needed before we can claim that tmpfs is stable enough for production usage. Warn user upon mount. Approved by: re (tmpfs blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-04T17:11:48.000000Z K 7 svn:log V 151 MFp4: Provide a dummy verb "export" to shut up the message showed up at start when NFS is enabled. Reported by: rafan Approved by: re (tmpfs blanket) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-10-04T17:51:59.000000Z K 7 svn:log V 131 Fix lock leak leading to the 'System call returning with 1 locks held' panic. Reported by: kris Approved by: re (kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-04T18:27:45.000000Z K 7 svn:log V 189 MFC: Use uintmax_t to pass around 64-bit quantities, including to printf(). Using uintmax_t is also robust to further extensions in both the C language and the bitwidth of kernel counters. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-04T18:29:52.000000Z K 7 svn:log V 66 Also boot *.debug if everything else fails. Approved by: re(gnn) END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-10-04T19:17:16.000000Z K 7 svn:log V 83 Add support for the VIA 8237S Fix the LBA28/LBA48 crossover bug. Approved by: re@ END K 10 svn:author V 2 se K 8 svn:date V 27 2007-10-04T22:18:53.000000Z K 7 svn:log V 753 Restore compatibility with version before introduction of PCI domains. PCI selectors with 2 or 3 elements behave exactly as before (i.e. the domain is 0 and in the 2 element case, the function is also 0). The form with 4 selector elements works as in the previous revision and provides the PCI domain number as the left-most selector element. This change allows old scripts (which used the 2 or 3 selector element formats) to be kept. Without this patch, the 3 element form was parsed as starting with a domain number (and the function was assumed to be 0), with this patch, the domain is assumed to be 0 (and the last value is used as the function number). The man page is updated to describe the new selector semantics. Approved by: re (Ken Smith) END K 10 svn:author V 2 se K 8 svn:date V 27 2007-10-04T22:27:08.000000Z K 7 svn:log V 479 Make selector parsing accept the dot "." as an alternative selector with identical meaning as the colon ":". This is to support a syntax that is more similar to a PCI device specification in the device hints file. The selector is not fully compatible with the specification in the hints file, since entries in that file use a different prefix, which needs to be added to the getsel() routine, if full support of that syntax is found to be desirable. Approved by: re (Ken Smith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-10-05T07:06:51.000000Z K 7 svn:log V 61 AMD CS5536 and VIA 8237S support. Approved by: re (blanket) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-10-05T07:26:39.000000Z K 7 svn:log V 1143 Add entries for Epson multifunction scanner/printer/card readers, with all functions supported. This is done adding usb device IDs to the table of recognised devices (because there is no standard 'scanner' class, so no other way to recognise them), and with a small change to the uscanner attach routine that prevents reconfiguring the whole USB device while we are dealing only with one of its USB interfaces. The latter part has been suggested by Steinar Hamre in http://www.freebsd.org/cgi/query-pr.cgi?pr=107665 , i have only added a bit of explaination to the code. I have personally tried this on the Epson DX-5050 and DX-6000 devices (on the US market they have different names, CX-something). I have good reasons to think that, possibly with the mere addition of more USB ids to the table in uscanner.c, this should work with all Epson multifunction devices in that family (from DX-3800 to DX-7000 - these units are in the 50-120$ price range). More details on related topics (SANE configuration, OCR, etc.) at http://info.iet.unipi.it/~luigi/FreeBSD/dx5050.html Manpage updates coming soon. Approved by: re, imp MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-10-05T15:17:14.000000Z K 7 svn:log V 341 manpage update for the recent commit to uscanner.c I also took the chance to make the list of supported devices a bit more compact, as it was really long to read. Even though re@ and Warner only saw the diffs for the code, i expect their approval also covered the manpage update. Approved by: re, imp (implicitly i hope) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-05T15:22:37.000000Z K 7 svn:log V 47 MFC: Handle CPUs with APIC IDs higher than 32. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-05T17:37:25.000000Z K 7 svn:log V 250 Use the correct pid when checking to see whether or not the /proc/ directory itself (rather than any of its contents) is visible to the current thread. MFC after: 1 week PR: kern/90063 Submitted by: john of 8192.net Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-05T22:39:44.000000Z K 7 svn:log V 333 Disable TCP syncache debug logging by default. While useful in debugging problems with the syncache, it produces a lot of console noise and has led to quite a few false positive bug reports. It can be selectively re-enabled when debugging specific problems by frobbing the same sysctl. Discussed with: silby Approved by: re (gnn) END