ƒ²o139213 190 949 210 470 571 254 302 405 226 261 209 205 162 157 135 196 126 121 116 133 282 124 136 152 163 231 210 151 921 469 264 137 116 785 149 154 172 174 148 165 370 487 134 232 286 254 291 104 154 196 119 191 163 425 104 132 283 281 221 145 138 230 145 145 154 198 186 207 278 246 225 166 231 352 206 285 291 299 356 261 240 173 123 919 104 613 283 376 541 385 984 692 1529 780 488 366 471 299 168 272 278 502 165 129 220 314 218 199 191 480 123 653 557 304 293 166 148 121 125 261 193 516 1557 157 156 229 183 120 245 145 153 334 114 164 170 303 299 121 141 254 237 237 128 182 166 151 172 388 108 144 152 122 188 303 259 216 141 240 174 127 397 2717 281 114 114 310 419 111 130 483 495 392 216 495 249 535 202 222 239 280 181 176 270 149 131 126 131 137 255 281 526 K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-22T23:09:32.000000Z K 7 svn:log V 856 - Add genid field to the metadata which will allow to improve reliability a bit. After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Add version change history. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-23T00:27:03.000000Z K 7 svn:log V 112 Fix a couple of typos. PR: docs/75410 Submitted by: "Paul A.Hoadley" MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T00:59:43.000000Z K 7 svn:log V 373 In soalloc(), simplify the mac_init_socket() handling to remove unnecessary use of a global variable and simplify the return case. While here, use ()'s around return values. In sodealloc(), remove a comment about why we bump the gencnt and decrement the socket count separately. It doesn't add substantially to the reading, and clutters the function. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T01:07:12.000000Z K 7 svn:log V 474 Remove an XXXRW indicating atomic operations might be used as a substitute for a global mutex protecting the socket count and generation number. The observation that soreceive_rcvoob() can't return an mbuf chain is a property, not a bug, so remove the XXXRW. In sorflush, s/existing/previous/ for code when describing prior behavior. For SO_LINGER socket option retrieval, remove an XXXRW about why we hold the mutex: this is correct and not dubious. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T01:16:21.000000Z K 7 svn:log V 157 In sonewconn(), the s/if/while/ change to wait for room at the tail of the accept queue is a feature, not a bug/issue, so remove the XXXRW from the comment. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T01:19:27.000000Z K 7 svn:log V 205 Remove temporary debugging printf that was used to detect the presence of a race that had previously caused a panic in order to determine if the fix was for the right problem. It was. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T01:21:54.000000Z K 7 svn:log V 308 Remove an annotation of a minor race relating to the update of multiple MIB entries using sysctl in short order, which might result in unexpected values for tcp_maxidle being generated by tcp_slowtimo. In practice, this will not happen, or at least, doesn't require an explicit comment. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T01:25:59.000000Z K 7 svn:log V 129 Remove the now unused tcp_canceltimers() function. tcpcb timers are now stopped as part of tcp_discardcb(). MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T01:27:13.000000Z K 7 svn:log V 164 Remove an XXXRW comment relating to whether or not the TCP timers are MPSAFE: they are now believed to be. Correct a typo in a second comment. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T01:34:26.000000Z K 7 svn:log V 112 Attempt to consistently use () around return values in calls to return() in newer code (sysctl, ISN, timewait). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-23T02:22:47.000000Z K 7 svn:log V 108 Assert the sem lock in sem_ref() and sem_rel(), as it is required to safely manipulate the reference count. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2004-12-23T02:48:20.000000Z K 7 svn:log V 67 Better rendering of the prototype for signal(3). Suggested by: ru END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-23T05:28:36.000000Z K 7 svn:log V 65 Add recognition of O2Micro 711M1. Submitted by: Gordon Bergling END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-23T05:32:02.000000Z K 7 svn:log V 43 Add OZ711M1 Submitted by: Gordon Bergling END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-12-23T07:03:19.000000Z K 7 svn:log V 103 MFC: S_IS* macros; some well-known struct stat fields. Approved by: re (kensmith) Encouraged by: roam END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-23T07:54:22.000000Z K 7 svn:log V 31 MFC: Add support for the 2230S END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-23T08:00:58.000000Z K 7 svn:log V 26 MFC: Document the 2230SLP END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-23T08:05:40.000000Z K 7 svn:log V 21 Document the 2130SLP END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-23T08:06:54.000000Z K 7 svn:log V 38 MFC: Document the 21610SA and 2130SLP END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-23T08:51:50.000000Z K 7 svn:log V 190 Include bsd.compat.mk early from sys.mk, enough for makefiles using conditional statements to see the new spellings of NO_* knobs (in case user still uses old spellings). Reported by: kris END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-23T10:13:17.000000Z K 7 svn:log V 33 Make "===> " prefixes look sane. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-23T10:16:46.000000Z K 7 svn:log V 45 Don't call "objs" target in rescue.mk twice. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-23T10:48:10.000000Z K 7 svn:log V 56 - sort includes - remove duplicate include sys/sysctl.h END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-23T13:09:37.000000Z K 7 svn:log V 67 Move systm.h up, since it is required by mbuf.h. Requested by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-23T16:03:08.000000Z K 7 svn:log V 139 Warn about the NOFOO -> NO_FOO conversion, and remind users to read the COMMON ITEMS section of this file for proper upgrade instructions. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-12-23T18:39:13.000000Z K 7 svn:log V 117 Fix counting length of leadin for hook name (sizeof () => strlen ()). Approved by: julian MFC after: 3 days END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-23T18:50:58.000000Z K 7 svn:log V 57 move if_em from MD to MI approval nodded by: scottl, ru END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-23T19:47:59.000000Z K 7 svn:log V 828 - Add a function to set the Task Priority Register (TPR) of the local APIC. Currently this is only used to initiailize the TPR to 0 during initial setup. - Reallocate vectors for the local APIC timer, error, and thermal LVT entries. The timer entry is allocated from the top of the I/O interrupt range reducing the number of vectors available for hardware interrupts to 191. Linux happens to use the same exact vector for its timer interrupt as well. If the timer vector shared the same priority queue as the IPI handlers, then the frequency that the timer vector will eventually be firing at can interact badly with the IPIs resulting in the queue filling and the dreaded IPI stuck panics, hence it being located at the top of the previous priority queue instead. - Fixup various minor nits in comments. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-23T20:16:11.000000Z K 7 svn:log V 376 Modify pmap_enter_quick() so that it expects the page queues to be locked on entry and it assumes the responsibility for releasing the page queues lock if it must sleep. Remove a bogus comment from pmap_enter_quick(). Using the first change, modify vm_map_pmap_enter() so that the page queues lock is acquired and released once, rather than each time that a page is mapped. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-23T20:34:18.000000Z K 7 svn:log V 171 Add a simple 'intrcnt_add' function that other MD code can use to add a single named counter to the interrupt counts without having to fake up an entire interrupt source. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-23T20:35:07.000000Z K 7 svn:log V 45 Add some constants for the local APIC timer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-23T20:35:51.000000Z K 7 svn:log V 24 Some small style fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-23T20:42:53.000000Z K 7 svn:log V 692 - Give the timer, thermal, and error LVT entries an interrupt vector even though these aren't used yet. - Add missing function prototypes for some static functions. - Allow lvt_mode() to handle an LVT entry with a delivery mode of fixed. - Consolidate code duplicated in lapic_init() and lapic_setup() to program the spurious vector register of a local APIC in a static lapic_enable() function. - Dump the timer, thermal, error, and performance counter LVT entries during lapic_dump(). - Program LVT pins (currently only LINT0 and LINT1) after the local APIC has been software enabled via lapic_enable() since otherwise the LVT programming will not be able to unmask LVT sources. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-23T21:15:15.000000Z K 7 svn:log V 57 Update disk->d_genid field when increasing sc->sc_genid. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-12-23T21:30:30.000000Z K 7 svn:log V 63 Turn NFS directio off until the stability issues are resolved. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-23T21:38:07.000000Z K 7 svn:log V 77 MFC: Small formatting change to allow ctags to parse the file successfully. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-12-23T22:03:32.000000Z K 7 svn:log V 82 Fix creation on "dlciX" hook in ng_sample. Approved by: julian MFC after: 3 days END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-12-23T22:07:19.000000Z K 7 svn:log V 54 MFC rev 1.259; accept RSTs when our window is closed. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-12-23T22:08:20.000000Z K 7 svn:log V 71 MFC rev 1.259; accept RSTs when our window is closed. Approved by: re END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-12-23T22:44:28.000000Z K 7 svn:log V 277 MFC 1.63: Call umask() before opening the lock-file for a queue, to make sure the file will be created with the right access, if the call to open() does create it. Also fix the other call to umask() to turn off "write others", just as a matter of general safety. PR: 74418 END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-23T23:45:25.000000Z K 7 svn:log V 389 ``NULL is a specific instance of a null pointer constant; the generic is a "null pointer".'' Making good use of the excellent explanations sent to me by Ruslan Ermilov, Garrett Wollman and Bruce Evans, correct the descriptions of null pointers. They are just "null pointers", not nil, not NULL or ".Dv NULL". Suggested by: ru, wollman, bde Reviewed by: ru, wollman Pointy hat: keramida END K 10 svn:author V 7 phantom K 8 svn:date V 27 2004-12-24T08:00:30.000000Z K 7 svn:log V 38 Fix longstanding typo PR: misc/50370 END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-12-24T09:14:26.000000Z K 7 svn:log V 135 Enable fine grained locking within IPFilter, using mtx(9) and sx(9) allowing the the "needs giant" flag to be removed from the driver. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-24T09:48:44.000000Z K 7 svn:log V 189 Restore standard behavior: log to console only when normal logging failed, not always. PR: bin/75356 Submitted by: Mark Knight Pointy hat to: glebius MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-24T11:30:55.000000Z K 7 svn:log V 157 1. Fix race condition between umtx lock and unlock, heavy testing on SMP can explore the bug. 2. Let umtx_wake returns number of threads have been woken. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-24T11:59:20.000000Z K 7 svn:log V 194 Add umtxq_lock/unlock around umtx_signal, fix debug kernel compiling, let umtx_lock returns EINTR when it returns ERESTART, this lets userland have chance to back off mtx lock code when needed. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-24T12:59:26.000000Z K 7 svn:log V 10 "3 hands" END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-12-24T13:36:04.000000Z K 7 svn:log V 62 Update the Promise support for combo (SATA+PATA) controllers. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-12-24T13:38:25.000000Z K 7 svn:log V 103 Loosen the probe a bit. Try to get out of probing as early as possible on (hopefully) vacant channels. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-24T14:02:24.000000Z K 7 svn:log V 25 move em(4) to MI section END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-12-24T14:13:38.000000Z K 7 svn:log V 96 Enable sk(4) for ATLQ. Thoroughly tested by: Ender MFC after: 4 weeks END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-24T16:21:46.000000Z K 7 svn:log V 68 Identify USIIIi processors. Submitted by: Gavin Atkinson PR: 75468 END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-24T19:31:54.000000Z K 7 svn:log V 332 Continue the transition from synchronizing access to the page's PG_BUSY flag and busy field with the global page queues lock to synchronizing their access with the containing object's lock. Specifically, acquire the containing object's lock before reading the page's PG_BUSY flag and busy field in vm_fault(). Reviewed by: tegge@ END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-24T21:12:18.000000Z K 7 svn:log V 10 "3 hands" END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-24T21:53:21.000000Z K 7 svn:log V 40 GC #if 0'd code. It can go away now... END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-24T22:08:57.000000Z K 7 svn:log V 190 Various style(9) items before of some more extensive work: o return (value); o u_intXX_t -> uintXX_t o break lines o consistantly use 8 space tab stops o minor grammar nits in a few printfs END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-24T22:16:06.000000Z K 7 svn:log V 188 Note when we're done probing PNP. There's been several reports over the years of hangs that turned out to be in the PNP code. Add an explicit end marker so such hangs are more apparent. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-24T22:16:38.000000Z K 7 svn:log V 129 For VLAN interfaces, print MAC addresses properly. (Broken in rev. 1.52.) PR: 75471 Submitted by: Jon Simola MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-24T22:18:19.000000Z K 7 svn:log V 53 Make the other pnp messages more explicit as well... END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-24T22:24:04.000000Z K 7 svn:log V 41 MFC: (fast) ethernet -> (Fast) Ethernet END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-24T22:31:47.000000Z K 7 svn:log V 137 A few style(9) changes before more extensive changes: o u_intXX_t -> uintXX_t o use 8 character tabs o proper wrapping o return (value); END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-24T22:35:53.000000Z K 7 svn:log V 51 move if_em from MD to MI Approved by: re (scottl) END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-24T22:37:01.000000Z K 7 svn:log V 51 move em(4) to MI section Approved by: re (scottl) END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-24T22:44:38.000000Z K 7 svn:log V 60 add em(4) as a module Approved by: re (kensmith) / blanket END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-24T22:46:51.000000Z K 7 svn:log V 103 wx is removed from GENERIC so it can go from dokern.sh as well. Approved by: re (kensmith) / blanket END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-24T22:48:59.000000Z K 7 svn:log V 92 replace wx(4) by em(4) now that em works OK on Alpha. Approved by: re (kensmith) / blanket END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-24T23:03:17.000000Z K 7 svn:log V 114 Get rid of #ifdef for legacy system. Move that into the MD code. Export minimal symbols to allow this to happen. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-24T23:39:24.000000Z K 7 svn:log V 180 MFC: rev. 1.20 In the ethernet-nic-regex: - add udav(4) In the scsi-controller-regex: - correct an entry - move another one to the right place - add a bunch of missing drivers END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-25T00:12:27.000000Z K 7 svn:log V 148 Changes in comments: - correct a sentence so it actually has some meaning [1] - sprinkle some full stops Spotted by: markus [1] MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-25T00:22:25.000000Z K 7 svn:log V 129 Sprinkle in some __FreeBSD_version checks so that this compiles again. Don't define PFIL_HOOKS anymore. Submitted by: keramida END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-25T00:23:36.000000Z K 7 svn:log V 71 Don't define PFIL_HOOKS. It's no longer required in RELENG_5 or HEAD. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-25T00:48:27.000000Z K 7 svn:log V 135 Darnit, through a maze of twisty passages, ipfilter needs to have PFIL_HOOKS defined. Revert part of the previous commit to fix this. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-25T06:20:49.000000Z K 7 svn:log V 256 MFNetBSD: One of a set of patches submitted by Kazuhito HONDA to make the usb audio driver a lot more capable. PR: 75274 Submitted by: Kazuhito HONDA (kazuhito at ph dot noda dot tus dot ac dot jp) Obtained from: NetBSD (indirectly) MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-25T07:52:41.000000Z K 7 svn:log V 114 MFC: 1.471: Fixed CPUTYPE assignment type check to bother only those who attempts to set it to a different value. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-25T08:46:03.000000Z K 7 svn:log V 189 Allow volume control on more channels/inputs PR: 75276 Submitted by: Kazuhito HONDA Obtained from: NetBSD with changes MFC after: 2 weeks END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-25T08:51:47.000000Z K 7 svn:log V 195 Allow recording on at least some USB audio devices. PR: 75311 Submitted by: Kazuhito HONDA Obtained from: NetBSD plus changes MFC after: 2 weeks END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-25T08:55:52.000000Z K 7 svn:log V 203 Allow selection of a recording source on USB audio devices. PR: 75316 Submitted by: Kazuhito HONDA Obtained from: NetBSD plus changes MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-12-25T09:53:08.000000Z K 7 svn:log V 264 MFC rev 1.93 Enable jumbo frames on Yukon variants of sk(4). In contrast to OpenBSD we enable jumbo frame support depending on MTU setting (like done for xmac). Obtained from: OpenBSD if_sk.c r1.52 (YU_SMR_MFL_JUMBO flag) Approved by: pjd (mentor) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-25T12:49:35.000000Z K 7 svn:log V 164 1. introduce umtx_owner to get an owner of a umtx. 2. add const qualifier to umtx_timedlock and umtx_timedwait. 3. add missing blackets in umtx do_unlock_and_wait. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-25T13:02:50.000000Z K 7 svn:log V 143 Make _umtx_op() as more general interface, the final parameter needn't be timespec pointer, every parameter will be interpreted by its opcode. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-25T13:48:31.000000Z K 7 svn:log V 79 em(4) is now available in the installation kernel. Approved by: re (kensmith) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-25T14:37:07.000000Z K 7 svn:log V 26 MFC 1.18: Fix some typos. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-25T19:17:47.000000Z K 7 svn:log V 826 - Add genid field to the metadata which will allow to improve reliability a bit. After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-25T21:30:41.000000Z K 7 svn:log V 12 fix comment END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:23:13.000000Z K 7 svn:log V 516 Revert parts of tcp_input.c:1.255 associated with the header predicted cases for tcp_input(): While it is true that the pcbinfo lock provides a pseudo-reference to inpcbs, both the inpcb and pcbinfo locks are required to free an un-referenced inpcb. As such, we can release the pcbinfo lock as long as the inpcb remains locked with the confidence that it will not be garbage-collected. This leads to a less conservative locking strategy that should reduce contention on the TCP pcbinfo lock. Discussed with: sam END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:26:13.000000Z K 7 svn:log V 186 In the dropafterack case of tcp_input(), it's OK to release the TCP pcbinfo lock before calling tcp_output(), as holding just the inpcb lock is sufficient to prevent garbage collection. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:27:56.000000Z K 7 svn:log V 279 Merge portions of tcp_input.c:1.255 from HEAD to RELENG_5: date: 2004/11/07 19:19:35; author: rwatson; state: Exp; lines: +5 -6 ... Free the mbuf at the end of tcp_input after releasing any held locks to reduce the time the locks are held. MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:29:57.000000Z K 7 svn:log V 444 Merge tcp_subr.c:1.208 from HEAD to RELENG_5: date: 2004/11/23 15:59:43; author: rwatson; state: Exp; lines: +11 -4 Assert the tcbinfo write lock in tcp_new_isn(), as the tcbinfo lock protects access to the ISN state variables. Acquire the tcbinfo write lock in tcp_isn_tick() to synchronize timer-driven isn bumping. Staticize internal ISN variables since they're not used outside of tcp_subr.c. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:31:11.000000Z K 7 svn:log V 288 Merge tcp_subr.c:1.209 from HEAD to RELENG_5: date: 2004/11/23 16:06:15; author: rwatson; state: Exp; lines: +4 -0 Assert inpcb lock in tcp_quench(), tcp_drop_syn_sent(), tcp_mtudisc(), and tcp_drop(), due to read-modify-write of TCP state variables. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:32:44.000000Z K 7 svn:log V 887 Merge tcp_subr.c:1.210 from HEAD to RELENG_5: date: 2004/11/23 16:23:13; author: rwatson; state: Exp; lines: +10 -0 Assert the inpcb lock in tcp_twstart(), which does both read-modify-write on the tcpcb, but also calls into tcp_close() and tcp_twrespond(). Annotate that tcp_twrecycleable() requires the inpcb lock because it does a series of non-atomic reads of the tcpcb, but is currently called without the inpcb lock by the caller. This is a bug. Assert the inpcb lock in tcp_twclose() as it performs a read-modify-write of the timewait structure/inpcb, and calls in_pcbdetach() which requires the lock. Assert the inpcb lock in tcp_twrespond(), as it performs multiple non-atomic reads of the tcptw and inpcb structures, as well as calling mac_create_mbuf_from_inpcb(), tcpip_fillheaders(), which require the inpcb lock. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:34:10.000000Z K 7 svn:log V 595 Merge tcp_timer.c:1.68 from HEAD to RELENG_5: date: 2004/11/23 16:45:07; author: rwatson; state: Exp; lines: +11 -15 De-spl tcp_slowtimo; tcp_maxidle assignment is subject to possible but unlikely races that could be corrected by having tcp_keepcnt and tcp_keepintvl modifications go through handler functions via sysctl, but probably is not worth doing. Updates to multiple sysctls within evaluation of a single addition are unlikely. Annotate that tcp_canceltimers() is currently unused. De-spl tcp_timer_delack(). De-spl tcp_timer_2msl(). MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:44:04.000000Z K 7 svn:log V 1431 Merge tcp_input.c:1.257, tcp_subr.c:1.211, tcp_timer.c:1.69 from HEAD to RELENG_5: date: 2004/11/23 17:21:30; author: rwatson; state: Exp; lines: +4 -0 date: 2004/11/23 17:21:30; author: rwatson; state: Exp; lines: +2 -0 date: 2004/11/23 17:21:30; author: rwatson; state: Exp; lines: +9 -0 tcp_timewait() performs multiple non-atomic reads on the tcptw structure, so assert the inpcb lock associated with the tcptw. Also assert the tcbinfo lock, as tcp_timewait() may call tcp_twclose() or tcp_2msl_rest(), which require it. Since tcp_timewait() is already called with that lock from tcp_input(), this doesn't change current locking, merely documents reasons for it. In tcp_twstart(), assert the tcbinfo lock, as tcp_timer_2msl_rest() is called, which requires that lock. In tcp_twclose(), assert the tcbinfo lock, as tcp_timer_2msl_stop() is called, which requires that lock. Document the locking strategy for the time wait queues in tcp_timer.c, which consists of protecting the time wait queues in the same manner as the tcbinfo structure (using the tcbinfo lock). In tcp_timer_2msl_reset(), assert the tcbinfo lock, as the time wait queues are modified. In tcp_timer_2msl_stop(), assert the tcbinfo lock, as the time wait queues may be modified. In tcp_timer_2msl_tw(), assert the tcbinfo lock, as the time wait queues may be modified. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:46:37.000000Z K 7 svn:log V 683 Merge tcp_input.c:1.258 from HEAD to RELENG_5, with the exception of one block obsoleted by the decision not to hold the TCP pcbinfo lock over a jump to check_delack: date: 2004/11/23 23:41:20; author: rwatson; state: Exp; lines: +19 -12 In tcp_reass(), assert the inpcb lock on the passed tcpcb, since the contents of the tcpcb are read and modified in volume. In tcp_input(), replace th comparison with 0 with a comparison with NULL. At the 'findpcb', 'dropafterack', and 'dropwithreset' labels in tcp_input(), assert 'headlocked'. Try to improve consistency between various assertions regarding headlocked to be more informative. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:48:11.000000Z K 7 svn:log V 391 Merge tcp_subr.c:1.212 from HEAD to RELENG_5: date: 2004/12/05 22:27:53; author: rwatson; state: Exp; lines: +12 -1 Assert inpcb lock in: tcpip_fillheaders() tcp_discardcb() tcp_close() tcp_notify() tcp_new_isn() tcp_xmit_bandwidth_limit() Fix a locking comment in tcp_twstart(): the pcbinfo will be locked (and is asserted). MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:49:15.000000Z K 7 svn:log V 269 Merge tcp_timer.c:1.70 from HEAD to RELENG_5: date: 2004/12/05 22:47:29; author: rwatson; state: Exp; lines: +1 -0 Assert the tcptw inpcb lock in tcp_timer_2msl_reset(), as fields in the tcptw undergo non-atomic read-modify-writes. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:55:35.000000Z K 7 svn:log V 374 Merge if_ether.c:1.130 from HEAD to RELENG_5: date: 2004/10/12 17:10:40; author: rwatson; state: Exp; lines: +7 -1 Modify the thrilling "%D is using my IP address %s!" message so that it isn't printed if the IP address in question is '0.0.0.0', which is used by nodes performing DHCP lookup, and so constitute a false positive as a report of misconfiguration. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:57:00.000000Z K 7 svn:log V 202 Merge in_pcb.c:1.155 from HEAD to RELENG_5: date: 2004/09/29 04:01:13; author: rwatson; state: Exp; lines: +1 -1 Assign so_pcb to NULL rather than 0 as it's a pointer. Spotted by: dwhite END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T22:59:42.000000Z K 7 svn:log V 72 Remove an errant blank line apparently introduced in ip_output.c:1.194. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T23:01:24.000000Z K 7 svn:log V 175 Merge tcp_fsm.h:1.17 from HEAD to RELENG_5: date: 2004/11/21 14:38:04; author: rwatson; state: Exp; lines: +1 -1 s/send/sent/ in comment describing TCPS_SYN_RECEIVED. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-25T23:02:57.000000Z K 7 svn:log V 181 Merge tcp_sack.c:1.5 from HEAD to RELENG_5: date: 2004/10/26 08:59:09; author: rwatson; state: Exp; lines: +1 -0 Add a matching tunable for net.inet.tcp.sack.enable sysctl. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T00:13:07.000000Z K 7 svn:log V 408 - Add 'schedgraph' a scheduler trace visualization tool written with python and tkinter. Schedgraph takes input from files produces by ktrdump -ct when KTR_SCHED is compiled into the kernel. The output represents the states of each thread with colored line segments as well as colored points for non-state scheduler events. Each line segment and point is clickable to obtain extra detail. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T00:13:38.000000Z K 7 svn:log V 72 - Add KTR_SCHED to produce ktr data for sys/tools/sched/schedgraph.py. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T00:14:21.000000Z K 7 svn:log V 36 - Define KTR points for KTR_SCHED. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T00:15:33.000000Z K 7 svn:log V 126 - Remove earlier KTR_ULE tracepoints. - Define new KTR_SCHED points so that we can graph the operation of the scheduler. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T00:16:24.000000Z K 7 svn:log V 220 - Wrap the thread count adjustment in sched_load_add() and sched_load_rem() so that we may place some ktr entries nearby. - Define other KTR_SCHED tracepoints so that we may graph the operation of the scheduler. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-12-26T00:35:12.000000Z K 7 svn:log V 120 Add my copyright and update Jeff's copyright on UMA source files, as per his request. Discussed with: Jeffrey Roberson END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T01:18:49.000000Z K 7 svn:log V 105 - The regexp for the load should have been (/d+), fix this so loads over 9 are properly represented. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T02:02:34.000000Z K 7 svn:log V 98 - Call self.checkstamp() in the cpu load parsing functions in case the timestamp has wrapped. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T03:25:08.000000Z K 7 svn:log V 386 - For preemption and yield events, we want to skip the next two state events as they are the setrunqueue() and sched_add() calls. Since they happen immediately before the thread is placed on a run queue they would normally dwarf the more informative preemption or yield event and it is implicitly understood that a thread is back on the run queue as part of these events. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2004-12-26T07:00:10.000000Z K 7 svn:log V 28 Cross-reference ffsinfo(8). END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-26T07:14:55.000000Z K 7 svn:log V 560 Minor merges from NetBSD (up through 1.388): Add $NetBSD$ in a comment at the top Update copyright dates Update header comment Add some of the entries not present in FreeBSD's usbdevs file Harmonize some descriptions with NetBSD where NetBSD's were shorter More work needs to happen here, as there's many conflicting vendor names. There's also more harmonization that can happen before that problem is tackled. This was inspired by recent discussions, but none of the patches posted were consulted to produce this commit. Other, similar ones will follow. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T07:30:35.000000Z K 7 svn:log V 463 - Run sched_userret() after thread_userret(). Before, sched_userret() would lower the priority of the returning thread to a user priority before calling into thread_userret() which would call wakeup() which in turn would cause the returning thread to eventually context switch rather than completing its slice. Allowing this thread to complete its slice first yields a 15% performance improvement in super-smack on my dual opteron with 4BSD. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-26T07:48:46.000000Z K 7 svn:log V 211 More minor diff reduction against netbsd: ADVANCELOGIC->AVANCELOGIC (nothing in the tree uses it, so safe to do) sort HAGIWARA vendor entry sort ACTIONTAR vendor entry Minor change to SYSTEMTALKS vendor entry. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-12-26T09:08:42.000000Z K 7 svn:log V 196 * The #ifdef's to cause mutex's for freebsd to be declared were meant to pick up on USE_MUTEX being defined, but this patch * Remove some code that's in a #ifndef FreeBSD that's no longer used. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-12-26T09:09:29.000000Z K 7 svn:log V 70 * Remove some code that's in a #ifndef FreeBSD that's no longer used. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-26T13:23:01.000000Z K 7 svn:log V 54 LCA is 21066 and 21068. Add EV7 (bloody optimist.. :) END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-26T14:39:55.000000Z K 7 svn:log V 27 LCA is 21066/21068 add EV7 END K 10 svn:author V 5 josef K 8 svn:date V 27 2004-12-26T18:06:05.000000Z K 7 svn:log V 31 Fix typo. Noticed by: clement END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-12-26T20:47:41.000000Z K 7 svn:log V 168 tsleep => msleep read sys/kern/kern_synch.c, msleep (): KASSERT(timo != 0 || mtx_owned(&Giant) || mtx != NULL, ("sleeping without a mutex")); MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-26T21:46:44.000000Z K 7 svn:log V 100 Assert that the vm object is locked on entry to vm_page_sleep_if_busy(); remove some unneeded code. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-26T22:52:24.000000Z K 7 svn:log V 419 Add "show alllocks" command to DDB, which dumps a list of processes and threads currently holding sleep mutexes (and spin mutexes for curthread). This can be quite useful in looking for a lock condition summary for a system, as it avoids manually iterating through threads and processes to find all the interesting locks. NB: "alllocks" is up there with "lockedvnods" for a bad argument for show. MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T22:56:08.000000Z K 7 svn:log V 1462 - Fix a long standing problem where an ithread would not honor sched_pin(). - Remove the sched_add wrapper that used sched_add_internal() as a backend. Its only purpose was to interpret one flag and turn it into an int. Do the right thing and interpret the flag in sched_add() instead. - Pass the flag argument to sched_add() to kseq_runq_add() so that we can get the SRQ_PREEMPT optimization too. - Add a KEF_INTERNAL flag. If KEF_INTERNAL is set we don't adjust the SLOT counts, otherwise the slot counts are adjusted as soon as we enter sched_add() or sched_rem() rather than when the thread is actually placed on the run queue. This greatly simplifies the handling of slots. - Remove the explicit prevention of migration for ithreads on non-x86 platforms. This was never shown to have any real benefit. - Remove the unused class argument to KSE_CAN_MIGRATE(). - Add ktr points for thread migration events. - Fix a long standing bug on platforms which don't initialize the cpu topology. The ksg_maxid variable was never correctly set on these platforms which caused the long term load balancer to never inspect more than the first group or processor. - Fix another bug which prevented the long term load balancer from working properly. If stathz != hz we can't expect sched_clock() to be called on the exact tick count that we're anticipating. - Rearrange sched_switch() a bit to reduce indentation levels. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T22:56:51.000000Z K 7 svn:log V 64 - Remove a 4BSD specific hack since this will work on ULE too. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2004-12-26T23:21:48.000000Z K 7 svn:log V 63 - Unintentionally checked in a debugging panic. Remove that. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-12-27T05:17:11.000000Z K 7 svn:log V 136 Do not vput(9) unlocked vnode and do not VREF it with the sole purpose of vputting it back immediately. Complained by: DEBUG_VFS_LOCKS END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-27T05:27:59.000000Z K 7 svn:log V 91 Note that access to the page's busy count is synchronized by the containing object's lock. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-27T05:36:47.000000Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-27T05:42:32.000000Z K 7 svn:log V 152 Minor cleanup: Reduce stack usage in probe method. Outdent probe. Use TRUE/FALSE instead of 1/0 for booleans. Remove trailing and extra whitespace. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-27T05:45:38.000000Z K 7 svn:log V 53 MFC 1.39: Only report a critical battery level once. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-27T05:54:13.000000Z K 7 svn:log V 61 MFC: Unify debugging for third-party drivers under ACPI_OEM. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-27T06:15:03.000000Z K 7 svn:log V 241 Restore the cpu_reset proxy code. It is needed if you want to reset the system from an AP at runtime (i.e., calling cpu_reset from ddb). Someday, if we move to an NMI for stopping cpus instead, we can do away with this. Requested by: jhb END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-27T06:35:42.000000Z K 7 svn:log V 22 Reduce diffs to i386. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-27T06:42:25.000000Z K 7 svn:log V 72 MFi386: Restore cpu_reset proxy code to enable reset from ddb on an AP. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-27T06:58:05.000000Z K 7 svn:log V 78 Remove duplicate CHPRODUCTS entry. Use tab religiously in the vendor section. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-27T08:32:41.000000Z K 7 svn:log V 206 MFC 1.33: Restore standard behavior: log to console only when normal logging failed, not always. PR: bin/75356 Submitted by: Mark Knight Pointy hat to: glebius END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-27T10:47:08.000000Z K 7 svn:log V 202 Attempt to slightly refine the print out from "show alllocks" -- list the process and thread numbers/names on the same line rather than on separate lines, and print the thread pointer not just the tid. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-27T11:17:39.000000Z K 7 svn:log V 27 Add Alpha CPU types 10-15. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-27T11:28:14.000000Z K 7 svn:log V 47 Make LCA entry consistent with the other ones. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-27T12:23:28.000000Z K 7 svn:log V 159 MFC revs.1.81 - 1.87: FreeBSD 4.10-RELEASE, DragonFly BSD 1.0, 6.0-CURRENT, FreeBSD 5.3, OpenBSD 3.6, NetBSD 2.0, "FreeBSD Design and Impl." book description. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-27T12:46:10.000000Z K 7 svn:log V 142 MFC rev. 1.27 dump.h and rev. 1.16 itime.c: do not dump core in -W if dumpdates was not readable and ddatev == NULL; remove unused ddates_in. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-27T12:53:30.000000Z K 7 svn:log V 142 MFC rev. 1.27 dump.h and rev. 1.16 itime.c: do not dump core in -W if dumpdates was not readable and ddatev == NULL; remove unused ddates_in. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-27T13:11:02.000000Z K 7 svn:log V 34 MFC rev. 1.94: add a missed "." . END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-27T13:18:19.000000Z K 7 svn:log V 88 MFC rev. 1.9: no macros for sigemptyset(3) and friends, sigismember(3) could return -1. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-27T13:22:37.000000Z K 7 svn:log V 72 MFC rev. 1.19: allocate an additional white space in a username column. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-27T14:30:54.000000Z K 7 svn:log V 60 MFC: 1.54: Print MAC addresses of VLAN interfaces properly. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-27T15:53:44.000000Z K 7 svn:log V 80 Fix mbuf leak. Submitted by: Johnny Eriksson MFC after: 5 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-27T17:20:06.000000Z K 7 svn:log V 295 Rewrite piece of code which I committed some time ago that allows to show file name for 'mdconfig -l -u ' command. This allows to preserve API/ABI compatibility with version 0 (that's why I changed version number back to 0) and will allow to merge this change to RELENG_5. MFC after: 5 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-27T18:18:38.000000Z K 7 svn:log V 16 Formatting nits END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-27T18:21:39.000000Z K 7 svn:log V 52 Add note about where major numbers are now assigned END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-27T18:50:59.000000Z K 7 svn:log V 58 Add missing Alpha CPU models. Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-27T18:58:57.000000Z K 7 svn:log V 30 nos->now typo reported by njl END K 10 svn:author V 5 josef K 8 svn:date V 27 2004-12-27T22:27:56.000000Z K 7 svn:log V 94 Remove warnings and make wc WARNS=6 clean. Add FreeBSD Id to Makefile. Approved by: ssouhlal END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-12-28T00:07:57.000000Z K 7 svn:log V 210 Add FR support to sppp (MFCronyx). Silence on: net@, current@, hackers@. No objections: joerg Requested by: by many (mostly Cronyx) users for a long long time. MFC after: 10 days PR: kern/21771, kern/66348 END K 10 svn:author V 3 arr K 8 svn:date V 27 2004-12-28T00:49:02.000000Z K 7 svn:log V 166 - Add some notes on what is required to run schedgraph.py successfully. This was pulled from Jeff Roberson's email to current@ "the other day." Approved by: jeff@ END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-28T02:23:44.000000Z K 7 svn:log V 118 MFC: rev. 1.21 Changes in comments: - correct a sentence so it actually has some meaning - sprinkle some full stops END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-28T04:31:47.000000Z K 7 svn:log V 46 Virgin import of Christos Zoulas's FILE 4.12. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-28T04:31:47.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r139368, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-12-28T04:31:48.000000Z K 7 svn:log V 78 This commit was manufactured by cvs2svn to create tag 'file-vendor-file_4_12'. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-28T04:35:01.000000Z K 7 svn:log V 32 Catch up with file 4.12 import. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-12-28T05:07:49.000000Z K 7 svn:log V 301 Don't probe for a disk unless explicitly enabled by a tunable. This allows boot to proceed on a real system until the issue of calling back into certain OpenFirmware calls (e.g. finddevice) in thread context is understood. (this commit only affects psim users, of which I think I am the only one...) END K 10 svn:author V 3 rse K 8 svn:date V 27 2004-12-28T10:43:33.000000Z K 7 svn:log V 2623 MFC: src/etc/defaults/rc.conf:1.234 src/etc/rc.d/jail:1.20 src/etc/rc.shutdown:1.30 Improve the RC framework for the clean booting/shutdown of Jails: 1. Feature: for flexibility reasons and as a prerequisite to clean shutdowns, allow the configuration of a stop/shutdown command via rc.conf variable "jail__exec_stop" in addition to the start/boot command (rc.conf variable "jail__exec_start"). For backward compatibility reasons, rc.conf variable "jail__exec" is still supported, too. 2. Debug: Add the used boot/shutdown commands to the debug output of the /etc/rc.d/jail script, too. 3. Security: Run the Jail start/boot command in a cleaned environment to not leak information from the host to the Jail during startup. 4. Feature: Run the Jail stop/shutdown command "jail__exec_stop" on "/etc/rc.d/jail stop " to allow a graceful shutdown of the Jail before its processes are just killed. 5. Bugfix: When killing the remaining Jail processes give the processes time to actually perform their termination sequence. Without this the subsequent umount(8) operations usually fail because the resources are still in use. Additionally, if after trying to TERM-inate the processes there are still processes hanging around, finally just KILL them. 6. Bugfix: In rc.shutdown, if running inside a Jail, skip the /etc/rc.d/* scripts which are flagged with the KEYWORD "nojail" to allow the correct operation of rc.shutdown under jail__exec_stop="/bin/sh /etc/rc.shutdown". This is analogous to what /etc/rc does inside a Jail. Now the following typical host-configuration for two Jails works as expected and correctly boots and shutdowns the Jails: ----------------------------------------------------------- # /etc/rc.conf: jail_enable="YES" jail_list="foo bar" jail_foo_rootdir="/j/foo" jail_foo_hostname="foo.example.com" jail_foo_ip="192.168.0.1" jail_foo_devfs_enable="YES" jail_foo_mount_enable="YES" jail_foo_exec_start="/bin/sh /etc/rc" jail_foo_exec_stop="/bin/sh /etc/rc.shutdown" jail_bar_rootdir="/j/bar" jail_bar_hostname="bar.example.com" jail_bar_ip="192.168.0.2" jail_bar_devfs_enable="YES" jail_bar_mount_enable="YES" jail_bar_exec_start="/path/to/kjailer -v" jail_bar_exec_stop="/bin/sh -c 'killall kjailer && sleep 60'" ----------------------------------------------------------- # /etc/fstab.foo /v/foo /j/foo/v/foo nullfs rw 0 0 ----------------------------------------------------------- # /etc/fstab.bar /v/bar /j/bar/v/bar nullfs rw 0 0 ----------------------------------------------------------- END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-28T12:11:32.000000Z K 7 svn:log V 184 - Plug a memory leak in ng_netflow_cache_init(). - Initialize error to 0 in ng_netflow_flow_add() (a nop change). - Update cache statistics holding workqueue mutex. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-28T12:17:56.000000Z K 7 svn:log V 23 Update for FILE v4.12. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-28T12:29:06.000000Z K 7 svn:log V 23 Update for FILE v4.12. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-28T17:07:18.000000Z K 7 svn:log V 217 Detect if class name is '-h' or 'help' and if it is, show general help message, i.e.: geom: usage: geom [options] PR: bin/71537 Submitted by: bugghy MFC after: 5 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-28T21:21:27.000000Z K 7 svn:log V 326 - Up the WITNESS_COUNT macro from 200 to 1024 to support the growing number of lock types in the kernel. This results in an increase of witness data usage from ~145k to ~280k on i386 for kernels with 'options WITNESS'. - Remove the unused witness malloc bucket. Submitted by: Michal Mertl mime at traveller dot cz (1) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-28T21:52:45.000000Z K 7 svn:log V 19 Remove debug code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-28T21:56:21.000000Z K 7 svn:log V 38 MFC: Implement g_topology_try_lock(). END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-12-28T21:58:54.000000Z K 7 svn:log V 385 Some syslog messages delimit the program tag with whitespace rather than a colon, so don't allow whitespace in program names. To be consistent with hostnames, don't allow whitespace in the program name specifiers in syslog.conf either. (The first change is by Markus from the PR, the second is mine.) PR: 68691 Submitted by: Markus Oestreicher MFC after: 3 weeks END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-12-28T22:14:11.000000Z K 7 svn:log V 402 Merge if_fxp.c:1.220 from HEAD to RELENG_5: date: 2004/12/20 10:18:21; author: mux; state: Exp; lines: +2 -2 Only try to use the 82503 serial interface for the 82557 chipsets. The datasheet says it is only valid for such chipsets and shouldn't be used with others. This fixes some 82559 based cards which otherwise only work at 10Mbit. MFC after: 5 days Tested by: krion END K 10 svn:author V 2 jb K 8 svn:date V 27 2004-12-28T22:17:10.000000Z K 7 svn:log V 300 Pass an explicit pointer to the bus structure in the 'usb' device ivar rather than a softc pointer (with the bus structure at the start). This is a non-functional change. It just helps when reading the code to know that the ehci, ohci and uhci drivers share the bus structure, not the entire softc. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-12-28T22:25:04.000000Z K 7 svn:log V 118 Allow ':' and '%' in hostname specifications so that we can specify IPv6 addresses and scope IDs. MFC after: 3 weeks END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-12-28T22:49:24.000000Z K 7 svn:log V 402 Merge if_fxp.c:1.220 from HEAD to RELENG_4: date: 2004/12/20 10:18:21; author: mux; state: Exp; lines: +2 -2 Only try to use the 82503 serial interface for the 82557 chipsets. The datasheet says it is only valid for such chipsets and shouldn't be used with others. This fixes some 82559 based cards which otherwise only work at 10Mbit. MFC after: 5 days Tested by: krion END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-12-29T00:11:34.000000Z K 7 svn:log V 152 Some grammar, spelling, and mdoc(7) fixes. No content changes. PR: 75581 Submitted by: Nobuyuki Koganemaru n-kogane@syd.odn.ne.jp (original version) END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-29T01:21:18.000000Z K 7 svn:log V 439 Rewrite ehci_abort_xfer() to use the method hinted at in the EHCI spec. to remove a transaction from the async schedule. The previous method didn't work well and led to the hardware writing to free'd buffers etc, as it didn't always know that the transaction had been aborted. Written after consultation with David Brownell who wrote the Linux EHCI driver. As part of this give the sqh structure a "previous" pointer. MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-29T02:09:19.000000Z K 7 svn:log V 106 Add the Winbond made Hawking UH104 4-port hub. Add a note where to find the offical USB assigned numbers. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-12-29T02:18:24.000000Z K 7 svn:log V 125 Various markup and spelling fixes. PR: 75574 Submitted by: Nobuyuki Koganemaru (original version) END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-12-29T03:49:58.000000Z K 7 svn:log V 146 Drop hold on patch. ENOTIME for long-stalled ideas here. Too busy elsewhere. Add lines for interest in 'ps' and 'pkill', where I'm more active. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-29T04:18:22.000000Z K 7 svn:log V 187 Access to the page's busy field is (now) synchronized by the containing object's lock. Therefore, the assertion that the page queues lock is held can be removed from vm_page_io_start(). END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2004-12-29T04:29:06.000000Z K 7 svn:log V 86 Make an argument name in the synopsis match that in the text. Correct an mdoc error. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-29T04:49:10.000000Z K 7 svn:log V 84 Eliminate (now) unnecessary acquisition and release of the global page queues lock. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-29T06:21:41.000000Z K 7 svn:log V 177 Move WINBOND 4 port hub to its proper location in the file. It belongs in a section of its own, not arbitrarily grouped in the hawking section just because hawking sells it... END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-29T08:01:24.000000Z K 7 svn:log V 53 Document callout_pending() macro. MFC after: 1 week END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-12-29T08:13:20.000000Z K 7 svn:log V 38 More NO_NIS cleanup: LINKS and MLINKS END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-12-29T08:16:39.000000Z K 7 svn:log V 33 NO_NIS cleanup: LINKS and MLINKS END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-29T08:44:30.000000Z K 7 svn:log V 39 No need to generate vnode_if.h anymore END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-29T08:50:35.000000Z K 7 svn:log V 45 We don't need to generate vnode_if.h anymore END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-29T09:24:44.000000Z K 7 svn:log V 157 Replace reference to an unknown newfs(8) option with newfs option -U (enable softupdates). PR: docs/74952 Submitted by: Hubert Tournier END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-12-29T09:41:40.000000Z K 7 svn:log V 185 Correctly initialise the 2nd kernel segment, and don't forget to actually install it in the segment register. This may fix some of the weird panics seen when kernel VM is heavily used. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-12-29T10:33:03.000000Z K 7 svn:log V 433 Merge if_fxp.c:1.220 from HEAD to RELENG_4_11: date: 2004/12/20 10:18:21; author: mux; state: Exp; lines: +2 -2 Only try to use the 82503 serial interface for the 82557 chipsets. The datasheet says it is only valid for such chipsets and shouldn't be used with others. This fixes some 82559 based cards which otherwise only work at 10Mbit. MFC after: 5 days Tested by: krion Approved by: re (kensmith) END