ƒ¯0113668 212 108 226 310 161 675 269 662 196 231 283 236 306 202 164 144 486 128 211 284 317 155 187 571 308 158 325 353 274 117 341 158 127 124 289 215 147 134 124 182 151 129 116 181 212 197 270 337 683 152 136 422 154 150 270 228 307 171 132 102 322 139 382 164 224 382 227 549 600 324 249 261 151 137 307 200 223 186 151 117 118 118 178 238 913 128 129 226 113 108 573 109 328 173 154 176 106 212 207 107 107 144 165 122 216 161 118 200 190 231 219 242 240 160 166 144 218 178 555 1906 446 116 458 715 361 197 939 363 129 150 197 492 132 169 132 117 130 253 139 290 103 296 128 136 168 417 193 301 263 200 186 157 202 653 311 158 176 256 281 427 256 150 376 124 454 187 248 130 119 211 121 116 209 173 628 120 500 119 195 148 230 372 108 181 177 123 163 162 318 290 160 193 421 209 198 190 375 359 130 208 1274 179 230 651 351 317 341 335 136 139 163 230 141 K 10 svn:author V 6 sanpei K 8 svn:date V 27 2003-04-18T15:35:52.000000Z K 7 svn:log V 13 Sync to 1.48 END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2003-04-18T15:42:25.000000Z K 7 svn:log V 130 Add support for Planex FNW-3602-T(CardBus 100M/10M). Submitted by: kazz Obtained from: [bsd-nomads:16637] END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-18T16:24:25.000000Z K 7 svn:log V 214 Correctly set _PWF_FILES in pw_fields when appropriate. (_PWF_NIS and _PWF_HESIOD were already being set.) Reported by: Shizuka Kudo Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-18T16:39:03.000000Z K 7 svn:log V 69 Update locking around vm_object_page_remove() to use the new macros. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-18T17:27:05.000000Z K 7 svn:log V 579 Don't use `memset' to initialize a struct passwd. A module may not fill in all fields, and in the case of string fields, this could cause trouble for applications. (The only likely example is `pw_class', because this field is not used by all modules in all cases.) Move initialization of struct passwd from module-specific code to the dispatch code. The problem of a NULL pw_class was Noticed by: Philip Paeps and the c^Htrusty ssh(1) command. Déjà vu by: getpwent.c revision 1.56 Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2003-04-18T17:36:13.000000Z K 7 svn:log V 171 Tell the upper layer(s) that we support long frames. Not doing this caused the vlan mtu to be reduced by 4 bytes. Submitted by: Doug Ambrisko (ambrisko) MFC after: 1 day END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-18T17:51:54.000000Z K 7 svn:log V 569 Break out and rewrite the network setup scripts. o /etc/network.subr contains common subroutines used for seting up network interfaces o rc.d/hostname sets the hostname if not already set o rc.d/nisdomain sets the nis domain *after* rpcbind but before the yp* daemons. This fixes issues with temporary hangs when looking up informaion in nis before it's ready. o rc.d/netif brings network interfaces (minus dhcp) up. o rc.d/network1 has been disabled and will be retired before RELENG_5. It will be replaced by rc.d/netif Approved by: markm (mentor) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-18T17:53:02.000000Z K 7 svn:log V 103 Make use of the dhclient script. This will bring up/down dhcp interfaces. Approved by: markm (mentor) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-18T17:55:05.000000Z K 7 svn:log V 138 o Hook the new files up to the build. o Make sure all the scripts reference rc.d/netif and not rc.d/network1 Approved by: markm (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T18:06:32.000000Z K 7 svn:log V 190 Fix a bug in alpha_get_uac() that I introduced in revision 1.18. It is supposed to return the uac of the parent process of the current process, not the current process. Pointy hat to: jhb END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-04-18T18:51:52.000000Z K 7 svn:log V 140 Revert parts of 1.309 to allow processes to have a signal mask independently from the threads again. Will be adding code to use this soon.. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-04-18T18:59:34.000000Z K 7 svn:log V 213 Backed out rev.1.57. This restores format checking functions like err() again. All known err() format errors in src that developed while format checking was broken have been fixed. Tested on i386, alpha, ia64. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-18T19:44:12.000000Z K 7 svn:log V 109 First scrub of s/disklabel/bsdlabel/ bsdlabel.5 deliberately exempted, its contents looks less than useful. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-18T19:57:37.000000Z K 7 svn:log V 68 Update NAI copyright to 2003, missed in earlier commits and merges. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T20:09:04.000000Z K 7 svn:log V 52 Hold the proc lock for curproc around sigonstack(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T20:17:05.000000Z K 7 svn:log V 393 - Add a static function pgadjustjobc() to adjust the job control count for a process group. - Call pgadjustjobc() twice in fixjobc() to avoid code duplication and improve readability. - Use the proc lock to protect P_SHOULDSTOP() instead of sched_lock. - Check to see if a process is PRS_NEW with sched_lock before trying to lock its proc lock since the lock may not be constructed yet. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T20:17:47.000000Z K 7 svn:log V 36 Add a couple of sched_lock asserts. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T20:18:44.000000Z K 7 svn:log V 118 Rename do_sigprocmask() to kern_sigprocmask() and make it a global symbol so that it can be used by binary emulators. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T20:20:00.000000Z K 7 svn:log V 191 Use the proc lock to protect p_singlethread and a P_WEXIT test. This fixes a couple of potential KSE panics on non-i386 arch's that weren't holding the proc lock when calling thread_exit(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-18T20:22:23.000000Z K 7 svn:log V 220 Rather than check for M_PKTHDR and conditionally perform access control, simply assert that M_PKTHDR is set using M_ASSERTPKTHDR(). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-18T20:27:16.000000Z K 7 svn:log V 63 Solve printf/cast issues to make this compile in i386 as well. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T20:54:41.000000Z K 7 svn:log V 95 Synchronize the two linux_clone() implementations which includes a few minor cleanups in both. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T20:59:05.000000Z K 7 svn:log V 478 - Make sigonstack() a regular function instead of an inline and add a proc lock assertion to it. - SIGPENDING() no longer needs sched_lock, so only grab sched_lock to set the TDF_NEEDSIGCHK and TDF_ASTPENDING flags in signotify(). - Add a proc lock assertion to tdsigwakeup(). - Since we always set TDF_OLDMASK while holding the proc lock, the proc lock is sufficient protection to check its state in postsig() and we only need sched_lock when clearing the actual flag. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-18T21:13:35.000000Z K 7 svn:log V 212 Follow-up to revision 1.73: set _PWF_FILES when `compat' source is used but user is found in local file. Reported by: Shizuka Kudo Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-18T21:17:46.000000Z K 7 svn:log V 63 I'd like to keep an eye on nsdispatch and friends for a while. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-18T21:27:09.000000Z K 7 svn:log V 229 While I really liked the error message one received from `passwd' when it could not determine the source of the user's passwd(5) entry, it might be somewhat confusing now that we can have sources that are not compiled into libc. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-18T22:07:30.000000Z K 7 svn:log V 257 Follow-up to revision 1.74: Using the result buffer to store our empty string was an incredibly dumb idea (of course it will be changed by an NSS module on success!). Use a static empty string instead. Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-18T22:20:46.000000Z K 7 svn:log V 181 Add the beginning of a regression test. So far it checks the overwrites of the BSD label inband (ie: dd if=/dev/ad0a of=/dev/ad2a). This excercises the geom::slice::hotspot code. END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-04-18T22:22:59.000000Z K 7 svn:log V 22 Back out last commit. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-19T00:21:34.000000Z K 7 svn:log V 248 Various cleanups: - Don't initialize if_output, ether_ifattach() does this for us. - Use pci_enable_busmaster() instead of using pci_read_config() and pci_write_config() directly. - Don't try to enable I/O, bus_alloc_resource() does this for us. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-19T00:28:49.000000Z K 7 svn:log V 66 - Correct a comment made bogus by my last commit. - Use __FBSDID. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-19T00:30:36.000000Z K 7 svn:log V 35 Lock the vm_object in obj_alloc(). END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-04-19T01:26:29.000000Z K 7 svn:log V 31 The ehci driver works on pc98. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-19T01:43:32.000000Z K 7 svn:log V 196 o Update locking around vm_object_page_remove() in vm_map_clean() to use the new macros. o Remove unnecessary increment and decrement of the vm_object's reference count in vm_map_clean(). END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-19T01:56:44.000000Z K 7 svn:log V 122 The changes to rc.d/network1 will not get merged in by mergemaster if it does not appear in the list of files to install. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-04-19T02:18:51.000000Z K 7 svn:log V 52 Fix compile warning - proc should have been thread. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-19T02:40:39.000000Z K 7 svn:log V 38 Don't return garbage in high 16 bits. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-19T04:39:10.000000Z K 7 svn:log V 28 Use correct thread pointer. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-19T05:04:06.000000Z K 7 svn:log V 86 Unbreak sigaltstack syscall. sigonstack is now a function and want proc lock be held. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-19T06:11:37.000000Z K 7 svn:log V 58 New release notes: NSS modules, port distfile refetches. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-19T06:16:04.000000Z K 7 svn:log V 33 Test next upcall time correctly. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-19T06:17:33.000000Z K 7 svn:log V 23 Add an entry for ehci. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-19T07:42:13.000000Z K 7 svn:log V 89 Add prototype for compute_stats() so that libdevstat is WARNS=4 clean. Spotted by: kris END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-19T07:50:32.000000Z K 7 svn:log V 119 Spell ${_jail} correctly Submitted by: Shizuka Kudo Approved by: markm (mentor) (implicit) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-19T10:00:22.000000Z K 7 svn:log V 104 Create a dedicated structure for holding hotspot information rather than using slice structures for it. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-19T10:14:39.000000Z K 7 svn:log V 177 Make more of the "hotspot" stuff generic: Give the class a way to specify the necessary action for read/delete/write: ALLOW, DENY, START or CALL. Update geom_bsd to use this. END K 10 svn:author V 5 billf K 8 svn:date V 27 2003-04-19T10:14:43.000000Z K 7 svn:log V 242 properly refuse a connection in the -c case if the client ip's subdirectory does not exist. PR: bin/38303 Submitted by: Woei-Luen, Shyu the committed patch differs from the submitted one, any inaccuracies are mine. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-19T13:51:24.000000Z K 7 svn:log V 590 - Enable interrupts only at the end of epic_attach() when all the other initializations succeeded. - Initialize the TX and RX rings in epic_attach() rather than in epic_init() where we're not supposed to fail. Similarly, free the TX and RX rings in epic_detach() rather than in epic_stop(). - Change epic_init() to be a void function now that it can't fail. Also change its parameter to a void * so that we have a correct prototype for if_init. - Now that epic_init() has a correct prototype, don't cast the function pointer when initializing if_init. - Fix nearby style bugs. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-19T17:09:09.000000Z K 7 svn:log V 59 Fix minor whitespace glitch. Translators can ignore this. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-19T17:24:07.000000Z K 7 svn:log V 44 Make this file closer to style(9) paradigm. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-19T17:57:14.000000Z K 7 svn:log V 328 New release notes: LAZY_SWITCH, new docs and translation team. Modified release notes: Rewrite HTT note to conform to reality, fix a couple of typos referring to options directives [1], add missing words in gdtoa note. MFC noted: sbsh(4). Inspired by: bde message <20030420022510.O16869@gamplex.bde.org> to current@ [1] END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-19T18:40:23.000000Z K 7 svn:log V 61 Fix typo: s/5.0-STABLE/5.0-CURRENT/ Pointed out by: scottl END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-19T19:13:25.000000Z K 7 svn:log V 58 Lock the jumbo_vm_object when performing vm_page_alloc(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-19T21:15:44.000000Z K 7 svn:log V 177 - Lock the vm_object when performing vm_object_pip_wakeupn(). - Assert that the vm_object lock is held in vm_object_pip_wakeupn(). - Add a new macro VM_OBJECT_LOCK_ASSERT(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-19T22:11:41.000000Z K 7 svn:log V 135 - Lock the vm_object when performing vm_object_pip_subtract(). - Assert that the vm_object lock is held in vm_object_pip_subtract(). END K 10 svn:author V 3 das K 8 svn:date V 27 2003-04-19T23:53:19.000000Z K 7 svn:log V 214 %E-like %g and %G conversions should remove trailing zeroes unless the # flag is present. Implement this behavior and add a comment describing it. Noticed by: Enache Adrian Pointy hat to: das END K 10 svn:author V 3 das K 8 svn:date V 27 2003-04-19T23:53:34.000000Z K 7 svn:log V 79 Add a dozen new tests with the general theme of getting trailing zeroes right. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T00:17:05.000000Z K 7 svn:log V 40 Lock the vm_object in vfs_busy_pages(). END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-20T01:04:04.000000Z K 7 svn:log V 10 style(9). END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-20T01:12:00.000000Z K 7 svn:log V 226 Repair a bug in which a faulty group entry (one with only 2 colons) would result in an incorrectly terminated grouplist. login(1) crashes Reported by: Morten Rodal , Matthias Schuendehuette END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-20T01:35:21.000000Z K 7 svn:log V 43 Backout my last commit. Requested by: bde END K 10 svn:author V 3 jdp K 8 svn:date V 27 2003-04-20T01:53:13.000000Z K 7 svn:log V 289 Add stub implementations of pthread_[gs]etconcurrency to libc_r and libthr. No changes were made to libpthread by request of deischen, who will soon commit a real implementation for that library. PR: standards/50848 Submitted by: Sergey A. Osokin MFC after: 1 week END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-04-20T01:53:14.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-04-20T02:56:12.000000Z K 7 svn:log V 128 Fix build breakage (on ia64) caused by a missing file descriptor to _thread_printf(). Use STDERR_FILENO as the file descriptor. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-20T02:56:16.000000Z K 7 svn:log V 285 Add the mac_prepare{,_*}() functions to the high-level function list in the mac.3 library man page. They were already cross-referenced at the end of the man page, just not explicitly listed here. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-04-20T02:58:30.000000Z K 7 svn:log V 131 Use STDERR_FILENO as the file descriptor passed to _thread_printf() instead of 0 (ie stdin). Writing to stdin may not be possible. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T02:59:13.000000Z K 7 svn:log V 453 Rev 1.132 was backed out because of the following from BDE: By returning garbage for the unused high bits of segment registers, we avoid wasting time initializing the bits if the results are assigned to 32-bit variables. movl instead of movw was also intentional, to prevent gas adding pessimal pessimal segment overrides. See src-committers Message-ID: <20030419173421.N15436@gamplex.bde.org>, for more details and how to optimize this farther. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-04-20T03:06:42.000000Z K 7 svn:log V 504 Add support for ia64. Note that the tp register (r13) is reserved as the TLS pointer in the same way that that gp register (r1) is reserved as the global pointer. This implementation uses the tp register to point to the thread structure used by the threads implementation. This is not in violation with the runtime specification provided the TLS is a fixed distance from the thread structure. This is only an issue when code used the __thread keyword to create TLS. This is not supported at the moment. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-20T03:09:35.000000Z K 7 svn:log V 227 Remove the 'te' label elements from the default configuration, since we no longer plan on shipping a TE MAC module independent from SEBSD. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-20T03:18:44.000000Z K 7 svn:log V 152 Add a man page for the mac.conf MAC library configuration file. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-20T03:34:59.000000Z K 7 svn:log V 168 Don't dereference a NULL pointer when we don't have a ':' in the optarg of the -W option. Instead, do the next best thing and give a usage message. Reported by: kris END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T03:41:21.000000Z K 7 svn:log V 59 - Lock the vm_object when performing vm_object_pip_add(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T04:35:47.000000Z K 7 svn:log V 45 Update vm_object locking in vm_map_delete(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-20T04:43:56.000000Z K 7 svn:log V 210 Add FILES section to mac.3 and mac.conf.5. Properly Xref mac.conf.5 from mac.3; likewise, mac.conf.5 from mac_prepare.3. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-20T05:01:54.000000Z K 7 svn:log V 106 MFC: Update for puc(4) devices. PR: 50928 Submitted by: Gavin Atkinson END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-20T06:17:31.000000Z K 7 svn:log V 129 Add an errata item pointing out a filename typo in the 5.0 release notes. Pointed out by: "David G. Andersen" END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T07:08:30.000000Z K 7 svn:log V 94 - Lock the vm_object when performing vm_object_pip_add(). - Remove an unnecessary variable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T07:29:50.000000Z K 7 svn:log V 59 - Lock the vm_object when performing vm_object_pip_add(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T07:43:09.000000Z K 7 svn:log V 22 A few style(9) fixes. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T08:37:29.000000Z K 7 svn:log V 23 more style(9) changes. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T09:07:14.000000Z K 7 svn:log V 23 more style(9) changes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-04-20T13:11:11.000000Z K 7 svn:log V 81 Grammar fix PR: 51164 Submitted by: Jeff Ito MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-20T13:54:04.000000Z K 7 svn:log V 141 Use u_int for the struct uidinfo reference count rather than u_short; while >65534 references is unlikely, it is possible. Reviewed by: tjr END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-20T14:08:05.000000Z K 7 svn:log V 816 Throw the switch--change to UFS2 as our default file system format for FreeBSD 5.1-RELEASE and later: - newfs(8) will now create UFS2 file systems unless UFS1 is specifically requested (-O1). To do this, I just twiddled the Oflag default. - sysinstall(8) will now select UFS2 as the default layout for new file systems unless specifically requested (use '1' and '2' to change the file system layout in the disk labeler). To do this, I inverted the ufs2 flag into a ufs1 flag, since ufs2 is now the default and ufs1 is the edge case. There's a slight semantic change in the key behavior: '2' no longer toggles, it changes the selection to UFS2. This is very similar to a patch David O'Brien sent me at one point, and that I couldn't find. Approved by: re (telecon) Reviewed by: mckusick, phk, bmah END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-04-20T17:08:56.000000Z K 7 svn:log V 34 Additional malloc failure checks. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-20T17:36:26.000000Z K 7 svn:log V 37 Better comment, more style(9) fixes. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-20T18:08:00.000000Z K 7 svn:log V 133 Convert the tx(4) driver to use the busdma API. Special thanks to brueffer for sending me such a card so that I could do this work. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T18:38:59.000000Z K 7 svn:log V 18 style.Makefile(5) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T18:41:16.000000Z K 7 svn:log V 13 fix __FBSDID END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-04-20T19:05:33.000000Z K 7 svn:log V 478 Add device driver support for the ASIX Electronics AX88172 USB 2.0 ethernet controller. The driver has been tested with the LinkSys USB200M adapter. I know for a fact that there are other devices out there with this chip but don't have all the USB vendor/device IDs. Note: I'm not sure if this will force the driver to end up in the install kernel image or not. Special magic needs to be done to exclude it to keep the boot floppies from bloating again, someone please advise. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-04-20T19:07:51.000000Z K 7 svn:log V 15 Regen usbdevs. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-20T19:14:16.000000Z K 7 svn:log V 235 Run interface specific scripts for dhcp interfaces too. This is how it has always been done (before and after rc.d) but I somehow failed to include it when I broke up network1. Submitted by: bmah Approved by: markm (mentor)(implicit) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-04-20T19:16:21.000000Z K 7 svn:log V 76 Remove reference to diskpart(8) PR: 51193 Submitted by: Yonatan@xpert.com END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T19:25:28.000000Z K 7 svn:log V 62 - Lock the vm_object when performing vm_object_pip_wakeup(). END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-04-20T20:15:42.000000Z K 7 svn:log V 82 Add support for the Netgear FA120 and the D-Link DUBE100 (AX88172-based devices). END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-04-20T20:17:10.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-04-20T20:35:18.000000Z K 7 svn:log V 116 Add more FreeBSD specific terminology to help reduce false-positives when spell-checking the FreeBSD documentation. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T20:37:14.000000Z K 7 svn:log V 114 - Lock the vm_object when performing vm_object_pip_wakeup(). - Merge two identical cases in a switch statement. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-04-20T20:42:20.000000Z K 7 svn:log V 12 More terms. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-04-20T21:36:12.000000Z K 7 svn:log V 12 More terms. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T21:56:40.000000Z K 7 svn:log V 52 - Update the vm_object locking in vm_map_insert(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T22:01:37.000000Z K 7 svn:log V 70 The i386-specific asr manpage has been repo copied to the MI section. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T22:04:36.000000Z K 7 svn:log V 27 Document the DEC variants. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T22:07:38.000000Z K 7 svn:log V 120 Document the DEC variants. Also note the model numbers for the AcceleRAID and eXtremeRAID variants. Reviewed by: wilko END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T22:10:13.000000Z K 7 svn:log V 66 Note the Qlogic 1040 is a KZPBA in DEC-speak. Reviewed by: wilko END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T22:13:50.000000Z K 7 svn:log V 23 Document the KZPCA-AA. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-20T22:27:44.000000Z K 7 svn:log V 104 Note that KZPSC have ancient, non-upgradable firmware and that affects the driver. Submitted by: wilko END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-20T23:23:41.000000Z K 7 svn:log V 98 - Lock the vm_object when performing either vm_object_clear_flag() or vm_object_pip_wakeup(). END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-04-21T00:10:26.000000Z K 7 svn:log V 135 Move Bill Paul's new axe driver module to floppy disk 3 on i386 and alpha, disk 2 on pc98, and keep it in the boot kernel for sparc64. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-04-21T00:57:25.000000Z K 7 svn:log V 123 axe is commented out in GENERIC on pc98, so this wasn't needed. Pointed out by: Takahashi Yoshihiro END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-21T02:27:52.000000Z K 7 svn:log V 146 Vendor import revision 1.8 of ac97_codec.h (we renamed the file) from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/emu10k1/emu10k1/ac97_codec.h END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-21T02:27:52.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r113778, 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 2003-04-21T02:27:53.000000Z K 7 svn:log V 64 This commit was manufactured by cvs2svn to create tag 'rev_1_8'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-21T03:17:27.000000Z K 7 svn:log V 70 Remove extraneous reference to intrq.h, which broke the kernel build. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T03:29:53.000000Z K 7 svn:log V 52 devd.conf already has the examples in the todo list END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-04-21T03:47:28.000000Z K 7 svn:log V 123 Use SOUND_MIXER_IGAIN to toggle 20dB mic boost for want of a better place for it. Assorted comments. Submitted by: luigi END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-21T03:59:07.000000Z K 7 svn:log V 81 Use popfl to get the flags off the stack instead of popf. Submitted by: davidxu END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T04:00:01.000000Z K 7 svn:log V 462 o Skip white space between variables better. This makes 'a="b" c="d" at loc=1 on busN' properly set 'c' and process the rest of the stirng. Before it would ignore everything after variable 'a'. o Parse nomatch and other events differently. They are more different than the code allowed for, so we weren't properly parsing nomatch events. It appears this fixes some of the demand loading issues that I was having with devd. Noticed by: Gary Palmer END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-21T04:02:56.000000Z K 7 svn:log V 1807 Add an i386-specifc hack to always set %gs. There still seems to be instances where the kernel doesn't properly save and/or restore it. Use noupcall and nocompleted flags in the KSE mailbox. These require kernel changes to work which will be committed sometime later. Things still work without the changes. Remove the general kse entry function and use two different functions -- one for scope system threads and one for scope process threads. The scope system function is not yet enabled and we use the same function for all threads at the moment. Keep a copy of the KSE stack for the case that a KSE runs a scope system thread and uses the same stack as the thread (no upcalls are generated, so a separate stack isn't needed). This isn't enabled yet. Use a separate field for the KSE waiting flag. It isn't correct to use the mailbox flags field. The following fixes were provided by David Xu: o Initialize condition variable locks with thread versions of the low-level locking functions instead of the kse versions. o Enable threading before creating the first thread instead of after. o Don't enter critical regions when trying to malloc/free or call functions that malloc/free. o Take the scheduling lock when inheriting thread attributes. o Check the attribute's stack pointer instead of the attributes stack size for null when allocating a thread's stack. o Add a kseg reinit function so we don't have to destroy and then recreate the same lock. o Check the return value of kse_create() and return an appropriate error if it fails. o Don't forget to destroy a thread's locks when freeing it. o Examine the correct flags word for checking to see if a thread is in a synchronization queue. Things should now work on an SMP kernel. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T04:30:12.000000Z K 7 svn:log V 353 Put an anti-foot-shooting measure in place. Set hw.bus.devctl_disable to 0 when we startup. Print a warning in this case. This allows people that are playing with devd by hand to have something happen. Otherwise, it appears that devd isn't working because /dev/devctl is disabled and producing no events. Suggested by: peter on irc a long time ago. END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-04-21T04:48:40.000000Z K 7 svn:log V 22 Add eMicro codec ids. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T05:58:51.000000Z K 7 svn:log V 365 Fix /dev/devctl's implementation of poll. We should only be setting the poll bits when there's actually something in the queue. Otherwise, select always returned '2' when there were no items to be read, and '3' when there were. This would preclude being able to read in a threaded (libc_r) program, as well as checking to see if there were pending events or not. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T06:26:08.000000Z K 7 svn:log V 622 Implement a two new flags, and change the meaning of another one. 'd': now means don't do daemon(). 'D': Debug 'n': Don't wait to process all pending events before calling daemon. In the past, devd would call daemon immediately. However, this causes a race. If anything in the boot process depends on configuring the devices configured by devd, maybe they would be configured in time, maybe not. Now we don't call daemon until all pending events are processed, unless -n is specified. # -n is actually the default for a while due to the select(2) bug in devctl # that I just fixed to give people a chance to upgrade. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-21T06:33:52.000000Z K 7 svn:log V 268 - Assert that the vm_object is locked in vm_object_clear_flag(), vm_object_pip_add() and vm_object_pip_wakeup(). - Remove GIANT_REQUIRED from vm_object_pip_subtract() and vm_object_pip_subtract(). - Lock the vm_object when performing vm_object_page_remove(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-21T07:02:37.000000Z K 7 svn:log V 100 Add a member field for kse_upcall to cache kse mailbox flags. Code for this will be committed soon. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-21T07:27:59.000000Z K 7 svn:log V 842 Introduce two flags to control upcall behaviour: o KMF_NOUPCALL Ask kse_release to not return to userland upcall entry, but instead direct returns to userland by using current thread's stack and return address on stack. This flags is intended to be used by UTS in critical region to wait another UTS thread to leave critical region, by using kse_release with this flag to avoid spinnng and burning CPU. Also this flags can be used by UTS to poll completed context when there is nothing to do in userland and needn't restart from its entry like normal upcall. o KMF_NOCOMPLETED Ask kernel to not bring completed thread contexts back to userland when doing upcall, this flags is intend to be used with above flag when an upcall thread is in critical region and can not process completed contexts at that time. Tested by: deischen END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-21T13:57:58.000000Z K 7 svn:log V 267 Don't try to access the NIS `master' maps unless we have superuser privileges. To do so may cause the NIS server to log spurious and annoying `access denied' messages. Reported by: Philip Paeps Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-21T14:42:04.000000Z K 7 svn:log V 33 Fix lock order reversal problem. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-21T15:05:05.000000Z K 7 svn:log V 54 Reset pcb_gs and %gs before possibly invalidating it. END K 10 svn:author V 5 tobez K 8 svn:date V 27 2003-04-21T15:06:03.000000Z K 7 svn:log V 102 Patch Safe.pm (see http://use.perl.org/articles/02/10/06/1118222.shtml?tid=5). Reported by: kuriyama END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-21T15:44:25.000000Z K 7 svn:log V 396 Correct a bug that was somehow both obvious and hard-to-see. :-) An incorrectly-sized allocation was being made due to an incorrect argument to the `sizeof' operator. Obvious, because it violated the `foo = malloc(sizeof(*foo))' idiom. Hard-to-see, because it was a missing `*' (`*p' versus `**p'). Resulting failure was Reported by: ache Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-21T16:27:46.000000Z K 7 svn:log V 37 Explicitly declare 'int' parameters. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-21T16:30:12.000000Z K 7 svn:log V 74 Assembly files put thru the C preprocessor need to have C style comments. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-21T16:34:18.000000Z K 7 svn:log V 37 Explicitly declare 'int' parameters. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-21T16:41:20.000000Z K 7 svn:log V 20 Remove unused code. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-21T16:44:05.000000Z K 7 svn:log V 33 Add FireWire drivers to GENERIC. END K 10 svn:author V 4 mike K 8 svn:date V 27 2003-04-21T17:20:48.000000Z K 7 svn:log V 159 Force output of jail ID (if necessary) before excuting the command, otherwise redirection of stdout to a file using block buffering will not complete in time. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T17:25:39.000000Z K 7 svn:log V 47 Kill debug printf that crept in my last commit END K 10 svn:author V 8 takawata K 8 svn:date V 27 2003-04-21T17:34:13.000000Z K 7 svn:log V 192 Add another product ID for if_axe and correct vendor ID description for Linksys USB200M.The USB vendor ID list is available from http://www.usb.org/app/pub/dump/comp_dump/ Reviewed by: wpaul END K 10 svn:author V 8 takawata K 8 svn:date V 27 2003-04-21T17:36:03.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T18:19:08.000000Z K 7 svn:log V 203 Create a new function, device_is_attached(), that is like device_is_alive() that tells us if the device has successfully attached. device_is_alive just tells us that the device has successfully probed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T18:24:05.000000Z K 7 svn:log V 36 Add a man page for device_is_alive. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T18:25:04.000000Z K 7 svn:log V 44 Simple man page for new device_is_attached. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T18:27:44.000000Z K 7 svn:log V 76 Xref these two functions, since they are similar enough to cause confusion. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T18:34:04.000000Z K 7 svn:log V 324 Use newly minted device_is_attached rather than device_is_alive to see if attach succeeded. device_is_alive just tells us that probe succeeded. Since we were using it to do things like detach net interfaces, this caused problems when there were errors in the attach routine. Symptoms of problem reported by: martin blapp END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T18:41:12.000000Z K 7 svn:log V 100 Functions to encode and decode Sun Microsystems disk partitioning data structures. Mostly by: jake END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-04-21T19:08:35.000000Z K 7 svn:log V 203 Grammar and spelling fixes, improved the wording a bit A slightly different patch than the one from the PR was applied PR: 38815 Submitted by: Chris Pepper MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-21T19:14:32.000000Z K 7 svn:log V 171 Removed mount_devfs from progs since there is no "mount_devfs" source directory (it's spelled mount_std nowadays), so it was a no-op anyway, and DEVFS is now the default. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T19:31:42.000000Z K 7 svn:log V 107 Add prototypes for sunlabel_dec() and sunlabel_enc(). Assume (for now) that all sun labels are big endian. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T19:38:33.000000Z K 7 svn:log V 94 Add defines for number of partitions, raw partition index and size of encoded data structure. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T19:42:36.000000Z K 7 svn:log V 65 Use #defines from instead of private ones. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T19:54:11.000000Z K 7 svn:log V 109 Update GEOM::SUN to use the decoding functions in geom_sunlabel_enc.c and #defines from sys/sun_disklabel.h. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-21T20:05:33.000000Z K 7 svn:log V 560 - Don't highlight options APIC_IO at the top since it only applies to i386 and this manpage is somewhat machine independent. - Don't redundantly say that SMP support is present for all supported architectures. Instead, say that it is present for all Tier-1 architectures. - Note that an SMP kernel not booting on a UP machine is an i386-only exception. - Add a paragraph about hyperthreading support including some docco on the machdep.hlt_logical_cpus sysctl ps@ recently added. - Note that SMP support for alpha, ia64, and sparc64 debuted in 5.0. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T20:14:36.000000Z K 7 svn:log V 218 Implement a hotspot for the sunlabel. This means that you can no longer trash your opened partitions by writing to the sunlabel through another partition. This is similar to the semantics implemented for BSD labels. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T20:16:07.000000Z K 7 svn:log V 66 Add minimal regression test for hotspot handling of the sunlabel. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T20:36:44.000000Z K 7 svn:log V 84 Update libdisk to use the explicing encoding function for sunlabel data structures. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T20:38:15.000000Z K 7 svn:log V 163 Use explicit encoding/decoding funtions for sunlabel data structures. Use #defines for various magic numbers. Attach test-case to makefile. Reviewed by: jake END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-21T20:40:41.000000Z K 7 svn:log V 188 Now that all uses of this file use explicit encoding/decoding, remove all the bits we do not need, and drop the attempt at "disk-image" structure definition. Add idempotency (sp?) #ifdef END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-21T20:57:20.000000Z K 7 svn:log V 330 Don't use UFS2 by default during the install process on PC98, as the PC98 boot blocks don't support UFS2. We keep newfs(8) defaulting to UFS2. Warn users that FreeBSD can only boot from a root file system smaller than 1.5TB; hopefully this will get fixed by the patches currently floating around on -CURRENT. Reviewed by: nyan END K 10 svn:author V 7 andreas K 8 svn:date V 27 2003-04-21T21:16:25.000000Z K 7 svn:log V 159 Revert last MFC, there is no csplit in the base system of RELENG_4. Reviewed by: Ruslan Ermilov Approved by: Ruslan Ermilov END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-22T00:18:55.000000Z K 7 svn:log V 58 Add man page for device_get_name and device_get_nameunit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-22T00:21:28.000000Z K 7 svn:log V 283 device_is_alive already was documented in device_get_state, so remove the separate man page. Document new device_is_attached there and remove that new man page too. Connect device_get_name to build, and install a link for device_get_nameunit. strangely nobody noticed this yet... END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-22T00:26:02.000000Z K 7 svn:log V 32 man page for device_get_parent. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-04-22T01:48:43.000000Z K 7 svn:log V 358 Don't use the tpa instruction to implement pmap_kextract. The tpa instruction requires that a translation is present in the TC. This may trigger a TLB miss and a subsequent call to vm_fault(). This implementation is deliberately non-inline for debugging and profiling purposes. Partial or full inlining should eventually be done. Valuable insights by: jake END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-22T02:31:31.000000Z K 7 svn:log V 90 Set the local bus address in xfer->dst. Submitted by: Buzz Slye END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-22T03:17:41.000000Z K 7 svn:log V 151 Remove single threading detecting code, these code really should be replaced by thread_user_enter(), but current we don't want to enable this in trap. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-22T03:25:14.000000Z K 7 svn:log V 38 Document device_set_ivars(9) as well. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-22T03:32:31.000000Z K 7 svn:log V 27 Document device_printf(9). END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-22T03:43:44.000000Z K 7 svn:log V 118 Document device_set_driver(9) # now all driver_* functions used outside of subr_bus.o in my kernel # are documented. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-22T04:39:20.000000Z K 7 svn:log V 24 add scbus for FireWire. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-22T04:47:29.000000Z K 7 svn:log V 24 Add VM_OBJECT_LOCKED(). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2003-04-22T05:13:55.000000Z K 7 svn:log V 114 FreeBSD has no systrace(1), and our rc.subr does not support it. Submitted by: Simon L. Nielsen END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-22T05:34:35.000000Z K 7 svn:log V 81 Fix compilation errors. I wonder how I managed to cross-compile this yesterday. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-22T05:36:14.000000Z K 7 svn:log V 535 Revision 1.52 of vm/uma_core.c has led to UMA's obj_alloc() being called without Giant; and obj_alloc() in turn calls vm_page_alloc() without Giant. This causes an assertion failure in vm_page_alloc(). Fortunately, obj_alloc() is now MPSAFE. So, we need only clean up some assertions. - Weaken the assertion in vm_page_lookup() to require Giant only if the vm_object isn't locked. - Remove an assertion from vm_page_alloc() that duplicates a check performed in vm_page_lookup(). In collaboration with: gallatin, jake, jeff END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-22T06:26:42.000000Z K 7 svn:log V 28 Remove unused declarations. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-22T07:45:47.000000Z K 7 svn:log V 403 Fix some problems for cpu_switch_load_gs. when fault address is at cpu_switch_load_gs, cpu is in context switch, so don't enable interrupt. because it is in context switch, it is expected sched_lock was held, so don't PROC_LOCK(p) and psignal, it is LOR, probably we can set a P_XSIGBUS like flag in p_sflags, and set TDF_ASTPENDING in td_flags, in ast(), post a SIGBUS to process if P_XSIGBUS was set. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-22T07:57:20.000000Z K 7 svn:log V 22 add FireWire drivers. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-04-22T08:12:03.000000Z K 7 svn:log V 99 Move down intr level testing code a bit, cpu_switch_load_gs fault can be at interrupt nested time. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-22T09:39:10.000000Z K 7 svn:log V 57 Bump document date for previous revision. Fix list type. END K 10 svn:author V 3 suz K 8 svn:date V 27 2003-04-22T09:40:57.000000Z K 7 svn:log V 137 MFC rev 1.15 - fixed byte order of route lifetimes in route info options. - corrected wording in a log message. Obtained from: KAME END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-04-22T10:11:24.000000Z K 7 svn:log V 279 MFC (fs/miscfs/fifo_vnops.c 1.79+1.85: don't loop in fifo_open() waiting for another reader or writer if one arrived and departed while we were waiting (or a little earlier). This should fix some races, but it is reported to not actually fix the original problem with sendmail. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-04-22T10:27:44.000000Z K 7 svn:log V 15 MFC: rev. 1.11 END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-04-22T10:33:43.000000Z K 7 svn:log V 88 Add Vladimir Ulyanov's birthday. Reminded by: joerg (born 92 years later, to the day). END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-22T11:04:25.000000Z K 7 svn:log V 86 Axe CXXINCLUDES from CXXFLAGS, it serves no useful purpose anymore. Reviewed by: bde END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-04-22T12:14:19.000000Z K 7 svn:log V 30 Comment out firewire devices. END K 10 svn:author V 3 suz K 8 svn:date V 27 2003-04-22T13:10:17.000000Z K 7 svn:log V 71 back out the previous patch (rev 1.11.2.1) (sorry for my wrong commit) END K 10 svn:author V 4 mike K 8 svn:date V 27 2003-04-22T13:24:56.000000Z K 7 svn:log V 69 IP addresses can be up to 15 characters long, not 12. PR: 50904 END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-22T14:01:33.000000Z K 7 svn:log V 226 chdir(1) into a source directory before attempting to determine the OBJS list. This is needed to crunch any program that relies on the correct .CURDIR setting, e.g. src/bin/csh. Submitted by: Tim Kientzle END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-22T14:26:02.000000Z K 7 svn:log V 197 Revision 1.246 should have also included - Weaken the assertion in vm_page_insert() to require Giant only if the vm_object isn't locked. Reported by: "Ilmar S. Habibulin" END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-22T17:31:18.000000Z K 7 svn:log V 64 MFC: ntp_adjtime(2) and ntp_gettime(2) manual pages. PR: 32674 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-22T18:20:44.000000Z K 7 svn:log V 97 Catch this file up with ufs/ffs/fs.h. PR: 51189 Submitted by: Lukas Ertl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T18:23:49.000000Z K 7 svn:log V 328 - Replace inline implementations of sigprocmask() with calls to kern_sigprocmask() in the various binary compatibility emulators. - Replace calls to sigsuspend(), sigaltstack(), sigaction(), and sigprocmask() that used the stackgap with calls to the corresponding kern_sig*() functions instead without using the stackgap. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-22T18:53:14.000000Z K 7 svn:log V 112 Use .Pa for the pccard_ether file. s/spppconfig/spppcontrol/ Submitted by: "Simon L. Nielsen" END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-22T19:31:00.000000Z K 7 svn:log V 105 Collapse the meta arguments into normal arguments, trying to distinguish just makes our own life harder. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-22T19:42:05.000000Z K 7 svn:log V 98 Collapse meta arguments into regular arguments, the distinction is more trouble than it is worth. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T19:45:26.000000Z K 7 svn:log V 282 Keep the proc locked while we set PS_INMEM so that either of the proc lock or sched_lock are sufficient to test this flag. XXX: vinum should really be using a kernel process via kthread_create() instead of this hack. I'm not even sure PS_INMEM can be clear at this point anyways. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T19:47:55.000000Z K 7 svn:log V 266 - Mark the kse_purge_group() and kse_purge() definitions static to match their prototypes. - Remove sched_lock locking from kse_purge() as all callers already lock the sched_lock before calling it. - Hold the proc lock slightly longer to protect P_SHOULDSTOP(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T19:48:25.000000Z K 7 svn:log V 38 Protect p_swtime with the sched_lock. END K 10 svn:author V 5 johan K 8 svn:date V 27 2003-04-22T19:57:46.000000Z K 7 svn:log V 113 Make this WARNS=2 clean by using %j and (uintmax_t). Reviewed by: tjr@ on audit@ Approved by: silence from sos@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T20:00:26.000000Z K 7 svn:log V 1180 - Always call faultin() in _PHOLD() if PS_INMEM is clear. This closes a race where a thread could assume that a process was swapped in by PHOLD() when it actually wasn't fully swapped in yet. - In faultin(), always msleep() if PS_SWAPPINGIN is set instead of doing this check after bumping p_lock in the PS_INMEM == 0 case. Also, sched_lock is only needed for setting and clearning swapping PS_* flags and the swap thread inhibitor. - Don't set and clear the thread swap inhibitor in the same loops as the pmap_swapin/out_thread() since we have to do it under sched_lock. Instead, mimic the treatment of the PS_INMEM flag and use separate loops to set the inhibitors when clearing PS_INMEM and clear the inhibitors when setting PS_INMEM. - swapout() now returns with the proc lock held as it holds the lock while adjusting the swapping-related PS_* flags so that the proc lock can be used to test those flags. - Only use the proc lock to check the swapping-related PS_* flags in several places. - faultin() no longer requires sched_lock to be held by callers. - Rename PS_SWAPPING to PS_SWAPPINGOUT to be less ambiguous now that we have PS_SWAPPINGIN. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T20:01:56.000000Z K 7 svn:log V 87 Prefer the proc lock to sched_lock when testing PS_INMEM now that it is safe to do so. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T20:03:08.000000Z K 7 svn:log V 137 Lock the proc to check p_flag and several other related tests in vm_daemon(). We don't need to hold sched_lock as long now as a result. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-22T20:28:33.000000Z K 7 svn:log V 553 Add a couple asserts to pthread_cond_foo to ensure the (low-level) lock level is 0. Thus far, the threads implementation doesn't use mutexes or condition variables so the lock level should be 0. Save the return value when trying to schedule a new thread and use this to return an error from pthread_create(). Change the max sleep time for an idle KSE to 1 minute from 2 minutes. Maintain a count of the number of KSEs within a KSEG. With these changes scope system threads seem to work, but heavy use of them crash the kernel (supposedly VM bugs). END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-22T20:29:16.000000Z K 7 svn:log V 253 Add a working pthread_[gs]etconcurrency. Initial null implementation provided by Sergey A. Osokin . In order to test this on a single CPU machine, you need to: sysctl kern.threads.debug=1 sysctl kern.threads.virtual_cpu=2 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T20:45:38.000000Z K 7 svn:log V 224 Lock both the proc lock and sched_lock when calling sched_nice since kg_nice is now protected by both. Being protected by both means that other places in the kernel that want to read kg_nice only need one of the two locks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T20:50:38.000000Z K 7 svn:log V 248 - Assert that the proc lock and sched_lock are held in sched_nice(). - For the 4BSD scheduler, this means that all callers of the static function resetpriority() now always hold sched_lock, so don't lock sched_lock explicitly in that function. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-22T20:54:04.000000Z K 7 svn:log V 242 - Move PS_PROFIL and its new cousin PS_STOPPROF back over to p_flag and rename them appropriately. Protect both flags with both the proc lock and the sched_lock. - Protect p_profthreads with the proc lock. - Remove Giant from profil(2). END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-22T21:00:49.000000Z K 7 svn:log V 44 Add "CONFIG_GEOM" operation to the OAM API. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-22T21:01:46.000000Z K 7 svn:log V 47 Implement handling of CONFIG_GEOM OAM request. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-22T21:04:48.000000Z K 7 svn:log V 71 Add "-r" when we initialize the label first time. Add two more tests. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-22T21:19:17.000000Z K 7 svn:log V 137 Do not mandate that slicers have a private ->start(), they may not need one. KASSERT() that they have one if G_SLICE_HOT_START is used. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-22T21:24:37.000000Z K 7 svn:log V 49 We don't need to have a slice->start() function. END