Ħ+158000 153 776 149 122 159 165 731 156 281 318 545 667 443 589 282 125 247 351 197 345 117 245 354 210 273 204 574 127 347 178 1047 307 949 1253 223 678 206 135 155 155 240 330 1417 321 455 305 326 138 155 166 169 160 163 182 185 163 166 142 152 249 217 1700 138 539 478 131 192 320 114 630 216 3411 133 160 262 108 198 407 217 171 184 422 266 147 242 360 191 246 141 611 1401 280 129 107 312 612 354 526 119 143 132 107 131 351 175 213 138 156 188 191 144 625 140 238 303 238 294 269 352 133 143 2262 476 192 815 1091 185 290 210 327 159 162 164 102 286 158 391 146 149 148 188 509 163 178 406 604 228 197 168 392 823 957 318 1465 K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-04-24T21:17:01.000000Z K 7 svn:log V 678 Adjust dangerous-shared-cache-detection logic from "all shared data caches are dangerous" to "a shared L1 data cache is dangerous". This is a compromise between paranoia and performance: Unlike the L1 cache, nobody has publicly demonstrated a cryptographic side channel which exploits the L2 cache -- this is harder due to the larger size, lower bandwidth, and greater associativity -- and prohibiting shared L2 caches turns Intel Core Duo processors into Intel Core Solo processors. As before, the 'machdep.hyperthreading_allowed' sysctl will allow even the L1 data cache to be shared. Discussed with: jhb, scottl Security: See FreeBSD-SA-05:09.htt for background material. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-24T21:40:58.000000Z K 7 svn:log V 54 Remove the sab(4) driver. It is superseded by scc(4). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-24T21:42:28.000000Z K 7 svn:log V 27 Remove the sab(4) manpage. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-04-24T22:23:52.000000Z K 7 svn:log V 66 Check if deterministic cache parameters leaf is valid before use. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-04-24T22:56:57.000000Z K 7 svn:log V 72 Add another Intel CPU feature flag, xTPR (Send Task Priority Messages). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-24T23:31:51.000000Z K 7 svn:log V 635 o Move ISA specific code from ppc.c to ppc_isa.c -- a bus front- end for isa(4). o Add a seperate bus frontend for acpi(4) and allow ISA DMA for it when ISA is configured in the kernel. This allows acpi(4) attachments in non-ISA configurations, as is possible for ia64. o Add a seperate bus frontend for pci(4) and detect known single port parallel cards. o Merge PC98 specific changes under pc98/cbus into the MI driver. The changes are minor enough for conditional compilation and in this form invites better abstraction. o Have ppc(4) usabled on all platforms, now that ISA specifics are untangled enough. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-24T23:36:32.000000Z K 7 svn:log V 61 Revert previous commit. It's not part of the ppc(4) changes. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-04-25T00:06:37.000000Z K 7 svn:log V 187 Check if reported HTT cores are physical cores. This commit does not affect AMD CPUs at all because HTT bit is disabled earlier. Intel multicore CPUs and ULE scheduler may be affected. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-04-25T00:21:56.000000Z K 7 svn:log V 222 Bump up the NFS server dupreq cache limit to 2K (from 64). With a small duplicate request cache, under heavy load a lot of non-idempotent requests were getting served again, resulting in errors. Found by : Kris Kennaway. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-04-25T11:17:35.000000Z K 7 svn:log V 448 Abstract inpcb drop logic, previously just setting of INP_DROPPED in TCP, into in_pcbdrop(). Expand logic to detach the inpcb from its bound address/port so that dropping a TCP connection releases the inpcb resource reservation, which since the introduction of socket/pcb reference count updates, has been persisting until the socket closed rather than being released implicitly due to prior freeing of the inpcb on TCP drop. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-04-25T11:48:16.000000Z K 7 svn:log V 570 Extend getsock() to return the struct file flags read while holding the file lock, in the style of fgetsock(). Modify accept1() to use getsock() instead of fgetsock(), relying on the file descriptor reference rather than an acquired socket reference to prevent the listen socket from being destroyed during accept(). This avoids additional reference count operations, which should improve performance, and also avoids accept1() operating on a socket whose file descriptor has been torn down, which may have resulted in protocol shutdown starting. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-04-25T12:09:58.000000Z K 7 svn:log V 346 Move lock assertions to top of in6_pcbladdr(): we still want them to run even if we're going to return an argument-based error. Assert pcbinfo lock in in6_pcblookup_local(), in6_pcblookup_hash(), since they walk pcbinfo inpcb lists. Assert inpcb and pcbinfo locks in in6_pcbsetport(), since port reservations are changing. MFC after: 3 months END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-04-25T14:41:30.000000Z K 7 svn:log V 494 MFC (revision 1.24) Add support for (latest) VIA VT8251 audio controller. A slight difference of this chip from its previous siblings is that it need a gentle "wake up" on every (full) DMA buffer completion to avoid stalled interrupt handler. Thanks to George Hartzell for permission on doing remote debugging. PR: i386/95949 Tested by: [1] George Hartzel myself (remotely) Approved by: re (hrs) [1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-April/004003.html END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-25T15:04:29.000000Z K 7 svn:log V 186 Don't scan pages that are above the passed in high value. This is a partial MFC of rev 1.48; the rest of that change is incomplete and not appropriate for merging yet. Approved by: re END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-25T15:07:10.000000Z K 7 svn:log V 28 Mention VIA VT8251 support. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-04-25T15:21:26.000000Z K 7 svn:log V 153 Fix assorted grammar and punctuation nits. These are a subset of some fixes that will (very shortly) be committed to RELENG_6_1. Approved by: re (hrs) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-04-25T15:27:31.000000Z K 7 svn:log V 257 Fix assorted grammar and punctuation nits, and relocate the ppp script note to the correct section. Not quite an MFC but this change is roughly equivalent to rev. 1.916, plus a couple of fixes that are only applicable to RELENG_6_1. Approved by: re (hrs) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-25T15:29:50.000000Z K 7 svn:log V 101 MFC rev 1.43.2.4: avoid high ordered pages that are outside of the requested range. Approved by: re END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-04-25T15:56:52.000000Z K 7 svn:log V 253 make BGE_FAKE_AUTONEG a tunable. This allows one to change the behavior of the driver pre-boot. NOTE: This patch was made for DragonFly BSD by Sepherosa Ziehau. PR: kern/94833 Submitted by: Devon H. O'Dell Obtained from: DragonFly MFC after: 1 month END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-04-25T16:52:54.000000Z K 7 svn:log V 26 document the new tunable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-04-25T17:27:24.000000Z K 7 svn:log V 152 Add synchronization to vm_pageq_add_new_page() so that it can be called safely after kernel initialization. Remove GIANT_REQUIRED. MFC after: 6 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-04-25T17:38:08.000000Z K 7 svn:log V 257 Rename 'last' to 'inp' in udp_append(): the name 'last' is due to the fact that the loop through inpcb's in udp_input() tracks the last inpcb while looping. We keep that name in the calling loop but not in the delivery routine itself. MFC after: 3 months END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-04-25T17:54:42.000000Z K 7 svn:log V 114 If one removes the option from conf/options, one should remove the include of the derived file opt_bge.h as well. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-25T18:42:22.000000Z K 7 svn:log V 180 Use PTOV() to convert physical addresses to appropriate virtual addresses in the loader when searching for the ACPI RSDP. (The loader runs in a flat mode with va 0 == pa 0xa000.) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-25T19:18:48.000000Z K 7 svn:log V 111 Fix half of the current i386 tinderbox failure. max_bus_addr should be a bus_addr_t rather than a bus_size_t. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-04-25T19:37:03.000000Z K 7 svn:log V 478 MFC: sys/sparc64/sparc64/exception.S 1.73, sys/sparc64/sparc64/interrupt.S 1.9 - In intr_fast() fix a race which is fallout from critical sections no longer raising the PIL and can cause corruption of the interrupt request lists. - In intr_fast() assert that the ir_func to be called is non-zero. - Increment interrupt stats after calling the handlers rather than before in order to reduce the delay until direct and fast handlers are serviced. Approved by: re (hrs) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-04-25T19:43:53.000000Z K 7 svn:log V 32 Remove last vestiges of sab(4). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-04-25T19:56:53.000000Z K 7 svn:log V 252 o Set to zero engine_type, engine_id and pad (cisco calls it sampling_interval) fields in netflow v5 header. We do not use them but some netflow tools show garbage. PR: kern/96296 Submitted by: David Duchscher Approved by: glebius MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-04-25T20:01:50.000000Z K 7 svn:log V 84 o Replace disappeared URLs to Cisco docs by new ones, style. No functional changes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-25T20:22:48.000000Z K 7 svn:log V 954 Add two helper functions: db_lookup_thread() and db_lookup_proc(). They take the addr value passed to a ddb command and attempt to use it to lookup a struct thread * or struct proc *, respectively. Each function first reparses the passed in value as if it was an ID entered in base 10. For threads the ID is treated as a thread ID, for proceses the ID is treated as a PID. If a thread or proc matching the ID is found, it is returned. For db_lookup_thread(), if the check_pid argument is true and it didn't find a thread with a matching thread ID, it will treat the ID as a PID and look for a matching process. If it finds one it returns the first thread in the process. If none of the ID lookups succeeded, then the functions assume that the passed in address is a thread or proc pointer, respectively. This allows one to use tids, pids, or structure pointers interchangeably in ddb functions that want to lookup threads or processes if desired. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-25T20:24:23.000000Z K 7 svn:log V 214 Use db_lookup_thread() to lookup the thread for the passed in address and change 'show locks' to only list the locks for a given thread rather than for all the threads in the process containing a specified thread. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-25T20:28:17.000000Z K 7 svn:log V 856 Add some new commands to hopefully make it easier to diagnose lock-related problems in ddb: - "show threadchain [thread]" will start with the specified thread (or the current kdb thread by default) and show it's state. If it is blocked on a lock, it will find the owner of the lock and show its state, etc. - "show allchains" will find all of the threads that are blocked on a lock (but do not have any threads blocked on a lock they hold) and show the resulting thread chain. - "show lockchain " takes a pointer to a lock_object (such as a mutex or rwlock). If there is a turnstile for that lock, then it will display all the threads blocked on the lock. In addition, for each thread blocked on the lock, it will display any contested locks they hold, and recurse on those locks to show any threads blocked on those locks, etc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-25T20:34:04.000000Z K 7 svn:log V 1159 - Overhaul the 'ps' command in ddb to be mostly readable again. :) It is now back to using fixed-size columns for output and each line of output should fit in 80 columns on both 32-bit and 64-bit architectures. In general the output is close to that of the userland ps(1) with the exception that the 'wmesg' field is mostly similar to the "state" field in top(1) in that it will show either a wmesg, a lock name (prefixed with an *), "CPU xx" (for a running thread), or nothing if none of those three conditions are true. It also respects td_name when listing threads in a multithreaded process. There is a somewhat evilly-defined PTR64 macro I use to make account for the change in the size of the 'wchan' column in the formatted output (wchan is now the only pointer in the ps output and is available so it can be passed to 'show sleepq', 'show turnstile', or 'show lock'). - Add two new commands "show proc [process]" and "show thread [thread]" that show details about the specified process or thread (specified either by pid/tid or pointer), respectively. If an address it not specified, it uses the current kdb thread. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-04-25T20:42:15.000000Z K 7 svn:log V 128 o Add IDs for Plan9, QNX4.X, Mac OS-X, Linux exteneded partitions. PR: bin/96326 Submitted by: Alex Kozlov MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-25T22:11:10.000000Z K 7 svn:log V 585 MFC: sys/geom/raid3/g_raid3.c 1.61 Fix storing offset of already synchronized data. Offset in entire array was stored in metadata instead of an offset in single disk. After reboot/crash synchronization process started from a wrong offset skipping (not synchronizing) part of the component which can lead to data corrutpion (when synchronization process was interrupted on initial synchronization) or other strange situations like 'graid3 status' showing value more than 100%. Reported, reviewed and tested by: ru Reported by: Dmitry Morozovsky Approved by: re (hrs) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-04-25T22:52:28.000000Z K 7 svn:log V 113 honor fixed tx antenna when sending beacon frames Submitted by: Michael Stevens (from netbsd) MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-25T23:23:13.000000Z K 7 svn:log V 40 In in_pcbdrop(), fix !INVARIANTS build. END K 10 svn:author V 4 kris K 8 svn:date V 27 2006-04-26T01:23:24.000000Z K 7 svn:log V 62 MFC: r1.78 and r.179; fix locking assertions Approved by: re END K 10 svn:author V 4 kris K 8 svn:date V 27 2006-04-26T01:23:59.000000Z K 7 svn:log V 62 MFC: r1.78 and r1.79; fix locking assertions Approved by: re END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-04-26T01:47:43.000000Z K 7 svn:log V 143 MFC 1.1.1.11 (sam): correct dlt buffer alloc; this goes on the vendor branch as it will be committed there shortly. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-04-26T03:46:10.000000Z K 7 svn:log V 233 MFC 1.2 (tjr): Fix a one byte off error which causes "less" to crash if you view a large file, jump to the end, scroll backwards with "b" and try to search backwards afterwards. Submitted by: Matthias Scheler Approved by: re (hrs) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-04-26T06:05:16.000000Z K 7 svn:log V 1319 Use the same method for detecting actual presence of AT-style keyboard controller as we use in boot blocks (querying status register until bit 1 goes off). If that doesn't happed during reasonable period assume that the hardware doesn't have AT-style keyboard controller. This makes FreeBSD working almost OOB on MacBook Pro (still there are issues with putting second CPU core on-line, but since installation CD comes with UP kernel with this change one should be able to install FreeBSD without playing tricks with hints). Other legacy-free hardware (e.g. IBM NetVista S40) should benefit from this as well, but since I don't have any I can't verify. It should make no difference on the ordinary i386 hardware (since in that case that hardware already would be having an issues with A20 routines in boot blocks). I don't know much about AT-style keyboard controller on other platforms (and don't have dedicated access to one), therefore, the code is restricted to i386 for now. I suspect that amd64 may need this as well, but I would rather leave this decision to someone who knows better about the platform(s) in question. I have tested this change on as many "ordinary i386 boxes" as I can get my hands on, and it doesn't create any false negatives on hardware with AT-style keyboard present. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-26T06:35:11.000000Z K 7 svn:log V 228 Don't destroy device twice. This can lead to kernel panic on reboot/shutdown. This is not an MFC, because the code in HEAD has other changes and there is no such problem there. Reported and tested by: ken Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-04-26T14:18:55.000000Z K 7 svn:log V 358 Reconstitute struct mac_policy_ops by breaking out individual function pointer prototypes from it into their own typedefs. No functional or ABI change. This allows policies to declare their own function prototypes based on a common definition from mac_policy.h rather than duplicating these definitions. Obtained from: SEDarwin, SPARTA MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-04-26T16:00:37.000000Z K 7 svn:log V 212 back out public safety-specific channel number mapping; we can't do it until we know it should be applied as otherwise we can map 11a channels into the 2.4G range and choose the wrong item from the chanenl array END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-04-26T16:02:36.000000Z K 7 svn:log V 233 intercept public safety channels and do explicit mapping of freq->ieee channel number since we're not ready at the net80211 layer to deal with them; note this mapping has to match what's done in ieee80211_mhz2ieee MFC after: 3 days END K 10 svn:author V 2 ps K 8 svn:date V 27 2006-04-26T16:33:58.000000Z K 7 svn:log V 47 Only use the low address for stats collection. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-04-26T17:53:14.000000Z K 7 svn:log V 63 MFC: add eapol_version config parameter Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-26T18:38:43.000000Z K 7 svn:log V 69 MFC: rev. 1.4 Correct two typos in comments. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-26T18:39:17.000000Z K 7 svn:log V 72 MFC: rev. 1.4 Correct two typos in comments. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-26T18:41:00.000000Z K 7 svn:log V 63 MFC: rev. 1.32 Add a missing .Pp call. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-26T18:41:40.000000Z K 7 svn:log V 66 MFC: rev. 1.32 Add a missing .Pp call. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-26T18:43:08.000000Z K 7 svn:log V 85 MFC: rev. 1.57 Document how the backoff delay is calculated. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-26T18:43:49.000000Z K 7 svn:log V 88 MFC: rev. 1.57 Document how the backoff delay is calculated. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-26T18:45:39.000000Z K 7 svn:log V 66 MFC: rev. 1.5 Mention VIA VT8251 support. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-26T18:46:12.000000Z K 7 svn:log V 69 MFC: rev. 1.5 Mention VIA VT8251 support. Approved by: re (hrs) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-04-26T19:42:38.000000Z K 7 svn:log V 50 move remaining sysctl into the kern.sched tree... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-26T21:25:13.000000Z K 7 svn:log V 57 o Use __FBSDID o Whitespace fixes o Non-K&R functions END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-26T21:31:31.000000Z K 7 svn:log V 153 o Add 2 NEC cards o Add 2 Dell cards o Add Quatech card o Add support for non-standard rclk values. o Update descriptions to match PCI id database. END K 10 svn:author V 5 peter K 8 svn:date V 27 2006-04-26T21:34:07.000000Z K 7 svn:log V 122 Move vm.pmap.pv_entry_count out from the PV_STATS ifdefs. It is always available and is a real counter, not a statistic. END K 10 svn:author V 5 peter K 8 svn:date V 27 2006-04-26T21:49:20.000000Z K 7 svn:log V 1604 MFamd64: shrink pv entries from 24 bytes to about 12 bytes. (336 pv entries per page = effectively 12.19 bytes per pv entry after overheads). Instead of using a shared UMA zone for 24 byte pv entries (two 8-byte tailq nodes, a 4 byte pointer, and a 4 byte address), we allocate a page at a time per process. This provides 336 pv entries per process (actually, per pmap address space) and eliminates one of the 8-byte tailq entries since we now can track per-process pv entries implicitly. The pointer to the pmap can be eliminated by doing address arithmetic to find the metadata on the page headers to find a single pointer shared by all 336 entries. There is an 11-int bitmap for the freelist of those 336 entries. This is mostly a mechanical conversion from amd64, except: * i386 has to allocate kvm and map the pages, amd64 has them outside of kvm * native word size is smaller, so bitmaps etc become 32 bit instead of 64 * no dump_add_page() etc stuff because they are in kvm always. * various pmap internals tweaks because pmap uses direct map on amd64 but on i386 it has to use sched_pin and temporary mappings. Also, sysctl vm.pmap.pv_entry_max and vm.pmap.shpgperproc are now dynamic sysctls. Like on amd64, i386 can now tune the pv entry limits without a recompile or reboot. This is important because of the following scenario. If you have a 1GB file (262144 pages) mmap()ed into 50 processes, that requires 13 million pv entries. At 24 bytes per pv entry, that is 314MB of ram and kvm, while at 12 bytes it is 157MB. A 157MB saving is significant. Test-run by: scottl (Thanks!) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-04-27T00:14:02.000000Z K 7 svn:log V 42 The sk(4) driver has moved to /sys/dev/sk END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-04-27T01:03:00.000000Z K 7 svn:log V 443 Change the semantics of brk_max to dynamically deal with data segment bounds. [1] Modify logic for utilizing the data segment, such that it is possible to create huge allocations there. Shrink the data segment when deallocating a chunk, if it is at the end of the data segment. Rename chunk_size to csize in huge_malloc(), in order to avoid masking a static variable of the same name. [1] Reported by: Paul Allen END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-04-27T02:58:47.000000Z K 7 svn:log V 380 MFC: * top.X revision 1.15 Document the -C option of top(1), which has been added to the source and the usage message of top, but not to the manpage. Pointy hat to: keramida Reminded by: ru MFC after: 1 week * top.c revision 1.18 Bring SYNOPSIS in line with usage(). ---------- revision 1.19 Re-add option -C to usage(). Approved by: re (hrs) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-27T03:17:39.000000Z K 7 svn:log V 36 o Add 2 HP Diva single port UARTs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-04-27T04:39:58.000000Z K 7 svn:log V 96 Correct DRIVER_MODULE declaration. skc does attach to pci bus instead of sk. Submitted by: jmg END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-27T04:53:18.000000Z K 7 svn:log V 224 The size of I/O ranges can be anything from 16 bytes to 2G bytes. Lower the minimum for memory mapped I/O from 32 bytes to 16 bytes. This fixes bus enumeration on ia64 now that the Diva auxiliary serial port is attached to. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-04-27T05:02:21.000000Z K 7 svn:log V 18 Fix build on i386 END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-04-27T05:18:26.000000Z K 7 svn:log V 533 In the case when reset via keyboard controller doesn't work for some reason (i.e. no keyboard controller present), try two other common methods for resetting i386 machine - pci reset and port 0x92 fast reset. Only if neither works warn user and resort to "unmap entire address space and hope for good" hack. This makes my MacBook Pro rebooting just fine and should also help other legacy-free hardware out there. Also, disable interrupts unconditionally in cpu_reset_real(), since we don't want any interference. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-27T05:43:10.000000Z K 7 svn:log V 120 Use 115200 and not 9600 as the initial baudrate. This speeds up detection of the FIFO size. Especially for large FIFOs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-04-27T05:59:09.000000Z K 7 svn:log V 3313 Bring busdmafied sk(4) to all architectures. - MPSAFE. No more recursive lock required. - bus_dma(9) conversion. I think it should work on all architectures. - optimized Rx handler for each normal and jumbo frames. Previously sk(4) used jumbo frame management code to handle normal sized frames. As the handler needs an additional lock to protect jumbo frame management structure from races, it used two lock operations for each received packet. Now sk(4) uses single lock operation for normal frame.(Jumbo frame still needs two lock operations as before.) The hardware supports DMA scatter operations for Rx descriptors such that it's possible to take advantagee of m_cljget(9) for jumbo frames. However, due to a unknown reasons it resulted in poor performance on sparc64. So I dropped m_cljget(9) approach. This should be revisited since it would reduce one lock operation for jumbo frame handling. - Tx TCP/Rx IP checksum offload support. According to the data sheet of SK-NET GENESIS the hardware supports Rx IP/TCP/UDP offload. But I couldn't make it work on my Yukon hardware. So Rx TCP/UDP was disabled at the moment. It seems that newer Yukon chips can support Tx UDP checksum offload too. But I need more documentation first. - Added more wait time in reading VPD data. It seems that ASUS LOM takes a very long time to respond VPD read signal. - Added an additional lock for MII register access callbacks. - Added more strict received packet validation routine. Previously it passed corrupted packets to upper layers under certain conditions. - A new function sk_yukon_tick() to handle auto-negotiation properly. - Interrupt handler now checks shared interrupt source and protects the interrupt handler from NULL pointer dereference which was caused by odd status word value. The status word can returns 0xffffffff if cable is unplugged while Rx/Tx/auto-negotiation is in progress. - suspend/resume support(not tested). - Added Rx/Tx FIFO flush routine for Yukon - Activate Tx descriptor poll timer in order to protect possible loss of SK_TXBMU_TX_START command. Previously the driver continuously issued SK_TXBMU_TX_START when it notices pending Tx descriptors not processed yet in interrupt handler. That approach would add additional PCI write access overhead under high Tx load situations and it might fail if the first SK_TXBMU_TX_START was lost and no interrupt is generated from the first SK_TXBMU_TX_START command. - s/printf/if_printf/, s/printf/device_printf/, Axe sk_unit in softc. - Setting multicast/station address is now safe on strict-alignment architectures. - Fix long standing bug in VLAN header length setup. - Added/corrected register definitions for Yukon. (Register information from Linux skge driver.) - Added Rx status definition for Marvell Yukon/XaQti XMAC. (Rx status register information from Linux skge driver.) - Update if_oerrors if we encounter watchdog error. - callout(9) conversion Special thanks to jkim who let me know RX status differences between Yukon and XaQti XMAC. It seems that there is still occasional watchdog timeout error but I couldn't reproduce it and need more information to analyze it from users. Tested by: bz(amd64), me(i386, sparc64), current ML Frank Behrens frank ! pinky ( sax $ de END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-04-27T06:03:17.000000Z K 7 svn:log V 37 Uncomment sk(4) as it's now working. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-04-27T06:08:38.000000Z K 7 svn:log V 66 sk(4) now also works on sparc64 (as of yongari's recent commits). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-04-27T08:18:23.000000Z K 7 svn:log V 165 - Use same priority range returned by kernel's sched_get_priority_min() and sched_get_priority_max() syscalls. - Remove unused fields from structure pthread_attr. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-04-27T08:25:13.000000Z K 7 svn:log V 12 s/long/int. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-27T14:02:58.000000Z K 7 svn:log V 102 Fix problem with having more than 1GM of RAM. Also fix a nearby busdma problem. Submitted by: silby END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-04-27T15:45:48.000000Z K 7 svn:log V 309 MFC: 1.3 and 1.4 # [1.3] # Add more details about enabling a custom ruleset for /dev in `rc.conf', # and add ruleset labels/numbering to the custom ruleset example. # # PR: docs/90362 # Submitted by: Roland Smith # MFC after: 3 days # [1.4] # Expand contractions. Approved by: re (hrs) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-04-27T15:48:54.000000Z K 7 svn:log V 124 ru@ recently changed lorder to support library archives. Document this new feature prominently. Bump date while I'm here. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-27T17:08:30.000000Z K 7 svn:log V 76 o Add 5 Timedia single port serial cards. o While here, break long lines. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-04-27T17:11:11.000000Z K 7 svn:log V 87 MFC top.X up to 1.15 and top.c up to 1.18 to RELENG_6_1 too. Approved by: re (hrs) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-04-27T17:17:06.000000Z K 7 svn:log V 324 MFC: 1.3 and 1.4 # [1.3] # Add more details about enabling a custom ruleset for /dev in `rc.conf', # and add ruleset labels/numbering to the custom ruleset example. # # PR: docs/90362 # Submitted by: Roland Smith # MFC after: 3 days # [1.4] # Expand contractions. Approved by: re (hrs) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-04-27T17:33:25.000000Z K 7 svn:log V 173 Don't use ", but instead use ' instead. I suppose I could have also used \". When compiling with USB_VERBOSE, this causes syntax issues. Noticed by: Hans Petter Selasky END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-04-27T17:57:59.000000Z K 7 svn:log V 55 back out for now... revert ccpu to being kern.ccpu... END K 10 svn:author V 2 ps K 8 svn:date V 27 2006-04-27T19:01:54.000000Z K 7 svn:log V 150 With minidumps, the dumping partition could be smaller than physical memory, so checking the size of the partition is not necessary. Tested by: kris END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-27T20:22:46.000000Z K 7 svn:log V 264 Add the 'rr232x' driver for the HighPoint RocketRAID 2320 series of cards. This driver was generously developed and donated by Highpoint. It is enabled for i386 only at the moment. I will enable it for amd64 shortly. Obtained from: HighPoint Technologies, Inc. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-04-27T20:33:09.000000Z K 7 svn:log V 98 New release notes: sab(4) removal, non-AT keyboard controller i386 system support, sk(4) MPSAFE. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-04-27T20:47:13.000000Z K 7 svn:log V 153 When pccard_safe_quote is passed NULL for src, it shouldn't panic. Someone sent me this a while ago, but I can't find who to give them proper credit... END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-27T20:58:24.000000Z K 7 svn:log V 46 Add the rr232x driver to the default kernels. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-04-27T21:26:25.000000Z K 7 svn:log V 518 In general, bits in the page directory entry (PDE) and the page table entry (PTE) have the same meaning. The exception to this rule is the eighth bit (0x080). It is the PS bit in a PDE and the PAT bit in a PTE. This change avoids the possibility that pmap_enter() confuses a PAT bit with a PS bit, avoiding a panic(). Eliminate a diagnostic printf() from the i386 pmap_enter() that serves no current purpose, i.e., I've seen no bug reports in the last two years that are helped by this printf(). Reviewed by: jhb END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-04-27T21:43:37.000000Z K 7 svn:log V 1304 MFp4: reworked iwi-driver Changelog towards if_iwi.c 1.26 (some changes have been committed separately in the mean time): - add led support - add firmware loading on demand - auto-restart firmware when it crashes - serialize operations sent to the firmware to reduce firmware crashes - add power save operation support - remove incorrect specification of tx power control capability - add radio on/off switch support - improve net80211 state machine operation - recognize and handle beacon miss - handle authentication and association failures better - add shared key authentication - fix ibss mode (many changes) - fix wme (many changes) - correct radiotap support (many changes) - correct bus dma setup of s/g - correct various locking issues - fix monitor mode - fix scanning (many changes) - recover from wedged scan requests - respect active channel list - eliminate cases where interface was marked down on error - don't treat parity errors as fatal - reclaim mgt frames immediately from tx queue - correct interrupt handling, ack early (from NetBSD) - fix short/long preamble handling Committed with RELENG_6 compat #if's, should compile in RELENG_6. Requires net/iwi-firmware-kmod to function. Much work done by: sam Tested by: many (freebsd-net), ume, luigi MFC after: 4 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-27T21:59:43.000000Z K 7 svn:log V 187 Drop locking comments. ddb functions should never use locking anyway and no other ddb functions try to annotate what locking would otherwise be appropriate in comments. Prodded by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-27T22:02:27.000000Z K 7 svn:log V 37 A whitespace fix. Submitted by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-27T22:09:18.000000Z K 7 svn:log V 15 Sort includes. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-27T23:03:00.000000Z K 7 svn:log V 216 The alignment parameter to busdma must be a power of two, while the if_bfe driver was trying to use an arbitrary rx/tx ring size of the value. Change to using unrestricted values for alignment and boundary instead. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2006-04-28T00:59:48.000000Z K 7 svn:log V 518 - Consistently track ni_dvp and ni_vp with dvfslocked and vfslocked rather than trying to optimize it into a single lock. This adds more calls to lock giant with non smpsafe filesystems but is the only way to reliably hold the correct lock. - Remove an invalid assert in the mountedhere case in lookup and fix the code to properly deal with the scenario. We can actually have a lookup that returns dp == dvp with mountedhere set with certain unmount races. Tested by: kris Reported by: kris/mohans END K 10 svn:author V 4 jeff K 8 svn:date V 27 2006-04-28T01:05:31.000000Z K 7 svn:log V 260 - Add a BO_NEEDSGIANT flag to the bufobj. This flag forces all child buffers to go on the buf daemon's DIRTYGIANT queue. - Set BO_NEEDSGIANT on ffs's devvp since the ffs_copyonwrite handler runs in the context of the buf daemon and may require Giant. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-04-28T03:17:37.000000Z K 7 svn:log V 429 Add some incomplete support for Marvell Yukon EC controllers based on OpenBSD changes. With these changes, PHY part of the driver becomes functional (it senses media changes and negotiates speed just fine), previously it just hang with no PHY message, but no data goes through interface (error message is "can not stop transfer of Tx/Rx descriptor). Hopefully somebody with more clue/free time will be able to pick up after me. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-04-28T03:38:23.000000Z K 7 svn:log V 23 Unbreak pc98. Sorry... END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-28T04:00:50.000000Z K 7 svn:log V 48 Fix a typo that slipped in right before commit. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-28T04:26:00.000000Z K 7 svn:log V 37 Add a manpage for the rr232x driver. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-28T04:39:50.000000Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-28T05:23:10.000000Z K 7 svn:log V 36 Enable the rr232x driver for amd64. END K 10 svn:author V 5 silby K 8 svn:date V 27 2006-04-28T05:27:27.000000Z K 7 svn:log V 256 Switch all bus_dmamap_sync calls that used PREREAD to PREWRITE and all POSTWRITE to POSTREAD. No guarantee that all busdma is usage is perfect, but this change (in addition to scott's last two commits) makes if_bfe work with > 1GB of memory in my laptop. END K 10 svn:author V 5 silby K 8 svn:date V 27 2006-04-28T05:38:12.000000Z K 7 svn:log V 81 Tweak the DMA limit from rev 1.33, it was off by one byte. Submitted by: scottl END K 10 svn:author V 5 silby K 8 svn:date V 27 2006-04-28T05:39:58.000000Z K 7 svn:log V 118 MFC revs 1.33, 1.34, 1.35, and 1.36. These changes allow bfe to work on machines with > 1GB of ram. Approved by: re END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-28T06:13:19.000000Z K 7 svn:log V 41 Install rr232x.4 only on i386 and amd64. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-28T06:23:42.000000Z K 7 svn:log V 59 Oops, forgot to remove the old entry in the last revision. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-04-28T06:30:19.000000Z K 7 svn:log V 91 MFC: Allow L2 caches to be shared between processors by default. Approved by: re (scottl) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-04-28T06:54:34.000000Z K 7 svn:log V 94 MFC: Allow L2 caches to be shared between processors by default. Approved by: re (scottl) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-04-28T08:36:49.000000Z K 7 svn:log V 49 Add a section about locking protocol for busdma. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-04-28T10:45:27.000000Z K 7 svn:log V 528 Add a basic man page for the sysctl(9) macro interfaces. Previously man pages existed only for the dynamic sysctl interfaces. There's probably more complete and accurate content, better advice, etc, that could be added here. Per scottl's suggest, add a small piece of moralizing text regarding the fact that sysctl names quickly get embedded in system configuration files, libraries, third party applications, and even books, so renaming and removing names after they've been published is a tricky issue. MFC after: 1 month END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-28T10:45:28.000000Z K 7 svn:log V 43 Autogenerate hardware notes for rr232x(4). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-28T11:47:28.000000Z K 7 svn:log V 145 Be sure to not destroy device twice. This is not possible in theory, but with this change there is even no theoretical race. MFC after: 2 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-04-28T11:48:53.000000Z K 7 svn:log V 206 - use ath(4) in the wireless examples rather than the aging wi(4) - make the packet filtering its own section and clarify a few points - note that the interfaces need to be upped [1] PR: docs/94545 [1] END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-28T11:52:45.000000Z K 7 svn:log V 145 Be sure to not destroy device twice. This is not possible in theory, but with this change there is even no theoretical race. MFC after: 2 weeks END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-04-28T12:03:38.000000Z K 7 svn:log V 201 - Extend the nsswitch to support Services, Protocols and Rpc databases. - Make nsswitch support caching. Submitted by: Michael Bushkov Sponsored by: Google Summer of Code 2005 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-28T12:13:49.000000Z K 7 svn:log V 176 - Remove dead code. - Comment possible event miss, which isn't critical, but probably can be fixed by replacing the event lock usage with the queue lock. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-28T12:18:03.000000Z K 7 svn:log V 259 - Don't hold the device sx lock when going to sleep. - Prevent possible live-lock in case of memory problems by freeing already completed requests first. Reported and tested by: markus, Bradley W. Dutton MFC after: 1 day END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-04-28T13:12:40.000000Z K 7 svn:log V 36 Minor wording and formatting fixes. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-28T18:29:23.000000Z K 7 svn:log V 48 Implement the ipend() method of the serdev I/F. END K 10 svn:author V 5 peter K 8 svn:date V 27 2006-04-28T19:05:08.000000Z K 7 svn:log V 2166 Interim fix for pmap problems I introduced with my last commit. Remove the code to dyanmically change the pv_entry limits. Go back to a single fixed kva reservation for pv entries, like was done before when using the uma zone. Go back to never freeing pages back to the free pool after they are no longer used, just like before. This stops the lock order reversal due to aquiring the kernel map lock while pmap was locked. This fixes the recursive panic if invariants are enabled. The problem was that allocating/freeing kva causes vm_map_entry nodes to be allocated/freed. That can recurse back into pmap as new pages are hooked up to kvm and hence all the problem. Allocating/freeing kva indirectly allocate/frees memory. So, by going back to a single fixed size kva block and an index, we avoid the recursion panics and the LOR. The problem is that now with a linear block of kva, we have no mechanism to track holes once pages are freed. UMA has the same problem when using custom object for a zone and a fixed reservation of kva. Simple solutions like having a bitmap would work, but would be very inefficient when there are hundreds of thousands of bits in the map. A first-free pointer is similarly flawed because pages can be freed at random and the first-free pointer would be rewinding huge amounts. If we could allocate memory for tree strucures or an external freelist, that would work. Except we cannot allocate/free memory here because we cannot allocate/free address space to use it in. Anyway, my change here reverts back to the UMA behavior of not freeing pages for now, thereby avoiding holes in the map. ups@ had a truely evil idea that I'll investigate. It should allow freeing unused pages again by giving us a no-cost way to track the holes in the kva block. But in the meantime, this should get people booting with witness and/or invariants again. Footnote: amd64 doesn't have this problem because of the direct map access method. I'd done all my witness/invariants testing there. I'd never considered that the harmless-looking kmem_alloc/kmem_free calls would cause such a problem and it didn't show up on the boot test. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-04-28T19:06:15.000000Z K 7 svn:log V 383 Ensure outbound data packets in hostap mode are delivered only to stations that are associated by making ieee80211_find_txnode return NULL when a unicast frame is to be delivered to an unassociated station. This will be handled differently in the future but for now putting the check here allows all drivers to immediately do the right thing. Reviewed by: avatar MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-04-28T19:43:44.000000Z K 7 svn:log V 96 Fix typo. MFC after: 1 month Submitted by: Antoine Brodin END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-04-28T20:08:16.000000Z K 7 svn:log V 722 The nvidia binary blob sometimes defers tx completion notification to the OS dependent layer. Thus, the watchdog timer can go off when the tx engine is working fine but the OS dependent layer just hasn't been called to cleanup finished tx transactions. To workaround this, when the watchdog fires, poke the binary blob to force it to flush any pending tx completions. If this drops the pending tx count to zero then just return without logging a message or resetting the chip. This reportedly fixes the 'device timeout()' errors with at least several NF4 nve(4) parts. Submitted by: Nathan Alexander Whitehorn (code) Submitted by: dg (inspiration for comment and explanation) MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-28T21:21:53.000000Z K 7 svn:log V 995 Rewrite of puc(4). Significant changes are: o Properly use rman(9) to manage resources. This eliminates the need to puc-specific hacks to rman. It also allows devinfo(8) to be used to find out the specific assignment of resources to serial/parallel ports. o Compress the PCI device "database" by optimizing for the common case and to use a procedural interface to handle the exceptions. The procedural interface also generalizes the need to setup the hardware (program chipsets, program clock frequencies). o Eliminate the need for PUC_FASTINTR. Serdev devices are fast by default and non-serdev devices are handled by the bus. o Use the serdev I/F to collect interrupt status and to handle interrupts across ports in priority order. o Sync the PCI device configuration to include devices found in NetBSD and not yet merged to FreeBSD. o Add support for Quatech 2, 4 and 8 port UARTs. o Add support for a couple dozen Timedia serial cards as found in Linux. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-04-28T21:23:09.000000Z K 7 svn:log V 90 Remove the puc-specific hacks. The puc(4) driver now properly uses the rman(9) interface. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-04-28T21:39:57.000000Z K 7 svn:log V 193 Also check use_pty in the ptmx clone lookup; this means that when ptmx support is turned off using the sysctl, we no longer even allow the ptmx device to be looked up. Foot provided by: peter END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-04-28T21:45:08.000000Z K 7 svn:log V 115 o Borrow from if_bridge.4: note that the bridge interface need to be upped. PR: docs/94545 Submitted by: thompsa END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-28T21:54:05.000000Z K 7 svn:log V 234 vn_start_write() is called only when v_type != VCHR, so corresponding vn_finished_write() should also be called only then. BTW. I fixed two functions here: vn_rdwr() and vn_write(). The latter seems to be unused. MFC after: 3 weeks END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-04-28T22:37:16.000000Z K 7 svn:log V 62 Minor improvements after last revision. Reviewed by: thompsa END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-04-28T23:21:36.000000Z K 7 svn:log V 65 Fix a couple of typos and other minor nits Reviewed by: rwatson END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-04-28T23:21:37.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-04-29T00:43:23.000000Z K 7 svn:log V 6 Typo. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-04-29T00:59:15.000000Z K 7 svn:log V 193 Eliminate unnecessary, recursive acquisitions and releases of the page queues lock by free_pv_entry() and pmap_remove_pages(). Reduce the scope of the page queues lock in pmap_remove_pages(). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-04-29T01:19:08.000000Z K 7 svn:log V 62 Correct sentence, forwarding non IP packets is now an option. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-04-29T01:34:03.000000Z K 7 svn:log V 294 Follow FreeBSD mdoc(7) conventions: - Remove hard sentence breaks; - Avoid using double negatives or "sexist" language; - Expand contractions; - Remove a blank line; - Some grammar changes. Usually we do not "hard code" requests to submit bugs to the author, but I will leave this go for now. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-04-29T03:29:24.000000Z K 7 svn:log V 50 MFC r1.14-16, sync to HEAD Approved by: re (hrs) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-04-29T03:31:28.000000Z K 7 svn:log V 53 MFC r1.14-16, sync to HEAD Approved by: re (hrs) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-04-29T04:26:16.000000Z K 7 svn:log V 56 English grammar fix in comment. Submitted by: keramida END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-04-29T04:49:19.000000Z K 7 svn:log V 96 Add newly supported databases such as services, protocols and rpc into generated nsswitch.conf. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-04-29T05:37:25.000000Z K 7 svn:log V 412 Add support for fragmenting ipv4 packets. The packet filter may reassemble the ip fragments and return a packet that is larger than the MTU of the sending interface. There is no check for DF or icmp replies as we can only get a large packet to fragment by reassembling a previous fragment, and this only happens after a call to pfil(9). Obtained from: OpenBSD (mostly) Glanced at by: mlaier MFC after: 1 month END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-04-29T06:39:07.000000Z K 7 svn:log V 71 Oops, services should be compat by default for backward compatibility. END K 10 svn:author V 4 kris K 8 svn:date V 27 2006-04-29T07:13:49.000000Z K 7 svn:log V 85 Lock giant when assigning ni_vp and keep vfslocked state valid. Committed for: jeff END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-04-29T10:29:10.000000Z K 7 svn:log V 309 Check the buffer size when copying the line returned by el_gets() into our own buffer. Interactively typing in long lines (>1023 characters) previously overflowed the buffer. Unlike the NetBSD people I don't see the need to subtract 8 from BUFSIZ, so I just used BUFSIZ-1. Obtained from: NetBSD PR: 91110 END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-04-29T12:34:19.000000Z K 7 svn:log V 508 Add curses ACS line graphics support for iso15 fonts Now ncurses-based programs such as sysinstall and mc will display the correct font for graphical lines instead of "-" and "+" characters. Correct two special characters for cons25l1 in termcap: use real arrows instead of ">>" and "<<". Add a lot of additional symbols for line drawing which are taken from the CP437 font. Almost all of the ACS symbols are now implemented. PR: conf/90082 Submitted by: Oliver Fromme MFC after: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-04-29T12:57:53.000000Z K 7 svn:log V 131 POSIX demands that set's output (when invoked without arguments) should be sorted. Sort the variables before printing. PR: 96415 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-04-29T14:03:17.000000Z K 7 svn:log V 103 Fix the acpi.ko path for boot.flp. PR: misc/96466 Submitted by: Nobuyuki Koganemaru MFC after: 1 day END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-04-29T15:22:00.000000Z K 7 svn:log V 75 MFC: rev 1.909 (Fix the acpi.ko path for boot.flp). Approved by: re (hrs) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-29T17:50:42.000000Z K 7 svn:log V 299 MFC: sys/geom/raid3/g_raid3.c 1.64 - Don't hold the device sx lock when going to sleep. - Prevent possible live-lock in case of memory problems by freeing already completed requests first. Reported and tested by: markus, Bradley W. Dutton Approved by: re (hrs) END K 10 svn:author V 6 gordon K 8 svn:date V 27 2006-04-29T18:21:43.000000Z K 7 svn:log V 727 Add auto upgrade capability to mergemaster. An mtree description of all non-zero files that make distribution installs (only size and md5) is built from the temproot. When the user completes a mergemaster run, the mtree description file gets installed into /var/db for safe-keeping. When the user then decides to do a subsequent upgrade (with the -U flag), the existing mtree description from /var/db is called into service looking for files that are different in DESTDIR. This is stashed away until a file that would normally end up prompting the user to look at changes is encountered. Since there are no user modified changes, the new file is installed without bothering the user. Looked at by: dougb MFC after: 6 weeks END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-04-29T21:30:23.000000Z K 7 svn:log V 864 Abbreviate long field descriptors at write time so that they don't get clobbered at runtime: dirtybuf -> dtbuf desiredvnodes -> desvn numvnodes -> numvn freevnodes -> frevn The vmstats column has only 5 characters available for descriptors, but up to 13 were used. The extras get clobbered at runtime by interrupt values and/or descriptors on systems with more than 12 interrupt sources. %slo-z -> %sloz This one is in the "extended" vmstats area and doesn't get clobbered now. Removed stale documentation of desvn. Changed a descriptor: tfree -> totfr so that it is consistent with the abbreviations for other free counts (daefr and prcfr) and thus almost decodeable. Fixed missing documentation of tfree/totfr. This and everything else in the extended vmstats area is misdocumented as being in a certain place in the vmstats column. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-04-29T21:57:38.000000Z K 7 svn:log V 225 vn_start_write()/vn_finished_write() is not needed here, because vn_start_write() is always called earlier in the code path and calling the function recursively may lead to a deadlock. Confirmed by: tegge MFC after: 2 weeks END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-04-30T00:50:08.000000Z K 7 svn:log V 1371 Backed out rev.1.49 since it had buffer overruns and only worked accidentally. Read buffer overruns: The size of the target array (TSOTTA == 10) is a wrong limit to use for scanning the source string. Write buffer overruns: TSOTTA is also a wrong limit to use for copying to the target buffer, since we want to add a NUL terminator afterwards. TSOTTA was also 1 too small for holding both the desired number of visible characters and the NUL. Worked accidentally: There is error in the algorithm that tends to result in the space saved by stripping "irq" not actually being used, but some cases worked accidentally provided "irqN" is near the end of the source string and "N" is only 1 digit. Starting with 5.mumble-CURRENT, "irqN" is at the beginning of the string on all (?) arches that have it and the accidents don't happen. E.g. on i386's, the keyboard irq is now named "irq1: atkbd0" by the kernel, and this name was converted to "1: atkb" -- not only the device number but part of the device name has been lost --, while before 5.mumble the kernel name was "atkbd0 irq1" and systat accidentally preserved the irq number to give "atkbd0 1". The ":" in the string wastes precious space, and stripping "irq" results in descriptions starting with numbers which makes them look too much like counts. This commit just fixes the last problem. END